Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.12
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libX11 1.6.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 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 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 as_awk_strverscmp='
    551   # Use only awk features that work with 7th edition Unix awk (1978).
    552   # My, what an old awk you have, Mr. Solaris!
    553   END {
    554     while (length(v1) && length(v2)) {
    555       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    556       # Normally this is a single character, but if v1 and v2 contain digits,
    557       # compare them as integers and fractions as strverscmp does.
    558       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    559 	# Split v1 and v2 into their leading digit string components d1 and d2,
    560 	# and advance v1 and v2 past the leading digit strings.
    561 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    562 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    563 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    564 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    565 	if (d1 ~ /^0/) {
    566 	  if (d2 ~ /^0/) {
    567 	    # Compare two fractions.
    568 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    569 	      d1 = substr(d1, 2); len1--
    570 	      d2 = substr(d2, 2); len2--
    571 	    }
    572 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    573 	      # The two components differ in length, and the common prefix
    574 	      # contains only leading zeros.  Consider the longer to be less.
    575 	      d1 = -len1
    576 	      d2 = -len2
    577 	    } else {
    578 	      # Otherwise, compare as strings.
    579 	      d1 = "x" d1
    580 	      d2 = "x" d2
    581 	    }
    582 	  } else {
    583 	    # A fraction is less than an integer.
    584 	    exit 1
    585 	  }
    586 	} else {
    587 	  if (d2 ~ /^0/) {
    588 	    # An integer is greater than a fraction.
    589 	    exit 2
    590 	  } else {
    591 	    # Compare two integers.
    592 	    d1 += 0
    593 	    d2 += 0
    594 	  }
    595 	}
    596       } else {
    597 	# The normal case, without worrying about digits.
    598 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    599 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    600       }
    601       if (d1 < d2) exit 1
    602       if (d1 > d2) exit 2
    603     }
    604     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    605     # which mishandles some comparisons of empty strings to integers.
    606     if (length(v2)) exit 1
    607     if (length(v1)) exit 2
    608   }
    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='libX11'
    633 PACKAGE_TARNAME='libX11'
    634 PACKAGE_VERSION='1.6.0'
    635 PACKAGE_STRING='libX11 1.6.0'
    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_header_list=
    677 ac_subst_vars='am__EXEEXT_FALSE
    678 am__EXEEXT_TRUE
    679 LTLIBOBJS
    680 LIBOBJS
    681 XTMALLOC_ZERO_CFLAGS
    682 XMALLOC_ZERO_CFLAGS
    683 MALLOC_ZERO_CFLAGS
    684 XERRORDB
    685 XKEYSYMDB
    686 locales
    687 X11_LOCALEDIR
    688 XLOCALEDIR
    689 X11_LOCALELIBDIR
    690 XLOCALELIBDIR
    691 X11_LOCALEDATADIR
    692 XLOCALEDATADIR
    693 X11_LIBS
    694 X11_CFLAGS
    695 X11_LIBDIR
    696 X11_DATADIR
    697 MAKE_LINT_LIB_FALSE
    698 MAKE_LINT_LIB_TRUE
    699 LINTLIB
    700 LINT_FALSE
    701 LINT_TRUE
    702 LINT_FLAGS
    703 LINT
    704 XKBPROTO_REQUIRES
    705 XKB_FALSE
    706 XKB_TRUE
    707 BIGFONT_LIBS
    708 BIGFONT_CFLAGS
    709 XLOCALE_FALSE
    710 XLOCALE_TRUE
    711 XCMS_FALSE
    712 XCMS_TRUE
    713 UDC_FALSE
    714 UDC_TRUE
    715 KEYSYMDEFS
    716 XTHREAD_CFLAGS
    717 XTHREADLIB
    718 THRSTUBS_FALSE
    719 THRSTUBS_TRUE
    720 LAUNCHD
    721 OS2_FALSE
    722 OS2_TRUE
    723 WCHAR32
    724 XLIB_LOADABLE_I18N_FALSE
    725 XLIB_LOADABLE_I18N_TRUE
    726 I18N_MODULE_LIBS
    727 X11_EXTRA_DEPS
    728 LDFLAGS_FOR_BUILD
    729 CFLAGS_FOR_BUILD
    730 CPPFLAGS_FOR_BUILD
    731 CC_FOR_BUILD
    732 HAVE_PERL_FALSE
    733 HAVE_PERL_TRUE
    734 PERL
    735 RAWCPPFLAGS
    736 RAWCPP
    737 HAVE_STYLESHEETS_FALSE
    738 HAVE_STYLESHEETS_TRUE
    739 XSL_STYLESHEET
    740 STYLESHEET_SRCDIR
    741 XORG_SGML_PATH
    742 HAVE_XSLTPROC_FALSE
    743 HAVE_XSLTPROC_TRUE
    744 XSLTPROC
    745 HAVE_FOP_FALSE
    746 HAVE_FOP_TRUE
    747 FOP
    748 HAVE_XMLTO_FALSE
    749 HAVE_XMLTO_TRUE
    750 HAVE_XMLTO_TEXT_FALSE
    751 HAVE_XMLTO_TEXT_TRUE
    752 XMLTO
    753 ENABLE_SPECS_FALSE
    754 ENABLE_SPECS_TRUE
    755 MAN_SUBSTS
    756 XORG_MAN_PAGE
    757 ADMIN_MAN_DIR
    758 DRIVER_MAN_DIR
    759 MISC_MAN_DIR
    760 FILE_MAN_DIR
    761 LIB_MAN_DIR
    762 APP_MAN_DIR
    763 ADMIN_MAN_SUFFIX
    764 DRIVER_MAN_SUFFIX
    765 MISC_MAN_SUFFIX
    766 FILE_MAN_SUFFIX
    767 LIB_MAN_SUFFIX
    768 APP_MAN_SUFFIX
    769 INSTALL_CMD
    770 PKG_CONFIG
    771 CHANGELOG_CMD
    772 STRICT_CFLAGS
    773 CWARNFLAGS
    774 BASE_CFLAGS
    775 OTOOL64
    776 OTOOL
    777 LIPO
    778 NMEDIT
    779 DSYMUTIL
    780 MANIFEST_TOOL
    781 RANLIB
    782 ac_ct_AR
    783 AR
    784 DLLTOOL
    785 OBJDUMP
    786 LN_S
    787 NM
    788 ac_ct_DUMPBIN
    789 DUMPBIN
    790 LD
    791 FGREP
    792 SED
    793 LIBTOOL
    794 AM_BACKSLASH
    795 AM_DEFAULT_VERBOSITY
    796 AM_DEFAULT_V
    797 AM_V
    798 am__fastdepCC_FALSE
    799 am__fastdepCC_TRUE
    800 CCDEPMODE
    801 am__nodep
    802 AMDEPBACKSLASH
    803 AMDEP_FALSE
    804 AMDEP_TRUE
    805 am__quote
    806 am__include
    807 DEPDIR
    808 am__untar
    809 am__tar
    810 AMTAR
    811 am__leading_dot
    812 SET_MAKE
    813 AWK
    814 mkdir_p
    815 MKDIR_P
    816 INSTALL_STRIP_PROGRAM
    817 STRIP
    818 install_sh
    819 MAKEINFO
    820 AUTOHEADER
    821 AUTOMAKE
    822 AUTOCONF
    823 ACLOCAL
    824 VERSION
    825 PACKAGE
    826 CYGPATH_W
    827 am__isrc
    828 INSTALL_DATA
    829 INSTALL_SCRIPT
    830 INSTALL_PROGRAM
    831 EGREP
    832 GREP
    833 CPP
    834 OBJEXT
    835 EXEEXT
    836 ac_ct_CC
    837 CPPFLAGS
    838 LDFLAGS
    839 CFLAGS
    840 CC
    841 host_os
    842 host_vendor
    843 host_cpu
    844 host
    845 build_os
    846 build_vendor
    847 build_cpu
    848 build
    849 target_alias
    850 host_alias
    851 build_alias
    852 LIBS
    853 ECHO_T
    854 ECHO_N
    855 ECHO_C
    856 DEFS
    857 mandir
    858 localedir
    859 libdir
    860 psdir
    861 pdfdir
    862 dvidir
    863 htmldir
    864 infodir
    865 docdir
    866 oldincludedir
    867 includedir
    868 localstatedir
    869 sharedstatedir
    870 sysconfdir
    871 datadir
    872 datarootdir
    873 libexecdir
    874 sbindir
    875 bindir
    876 program_transform_name
    877 prefix
    878 exec_prefix
    879 PACKAGE_URL
    880 PACKAGE_BUGREPORT
    881 PACKAGE_STRING
    882 PACKAGE_VERSION
    883 PACKAGE_TARNAME
    884 PACKAGE_NAME
    885 PATH_SEPARATOR
    886 SHELL'
    887 ac_subst_files=''
    888 ac_user_opts='
    889 enable_option_checking
    890 enable_dependency_tracking
    891 enable_silent_rules
    892 enable_shared
    893 enable_static
    894 with_pic
    895 enable_fast_install
    896 with_gnu_ld
    897 with_sysroot
    898 enable_libtool_lock
    899 enable_selective_werror
    900 enable_strict_compilation
    901 enable_specs
    902 with_xmlto
    903 with_fop
    904 with_xsltproc
    905 with_perl
    906 enable_unix_transport
    907 enable_tcp_transport
    908 enable_ipv6
    909 enable_local_transport
    910 enable_secure_rpc
    911 with_local_transport_order
    912 enable_loadable_i18n
    913 enable_loadable_xcursor
    914 with_launchd
    915 enable_xthreads
    916 with_keysymdefdir
    917 enable_xcms
    918 enable_xlocale
    919 enable_xlocaledir
    920 enable_xf86bigfont
    921 enable_xkb
    922 enable_composecache
    923 with_lint
    924 enable_lint_library
    925 with_locale_lib_dir
    926 enable_malloc0returnsnull
    927 '
    928       ac_precious_vars='build_alias
    929 host_alias
    930 target_alias
    931 CC
    932 CFLAGS
    933 LDFLAGS
    934 LIBS
    935 CPPFLAGS
    936 CPP
    937 PKG_CONFIG
    938 XMLTO
    939 FOP
    940 XSLTPROC
    941 PERL
    942 BIGFONT_CFLAGS
    943 BIGFONT_LIBS
    944 LINT
    945 LINT_FLAGS
    946 X11_CFLAGS
    947 X11_LIBS'
    948 
    949 
    950 # Initialize some variables set by options.
    951 ac_init_help=
    952 ac_init_version=false
    953 ac_unrecognized_opts=
    954 ac_unrecognized_sep=
    955 # The variables have the same names as the options, with
    956 # dashes changed to underlines.
    957 cache_file=/dev/null
    958 exec_prefix=NONE
    959 no_create=
    960 no_recursion=
    961 prefix=NONE
    962 program_prefix=NONE
    963 program_suffix=NONE
    964 program_transform_name=s,x,x,
    965 silent=
    966 site=
    967 srcdir=
    968 verbose=
    969 x_includes=NONE
    970 x_libraries=NONE
    971 
    972 # Installation directory options.
    973 # These are left unexpanded so users can "make install exec_prefix=/foo"
    974 # and all the variables that are supposed to be based on exec_prefix
    975 # by default will actually change.
    976 # Use braces instead of parens because sh, perl, etc. also accept them.
    977 # (The list follows the same order as the GNU Coding Standards.)
    978 bindir='${exec_prefix}/bin'
    979 sbindir='${exec_prefix}/sbin'
    980 libexecdir='${exec_prefix}/libexec'
    981 datarootdir='${prefix}/share'
    982 datadir='${datarootdir}'
    983 sysconfdir='${prefix}/etc'
    984 sharedstatedir='${prefix}/com'
    985 localstatedir='${prefix}/var'
    986 includedir='${prefix}/include'
    987 oldincludedir='/usr/include'
    988 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    989 infodir='${datarootdir}/info'
    990 htmldir='${docdir}'
    991 dvidir='${docdir}'
    992 pdfdir='${docdir}'
    993 psdir='${docdir}'
    994 libdir='${exec_prefix}/lib'
    995 localedir='${datarootdir}/locale'
    996 mandir='${datarootdir}/man'
    997 
    998 ac_prev=
    999 ac_dashdash=
   1000 for ac_option
   1001 do
   1002   # If the previous option needs an argument, assign it.
   1003   if test -n "$ac_prev"; then
   1004     eval $ac_prev=\$ac_option
   1005     ac_prev=
   1006     continue
   1007   fi
   1008 
   1009   case $ac_option in
   1010   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1011   *=)   ac_optarg= ;;
   1012   *)    ac_optarg=yes ;;
   1013   esac
   1014 
   1015   # Accept the important Cygnus configure options, so we can diagnose typos.
   1016 
   1017   case $ac_dashdash$ac_option in
   1018   --)
   1019     ac_dashdash=yes ;;
   1020 
   1021   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1022     ac_prev=bindir ;;
   1023   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1024     bindir=$ac_optarg ;;
   1025 
   1026   -build | --build | --buil | --bui | --bu)
   1027     ac_prev=build_alias ;;
   1028   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1029     build_alias=$ac_optarg ;;
   1030 
   1031   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1032   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1033     ac_prev=cache_file ;;
   1034   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1035   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1036     cache_file=$ac_optarg ;;
   1037 
   1038   --config-cache | -C)
   1039     cache_file=config.cache ;;
   1040 
   1041   -datadir | --datadir | --datadi | --datad)
   1042     ac_prev=datadir ;;
   1043   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1044     datadir=$ac_optarg ;;
   1045 
   1046   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1047   | --dataroo | --dataro | --datar)
   1048     ac_prev=datarootdir ;;
   1049   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1050   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1051     datarootdir=$ac_optarg ;;
   1052 
   1053   -disable-* | --disable-*)
   1054     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1055     # Reject names that are not valid shell variable names.
   1056     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1057       as_fn_error $? "invalid feature name: $ac_useropt"
   1058     ac_useropt_orig=$ac_useropt
   1059     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1060     case $ac_user_opts in
   1061       *"
   1062 "enable_$ac_useropt"
   1063 "*) ;;
   1064       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1065 	 ac_unrecognized_sep=', ';;
   1066     esac
   1067     eval enable_$ac_useropt=no ;;
   1068 
   1069   -docdir | --docdir | --docdi | --doc | --do)
   1070     ac_prev=docdir ;;
   1071   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1072     docdir=$ac_optarg ;;
   1073 
   1074   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1075     ac_prev=dvidir ;;
   1076   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1077     dvidir=$ac_optarg ;;
   1078 
   1079   -enable-* | --enable-*)
   1080     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1081     # Reject names that are not valid shell variable names.
   1082     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1083       as_fn_error $? "invalid feature name: $ac_useropt"
   1084     ac_useropt_orig=$ac_useropt
   1085     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1086     case $ac_user_opts in
   1087       *"
   1088 "enable_$ac_useropt"
   1089 "*) ;;
   1090       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1091 	 ac_unrecognized_sep=', ';;
   1092     esac
   1093     eval enable_$ac_useropt=\$ac_optarg ;;
   1094 
   1095   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1096   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1097   | --exec | --exe | --ex)
   1098     ac_prev=exec_prefix ;;
   1099   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1100   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1101   | --exec=* | --exe=* | --ex=*)
   1102     exec_prefix=$ac_optarg ;;
   1103 
   1104   -gas | --gas | --ga | --g)
   1105     # Obsolete; use --with-gas.
   1106     with_gas=yes ;;
   1107 
   1108   -help | --help | --hel | --he | -h)
   1109     ac_init_help=long ;;
   1110   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1111     ac_init_help=recursive ;;
   1112   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1113     ac_init_help=short ;;
   1114 
   1115   -host | --host | --hos | --ho)
   1116     ac_prev=host_alias ;;
   1117   -host=* | --host=* | --hos=* | --ho=*)
   1118     host_alias=$ac_optarg ;;
   1119 
   1120   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1121     ac_prev=htmldir ;;
   1122   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1123   | --ht=*)
   1124     htmldir=$ac_optarg ;;
   1125 
   1126   -includedir | --includedir | --includedi | --included | --include \
   1127   | --includ | --inclu | --incl | --inc)
   1128     ac_prev=includedir ;;
   1129   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1130   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1131     includedir=$ac_optarg ;;
   1132 
   1133   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1134     ac_prev=infodir ;;
   1135   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1136     infodir=$ac_optarg ;;
   1137 
   1138   -libdir | --libdir | --libdi | --libd)
   1139     ac_prev=libdir ;;
   1140   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1141     libdir=$ac_optarg ;;
   1142 
   1143   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1144   | --libexe | --libex | --libe)
   1145     ac_prev=libexecdir ;;
   1146   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1147   | --libexe=* | --libex=* | --libe=*)
   1148     libexecdir=$ac_optarg ;;
   1149 
   1150   -localedir | --localedir | --localedi | --localed | --locale)
   1151     ac_prev=localedir ;;
   1152   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1153     localedir=$ac_optarg ;;
   1154 
   1155   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1156   | --localstate | --localstat | --localsta | --localst | --locals)
   1157     ac_prev=localstatedir ;;
   1158   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1159   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1160     localstatedir=$ac_optarg ;;
   1161 
   1162   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1163     ac_prev=mandir ;;
   1164   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1165     mandir=$ac_optarg ;;
   1166 
   1167   -nfp | --nfp | --nf)
   1168     # Obsolete; use --without-fp.
   1169     with_fp=no ;;
   1170 
   1171   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1172   | --no-cr | --no-c | -n)
   1173     no_create=yes ;;
   1174 
   1175   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1176   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1177     no_recursion=yes ;;
   1178 
   1179   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1180   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1181   | --oldin | --oldi | --old | --ol | --o)
   1182     ac_prev=oldincludedir ;;
   1183   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1184   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1185   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1186     oldincludedir=$ac_optarg ;;
   1187 
   1188   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1189     ac_prev=prefix ;;
   1190   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1191     prefix=$ac_optarg ;;
   1192 
   1193   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1194   | --program-pre | --program-pr | --program-p)
   1195     ac_prev=program_prefix ;;
   1196   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1197   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1198     program_prefix=$ac_optarg ;;
   1199 
   1200   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1201   | --program-suf | --program-su | --program-s)
   1202     ac_prev=program_suffix ;;
   1203   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1204   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1205     program_suffix=$ac_optarg ;;
   1206 
   1207   -program-transform-name | --program-transform-name \
   1208   | --program-transform-nam | --program-transform-na \
   1209   | --program-transform-n | --program-transform- \
   1210   | --program-transform | --program-transfor \
   1211   | --program-transfo | --program-transf \
   1212   | --program-trans | --program-tran \
   1213   | --progr-tra | --program-tr | --program-t)
   1214     ac_prev=program_transform_name ;;
   1215   -program-transform-name=* | --program-transform-name=* \
   1216   | --program-transform-nam=* | --program-transform-na=* \
   1217   | --program-transform-n=* | --program-transform-=* \
   1218   | --program-transform=* | --program-transfor=* \
   1219   | --program-transfo=* | --program-transf=* \
   1220   | --program-trans=* | --program-tran=* \
   1221   | --progr-tra=* | --program-tr=* | --program-t=*)
   1222     program_transform_name=$ac_optarg ;;
   1223 
   1224   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1225     ac_prev=pdfdir ;;
   1226   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1227     pdfdir=$ac_optarg ;;
   1228 
   1229   -psdir | --psdir | --psdi | --psd | --ps)
   1230     ac_prev=psdir ;;
   1231   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1232     psdir=$ac_optarg ;;
   1233 
   1234   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1235   | -silent | --silent | --silen | --sile | --sil)
   1236     silent=yes ;;
   1237 
   1238   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1239     ac_prev=sbindir ;;
   1240   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1241   | --sbi=* | --sb=*)
   1242     sbindir=$ac_optarg ;;
   1243 
   1244   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1245   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1246   | --sharedst | --shareds | --shared | --share | --shar \
   1247   | --sha | --sh)
   1248     ac_prev=sharedstatedir ;;
   1249   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1250   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1251   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1252   | --sha=* | --sh=*)
   1253     sharedstatedir=$ac_optarg ;;
   1254 
   1255   -site | --site | --sit)
   1256     ac_prev=site ;;
   1257   -site=* | --site=* | --sit=*)
   1258     site=$ac_optarg ;;
   1259 
   1260   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1261     ac_prev=srcdir ;;
   1262   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1263     srcdir=$ac_optarg ;;
   1264 
   1265   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1266   | --syscon | --sysco | --sysc | --sys | --sy)
   1267     ac_prev=sysconfdir ;;
   1268   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1269   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1270     sysconfdir=$ac_optarg ;;
   1271 
   1272   -target | --target | --targe | --targ | --tar | --ta | --t)
   1273     ac_prev=target_alias ;;
   1274   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1275     target_alias=$ac_optarg ;;
   1276 
   1277   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1278     verbose=yes ;;
   1279 
   1280   -version | --version | --versio | --versi | --vers | -V)
   1281     ac_init_version=: ;;
   1282 
   1283   -with-* | --with-*)
   1284     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1285     # Reject names that are not valid shell variable names.
   1286     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1287       as_fn_error $? "invalid package name: $ac_useropt"
   1288     ac_useropt_orig=$ac_useropt
   1289     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1290     case $ac_user_opts in
   1291       *"
   1292 "with_$ac_useropt"
   1293 "*) ;;
   1294       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1295 	 ac_unrecognized_sep=', ';;
   1296     esac
   1297     eval with_$ac_useropt=\$ac_optarg ;;
   1298 
   1299   -without-* | --without-*)
   1300     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1301     # Reject names that are not valid shell variable names.
   1302     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1303       as_fn_error $? "invalid package name: $ac_useropt"
   1304     ac_useropt_orig=$ac_useropt
   1305     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1306     case $ac_user_opts in
   1307       *"
   1308 "with_$ac_useropt"
   1309 "*) ;;
   1310       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1311 	 ac_unrecognized_sep=', ';;
   1312     esac
   1313     eval with_$ac_useropt=no ;;
   1314 
   1315   --x)
   1316     # Obsolete; use --with-x.
   1317     with_x=yes ;;
   1318 
   1319   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1320   | --x-incl | --x-inc | --x-in | --x-i)
   1321     ac_prev=x_includes ;;
   1322   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1323   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1324     x_includes=$ac_optarg ;;
   1325 
   1326   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1327   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1328     ac_prev=x_libraries ;;
   1329   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1330   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1331     x_libraries=$ac_optarg ;;
   1332 
   1333   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1334 Try \`$0 --help' for more information"
   1335     ;;
   1336 
   1337   *=*)
   1338     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1339     # Reject names that are not valid shell variable names.
   1340     case $ac_envvar in #(
   1341       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1342       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1343     esac
   1344     eval $ac_envvar=\$ac_optarg
   1345     export $ac_envvar ;;
   1346 
   1347   *)
   1348     # FIXME: should be removed in autoconf 3.0.
   1349     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1350     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1351       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1352     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1353     ;;
   1354 
   1355   esac
   1356 done
   1357 
   1358 if test -n "$ac_prev"; then
   1359   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1360   as_fn_error $? "missing argument to $ac_option"
   1361 fi
   1362 
   1363 if test -n "$ac_unrecognized_opts"; then
   1364   case $enable_option_checking in
   1365     no) ;;
   1366     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1367     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1368   esac
   1369 fi
   1370 
   1371 # Check all directory arguments for consistency.
   1372 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1373 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1374 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1375 		libdir localedir mandir
   1376 do
   1377   eval ac_val=\$$ac_var
   1378   # Remove trailing slashes.
   1379   case $ac_val in
   1380     */ )
   1381       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1382       eval $ac_var=\$ac_val;;
   1383   esac
   1384   # Be sure to have absolute directory names.
   1385   case $ac_val in
   1386     [\\/$]* | ?:[\\/]* )  continue;;
   1387     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1388   esac
   1389   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1390 done
   1391 
   1392 # There might be people who depend on the old broken behavior: `$host'
   1393 # used to hold the argument of --host etc.
   1394 # FIXME: To remove some day.
   1395 build=$build_alias
   1396 host=$host_alias
   1397 target=$target_alias
   1398 
   1399 # FIXME: To remove some day.
   1400 if test "x$host_alias" != x; then
   1401   if test "x$build_alias" = x; then
   1402     cross_compiling=maybe
   1403     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1404     If a cross compiler is detected then cross compile mode will be used" >&2
   1405   elif test "x$build_alias" != "x$host_alias"; then
   1406     cross_compiling=yes
   1407   fi
   1408 fi
   1409 
   1410 ac_tool_prefix=
   1411 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1412 
   1413 test "$silent" = yes && exec 6>/dev/null
   1414 
   1415 
   1416 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1417 ac_ls_di=`ls -di .` &&
   1418 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1419   as_fn_error $? "working directory cannot be determined"
   1420 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1421   as_fn_error $? "pwd does not report name of working directory"
   1422 
   1423 
   1424 # Find the source files, if location was not specified.
   1425 if test -z "$srcdir"; then
   1426   ac_srcdir_defaulted=yes
   1427   # Try the directory containing this script, then the parent directory.
   1428   ac_confdir=`$as_dirname -- "$as_myself" ||
   1429 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1430 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1431 	 X"$as_myself" : 'X\(//\)$' \| \
   1432 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1433 $as_echo X"$as_myself" |
   1434     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1435 	    s//\1/
   1436 	    q
   1437 	  }
   1438 	  /^X\(\/\/\)[^/].*/{
   1439 	    s//\1/
   1440 	    q
   1441 	  }
   1442 	  /^X\(\/\/\)$/{
   1443 	    s//\1/
   1444 	    q
   1445 	  }
   1446 	  /^X\(\/\).*/{
   1447 	    s//\1/
   1448 	    q
   1449 	  }
   1450 	  s/.*/./; q'`
   1451   srcdir=$ac_confdir
   1452   if test ! -r "$srcdir/$ac_unique_file"; then
   1453     srcdir=..
   1454   fi
   1455 else
   1456   ac_srcdir_defaulted=no
   1457 fi
   1458 if test ! -r "$srcdir/$ac_unique_file"; then
   1459   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1460   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1461 fi
   1462 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1463 ac_abs_confdir=`(
   1464 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1465 	pwd)`
   1466 # When building in place, set srcdir=.
   1467 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1468   srcdir=.
   1469 fi
   1470 # Remove unnecessary trailing slashes from srcdir.
   1471 # Double slashes in file names in object file debugging info
   1472 # mess up M-x gdb in Emacs.
   1473 case $srcdir in
   1474 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1475 esac
   1476 for ac_var in $ac_precious_vars; do
   1477   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1478   eval ac_env_${ac_var}_value=\$${ac_var}
   1479   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1480   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1481 done
   1482 
   1483 #
   1484 # Report the --help message.
   1485 #
   1486 if test "$ac_init_help" = "long"; then
   1487   # Omit some internal or obsolete options to make the list less imposing.
   1488   # This message is too long to be a string in the A/UX 3.1 sh.
   1489   cat <<_ACEOF
   1490 \`configure' configures libX11 1.6.0 to adapt to many kinds of systems.
   1491 
   1492 Usage: $0 [OPTION]... [VAR=VALUE]...
   1493 
   1494 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1495 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1496 
   1497 Defaults for the options are specified in brackets.
   1498 
   1499 Configuration:
   1500   -h, --help              display this help and exit
   1501       --help=short        display options specific to this package
   1502       --help=recursive    display the short help of all the included packages
   1503   -V, --version           display version information and exit
   1504   -q, --quiet, --silent   do not print \`checking ...' messages
   1505       --cache-file=FILE   cache test results in FILE [disabled]
   1506   -C, --config-cache      alias for \`--cache-file=config.cache'
   1507   -n, --no-create         do not create output files
   1508       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1509 
   1510 Installation directories:
   1511   --prefix=PREFIX         install architecture-independent files in PREFIX
   1512                           [$ac_default_prefix]
   1513   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1514                           [PREFIX]
   1515 
   1516 By default, \`make install' will install all the files in
   1517 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1518 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1519 for instance \`--prefix=\$HOME'.
   1520 
   1521 For better control, use the options below.
   1522 
   1523 Fine tuning of the installation directories:
   1524   --bindir=DIR            user executables [EPREFIX/bin]
   1525   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1526   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1527   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1528   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1529   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1530   --libdir=DIR            object code libraries [EPREFIX/lib]
   1531   --includedir=DIR        C header files [PREFIX/include]
   1532   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1533   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1534   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1535   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1536   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1537   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1538   --docdir=DIR            documentation root [DATAROOTDIR/doc/libX11]
   1539   --htmldir=DIR           html documentation [DOCDIR]
   1540   --dvidir=DIR            dvi documentation [DOCDIR]
   1541   --pdfdir=DIR            pdf documentation [DOCDIR]
   1542   --psdir=DIR             ps documentation [DOCDIR]
   1543 _ACEOF
   1544 
   1545   cat <<\_ACEOF
   1546 
   1547 Program names:
   1548   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1549   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1550   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1551 
   1552 System types:
   1553   --build=BUILD     configure for building on BUILD [guessed]
   1554   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1555 _ACEOF
   1556 fi
   1557 
   1558 if test -n "$ac_init_help"; then
   1559   case $ac_init_help in
   1560      short | recursive ) echo "Configuration of libX11 1.6.0:";;
   1561    esac
   1562   cat <<\_ACEOF
   1563 
   1564 Optional Features:
   1565   --disable-option-checking  ignore unrecognized --enable/--with options
   1566   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1567   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1568   --enable-dependency-tracking
   1569                           do not reject slow dependency extractors
   1570   --disable-dependency-tracking
   1571                           speeds up one-time build
   1572   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1573   --disable-silent-rules  verbose build output (undo: "make V=0")
   1574   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1575   --enable-static[=PKGS]  build static libraries [default=yes]
   1576   --enable-fast-install[=PKGS]
   1577                           optimize for fast installation [default=yes]
   1578   --disable-libtool-lock  avoid locking (might break parallel builds)
   1579   --disable-selective-werror
   1580                           Turn off selective compiler errors. (default:
   1581                           enabled)
   1582   --enable-strict-compilation
   1583                           Enable all warnings from compiler and make them
   1584                           errors (default: disabled)
   1585   --enable-specs          Enable building the specs (default: yes)
   1586   --enable-unix-transport Enable UNIX domain socket transport
   1587   --enable-tcp-transport  Enable TCP socket transport
   1588   --enable-ipv6           Enable IPv6 support
   1589   --enable-local-transport
   1590                           Enable os-specific local transport
   1591   --enable-secure-rpc     Enable Secure RPC
   1592   --enable-loadable-i18n  Controls loadable i18n module support
   1593   --disable-loadable-xcursor
   1594                           Controls loadable xcursor library support
   1595   --disable-xthreads      Disable Xlib support for Multithreading
   1596   --disable-xcms          Disable Xlib support for CMS *EXPERIMENTAL*
   1597   --disable-xlocale       Disable Xlib locale implementation *EXPERIMENTAL*
   1598   --enable-xlocaledir     Enable XLOCALEDIR environment variable support
   1599   --disable-xf86bigfont   Disable XF86BigFont extension support
   1600   --disable-xkb           Disable XKB support *EXPERIMENTAL*
   1601   --disable-composecache  Disable compose table cache support
   1602   --enable-lint-library   Create lint library (default: disabled)
   1603   --enable-malloc0returnsnull
   1604                           malloc(0) returns NULL (default: auto)
   1605 
   1606 Optional Packages:
   1607   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1608   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1609   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1610                           both]
   1611   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1612   --with-sysroot=DIR Search for dependent libraries within DIR
   1613                         (or the compiler's sysroot if not specified).
   1614   --with-xmlto            Use xmlto to regenerate documentation (default:
   1615                           auto)
   1616   --with-fop              Use fop to regenerate documentation (default: no)
   1617   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1618                           (default: auto)
   1619   --with-perl             Use perl for extracting information from files
   1620                           (default: auto)
   1621   --with-local-transport-order=LIST
   1622                           preference sorted list of transport types to try for
   1623                           local connections
   1624   --with-launchd          Build with support for Apple's launchd (default:
   1625                           auto)
   1626   --with-keysymdefdir=DIR The location of keysymdef.h (defaults to xproto
   1627                           include dir)
   1628   --with-lint             Use a lint-style source code checker (default:
   1629                           disabled)
   1630   --with-locale-lib-dir=DIR
   1631                           Directory where locale libraries files are installed
   1632                           (default: $libdir/X11/locale)
   1633 
   1634 Some influential environment variables:
   1635   CC          C compiler command
   1636   CFLAGS      C compiler flags
   1637   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1638               nonstandard directory <lib dir>
   1639   LIBS        libraries to pass to the linker, e.g. -l<library>
   1640   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1641               you have headers in a nonstandard directory <include dir>
   1642   CPP         C preprocessor
   1643   PKG_CONFIG  path to pkg-config utility
   1644   XMLTO       Path to xmlto command
   1645   FOP         Path to fop command
   1646   XSLTPROC    Path to xsltproc command
   1647   PERL        Path to perl command
   1648   BIGFONT_CFLAGS
   1649               C compiler flags for BIGFONT, overriding pkg-config
   1650   BIGFONT_LIBS
   1651               linker flags for BIGFONT, overriding pkg-config
   1652   LINT        Path to a lint-style command
   1653   LINT_FLAGS  Flags for the lint-style command
   1654   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1655   X11_LIBS    linker flags for X11, overriding pkg-config
   1656 
   1657 Use these variables to override the choices made by `configure' or to help
   1658 it to find libraries and programs with nonstandard names/locations.
   1659 
   1660 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1661 _ACEOF
   1662 ac_status=$?
   1663 fi
   1664 
   1665 if test "$ac_init_help" = "recursive"; then
   1666   # If there are subdirs, report their specific --help.
   1667   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1668     test -d "$ac_dir" ||
   1669       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1670       continue
   1671     ac_builddir=.
   1672 
   1673 case "$ac_dir" in
   1674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1675 *)
   1676   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1677   # A ".." for each directory in $ac_dir_suffix.
   1678   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1679   case $ac_top_builddir_sub in
   1680   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1681   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1682   esac ;;
   1683 esac
   1684 ac_abs_top_builddir=$ac_pwd
   1685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1686 # for backward compatibility:
   1687 ac_top_builddir=$ac_top_build_prefix
   1688 
   1689 case $srcdir in
   1690   .)  # We are building in place.
   1691     ac_srcdir=.
   1692     ac_top_srcdir=$ac_top_builddir_sub
   1693     ac_abs_top_srcdir=$ac_pwd ;;
   1694   [\\/]* | ?:[\\/]* )  # Absolute name.
   1695     ac_srcdir=$srcdir$ac_dir_suffix;
   1696     ac_top_srcdir=$srcdir
   1697     ac_abs_top_srcdir=$srcdir ;;
   1698   *) # Relative name.
   1699     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1700     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1701     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1702 esac
   1703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1704 
   1705     cd "$ac_dir" || { ac_status=$?; continue; }
   1706     # Check for guested configure.
   1707     if test -f "$ac_srcdir/configure.gnu"; then
   1708       echo &&
   1709       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1710     elif test -f "$ac_srcdir/configure"; then
   1711       echo &&
   1712       $SHELL "$ac_srcdir/configure" --help=recursive
   1713     else
   1714       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1715     fi || ac_status=$?
   1716     cd "$ac_pwd" || { ac_status=$?; break; }
   1717   done
   1718 fi
   1719 
   1720 test -n "$ac_init_help" && exit $ac_status
   1721 if $ac_init_version; then
   1722   cat <<\_ACEOF
   1723 libX11 configure 1.6.0
   1724 generated by GNU Autoconf 2.68
   1725 
   1726 Copyright (C) 2010 Free Software Foundation, Inc.
   1727 This configure script is free software; the Free Software Foundation
   1728 gives unlimited permission to copy, distribute and modify it.
   1729 _ACEOF
   1730   exit
   1731 fi
   1732 
   1733 ## ------------------------ ##
   1734 ## Autoconf initialization. ##
   1735 ## ------------------------ ##
   1736 
   1737 # ac_fn_c_try_compile LINENO
   1738 # --------------------------
   1739 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1740 ac_fn_c_try_compile ()
   1741 {
   1742   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1743   rm -f conftest.$ac_objext
   1744   if { { ac_try="$ac_compile"
   1745 case "(($ac_try" in
   1746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1747   *) ac_try_echo=$ac_try;;
   1748 esac
   1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1750 $as_echo "$ac_try_echo"; } >&5
   1751   (eval "$ac_compile") 2>conftest.err
   1752   ac_status=$?
   1753   if test -s conftest.err; then
   1754     grep -v '^ *+' conftest.err >conftest.er1
   1755     cat conftest.er1 >&5
   1756     mv -f conftest.er1 conftest.err
   1757   fi
   1758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1759   test $ac_status = 0; } && {
   1760 	 test -z "$ac_c_werror_flag" ||
   1761 	 test ! -s conftest.err
   1762        } && test -s conftest.$ac_objext; then :
   1763   ac_retval=0
   1764 else
   1765   $as_echo "$as_me: failed program was:" >&5
   1766 sed 's/^/| /' conftest.$ac_ext >&5
   1767 
   1768 	ac_retval=1
   1769 fi
   1770   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1771   as_fn_set_status $ac_retval
   1772 
   1773 } # ac_fn_c_try_compile
   1774 
   1775 # ac_fn_c_try_cpp LINENO
   1776 # ----------------------
   1777 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1778 ac_fn_c_try_cpp ()
   1779 {
   1780   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1781   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1782 case "(($ac_try" in
   1783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1784   *) ac_try_echo=$ac_try;;
   1785 esac
   1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1787 $as_echo "$ac_try_echo"; } >&5
   1788   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1789   ac_status=$?
   1790   if test -s conftest.err; then
   1791     grep -v '^ *+' conftest.err >conftest.er1
   1792     cat conftest.er1 >&5
   1793     mv -f conftest.er1 conftest.err
   1794   fi
   1795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1796   test $ac_status = 0; } > conftest.i && {
   1797 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1798 	 test ! -s conftest.err
   1799        }; then :
   1800   ac_retval=0
   1801 else
   1802   $as_echo "$as_me: failed program was:" >&5
   1803 sed 's/^/| /' conftest.$ac_ext >&5
   1804 
   1805     ac_retval=1
   1806 fi
   1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1808   as_fn_set_status $ac_retval
   1809 
   1810 } # ac_fn_c_try_cpp
   1811 
   1812 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1813 # -------------------------------------------------------
   1814 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1815 # the include files in INCLUDES and setting the cache variable VAR
   1816 # accordingly.
   1817 ac_fn_c_check_header_mongrel ()
   1818 {
   1819   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1820   if eval \${$3+:} false; then :
   1821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1822 $as_echo_n "checking for $2... " >&6; }
   1823 if eval \${$3+:} false; then :
   1824   $as_echo_n "(cached) " >&6
   1825 fi
   1826 eval ac_res=\$$3
   1827 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1828 $as_echo "$ac_res" >&6; }
   1829 else
   1830   # Is the header compilable?
   1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1832 $as_echo_n "checking $2 usability... " >&6; }
   1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1834 /* end confdefs.h.  */
   1835 $4
   1836 #include <$2>
   1837 _ACEOF
   1838 if ac_fn_c_try_compile "$LINENO"; then :
   1839   ac_header_compiler=yes
   1840 else
   1841   ac_header_compiler=no
   1842 fi
   1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1845 $as_echo "$ac_header_compiler" >&6; }
   1846 
   1847 # Is the header present?
   1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1849 $as_echo_n "checking $2 presence... " >&6; }
   1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1851 /* end confdefs.h.  */
   1852 #include <$2>
   1853 _ACEOF
   1854 if ac_fn_c_try_cpp "$LINENO"; then :
   1855   ac_header_preproc=yes
   1856 else
   1857   ac_header_preproc=no
   1858 fi
   1859 rm -f conftest.err conftest.i conftest.$ac_ext
   1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1861 $as_echo "$ac_header_preproc" >&6; }
   1862 
   1863 # So?  What about this header?
   1864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1865   yes:no: )
   1866     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1867 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1868     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1869 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1870     ;;
   1871   no:yes:* )
   1872     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1873 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1874     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1875 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1876     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1877 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1878     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1879 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1880     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1881 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1882 ( $as_echo "## ---------------------------------------------------------------------- ##
   1883 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1884 ## ---------------------------------------------------------------------- ##"
   1885      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1886     ;;
   1887 esac
   1888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1889 $as_echo_n "checking for $2... " >&6; }
   1890 if eval \${$3+:} false; then :
   1891   $as_echo_n "(cached) " >&6
   1892 else
   1893   eval "$3=\$ac_header_compiler"
   1894 fi
   1895 eval ac_res=\$$3
   1896 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1897 $as_echo "$ac_res" >&6; }
   1898 fi
   1899   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1900 
   1901 } # ac_fn_c_check_header_mongrel
   1902 
   1903 # ac_fn_c_try_run LINENO
   1904 # ----------------------
   1905 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1906 # that executables *can* be run.
   1907 ac_fn_c_try_run ()
   1908 {
   1909   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1910   if { { ac_try="$ac_link"
   1911 case "(($ac_try" in
   1912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1913   *) ac_try_echo=$ac_try;;
   1914 esac
   1915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1916 $as_echo "$ac_try_echo"; } >&5
   1917   (eval "$ac_link") 2>&5
   1918   ac_status=$?
   1919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1920   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1921   { { case "(($ac_try" in
   1922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1923   *) ac_try_echo=$ac_try;;
   1924 esac
   1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1926 $as_echo "$ac_try_echo"; } >&5
   1927   (eval "$ac_try") 2>&5
   1928   ac_status=$?
   1929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1930   test $ac_status = 0; }; }; then :
   1931   ac_retval=0
   1932 else
   1933   $as_echo "$as_me: program exited with status $ac_status" >&5
   1934        $as_echo "$as_me: failed program was:" >&5
   1935 sed 's/^/| /' conftest.$ac_ext >&5
   1936 
   1937        ac_retval=$ac_status
   1938 fi
   1939   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1940   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1941   as_fn_set_status $ac_retval
   1942 
   1943 } # ac_fn_c_try_run
   1944 
   1945 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1946 # -------------------------------------------------------
   1947 # Tests whether HEADER exists and can be compiled using the include files in
   1948 # INCLUDES, setting the cache variable VAR accordingly.
   1949 ac_fn_c_check_header_compile ()
   1950 {
   1951   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1953 $as_echo_n "checking for $2... " >&6; }
   1954 if eval \${$3+:} false; then :
   1955   $as_echo_n "(cached) " >&6
   1956 else
   1957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1958 /* end confdefs.h.  */
   1959 $4
   1960 #include <$2>
   1961 _ACEOF
   1962 if ac_fn_c_try_compile "$LINENO"; then :
   1963   eval "$3=yes"
   1964 else
   1965   eval "$3=no"
   1966 fi
   1967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1968 fi
   1969 eval ac_res=\$$3
   1970 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1971 $as_echo "$ac_res" >&6; }
   1972   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1973 
   1974 } # ac_fn_c_check_header_compile
   1975 
   1976 # ac_fn_c_try_link LINENO
   1977 # -----------------------
   1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1979 ac_fn_c_try_link ()
   1980 {
   1981   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1982   rm -f conftest.$ac_objext conftest$ac_exeext
   1983   if { { ac_try="$ac_link"
   1984 case "(($ac_try" in
   1985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1986   *) ac_try_echo=$ac_try;;
   1987 esac
   1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1989 $as_echo "$ac_try_echo"; } >&5
   1990   (eval "$ac_link") 2>conftest.err
   1991   ac_status=$?
   1992   if test -s conftest.err; then
   1993     grep -v '^ *+' conftest.err >conftest.er1
   1994     cat conftest.er1 >&5
   1995     mv -f conftest.er1 conftest.err
   1996   fi
   1997   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1998   test $ac_status = 0; } && {
   1999 	 test -z "$ac_c_werror_flag" ||
   2000 	 test ! -s conftest.err
   2001        } && test -s conftest$ac_exeext && {
   2002 	 test "$cross_compiling" = yes ||
   2003 	 $as_test_x conftest$ac_exeext
   2004        }; then :
   2005   ac_retval=0
   2006 else
   2007   $as_echo "$as_me: failed program was:" >&5
   2008 sed 's/^/| /' conftest.$ac_ext >&5
   2009 
   2010 	ac_retval=1
   2011 fi
   2012   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2013   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2014   # interfere with the next link command; also delete a directory that is
   2015   # left behind by Apple's compiler.  We do this before executing the actions.
   2016   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2017   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2018   as_fn_set_status $ac_retval
   2019 
   2020 } # ac_fn_c_try_link
   2021 
   2022 # ac_fn_c_check_func LINENO FUNC VAR
   2023 # ----------------------------------
   2024 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2025 ac_fn_c_check_func ()
   2026 {
   2027   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2029 $as_echo_n "checking for $2... " >&6; }
   2030 if eval \${$3+:} false; then :
   2031   $as_echo_n "(cached) " >&6
   2032 else
   2033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2034 /* end confdefs.h.  */
   2035 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2036    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2037 #define $2 innocuous_$2
   2038 
   2039 /* System header to define __stub macros and hopefully few prototypes,
   2040     which can conflict with char $2 (); below.
   2041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2042     <limits.h> exists even on freestanding compilers.  */
   2043 
   2044 #ifdef __STDC__
   2045 # include <limits.h>
   2046 #else
   2047 # include <assert.h>
   2048 #endif
   2049 
   2050 #undef $2
   2051 
   2052 /* Override any GCC internal prototype to avoid an error.
   2053    Use char because int might match the return type of a GCC
   2054    builtin and then its argument prototype would still apply.  */
   2055 #ifdef __cplusplus
   2056 extern "C"
   2057 #endif
   2058 char $2 ();
   2059 /* The GNU C library defines this for functions which it implements
   2060     to always fail with ENOSYS.  Some functions are actually named
   2061     something starting with __ and the normal name is an alias.  */
   2062 #if defined __stub_$2 || defined __stub___$2
   2063 choke me
   2064 #endif
   2065 
   2066 int
   2067 main ()
   2068 {
   2069 return $2 ();
   2070   ;
   2071   return 0;
   2072 }
   2073 _ACEOF
   2074 if ac_fn_c_try_link "$LINENO"; then :
   2075   eval "$3=yes"
   2076 else
   2077   eval "$3=no"
   2078 fi
   2079 rm -f core conftest.err conftest.$ac_objext \
   2080     conftest$ac_exeext conftest.$ac_ext
   2081 fi
   2082 eval ac_res=\$$3
   2083 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2084 $as_echo "$ac_res" >&6; }
   2085   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2086 
   2087 } # ac_fn_c_check_func
   2088 
   2089 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2090 # ---------------------------------------------
   2091 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2092 # accordingly.
   2093 ac_fn_c_check_decl ()
   2094 {
   2095   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2096   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2097   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2099 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2100 if eval \${$3+:} false; then :
   2101   $as_echo_n "(cached) " >&6
   2102 else
   2103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2104 /* end confdefs.h.  */
   2105 $4
   2106 int
   2107 main ()
   2108 {
   2109 #ifndef $as_decl_name
   2110 #ifdef __cplusplus
   2111   (void) $as_decl_use;
   2112 #else
   2113   (void) $as_decl_name;
   2114 #endif
   2115 #endif
   2116 
   2117   ;
   2118   return 0;
   2119 }
   2120 _ACEOF
   2121 if ac_fn_c_try_compile "$LINENO"; then :
   2122   eval "$3=yes"
   2123 else
   2124   eval "$3=no"
   2125 fi
   2126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2127 fi
   2128 eval ac_res=\$$3
   2129 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2130 $as_echo "$ac_res" >&6; }
   2131   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2132 
   2133 } # ac_fn_c_check_decl
   2134 
   2135 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2136 # ----------------------------------------------------
   2137 # Tries to find if the field MEMBER exists in type AGGR, after including
   2138 # INCLUDES, setting cache variable VAR accordingly.
   2139 ac_fn_c_check_member ()
   2140 {
   2141   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2143 $as_echo_n "checking for $2.$3... " >&6; }
   2144 if eval \${$4+:} false; then :
   2145   $as_echo_n "(cached) " >&6
   2146 else
   2147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2148 /* end confdefs.h.  */
   2149 $5
   2150 int
   2151 main ()
   2152 {
   2153 static $2 ac_aggr;
   2154 if (ac_aggr.$3)
   2155 return 0;
   2156   ;
   2157   return 0;
   2158 }
   2159 _ACEOF
   2160 if ac_fn_c_try_compile "$LINENO"; then :
   2161   eval "$4=yes"
   2162 else
   2163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2164 /* end confdefs.h.  */
   2165 $5
   2166 int
   2167 main ()
   2168 {
   2169 static $2 ac_aggr;
   2170 if (sizeof ac_aggr.$3)
   2171 return 0;
   2172   ;
   2173   return 0;
   2174 }
   2175 _ACEOF
   2176 if ac_fn_c_try_compile "$LINENO"; then :
   2177   eval "$4=yes"
   2178 else
   2179   eval "$4=no"
   2180 fi
   2181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2182 fi
   2183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2184 fi
   2185 eval ac_res=\$$4
   2186 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2187 $as_echo "$ac_res" >&6; }
   2188   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2189 
   2190 } # ac_fn_c_check_member
   2191 
   2192 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2193 # -------------------------------------------
   2194 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2195 # variable VAR accordingly.
   2196 ac_fn_c_check_type ()
   2197 {
   2198   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2200 $as_echo_n "checking for $2... " >&6; }
   2201 if eval \${$3+:} false; then :
   2202   $as_echo_n "(cached) " >&6
   2203 else
   2204   eval "$3=no"
   2205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2206 /* end confdefs.h.  */
   2207 $4
   2208 int
   2209 main ()
   2210 {
   2211 if (sizeof ($2))
   2212 	 return 0;
   2213   ;
   2214   return 0;
   2215 }
   2216 _ACEOF
   2217 if ac_fn_c_try_compile "$LINENO"; then :
   2218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2219 /* end confdefs.h.  */
   2220 $4
   2221 int
   2222 main ()
   2223 {
   2224 if (sizeof (($2)))
   2225 	    return 0;
   2226   ;
   2227   return 0;
   2228 }
   2229 _ACEOF
   2230 if ac_fn_c_try_compile "$LINENO"; then :
   2231 
   2232 else
   2233   eval "$3=yes"
   2234 fi
   2235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2236 fi
   2237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2238 fi
   2239 eval ac_res=\$$3
   2240 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2241 $as_echo "$ac_res" >&6; }
   2242   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2243 
   2244 } # ac_fn_c_check_type
   2245 cat >config.log <<_ACEOF
   2246 This file contains any messages produced by compilers while
   2247 running configure, to aid debugging if configure makes a mistake.
   2248 
   2249 It was created by libX11 $as_me 1.6.0, which was
   2250 generated by GNU Autoconf 2.68.  Invocation command line was
   2251 
   2252   $ $0 $@
   2253 
   2254 _ACEOF
   2255 exec 5>>config.log
   2256 {
   2257 cat <<_ASUNAME
   2258 ## --------- ##
   2259 ## Platform. ##
   2260 ## --------- ##
   2261 
   2262 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2263 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2264 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2265 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2266 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2267 
   2268 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2269 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2270 
   2271 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2272 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2273 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2274 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2275 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2276 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2277 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2278 
   2279 _ASUNAME
   2280 
   2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2282 for as_dir in $PATH
   2283 do
   2284   IFS=$as_save_IFS
   2285   test -z "$as_dir" && as_dir=.
   2286     $as_echo "PATH: $as_dir"
   2287   done
   2288 IFS=$as_save_IFS
   2289 
   2290 } >&5
   2291 
   2292 cat >&5 <<_ACEOF
   2293 
   2294 
   2295 ## ----------- ##
   2296 ## Core tests. ##
   2297 ## ----------- ##
   2298 
   2299 _ACEOF
   2300 
   2301 
   2302 # Keep a trace of the command line.
   2303 # Strip out --no-create and --no-recursion so they do not pile up.
   2304 # Strip out --silent because we don't want to record it for future runs.
   2305 # Also quote any args containing shell meta-characters.
   2306 # Make two passes to allow for proper duplicate-argument suppression.
   2307 ac_configure_args=
   2308 ac_configure_args0=
   2309 ac_configure_args1=
   2310 ac_must_keep_next=false
   2311 for ac_pass in 1 2
   2312 do
   2313   for ac_arg
   2314   do
   2315     case $ac_arg in
   2316     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2317     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2318     | -silent | --silent | --silen | --sile | --sil)
   2319       continue ;;
   2320     *\'*)
   2321       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2322     esac
   2323     case $ac_pass in
   2324     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2325     2)
   2326       as_fn_append ac_configure_args1 " '$ac_arg'"
   2327       if test $ac_must_keep_next = true; then
   2328 	ac_must_keep_next=false # Got value, back to normal.
   2329       else
   2330 	case $ac_arg in
   2331 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2332 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2333 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2334 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2335 	    case "$ac_configure_args0 " in
   2336 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2337 	    esac
   2338 	    ;;
   2339 	  -* ) ac_must_keep_next=true ;;
   2340 	esac
   2341       fi
   2342       as_fn_append ac_configure_args " '$ac_arg'"
   2343       ;;
   2344     esac
   2345   done
   2346 done
   2347 { ac_configure_args0=; unset ac_configure_args0;}
   2348 { ac_configure_args1=; unset ac_configure_args1;}
   2349 
   2350 # When interrupted or exit'd, cleanup temporary files, and complete
   2351 # config.log.  We remove comments because anyway the quotes in there
   2352 # would cause problems or look ugly.
   2353 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2354 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2355 trap 'exit_status=$?
   2356   # Save into config.log some information that might help in debugging.
   2357   {
   2358     echo
   2359 
   2360     $as_echo "## ---------------- ##
   2361 ## Cache variables. ##
   2362 ## ---------------- ##"
   2363     echo
   2364     # The following way of writing the cache mishandles newlines in values,
   2365 (
   2366   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2367     eval ac_val=\$$ac_var
   2368     case $ac_val in #(
   2369     *${as_nl}*)
   2370       case $ac_var in #(
   2371       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2372 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2373       esac
   2374       case $ac_var in #(
   2375       _ | IFS | as_nl) ;; #(
   2376       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2377       *) { eval $ac_var=; unset $ac_var;} ;;
   2378       esac ;;
   2379     esac
   2380   done
   2381   (set) 2>&1 |
   2382     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2383     *${as_nl}ac_space=\ *)
   2384       sed -n \
   2385 	"s/'\''/'\''\\\\'\'''\''/g;
   2386 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2387       ;; #(
   2388     *)
   2389       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2390       ;;
   2391     esac |
   2392     sort
   2393 )
   2394     echo
   2395 
   2396     $as_echo "## ----------------- ##
   2397 ## Output variables. ##
   2398 ## ----------------- ##"
   2399     echo
   2400     for ac_var in $ac_subst_vars
   2401     do
   2402       eval ac_val=\$$ac_var
   2403       case $ac_val in
   2404       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2405       esac
   2406       $as_echo "$ac_var='\''$ac_val'\''"
   2407     done | sort
   2408     echo
   2409 
   2410     if test -n "$ac_subst_files"; then
   2411       $as_echo "## ------------------- ##
   2412 ## File substitutions. ##
   2413 ## ------------------- ##"
   2414       echo
   2415       for ac_var in $ac_subst_files
   2416       do
   2417 	eval ac_val=\$$ac_var
   2418 	case $ac_val in
   2419 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2420 	esac
   2421 	$as_echo "$ac_var='\''$ac_val'\''"
   2422       done | sort
   2423       echo
   2424     fi
   2425 
   2426     if test -s confdefs.h; then
   2427       $as_echo "## ----------- ##
   2428 ## confdefs.h. ##
   2429 ## ----------- ##"
   2430       echo
   2431       cat confdefs.h
   2432       echo
   2433     fi
   2434     test "$ac_signal" != 0 &&
   2435       $as_echo "$as_me: caught signal $ac_signal"
   2436     $as_echo "$as_me: exit $exit_status"
   2437   } >&5
   2438   rm -f core *.core core.conftest.* &&
   2439     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2440     exit $exit_status
   2441 ' 0
   2442 for ac_signal in 1 2 13 15; do
   2443   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2444 done
   2445 ac_signal=0
   2446 
   2447 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2448 rm -f -r conftest* confdefs.h
   2449 
   2450 $as_echo "/* confdefs.h */" > confdefs.h
   2451 
   2452 # Predefined preprocessor variables.
   2453 
   2454 cat >>confdefs.h <<_ACEOF
   2455 #define PACKAGE_NAME "$PACKAGE_NAME"
   2456 _ACEOF
   2457 
   2458 cat >>confdefs.h <<_ACEOF
   2459 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2460 _ACEOF
   2461 
   2462 cat >>confdefs.h <<_ACEOF
   2463 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2464 _ACEOF
   2465 
   2466 cat >>confdefs.h <<_ACEOF
   2467 #define PACKAGE_STRING "$PACKAGE_STRING"
   2468 _ACEOF
   2469 
   2470 cat >>confdefs.h <<_ACEOF
   2471 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2472 _ACEOF
   2473 
   2474 cat >>confdefs.h <<_ACEOF
   2475 #define PACKAGE_URL "$PACKAGE_URL"
   2476 _ACEOF
   2477 
   2478 
   2479 # Let the site file select an alternate cache file if it wants to.
   2480 # Prefer an explicitly selected file to automatically selected ones.
   2481 ac_site_file1=NONE
   2482 ac_site_file2=NONE
   2483 if test -n "$CONFIG_SITE"; then
   2484   # We do not want a PATH search for config.site.
   2485   case $CONFIG_SITE in #((
   2486     -*)  ac_site_file1=./$CONFIG_SITE;;
   2487     */*) ac_site_file1=$CONFIG_SITE;;
   2488     *)   ac_site_file1=./$CONFIG_SITE;;
   2489   esac
   2490 elif test "x$prefix" != xNONE; then
   2491   ac_site_file1=$prefix/share/config.site
   2492   ac_site_file2=$prefix/etc/config.site
   2493 else
   2494   ac_site_file1=$ac_default_prefix/share/config.site
   2495   ac_site_file2=$ac_default_prefix/etc/config.site
   2496 fi
   2497 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2498 do
   2499   test "x$ac_site_file" = xNONE && continue
   2500   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2501     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2502 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2503     sed 's/^/| /' "$ac_site_file" >&5
   2504     . "$ac_site_file" \
   2505       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2507 as_fn_error $? "failed to load site script $ac_site_file
   2508 See \`config.log' for more details" "$LINENO" 5; }
   2509   fi
   2510 done
   2511 
   2512 if test -r "$cache_file"; then
   2513   # Some versions of bash will fail to source /dev/null (special files
   2514   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2515   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2516     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2517 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2518     case $cache_file in
   2519       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2520       *)                      . "./$cache_file";;
   2521     esac
   2522   fi
   2523 else
   2524   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2525 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2526   >$cache_file
   2527 fi
   2528 
   2529 as_fn_append ac_header_list " stdlib.h"
   2530 as_fn_append ac_header_list " unistd.h"
   2531 as_fn_append ac_header_list " sys/param.h"
   2532 # Check that the precious variables saved in the cache have kept the same
   2533 # value.
   2534 ac_cache_corrupted=false
   2535 for ac_var in $ac_precious_vars; do
   2536   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2537   eval ac_new_set=\$ac_env_${ac_var}_set
   2538   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2539   eval ac_new_val=\$ac_env_${ac_var}_value
   2540   case $ac_old_set,$ac_new_set in
   2541     set,)
   2542       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2543 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2544       ac_cache_corrupted=: ;;
   2545     ,set)
   2546       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2547 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2548       ac_cache_corrupted=: ;;
   2549     ,);;
   2550     *)
   2551       if test "x$ac_old_val" != "x$ac_new_val"; then
   2552 	# differences in whitespace do not lead to failure.
   2553 	ac_old_val_w=`echo x $ac_old_val`
   2554 	ac_new_val_w=`echo x $ac_new_val`
   2555 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2556 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2557 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2558 	  ac_cache_corrupted=:
   2559 	else
   2560 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2561 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2562 	  eval $ac_var=\$ac_old_val
   2563 	fi
   2564 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2565 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2566 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2567 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2568       fi;;
   2569   esac
   2570   # Pass precious variables to config.status.
   2571   if test "$ac_new_set" = set; then
   2572     case $ac_new_val in
   2573     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2574     *) ac_arg=$ac_var=$ac_new_val ;;
   2575     esac
   2576     case " $ac_configure_args " in
   2577       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2578       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2579     esac
   2580   fi
   2581 done
   2582 if $ac_cache_corrupted; then
   2583   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2585   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2586 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2587   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2588 fi
   2589 ## -------------------- ##
   2590 ## Main body of script. ##
   2591 ## -------------------- ##
   2592 
   2593 ac_ext=c
   2594 ac_cpp='$CPP $CPPFLAGS'
   2595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2598 
   2599 
   2600 
   2601 ac_config_headers="$ac_config_headers src/config.h include/X11/XlibConf.h"
   2602 
   2603 
   2604 ac_aux_dir=
   2605 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2606   if test -f "$ac_dir/install-sh"; then
   2607     ac_aux_dir=$ac_dir
   2608     ac_install_sh="$ac_aux_dir/install-sh -c"
   2609     break
   2610   elif test -f "$ac_dir/install.sh"; then
   2611     ac_aux_dir=$ac_dir
   2612     ac_install_sh="$ac_aux_dir/install.sh -c"
   2613     break
   2614   elif test -f "$ac_dir/shtool"; then
   2615     ac_aux_dir=$ac_dir
   2616     ac_install_sh="$ac_aux_dir/shtool install -c"
   2617     break
   2618   fi
   2619 done
   2620 if test -z "$ac_aux_dir"; then
   2621   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2622 fi
   2623 
   2624 # These three variables are undocumented and unsupported,
   2625 # and are intended to be withdrawn in a future Autoconf release.
   2626 # They can cause serious problems if a builder's source tree is in a directory
   2627 # whose full name contains unusual characters.
   2628 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2629 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2630 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2631 
   2632 
   2633 # Make sure we can run config.sub.
   2634 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2635   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2636 
   2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2638 $as_echo_n "checking build system type... " >&6; }
   2639 if ${ac_cv_build+:} false; then :
   2640   $as_echo_n "(cached) " >&6
   2641 else
   2642   ac_build_alias=$build_alias
   2643 test "x$ac_build_alias" = x &&
   2644   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2645 test "x$ac_build_alias" = x &&
   2646   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2647 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2648   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2649 
   2650 fi
   2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2652 $as_echo "$ac_cv_build" >&6; }
   2653 case $ac_cv_build in
   2654 *-*-*) ;;
   2655 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2656 esac
   2657 build=$ac_cv_build
   2658 ac_save_IFS=$IFS; IFS='-'
   2659 set x $ac_cv_build
   2660 shift
   2661 build_cpu=$1
   2662 build_vendor=$2
   2663 shift; shift
   2664 # Remember, the first character of IFS is used to create $*,
   2665 # except with old shells:
   2666 build_os=$*
   2667 IFS=$ac_save_IFS
   2668 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2669 
   2670 
   2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2672 $as_echo_n "checking host system type... " >&6; }
   2673 if ${ac_cv_host+:} false; then :
   2674   $as_echo_n "(cached) " >&6
   2675 else
   2676   if test "x$host_alias" = x; then
   2677   ac_cv_host=$ac_cv_build
   2678 else
   2679   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2680     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2681 fi
   2682 
   2683 fi
   2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2685 $as_echo "$ac_cv_host" >&6; }
   2686 case $ac_cv_host in
   2687 *-*-*) ;;
   2688 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2689 esac
   2690 host=$ac_cv_host
   2691 ac_save_IFS=$IFS; IFS='-'
   2692 set x $ac_cv_host
   2693 shift
   2694 host_cpu=$1
   2695 host_vendor=$2
   2696 shift; shift
   2697 # Remember, the first character of IFS is used to create $*,
   2698 # except with old shells:
   2699 host_os=$*
   2700 IFS=$ac_save_IFS
   2701 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2702 
   2703 
   2704 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2705 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   2706 # to avoid autoconf errors.
   2707 ac_ext=c
   2708 ac_cpp='$CPP $CPPFLAGS'
   2709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2712 if test -n "$ac_tool_prefix"; then
   2713   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2714 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2716 $as_echo_n "checking for $ac_word... " >&6; }
   2717 if ${ac_cv_prog_CC+:} false; then :
   2718   $as_echo_n "(cached) " >&6
   2719 else
   2720   if test -n "$CC"; then
   2721   ac_cv_prog_CC="$CC" # Let the user override the test.
   2722 else
   2723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2724 for as_dir in $PATH
   2725 do
   2726   IFS=$as_save_IFS
   2727   test -z "$as_dir" && as_dir=.
   2728     for ac_exec_ext in '' $ac_executable_extensions; do
   2729   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2730     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2732     break 2
   2733   fi
   2734 done
   2735   done
   2736 IFS=$as_save_IFS
   2737 
   2738 fi
   2739 fi
   2740 CC=$ac_cv_prog_CC
   2741 if test -n "$CC"; then
   2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2743 $as_echo "$CC" >&6; }
   2744 else
   2745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2746 $as_echo "no" >&6; }
   2747 fi
   2748 
   2749 
   2750 fi
   2751 if test -z "$ac_cv_prog_CC"; then
   2752   ac_ct_CC=$CC
   2753   # Extract the first word of "gcc", so it can be a program name with args.
   2754 set dummy gcc; ac_word=$2
   2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2756 $as_echo_n "checking for $ac_word... " >&6; }
   2757 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2758   $as_echo_n "(cached) " >&6
   2759 else
   2760   if test -n "$ac_ct_CC"; then
   2761   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2762 else
   2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2764 for as_dir in $PATH
   2765 do
   2766   IFS=$as_save_IFS
   2767   test -z "$as_dir" && as_dir=.
   2768     for ac_exec_ext in '' $ac_executable_extensions; do
   2769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2770     ac_cv_prog_ac_ct_CC="gcc"
   2771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2772     break 2
   2773   fi
   2774 done
   2775   done
   2776 IFS=$as_save_IFS
   2777 
   2778 fi
   2779 fi
   2780 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2781 if test -n "$ac_ct_CC"; then
   2782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2783 $as_echo "$ac_ct_CC" >&6; }
   2784 else
   2785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2786 $as_echo "no" >&6; }
   2787 fi
   2788 
   2789   if test "x$ac_ct_CC" = x; then
   2790     CC=""
   2791   else
   2792     case $cross_compiling:$ac_tool_warned in
   2793 yes:)
   2794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2796 ac_tool_warned=yes ;;
   2797 esac
   2798     CC=$ac_ct_CC
   2799   fi
   2800 else
   2801   CC="$ac_cv_prog_CC"
   2802 fi
   2803 
   2804 if test -z "$CC"; then
   2805           if test -n "$ac_tool_prefix"; then
   2806     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2807 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2809 $as_echo_n "checking for $ac_word... " >&6; }
   2810 if ${ac_cv_prog_CC+:} false; then :
   2811   $as_echo_n "(cached) " >&6
   2812 else
   2813   if test -n "$CC"; then
   2814   ac_cv_prog_CC="$CC" # Let the user override the test.
   2815 else
   2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2817 for as_dir in $PATH
   2818 do
   2819   IFS=$as_save_IFS
   2820   test -z "$as_dir" && as_dir=.
   2821     for ac_exec_ext in '' $ac_executable_extensions; do
   2822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2823     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2825     break 2
   2826   fi
   2827 done
   2828   done
   2829 IFS=$as_save_IFS
   2830 
   2831 fi
   2832 fi
   2833 CC=$ac_cv_prog_CC
   2834 if test -n "$CC"; then
   2835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2836 $as_echo "$CC" >&6; }
   2837 else
   2838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2839 $as_echo "no" >&6; }
   2840 fi
   2841 
   2842 
   2843   fi
   2844 fi
   2845 if test -z "$CC"; then
   2846   # Extract the first word of "cc", so it can be a program name with args.
   2847 set dummy cc; ac_word=$2
   2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2849 $as_echo_n "checking for $ac_word... " >&6; }
   2850 if ${ac_cv_prog_CC+:} false; then :
   2851   $as_echo_n "(cached) " >&6
   2852 else
   2853   if test -n "$CC"; then
   2854   ac_cv_prog_CC="$CC" # Let the user override the test.
   2855 else
   2856   ac_prog_rejected=no
   2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2858 for as_dir in $PATH
   2859 do
   2860   IFS=$as_save_IFS
   2861   test -z "$as_dir" && as_dir=.
   2862     for ac_exec_ext in '' $ac_executable_extensions; do
   2863   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2864     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2865        ac_prog_rejected=yes
   2866        continue
   2867      fi
   2868     ac_cv_prog_CC="cc"
   2869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2870     break 2
   2871   fi
   2872 done
   2873   done
   2874 IFS=$as_save_IFS
   2875 
   2876 if test $ac_prog_rejected = yes; then
   2877   # We found a bogon in the path, so make sure we never use it.
   2878   set dummy $ac_cv_prog_CC
   2879   shift
   2880   if test $# != 0; then
   2881     # We chose a different compiler from the bogus one.
   2882     # However, it has the same basename, so the bogon will be chosen
   2883     # first if we set CC to just the basename; use the full file name.
   2884     shift
   2885     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2886   fi
   2887 fi
   2888 fi
   2889 fi
   2890 CC=$ac_cv_prog_CC
   2891 if test -n "$CC"; then
   2892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2893 $as_echo "$CC" >&6; }
   2894 else
   2895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2896 $as_echo "no" >&6; }
   2897 fi
   2898 
   2899 
   2900 fi
   2901 if test -z "$CC"; then
   2902   if test -n "$ac_tool_prefix"; then
   2903   for ac_prog in cl.exe
   2904   do
   2905     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2908 $as_echo_n "checking for $ac_word... " >&6; }
   2909 if ${ac_cv_prog_CC+:} false; then :
   2910   $as_echo_n "(cached) " >&6
   2911 else
   2912   if test -n "$CC"; then
   2913   ac_cv_prog_CC="$CC" # Let the user override the test.
   2914 else
   2915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2916 for as_dir in $PATH
   2917 do
   2918   IFS=$as_save_IFS
   2919   test -z "$as_dir" && as_dir=.
   2920     for ac_exec_ext in '' $ac_executable_extensions; do
   2921   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2922     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2924     break 2
   2925   fi
   2926 done
   2927   done
   2928 IFS=$as_save_IFS
   2929 
   2930 fi
   2931 fi
   2932 CC=$ac_cv_prog_CC
   2933 if test -n "$CC"; then
   2934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2935 $as_echo "$CC" >&6; }
   2936 else
   2937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2938 $as_echo "no" >&6; }
   2939 fi
   2940 
   2941 
   2942     test -n "$CC" && break
   2943   done
   2944 fi
   2945 if test -z "$CC"; then
   2946   ac_ct_CC=$CC
   2947   for ac_prog in cl.exe
   2948 do
   2949   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2950 set dummy $ac_prog; ac_word=$2
   2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2952 $as_echo_n "checking for $ac_word... " >&6; }
   2953 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2954   $as_echo_n "(cached) " >&6
   2955 else
   2956   if test -n "$ac_ct_CC"; then
   2957   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2958 else
   2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2960 for as_dir in $PATH
   2961 do
   2962   IFS=$as_save_IFS
   2963   test -z "$as_dir" && as_dir=.
   2964     for ac_exec_ext in '' $ac_executable_extensions; do
   2965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2966     ac_cv_prog_ac_ct_CC="$ac_prog"
   2967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2968     break 2
   2969   fi
   2970 done
   2971   done
   2972 IFS=$as_save_IFS
   2973 
   2974 fi
   2975 fi
   2976 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2977 if test -n "$ac_ct_CC"; then
   2978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2979 $as_echo "$ac_ct_CC" >&6; }
   2980 else
   2981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2982 $as_echo "no" >&6; }
   2983 fi
   2984 
   2985 
   2986   test -n "$ac_ct_CC" && break
   2987 done
   2988 
   2989   if test "x$ac_ct_CC" = x; then
   2990     CC=""
   2991   else
   2992     case $cross_compiling:$ac_tool_warned in
   2993 yes:)
   2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2996 ac_tool_warned=yes ;;
   2997 esac
   2998     CC=$ac_ct_CC
   2999   fi
   3000 fi
   3001 
   3002 fi
   3003 
   3004 
   3005 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3007 as_fn_error $? "no acceptable C compiler found in \$PATH
   3008 See \`config.log' for more details" "$LINENO" 5; }
   3009 
   3010 # Provide some information about the compiler.
   3011 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3012 set X $ac_compile
   3013 ac_compiler=$2
   3014 for ac_option in --version -v -V -qversion; do
   3015   { { ac_try="$ac_compiler $ac_option >&5"
   3016 case "(($ac_try" in
   3017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3018   *) ac_try_echo=$ac_try;;
   3019 esac
   3020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3021 $as_echo "$ac_try_echo"; } >&5
   3022   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3023   ac_status=$?
   3024   if test -s conftest.err; then
   3025     sed '10a\
   3026 ... rest of stderr output deleted ...
   3027          10q' conftest.err >conftest.er1
   3028     cat conftest.er1 >&5
   3029   fi
   3030   rm -f conftest.er1 conftest.err
   3031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3032   test $ac_status = 0; }
   3033 done
   3034 
   3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3036 /* end confdefs.h.  */
   3037 
   3038 int
   3039 main ()
   3040 {
   3041 
   3042   ;
   3043   return 0;
   3044 }
   3045 _ACEOF
   3046 ac_clean_files_save=$ac_clean_files
   3047 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3048 # Try to create an executable without -o first, disregard a.out.
   3049 # It will help us diagnose broken compilers, and finding out an intuition
   3050 # of exeext.
   3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3052 $as_echo_n "checking whether the C compiler works... " >&6; }
   3053 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3054 
   3055 # The possible output files:
   3056 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3057 
   3058 ac_rmfiles=
   3059 for ac_file in $ac_files
   3060 do
   3061   case $ac_file in
   3062     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3063     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3064   esac
   3065 done
   3066 rm -f $ac_rmfiles
   3067 
   3068 if { { ac_try="$ac_link_default"
   3069 case "(($ac_try" in
   3070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3071   *) ac_try_echo=$ac_try;;
   3072 esac
   3073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3074 $as_echo "$ac_try_echo"; } >&5
   3075   (eval "$ac_link_default") 2>&5
   3076   ac_status=$?
   3077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3078   test $ac_status = 0; }; then :
   3079   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3080 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3081 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3082 # so that the user can short-circuit this test for compilers unknown to
   3083 # Autoconf.
   3084 for ac_file in $ac_files ''
   3085 do
   3086   test -f "$ac_file" || continue
   3087   case $ac_file in
   3088     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3089 	;;
   3090     [ab].out )
   3091 	# We found the default executable, but exeext='' is most
   3092 	# certainly right.
   3093 	break;;
   3094     *.* )
   3095 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3096 	then :; else
   3097 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3098 	fi
   3099 	# We set ac_cv_exeext here because the later test for it is not
   3100 	# safe: cross compilers may not add the suffix if given an `-o'
   3101 	# argument, so we may need to know it at that point already.
   3102 	# Even if this section looks crufty: it has the advantage of
   3103 	# actually working.
   3104 	break;;
   3105     * )
   3106 	break;;
   3107   esac
   3108 done
   3109 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3110 
   3111 else
   3112   ac_file=''
   3113 fi
   3114 if test -z "$ac_file"; then :
   3115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3116 $as_echo "no" >&6; }
   3117 $as_echo "$as_me: failed program was:" >&5
   3118 sed 's/^/| /' conftest.$ac_ext >&5
   3119 
   3120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3122 as_fn_error 77 "C compiler cannot create executables
   3123 See \`config.log' for more details" "$LINENO" 5; }
   3124 else
   3125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3126 $as_echo "yes" >&6; }
   3127 fi
   3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3129 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3131 $as_echo "$ac_file" >&6; }
   3132 ac_exeext=$ac_cv_exeext
   3133 
   3134 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3135 ac_clean_files=$ac_clean_files_save
   3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3137 $as_echo_n "checking for suffix of executables... " >&6; }
   3138 if { { ac_try="$ac_link"
   3139 case "(($ac_try" in
   3140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3141   *) ac_try_echo=$ac_try;;
   3142 esac
   3143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3144 $as_echo "$ac_try_echo"; } >&5
   3145   (eval "$ac_link") 2>&5
   3146   ac_status=$?
   3147   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3148   test $ac_status = 0; }; then :
   3149   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3150 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3151 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3152 # `rm'.
   3153 for ac_file in conftest.exe conftest conftest.*; do
   3154   test -f "$ac_file" || continue
   3155   case $ac_file in
   3156     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3157     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3158 	  break;;
   3159     * ) break;;
   3160   esac
   3161 done
   3162 else
   3163   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3165 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3166 See \`config.log' for more details" "$LINENO" 5; }
   3167 fi
   3168 rm -f conftest conftest$ac_cv_exeext
   3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3170 $as_echo "$ac_cv_exeext" >&6; }
   3171 
   3172 rm -f conftest.$ac_ext
   3173 EXEEXT=$ac_cv_exeext
   3174 ac_exeext=$EXEEXT
   3175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3176 /* end confdefs.h.  */
   3177 #include <stdio.h>
   3178 int
   3179 main ()
   3180 {
   3181 FILE *f = fopen ("conftest.out", "w");
   3182  return ferror (f) || fclose (f) != 0;
   3183 
   3184   ;
   3185   return 0;
   3186 }
   3187 _ACEOF
   3188 ac_clean_files="$ac_clean_files conftest.out"
   3189 # Check that the compiler produces executables we can run.  If not, either
   3190 # the compiler is broken, or we cross compile.
   3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3192 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3193 if test "$cross_compiling" != yes; then
   3194   { { ac_try="$ac_link"
   3195 case "(($ac_try" in
   3196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3197   *) ac_try_echo=$ac_try;;
   3198 esac
   3199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3200 $as_echo "$ac_try_echo"; } >&5
   3201   (eval "$ac_link") 2>&5
   3202   ac_status=$?
   3203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3204   test $ac_status = 0; }
   3205   if { ac_try='./conftest$ac_cv_exeext'
   3206   { { case "(($ac_try" in
   3207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3208   *) ac_try_echo=$ac_try;;
   3209 esac
   3210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3211 $as_echo "$ac_try_echo"; } >&5
   3212   (eval "$ac_try") 2>&5
   3213   ac_status=$?
   3214   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3215   test $ac_status = 0; }; }; then
   3216     cross_compiling=no
   3217   else
   3218     if test "$cross_compiling" = maybe; then
   3219 	cross_compiling=yes
   3220     else
   3221 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3223 as_fn_error $? "cannot run C compiled programs.
   3224 If you meant to cross compile, use \`--host'.
   3225 See \`config.log' for more details" "$LINENO" 5; }
   3226     fi
   3227   fi
   3228 fi
   3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3230 $as_echo "$cross_compiling" >&6; }
   3231 
   3232 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3233 ac_clean_files=$ac_clean_files_save
   3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3235 $as_echo_n "checking for suffix of object files... " >&6; }
   3236 if ${ac_cv_objext+:} false; then :
   3237   $as_echo_n "(cached) " >&6
   3238 else
   3239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3240 /* end confdefs.h.  */
   3241 
   3242 int
   3243 main ()
   3244 {
   3245 
   3246   ;
   3247   return 0;
   3248 }
   3249 _ACEOF
   3250 rm -f conftest.o conftest.obj
   3251 if { { ac_try="$ac_compile"
   3252 case "(($ac_try" in
   3253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3254   *) ac_try_echo=$ac_try;;
   3255 esac
   3256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3257 $as_echo "$ac_try_echo"; } >&5
   3258   (eval "$ac_compile") 2>&5
   3259   ac_status=$?
   3260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3261   test $ac_status = 0; }; then :
   3262   for ac_file in conftest.o conftest.obj conftest.*; do
   3263   test -f "$ac_file" || continue;
   3264   case $ac_file in
   3265     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3266     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3267        break;;
   3268   esac
   3269 done
   3270 else
   3271   $as_echo "$as_me: failed program was:" >&5
   3272 sed 's/^/| /' conftest.$ac_ext >&5
   3273 
   3274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3276 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3277 See \`config.log' for more details" "$LINENO" 5; }
   3278 fi
   3279 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3280 fi
   3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3282 $as_echo "$ac_cv_objext" >&6; }
   3283 OBJEXT=$ac_cv_objext
   3284 ac_objext=$OBJEXT
   3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3286 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3287 if ${ac_cv_c_compiler_gnu+:} false; then :
   3288   $as_echo_n "(cached) " >&6
   3289 else
   3290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3291 /* end confdefs.h.  */
   3292 
   3293 int
   3294 main ()
   3295 {
   3296 #ifndef __GNUC__
   3297        choke me
   3298 #endif
   3299 
   3300   ;
   3301   return 0;
   3302 }
   3303 _ACEOF
   3304 if ac_fn_c_try_compile "$LINENO"; then :
   3305   ac_compiler_gnu=yes
   3306 else
   3307   ac_compiler_gnu=no
   3308 fi
   3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3310 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3311 
   3312 fi
   3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3314 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3315 if test $ac_compiler_gnu = yes; then
   3316   GCC=yes
   3317 else
   3318   GCC=
   3319 fi
   3320 ac_test_CFLAGS=${CFLAGS+set}
   3321 ac_save_CFLAGS=$CFLAGS
   3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3323 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3324 if ${ac_cv_prog_cc_g+:} false; then :
   3325   $as_echo_n "(cached) " >&6
   3326 else
   3327   ac_save_c_werror_flag=$ac_c_werror_flag
   3328    ac_c_werror_flag=yes
   3329    ac_cv_prog_cc_g=no
   3330    CFLAGS="-g"
   3331    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3332 /* end confdefs.h.  */
   3333 
   3334 int
   3335 main ()
   3336 {
   3337 
   3338   ;
   3339   return 0;
   3340 }
   3341 _ACEOF
   3342 if ac_fn_c_try_compile "$LINENO"; then :
   3343   ac_cv_prog_cc_g=yes
   3344 else
   3345   CFLAGS=""
   3346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3347 /* end confdefs.h.  */
   3348 
   3349 int
   3350 main ()
   3351 {
   3352 
   3353   ;
   3354   return 0;
   3355 }
   3356 _ACEOF
   3357 if ac_fn_c_try_compile "$LINENO"; then :
   3358 
   3359 else
   3360   ac_c_werror_flag=$ac_save_c_werror_flag
   3361 	 CFLAGS="-g"
   3362 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3363 /* end confdefs.h.  */
   3364 
   3365 int
   3366 main ()
   3367 {
   3368 
   3369   ;
   3370   return 0;
   3371 }
   3372 _ACEOF
   3373 if ac_fn_c_try_compile "$LINENO"; then :
   3374   ac_cv_prog_cc_g=yes
   3375 fi
   3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3377 fi
   3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3379 fi
   3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3381    ac_c_werror_flag=$ac_save_c_werror_flag
   3382 fi
   3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3384 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3385 if test "$ac_test_CFLAGS" = set; then
   3386   CFLAGS=$ac_save_CFLAGS
   3387 elif test $ac_cv_prog_cc_g = yes; then
   3388   if test "$GCC" = yes; then
   3389     CFLAGS="-g -O2"
   3390   else
   3391     CFLAGS="-g"
   3392   fi
   3393 else
   3394   if test "$GCC" = yes; then
   3395     CFLAGS="-O2"
   3396   else
   3397     CFLAGS=
   3398   fi
   3399 fi
   3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3401 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3402 if ${ac_cv_prog_cc_c89+:} false; then :
   3403   $as_echo_n "(cached) " >&6
   3404 else
   3405   ac_cv_prog_cc_c89=no
   3406 ac_save_CC=$CC
   3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3408 /* end confdefs.h.  */
   3409 #include <stdarg.h>
   3410 #include <stdio.h>
   3411 #include <sys/types.h>
   3412 #include <sys/stat.h>
   3413 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3414 struct buf { int x; };
   3415 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3416 static char *e (p, i)
   3417      char **p;
   3418      int i;
   3419 {
   3420   return p[i];
   3421 }
   3422 static char *f (char * (*g) (char **, int), char **p, ...)
   3423 {
   3424   char *s;
   3425   va_list v;
   3426   va_start (v,p);
   3427   s = g (p, va_arg (v,int));
   3428   va_end (v);
   3429   return s;
   3430 }
   3431 
   3432 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3433    function prototypes and stuff, but not '\xHH' hex character constants.
   3434    These don't provoke an error unfortunately, instead are silently treated
   3435    as 'x'.  The following induces an error, until -std is added to get
   3436    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3437    array size at least.  It's necessary to write '\x00'==0 to get something
   3438    that's true only with -std.  */
   3439 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3440 
   3441 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3442    inside strings and character constants.  */
   3443 #define FOO(x) 'x'
   3444 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3445 
   3446 int test (int i, double x);
   3447 struct s1 {int (*f) (int a);};
   3448 struct s2 {int (*f) (double a);};
   3449 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3450 int argc;
   3451 char **argv;
   3452 int
   3453 main ()
   3454 {
   3455 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3456   ;
   3457   return 0;
   3458 }
   3459 _ACEOF
   3460 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3461 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3462 do
   3463   CC="$ac_save_CC $ac_arg"
   3464   if ac_fn_c_try_compile "$LINENO"; then :
   3465   ac_cv_prog_cc_c89=$ac_arg
   3466 fi
   3467 rm -f core conftest.err conftest.$ac_objext
   3468   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3469 done
   3470 rm -f conftest.$ac_ext
   3471 CC=$ac_save_CC
   3472 
   3473 fi
   3474 # AC_CACHE_VAL
   3475 case "x$ac_cv_prog_cc_c89" in
   3476   x)
   3477     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3478 $as_echo "none needed" >&6; } ;;
   3479   xno)
   3480     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3481 $as_echo "unsupported" >&6; } ;;
   3482   *)
   3483     CC="$CC $ac_cv_prog_cc_c89"
   3484     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3485 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3486 esac
   3487 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3488 
   3489 fi
   3490 
   3491 ac_ext=c
   3492 ac_cpp='$CPP $CPPFLAGS'
   3493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3496 
   3497 
   3498 ac_ext=c
   3499 ac_cpp='$CPP $CPPFLAGS'
   3500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3504 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3505 # On Suns, sometimes $CPP names a directory.
   3506 if test -n "$CPP" && test -d "$CPP"; then
   3507   CPP=
   3508 fi
   3509 if test -z "$CPP"; then
   3510   if ${ac_cv_prog_CPP+:} false; then :
   3511   $as_echo_n "(cached) " >&6
   3512 else
   3513       # Double quotes because CPP needs to be expanded
   3514     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3515     do
   3516       ac_preproc_ok=false
   3517 for ac_c_preproc_warn_flag in '' yes
   3518 do
   3519   # Use a header file that comes with gcc, so configuring glibc
   3520   # with a fresh cross-compiler works.
   3521   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3522   # <limits.h> exists even on freestanding compilers.
   3523   # On the NeXT, cc -E runs the code through the compiler's parser,
   3524   # not just through cpp. "Syntax error" is here to catch this case.
   3525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3526 /* end confdefs.h.  */
   3527 #ifdef __STDC__
   3528 # include <limits.h>
   3529 #else
   3530 # include <assert.h>
   3531 #endif
   3532 		     Syntax error
   3533 _ACEOF
   3534 if ac_fn_c_try_cpp "$LINENO"; then :
   3535 
   3536 else
   3537   # Broken: fails on valid input.
   3538 continue
   3539 fi
   3540 rm -f conftest.err conftest.i conftest.$ac_ext
   3541 
   3542   # OK, works on sane cases.  Now check whether nonexistent headers
   3543   # can be detected and how.
   3544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3545 /* end confdefs.h.  */
   3546 #include <ac_nonexistent.h>
   3547 _ACEOF
   3548 if ac_fn_c_try_cpp "$LINENO"; then :
   3549   # Broken: success on invalid input.
   3550 continue
   3551 else
   3552   # Passes both tests.
   3553 ac_preproc_ok=:
   3554 break
   3555 fi
   3556 rm -f conftest.err conftest.i conftest.$ac_ext
   3557 
   3558 done
   3559 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3560 rm -f conftest.i conftest.err conftest.$ac_ext
   3561 if $ac_preproc_ok; then :
   3562   break
   3563 fi
   3564 
   3565     done
   3566     ac_cv_prog_CPP=$CPP
   3567 
   3568 fi
   3569   CPP=$ac_cv_prog_CPP
   3570 else
   3571   ac_cv_prog_CPP=$CPP
   3572 fi
   3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3574 $as_echo "$CPP" >&6; }
   3575 ac_preproc_ok=false
   3576 for ac_c_preproc_warn_flag in '' yes
   3577 do
   3578   # Use a header file that comes with gcc, so configuring glibc
   3579   # with a fresh cross-compiler works.
   3580   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3581   # <limits.h> exists even on freestanding compilers.
   3582   # On the NeXT, cc -E runs the code through the compiler's parser,
   3583   # not just through cpp. "Syntax error" is here to catch this case.
   3584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3585 /* end confdefs.h.  */
   3586 #ifdef __STDC__
   3587 # include <limits.h>
   3588 #else
   3589 # include <assert.h>
   3590 #endif
   3591 		     Syntax error
   3592 _ACEOF
   3593 if ac_fn_c_try_cpp "$LINENO"; then :
   3594 
   3595 else
   3596   # Broken: fails on valid input.
   3597 continue
   3598 fi
   3599 rm -f conftest.err conftest.i conftest.$ac_ext
   3600 
   3601   # OK, works on sane cases.  Now check whether nonexistent headers
   3602   # can be detected and how.
   3603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3604 /* end confdefs.h.  */
   3605 #include <ac_nonexistent.h>
   3606 _ACEOF
   3607 if ac_fn_c_try_cpp "$LINENO"; then :
   3608   # Broken: success on invalid input.
   3609 continue
   3610 else
   3611   # Passes both tests.
   3612 ac_preproc_ok=:
   3613 break
   3614 fi
   3615 rm -f conftest.err conftest.i conftest.$ac_ext
   3616 
   3617 done
   3618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3619 rm -f conftest.i conftest.err conftest.$ac_ext
   3620 if $ac_preproc_ok; then :
   3621 
   3622 else
   3623   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3625 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3626 See \`config.log' for more details" "$LINENO" 5; }
   3627 fi
   3628 
   3629 ac_ext=c
   3630 ac_cpp='$CPP $CPPFLAGS'
   3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3634 
   3635 
   3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3637 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3638 if ${ac_cv_path_GREP+:} false; then :
   3639   $as_echo_n "(cached) " >&6
   3640 else
   3641   if test -z "$GREP"; then
   3642   ac_path_GREP_found=false
   3643   # Loop through the user's path and test for each of PROGNAME-LIST
   3644   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3645 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3646 do
   3647   IFS=$as_save_IFS
   3648   test -z "$as_dir" && as_dir=.
   3649     for ac_prog in grep ggrep; do
   3650     for ac_exec_ext in '' $ac_executable_extensions; do
   3651       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3652       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3653 # Check for GNU ac_path_GREP and select it if it is found.
   3654   # Check for GNU $ac_path_GREP
   3655 case `"$ac_path_GREP" --version 2>&1` in
   3656 *GNU*)
   3657   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3658 *)
   3659   ac_count=0
   3660   $as_echo_n 0123456789 >"conftest.in"
   3661   while :
   3662   do
   3663     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3664     mv "conftest.tmp" "conftest.in"
   3665     cp "conftest.in" "conftest.nl"
   3666     $as_echo 'GREP' >> "conftest.nl"
   3667     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3668     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3669     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3670     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3671       # Best one so far, save it but keep looking for a better one
   3672       ac_cv_path_GREP="$ac_path_GREP"
   3673       ac_path_GREP_max=$ac_count
   3674     fi
   3675     # 10*(2^10) chars as input seems more than enough
   3676     test $ac_count -gt 10 && break
   3677   done
   3678   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3679 esac
   3680 
   3681       $ac_path_GREP_found && break 3
   3682     done
   3683   done
   3684   done
   3685 IFS=$as_save_IFS
   3686   if test -z "$ac_cv_path_GREP"; then
   3687     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3688   fi
   3689 else
   3690   ac_cv_path_GREP=$GREP
   3691 fi
   3692 
   3693 fi
   3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3695 $as_echo "$ac_cv_path_GREP" >&6; }
   3696  GREP="$ac_cv_path_GREP"
   3697 
   3698 
   3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3700 $as_echo_n "checking for egrep... " >&6; }
   3701 if ${ac_cv_path_EGREP+:} false; then :
   3702   $as_echo_n "(cached) " >&6
   3703 else
   3704   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3705    then ac_cv_path_EGREP="$GREP -E"
   3706    else
   3707      if test -z "$EGREP"; then
   3708   ac_path_EGREP_found=false
   3709   # Loop through the user's path and test for each of PROGNAME-LIST
   3710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3711 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3712 do
   3713   IFS=$as_save_IFS
   3714   test -z "$as_dir" && as_dir=.
   3715     for ac_prog in egrep; do
   3716     for ac_exec_ext in '' $ac_executable_extensions; do
   3717       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3718       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3719 # Check for GNU ac_path_EGREP and select it if it is found.
   3720   # Check for GNU $ac_path_EGREP
   3721 case `"$ac_path_EGREP" --version 2>&1` in
   3722 *GNU*)
   3723   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3724 *)
   3725   ac_count=0
   3726   $as_echo_n 0123456789 >"conftest.in"
   3727   while :
   3728   do
   3729     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3730     mv "conftest.tmp" "conftest.in"
   3731     cp "conftest.in" "conftest.nl"
   3732     $as_echo 'EGREP' >> "conftest.nl"
   3733     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3734     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3735     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3736     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3737       # Best one so far, save it but keep looking for a better one
   3738       ac_cv_path_EGREP="$ac_path_EGREP"
   3739       ac_path_EGREP_max=$ac_count
   3740     fi
   3741     # 10*(2^10) chars as input seems more than enough
   3742     test $ac_count -gt 10 && break
   3743   done
   3744   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3745 esac
   3746 
   3747       $ac_path_EGREP_found && break 3
   3748     done
   3749   done
   3750   done
   3751 IFS=$as_save_IFS
   3752   if test -z "$ac_cv_path_EGREP"; then
   3753     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3754   fi
   3755 else
   3756   ac_cv_path_EGREP=$EGREP
   3757 fi
   3758 
   3759    fi
   3760 fi
   3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3762 $as_echo "$ac_cv_path_EGREP" >&6; }
   3763  EGREP="$ac_cv_path_EGREP"
   3764 
   3765 
   3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3767 $as_echo_n "checking for ANSI C header files... " >&6; }
   3768 if ${ac_cv_header_stdc+:} false; then :
   3769   $as_echo_n "(cached) " >&6
   3770 else
   3771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3772 /* end confdefs.h.  */
   3773 #include <stdlib.h>
   3774 #include <stdarg.h>
   3775 #include <string.h>
   3776 #include <float.h>
   3777 
   3778 int
   3779 main ()
   3780 {
   3781 
   3782   ;
   3783   return 0;
   3784 }
   3785 _ACEOF
   3786 if ac_fn_c_try_compile "$LINENO"; then :
   3787   ac_cv_header_stdc=yes
   3788 else
   3789   ac_cv_header_stdc=no
   3790 fi
   3791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3792 
   3793 if test $ac_cv_header_stdc = yes; then
   3794   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3796 /* end confdefs.h.  */
   3797 #include <string.h>
   3798 
   3799 _ACEOF
   3800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3801   $EGREP "memchr" >/dev/null 2>&1; then :
   3802 
   3803 else
   3804   ac_cv_header_stdc=no
   3805 fi
   3806 rm -f conftest*
   3807 
   3808 fi
   3809 
   3810 if test $ac_cv_header_stdc = yes; then
   3811   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3813 /* end confdefs.h.  */
   3814 #include <stdlib.h>
   3815 
   3816 _ACEOF
   3817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3818   $EGREP "free" >/dev/null 2>&1; then :
   3819 
   3820 else
   3821   ac_cv_header_stdc=no
   3822 fi
   3823 rm -f conftest*
   3824 
   3825 fi
   3826 
   3827 if test $ac_cv_header_stdc = yes; then
   3828   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3829   if test "$cross_compiling" = yes; then :
   3830   :
   3831 else
   3832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3833 /* end confdefs.h.  */
   3834 #include <ctype.h>
   3835 #include <stdlib.h>
   3836 #if ((' ' & 0x0FF) == 0x020)
   3837 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3838 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3839 #else
   3840 # define ISLOWER(c) \
   3841 		   (('a' <= (c) && (c) <= 'i') \
   3842 		     || ('j' <= (c) && (c) <= 'r') \
   3843 		     || ('s' <= (c) && (c) <= 'z'))
   3844 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3845 #endif
   3846 
   3847 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3848 int
   3849 main ()
   3850 {
   3851   int i;
   3852   for (i = 0; i < 256; i++)
   3853     if (XOR (islower (i), ISLOWER (i))
   3854 	|| toupper (i) != TOUPPER (i))
   3855       return 2;
   3856   return 0;
   3857 }
   3858 _ACEOF
   3859 if ac_fn_c_try_run "$LINENO"; then :
   3860 
   3861 else
   3862   ac_cv_header_stdc=no
   3863 fi
   3864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3865   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3866 fi
   3867 
   3868 fi
   3869 fi
   3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3871 $as_echo "$ac_cv_header_stdc" >&6; }
   3872 if test $ac_cv_header_stdc = yes; then
   3873 
   3874 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3875 
   3876 fi
   3877 
   3878 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3879 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3880 		  inttypes.h stdint.h unistd.h
   3881 do :
   3882   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3883 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3884 "
   3885 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3886   cat >>confdefs.h <<_ACEOF
   3887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3888 _ACEOF
   3889 
   3890 fi
   3891 
   3892 done
   3893 
   3894 
   3895 
   3896   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3897 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3898   MINIX=yes
   3899 else
   3900   MINIX=
   3901 fi
   3902 
   3903 
   3904   if test "$MINIX" = yes; then
   3905 
   3906 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3907 
   3908 
   3909 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3910 
   3911 
   3912 $as_echo "#define _MINIX 1" >>confdefs.h
   3913 
   3914   fi
   3915 
   3916 
   3917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3918 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3919 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3920   $as_echo_n "(cached) " >&6
   3921 else
   3922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3923 /* end confdefs.h.  */
   3924 
   3925 #	  define __EXTENSIONS__ 1
   3926 	  $ac_includes_default
   3927 int
   3928 main ()
   3929 {
   3930 
   3931   ;
   3932   return 0;
   3933 }
   3934 _ACEOF
   3935 if ac_fn_c_try_compile "$LINENO"; then :
   3936   ac_cv_safe_to_define___extensions__=yes
   3937 else
   3938   ac_cv_safe_to_define___extensions__=no
   3939 fi
   3940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3941 fi
   3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3943 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3944   test $ac_cv_safe_to_define___extensions__ = yes &&
   3945     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3946 
   3947   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3948 
   3949   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3950 
   3951   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3952 
   3953   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3954 
   3955 
   3956 
   3957 # Initialize Automake
   3958 am__api_version='1.13'
   3959 
   3960 # Find a good install program.  We prefer a C program (faster),
   3961 # so one script is as good as another.  But avoid the broken or
   3962 # incompatible versions:
   3963 # SysV /etc/install, /usr/sbin/install
   3964 # SunOS /usr/etc/install
   3965 # IRIX /sbin/install
   3966 # AIX /bin/install
   3967 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3968 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3969 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3970 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3971 # OS/2's system install, which has a completely different semantic
   3972 # ./install, which can be erroneously created by make from ./install.sh.
   3973 # Reject install programs that cannot install multiple files.
   3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3975 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3976 if test -z "$INSTALL"; then
   3977 if ${ac_cv_path_install+:} false; then :
   3978   $as_echo_n "(cached) " >&6
   3979 else
   3980   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3981 for as_dir in $PATH
   3982 do
   3983   IFS=$as_save_IFS
   3984   test -z "$as_dir" && as_dir=.
   3985     # Account for people who put trailing slashes in PATH elements.
   3986 case $as_dir/ in #((
   3987   ./ | .// | /[cC]/* | \
   3988   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3989   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3990   /usr/ucb/* ) ;;
   3991   *)
   3992     # OSF1 and SCO ODT 3.0 have their own names for install.
   3993     # Don't use installbsd from OSF since it installs stuff as root
   3994     # by default.
   3995     for ac_prog in ginstall scoinst install; do
   3996       for ac_exec_ext in '' $ac_executable_extensions; do
   3997 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3998 	  if test $ac_prog = install &&
   3999 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4000 	    # AIX install.  It has an incompatible calling convention.
   4001 	    :
   4002 	  elif test $ac_prog = install &&
   4003 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4004 	    # program-specific install script used by HP pwplus--don't use.
   4005 	    :
   4006 	  else
   4007 	    rm -rf conftest.one conftest.two conftest.dir
   4008 	    echo one > conftest.one
   4009 	    echo two > conftest.two
   4010 	    mkdir conftest.dir
   4011 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   4012 	      test -s conftest.one && test -s conftest.two &&
   4013 	      test -s conftest.dir/conftest.one &&
   4014 	      test -s conftest.dir/conftest.two
   4015 	    then
   4016 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4017 	      break 3
   4018 	    fi
   4019 	  fi
   4020 	fi
   4021       done
   4022     done
   4023     ;;
   4024 esac
   4025 
   4026   done
   4027 IFS=$as_save_IFS
   4028 
   4029 rm -rf conftest.one conftest.two conftest.dir
   4030 
   4031 fi
   4032   if test "${ac_cv_path_install+set}" = set; then
   4033     INSTALL=$ac_cv_path_install
   4034   else
   4035     # As a last resort, use the slow shell script.  Don't cache a
   4036     # value for INSTALL within a source directory, because that will
   4037     # break other packages using the cache if that directory is
   4038     # removed, or if the value is a relative name.
   4039     INSTALL=$ac_install_sh
   4040   fi
   4041 fi
   4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4043 $as_echo "$INSTALL" >&6; }
   4044 
   4045 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4046 # It thinks the first close brace ends the variable substitution.
   4047 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4048 
   4049 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4050 
   4051 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4052 
   4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4054 $as_echo_n "checking whether build environment is sane... " >&6; }
   4055 # Reject unsafe characters in $srcdir or the absolute working directory
   4056 # name.  Accept space and tab only in the latter.
   4057 am_lf='
   4058 '
   4059 case `pwd` in
   4060   *[\\\"\#\$\&\'\`$am_lf]*)
   4061     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4062 esac
   4063 case $srcdir in
   4064   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4065     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4066 esac
   4067 
   4068 # Do 'set' in a subshell so we don't clobber the current shell's
   4069 # arguments.  Must try -L first in case configure is actually a
   4070 # symlink; some systems play weird games with the mod time of symlinks
   4071 # (eg FreeBSD returns the mod time of the symlink's containing
   4072 # directory).
   4073 if (
   4074    am_has_slept=no
   4075    for am_try in 1 2; do
   4076      echo "timestamp, slept: $am_has_slept" > conftest.file
   4077      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4078      if test "$*" = "X"; then
   4079 	# -L didn't work.
   4080 	set X `ls -t "$srcdir/configure" conftest.file`
   4081      fi
   4082      if test "$*" != "X $srcdir/configure conftest.file" \
   4083 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4084 
   4085 	# If neither matched, then we have a broken ls.  This can happen
   4086 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4087 	# broken ls alias from the environment.  This has actually
   4088 	# happened.  Such a system could not be considered "sane".
   4089 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4090   alias in your environment" "$LINENO" 5
   4091      fi
   4092      if test "$2" = conftest.file || test $am_try -eq 2; then
   4093        break
   4094      fi
   4095      # Just in case.
   4096      sleep 1
   4097      am_has_slept=yes
   4098    done
   4099    test "$2" = conftest.file
   4100    )
   4101 then
   4102    # Ok.
   4103    :
   4104 else
   4105    as_fn_error $? "newly created file is older than distributed files!
   4106 Check your system clock" "$LINENO" 5
   4107 fi
   4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4109 $as_echo "yes" >&6; }
   4110 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4111 # generated files are strictly newer.
   4112 am_sleep_pid=
   4113 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4114   ( sleep 1 ) &
   4115   am_sleep_pid=$!
   4116 fi
   4117 
   4118 rm -f conftest.file
   4119 
   4120 test "$program_prefix" != NONE &&
   4121   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4122 # Use a double $ so make ignores it.
   4123 test "$program_suffix" != NONE &&
   4124   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4125 # Double any \ or $.
   4126 # By default was `s,x,x', remove it if useless.
   4127 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4128 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   4129 
   4130 # expand $ac_aux_dir to an absolute path
   4131 am_aux_dir=`cd $ac_aux_dir && pwd`
   4132 
   4133 if test x"${MISSING+set}" != xset; then
   4134   case $am_aux_dir in
   4135   *\ * | *\	*)
   4136     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   4137   *)
   4138     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   4139   esac
   4140 fi
   4141 # Use eval to expand $SHELL
   4142 if eval "$MISSING --is-lightweight"; then
   4143   am_missing_run="$MISSING "
   4144 else
   4145   am_missing_run=
   4146   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4147 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4148 fi
   4149 
   4150 if test x"${install_sh}" != xset; then
   4151   case $am_aux_dir in
   4152   *\ * | *\	*)
   4153     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4154   *)
   4155     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4156   esac
   4157 fi
   4158 
   4159 # Installed binaries are usually stripped using 'strip' when the user
   4160 # run "make install-strip".  However 'strip' might not be the right
   4161 # tool to use in cross-compilation environments, therefore Automake
   4162 # will honor the 'STRIP' environment variable to overrule this program.
   4163 if test "$cross_compiling" != no; then
   4164   if test -n "$ac_tool_prefix"; then
   4165   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4166 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4168 $as_echo_n "checking for $ac_word... " >&6; }
   4169 if ${ac_cv_prog_STRIP+:} false; then :
   4170   $as_echo_n "(cached) " >&6
   4171 else
   4172   if test -n "$STRIP"; then
   4173   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4174 else
   4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4176 for as_dir in $PATH
   4177 do
   4178   IFS=$as_save_IFS
   4179   test -z "$as_dir" && as_dir=.
   4180     for ac_exec_ext in '' $ac_executable_extensions; do
   4181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4182     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4184     break 2
   4185   fi
   4186 done
   4187   done
   4188 IFS=$as_save_IFS
   4189 
   4190 fi
   4191 fi
   4192 STRIP=$ac_cv_prog_STRIP
   4193 if test -n "$STRIP"; then
   4194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4195 $as_echo "$STRIP" >&6; }
   4196 else
   4197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4198 $as_echo "no" >&6; }
   4199 fi
   4200 
   4201 
   4202 fi
   4203 if test -z "$ac_cv_prog_STRIP"; then
   4204   ac_ct_STRIP=$STRIP
   4205   # Extract the first word of "strip", so it can be a program name with args.
   4206 set dummy strip; ac_word=$2
   4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4208 $as_echo_n "checking for $ac_word... " >&6; }
   4209 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   4210   $as_echo_n "(cached) " >&6
   4211 else
   4212   if test -n "$ac_ct_STRIP"; then
   4213   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4214 else
   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     ac_cv_prog_ac_ct_STRIP="strip"
   4223     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4224     break 2
   4225   fi
   4226 done
   4227   done
   4228 IFS=$as_save_IFS
   4229 
   4230 fi
   4231 fi
   4232 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4233 if test -n "$ac_ct_STRIP"; then
   4234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4235 $as_echo "$ac_ct_STRIP" >&6; }
   4236 else
   4237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4238 $as_echo "no" >&6; }
   4239 fi
   4240 
   4241   if test "x$ac_ct_STRIP" = x; then
   4242     STRIP=":"
   4243   else
   4244     case $cross_compiling:$ac_tool_warned in
   4245 yes:)
   4246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4248 ac_tool_warned=yes ;;
   4249 esac
   4250     STRIP=$ac_ct_STRIP
   4251   fi
   4252 else
   4253   STRIP="$ac_cv_prog_STRIP"
   4254 fi
   4255 
   4256 fi
   4257 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4258 
   4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4260 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4261 if test -z "$MKDIR_P"; then
   4262   if ${ac_cv_path_mkdir+:} false; then :
   4263   $as_echo_n "(cached) " >&6
   4264 else
   4265   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4266 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4267 do
   4268   IFS=$as_save_IFS
   4269   test -z "$as_dir" && as_dir=.
   4270     for ac_prog in mkdir gmkdir; do
   4271 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4272 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   4273 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4274 	     'mkdir (GNU coreutils) '* | \
   4275 	     'mkdir (coreutils) '* | \
   4276 	     'mkdir (fileutils) '4.1*)
   4277 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4278 	       break 3;;
   4279 	   esac
   4280 	 done
   4281        done
   4282   done
   4283 IFS=$as_save_IFS
   4284 
   4285 fi
   4286 
   4287   test -d ./--version && rmdir ./--version
   4288   if test "${ac_cv_path_mkdir+set}" = set; then
   4289     MKDIR_P="$ac_cv_path_mkdir -p"
   4290   else
   4291     # As a last resort, use the slow shell script.  Don't cache a
   4292     # value for MKDIR_P within a source directory, because that will
   4293     # break other packages using the cache if that directory is
   4294     # removed, or if the value is a relative name.
   4295     MKDIR_P="$ac_install_sh -d"
   4296   fi
   4297 fi
   4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4299 $as_echo "$MKDIR_P" >&6; }
   4300 
   4301 for ac_prog in gawk mawk nawk awk
   4302 do
   4303   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4304 set dummy $ac_prog; ac_word=$2
   4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4306 $as_echo_n "checking for $ac_word... " >&6; }
   4307 if ${ac_cv_prog_AWK+:} false; then :
   4308   $as_echo_n "(cached) " >&6
   4309 else
   4310   if test -n "$AWK"; then
   4311   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4312 else
   4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4314 for as_dir in $PATH
   4315 do
   4316   IFS=$as_save_IFS
   4317   test -z "$as_dir" && as_dir=.
   4318     for ac_exec_ext in '' $ac_executable_extensions; do
   4319   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4320     ac_cv_prog_AWK="$ac_prog"
   4321     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4322     break 2
   4323   fi
   4324 done
   4325   done
   4326 IFS=$as_save_IFS
   4327 
   4328 fi
   4329 fi
   4330 AWK=$ac_cv_prog_AWK
   4331 if test -n "$AWK"; then
   4332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4333 $as_echo "$AWK" >&6; }
   4334 else
   4335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4336 $as_echo "no" >&6; }
   4337 fi
   4338 
   4339 
   4340   test -n "$AWK" && break
   4341 done
   4342 
   4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4344 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4345 set x ${MAKE-make}
   4346 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4347 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4348   $as_echo_n "(cached) " >&6
   4349 else
   4350   cat >conftest.make <<\_ACEOF
   4351 SHELL = /bin/sh
   4352 all:
   4353 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4354 _ACEOF
   4355 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4356 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4357   *@@@%%%=?*=@@@%%%*)
   4358     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4359   *)
   4360     eval ac_cv_prog_make_${ac_make}_set=no;;
   4361 esac
   4362 rm -f conftest.make
   4363 fi
   4364 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4366 $as_echo "yes" >&6; }
   4367   SET_MAKE=
   4368 else
   4369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4370 $as_echo "no" >&6; }
   4371   SET_MAKE="MAKE=${MAKE-make}"
   4372 fi
   4373 
   4374 rm -rf .tst 2>/dev/null
   4375 mkdir .tst 2>/dev/null
   4376 if test -d .tst; then
   4377   am__leading_dot=.
   4378 else
   4379   am__leading_dot=_
   4380 fi
   4381 rmdir .tst 2>/dev/null
   4382 
   4383 DEPDIR="${am__leading_dot}deps"
   4384 
   4385 ac_config_commands="$ac_config_commands depfiles"
   4386 
   4387 
   4388 am_make=${MAKE-make}
   4389 cat > confinc << 'END'
   4390 am__doit:
   4391 	@echo this is the am__doit target
   4392 .PHONY: am__doit
   4393 END
   4394 # If we don't find an include directive, just comment out the code.
   4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4396 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4397 am__include="#"
   4398 am__quote=
   4399 _am_result=none
   4400 # First try GNU make style include.
   4401 echo "include confinc" > confmf
   4402 # Ignore all kinds of additional output from 'make'.
   4403 case `$am_make -s -f confmf 2> /dev/null` in #(
   4404 *the\ am__doit\ target*)
   4405   am__include=include
   4406   am__quote=
   4407   _am_result=GNU
   4408   ;;
   4409 esac
   4410 # Now try BSD make style include.
   4411 if test "$am__include" = "#"; then
   4412    echo '.include "confinc"' > confmf
   4413    case `$am_make -s -f confmf 2> /dev/null` in #(
   4414    *the\ am__doit\ target*)
   4415      am__include=.include
   4416      am__quote="\""
   4417      _am_result=BSD
   4418      ;;
   4419    esac
   4420 fi
   4421 
   4422 
   4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4424 $as_echo "$_am_result" >&6; }
   4425 rm -f confinc confmf
   4426 
   4427 # Check whether --enable-dependency-tracking was given.
   4428 if test "${enable_dependency_tracking+set}" = set; then :
   4429   enableval=$enable_dependency_tracking;
   4430 fi
   4431 
   4432 if test "x$enable_dependency_tracking" != xno; then
   4433   am_depcomp="$ac_aux_dir/depcomp"
   4434   AMDEPBACKSLASH='\'
   4435   am__nodep='_no'
   4436 fi
   4437  if test "x$enable_dependency_tracking" != xno; then
   4438   AMDEP_TRUE=
   4439   AMDEP_FALSE='#'
   4440 else
   4441   AMDEP_TRUE='#'
   4442   AMDEP_FALSE=
   4443 fi
   4444 
   4445 
   4446 # Check whether --enable-silent-rules was given.
   4447 if test "${enable_silent_rules+set}" = set; then :
   4448   enableval=$enable_silent_rules;
   4449 fi
   4450 
   4451 case $enable_silent_rules in # (((
   4452   yes) AM_DEFAULT_VERBOSITY=0;;
   4453    no) AM_DEFAULT_VERBOSITY=1;;
   4454     *) AM_DEFAULT_VERBOSITY=1;;
   4455 esac
   4456 am_make=${MAKE-make}
   4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4458 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4459 if ${am_cv_make_support_nested_variables+:} false; then :
   4460   $as_echo_n "(cached) " >&6
   4461 else
   4462   if $as_echo 'TRUE=$(BAR$(V))
   4463 BAR0=false
   4464 BAR1=true
   4465 V=1
   4466 am__doit:
   4467 	@$(TRUE)
   4468 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4469   am_cv_make_support_nested_variables=yes
   4470 else
   4471   am_cv_make_support_nested_variables=no
   4472 fi
   4473 fi
   4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4475 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4476 if test $am_cv_make_support_nested_variables = yes; then
   4477     AM_V='$(V)'
   4478   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4479 else
   4480   AM_V=$AM_DEFAULT_VERBOSITY
   4481   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4482 fi
   4483 AM_BACKSLASH='\'
   4484 
   4485 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4486   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4487   # is not polluted with repeated "-I."
   4488   am__isrc=' -I$(srcdir)'
   4489   # test to see if srcdir already configured
   4490   if test -f $srcdir/config.status; then
   4491     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4492   fi
   4493 fi
   4494 
   4495 # test whether we have cygpath
   4496 if test -z "$CYGPATH_W"; then
   4497   if (cygpath --version) >/dev/null 2>/dev/null; then
   4498     CYGPATH_W='cygpath -w'
   4499   else
   4500     CYGPATH_W=echo
   4501   fi
   4502 fi
   4503 
   4504 
   4505 # Define the identity of the package.
   4506  PACKAGE='libX11'
   4507  VERSION='1.6.0'
   4508 
   4509 
   4510 cat >>confdefs.h <<_ACEOF
   4511 #define PACKAGE "$PACKAGE"
   4512 _ACEOF
   4513 
   4514 
   4515 cat >>confdefs.h <<_ACEOF
   4516 #define VERSION "$VERSION"
   4517 _ACEOF
   4518 
   4519 # Some tools Automake needs.
   4520 
   4521 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4522 
   4523 
   4524 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4525 
   4526 
   4527 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4528 
   4529 
   4530 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4531 
   4532 
   4533 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4534 
   4535 # For better backward compatibility.  To be removed once Automake 1.9.x
   4536 # dies out for good.  For more background, see:
   4537 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4538 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4539 mkdir_p='$(MKDIR_P)'
   4540 
   4541 # We need awk for the "check" target.  The system "awk" is bad on
   4542 # some platforms.
   4543 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4544 # in the wild :-(  We should find a proper way to deprecate it ...
   4545 AMTAR='$${TAR-tar}'
   4546 
   4547 
   4548 # We'll loop over all known methods to create a tar archive until one works.
   4549 _am_tools='gnutar  pax cpio none'
   4550 
   4551 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4552 
   4553 
   4554 
   4555 
   4556 
   4557 depcc="$CC"   am_compiler_list=
   4558 
   4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4560 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4561 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4562   $as_echo_n "(cached) " >&6
   4563 else
   4564   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4565   # We make a subdir and do the tests there.  Otherwise we can end up
   4566   # making bogus files that we don't know about and never remove.  For
   4567   # instance it was reported that on HP-UX the gcc test will end up
   4568   # making a dummy file named 'D' -- because '-MD' means "put the output
   4569   # in D".
   4570   rm -rf conftest.dir
   4571   mkdir conftest.dir
   4572   # Copy depcomp to subdir because otherwise we won't find it if we're
   4573   # using a relative directory.
   4574   cp "$am_depcomp" conftest.dir
   4575   cd conftest.dir
   4576   # We will build objects and dependencies in a subdirectory because
   4577   # it helps to detect inapplicable dependency modes.  For instance
   4578   # both Tru64's cc and ICC support -MD to output dependencies as a
   4579   # side effect of compilation, but ICC will put the dependencies in
   4580   # the current directory while Tru64 will put them in the object
   4581   # directory.
   4582   mkdir sub
   4583 
   4584   am_cv_CC_dependencies_compiler_type=none
   4585   if test "$am_compiler_list" = ""; then
   4586      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4587   fi
   4588   am__universal=false
   4589   case " $depcc " in #(
   4590      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4591      esac
   4592 
   4593   for depmode in $am_compiler_list; do
   4594     # Setup a source with many dependencies, because some compilers
   4595     # like to wrap large dependency lists on column 80 (with \), and
   4596     # we should not choose a depcomp mode which is confused by this.
   4597     #
   4598     # We need to recreate these files for each test, as the compiler may
   4599     # overwrite some of them when testing with obscure command lines.
   4600     # This happens at least with the AIX C compiler.
   4601     : > sub/conftest.c
   4602     for i in 1 2 3 4 5 6; do
   4603       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4604       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4605       # Solaris 10 /bin/sh.
   4606       echo '/* dummy */' > sub/conftst$i.h
   4607     done
   4608     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4609 
   4610     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4611     # mode.  It turns out that the SunPro C++ compiler does not properly
   4612     # handle '-M -o', and we need to detect this.  Also, some Intel
   4613     # versions had trouble with output in subdirs.
   4614     am__obj=sub/conftest.${OBJEXT-o}
   4615     am__minus_obj="-o $am__obj"
   4616     case $depmode in
   4617     gcc)
   4618       # This depmode causes a compiler race in universal mode.
   4619       test "$am__universal" = false || continue
   4620       ;;
   4621     nosideeffect)
   4622       # After this tag, mechanisms are not by side-effect, so they'll
   4623       # only be used when explicitly requested.
   4624       if test "x$enable_dependency_tracking" = xyes; then
   4625 	continue
   4626       else
   4627 	break
   4628       fi
   4629       ;;
   4630     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4631       # This compiler won't grok '-c -o', but also, the minuso test has
   4632       # not run yet.  These depmodes are late enough in the game, and
   4633       # so weak that their functioning should not be impacted.
   4634       am__obj=conftest.${OBJEXT-o}
   4635       am__minus_obj=
   4636       ;;
   4637     none) break ;;
   4638     esac
   4639     if depmode=$depmode \
   4640        source=sub/conftest.c object=$am__obj \
   4641        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4642        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4643          >/dev/null 2>conftest.err &&
   4644        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4645        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4646        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4647        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4648       # icc doesn't choke on unknown options, it will just issue warnings
   4649       # or remarks (even with -Werror).  So we grep stderr for any message
   4650       # that says an option was ignored or not supported.
   4651       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4652       #   icc: Command line warning: ignoring option '-M'; no argument required
   4653       # The diagnosis changed in icc 8.0:
   4654       #   icc: Command line remark: option '-MP' not supported
   4655       if (grep 'ignoring option' conftest.err ||
   4656           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4657         am_cv_CC_dependencies_compiler_type=$depmode
   4658         break
   4659       fi
   4660     fi
   4661   done
   4662 
   4663   cd ..
   4664   rm -rf conftest.dir
   4665 else
   4666   am_cv_CC_dependencies_compiler_type=none
   4667 fi
   4668 
   4669 fi
   4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4671 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4672 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4673 
   4674  if
   4675   test "x$enable_dependency_tracking" != xno \
   4676   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4677   am__fastdepCC_TRUE=
   4678   am__fastdepCC_FALSE='#'
   4679 else
   4680   am__fastdepCC_TRUE='#'
   4681   am__fastdepCC_FALSE=
   4682 fi
   4683 
   4684 
   4685 
   4686 
   4687 # Initialize libtool
   4688 case `pwd` in
   4689   *\ * | *\	*)
   4690     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4691 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4692 esac
   4693 
   4694 
   4695 
   4696 macro_version='2.4.2'
   4697 macro_revision='1.3337'
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 
   4706 
   4707 
   4708 
   4709 
   4710 
   4711 ltmain="$ac_aux_dir/ltmain.sh"
   4712 
   4713 # Backslashify metacharacters that are still active within
   4714 # double-quoted strings.
   4715 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4716 
   4717 # Same as above, but do not quote variable references.
   4718 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4719 
   4720 # Sed substitution to delay expansion of an escaped shell variable in a
   4721 # double_quote_subst'ed string.
   4722 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4723 
   4724 # Sed substitution to delay expansion of an escaped single quote.
   4725 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4726 
   4727 # Sed substitution to avoid accidental globbing in evaled expressions
   4728 no_glob_subst='s/\*/\\\*/g'
   4729 
   4730 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4731 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4732 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4733 
   4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4735 $as_echo_n "checking how to print strings... " >&6; }
   4736 # Test print first, because it will be a builtin if present.
   4737 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4738    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4739   ECHO='print -r --'
   4740 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4741   ECHO='printf %s\n'
   4742 else
   4743   # Use this function as a fallback that always works.
   4744   func_fallback_echo ()
   4745   {
   4746     eval 'cat <<_LTECHO_EOF
   4747 $1
   4748 _LTECHO_EOF'
   4749   }
   4750   ECHO='func_fallback_echo'
   4751 fi
   4752 
   4753 # func_echo_all arg...
   4754 # Invoke $ECHO with all args, space-separated.
   4755 func_echo_all ()
   4756 {
   4757     $ECHO ""
   4758 }
   4759 
   4760 case "$ECHO" in
   4761   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4762 $as_echo "printf" >&6; } ;;
   4763   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4764 $as_echo "print -r" >&6; } ;;
   4765   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4766 $as_echo "cat" >&6; } ;;
   4767 esac
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4783 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4784 if ${ac_cv_path_SED+:} false; then :
   4785   $as_echo_n "(cached) " >&6
   4786 else
   4787             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4788      for ac_i in 1 2 3 4 5 6 7; do
   4789        ac_script="$ac_script$as_nl$ac_script"
   4790      done
   4791      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4792      { ac_script=; unset ac_script;}
   4793      if test -z "$SED"; then
   4794   ac_path_SED_found=false
   4795   # Loop through the user's path and test for each of PROGNAME-LIST
   4796   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4797 for as_dir in $PATH
   4798 do
   4799   IFS=$as_save_IFS
   4800   test -z "$as_dir" && as_dir=.
   4801     for ac_prog in sed gsed; do
   4802     for ac_exec_ext in '' $ac_executable_extensions; do
   4803       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4804       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4805 # Check for GNU ac_path_SED and select it if it is found.
   4806   # Check for GNU $ac_path_SED
   4807 case `"$ac_path_SED" --version 2>&1` in
   4808 *GNU*)
   4809   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4810 *)
   4811   ac_count=0
   4812   $as_echo_n 0123456789 >"conftest.in"
   4813   while :
   4814   do
   4815     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4816     mv "conftest.tmp" "conftest.in"
   4817     cp "conftest.in" "conftest.nl"
   4818     $as_echo '' >> "conftest.nl"
   4819     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4820     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4821     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4822     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4823       # Best one so far, save it but keep looking for a better one
   4824       ac_cv_path_SED="$ac_path_SED"
   4825       ac_path_SED_max=$ac_count
   4826     fi
   4827     # 10*(2^10) chars as input seems more than enough
   4828     test $ac_count -gt 10 && break
   4829   done
   4830   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4831 esac
   4832 
   4833       $ac_path_SED_found && break 3
   4834     done
   4835   done
   4836   done
   4837 IFS=$as_save_IFS
   4838   if test -z "$ac_cv_path_SED"; then
   4839     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4840   fi
   4841 else
   4842   ac_cv_path_SED=$SED
   4843 fi
   4844 
   4845 fi
   4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4847 $as_echo "$ac_cv_path_SED" >&6; }
   4848  SED="$ac_cv_path_SED"
   4849   rm -f conftest.sed
   4850 
   4851 test -z "$SED" && SED=sed
   4852 Xsed="$SED -e 1s/^X//"
   4853 
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 
   4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4865 $as_echo_n "checking for fgrep... " >&6; }
   4866 if ${ac_cv_path_FGREP+:} false; then :
   4867   $as_echo_n "(cached) " >&6
   4868 else
   4869   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4870    then ac_cv_path_FGREP="$GREP -F"
   4871    else
   4872      if test -z "$FGREP"; then
   4873   ac_path_FGREP_found=false
   4874   # Loop through the user's path and test for each of PROGNAME-LIST
   4875   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4876 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4877 do
   4878   IFS=$as_save_IFS
   4879   test -z "$as_dir" && as_dir=.
   4880     for ac_prog in fgrep; do
   4881     for ac_exec_ext in '' $ac_executable_extensions; do
   4882       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4883       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4884 # Check for GNU ac_path_FGREP and select it if it is found.
   4885   # Check for GNU $ac_path_FGREP
   4886 case `"$ac_path_FGREP" --version 2>&1` in
   4887 *GNU*)
   4888   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4889 *)
   4890   ac_count=0
   4891   $as_echo_n 0123456789 >"conftest.in"
   4892   while :
   4893   do
   4894     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4895     mv "conftest.tmp" "conftest.in"
   4896     cp "conftest.in" "conftest.nl"
   4897     $as_echo 'FGREP' >> "conftest.nl"
   4898     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4899     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4900     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4901     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4902       # Best one so far, save it but keep looking for a better one
   4903       ac_cv_path_FGREP="$ac_path_FGREP"
   4904       ac_path_FGREP_max=$ac_count
   4905     fi
   4906     # 10*(2^10) chars as input seems more than enough
   4907     test $ac_count -gt 10 && break
   4908   done
   4909   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4910 esac
   4911 
   4912       $ac_path_FGREP_found && break 3
   4913     done
   4914   done
   4915   done
   4916 IFS=$as_save_IFS
   4917   if test -z "$ac_cv_path_FGREP"; then
   4918     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4919   fi
   4920 else
   4921   ac_cv_path_FGREP=$FGREP
   4922 fi
   4923 
   4924    fi
   4925 fi
   4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4927 $as_echo "$ac_cv_path_FGREP" >&6; }
   4928  FGREP="$ac_cv_path_FGREP"
   4929 
   4930 
   4931 test -z "$GREP" && GREP=grep
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 # Check whether --with-gnu-ld was given.
   4952 if test "${with_gnu_ld+set}" = set; then :
   4953   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4954 else
   4955   with_gnu_ld=no
   4956 fi
   4957 
   4958 ac_prog=ld
   4959 if test "$GCC" = yes; then
   4960   # Check if gcc -print-prog-name=ld gives a path.
   4961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4962 $as_echo_n "checking for ld used by $CC... " >&6; }
   4963   case $host in
   4964   *-*-mingw*)
   4965     # gcc leaves a trailing carriage return which upsets mingw
   4966     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4967   *)
   4968     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4969   esac
   4970   case $ac_prog in
   4971     # Accept absolute paths.
   4972     [\\/]* | ?:[\\/]*)
   4973       re_direlt='/[^/][^/]*/\.\./'
   4974       # Canonicalize the pathname of ld
   4975       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4976       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4977 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4978       done
   4979       test -z "$LD" && LD="$ac_prog"
   4980       ;;
   4981   "")
   4982     # If it fails, then pretend we aren't using GCC.
   4983     ac_prog=ld
   4984     ;;
   4985   *)
   4986     # If it is relative, then search for the first ld in PATH.
   4987     with_gnu_ld=unknown
   4988     ;;
   4989   esac
   4990 elif test "$with_gnu_ld" = yes; then
   4991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4992 $as_echo_n "checking for GNU ld... " >&6; }
   4993 else
   4994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4995 $as_echo_n "checking for non-GNU ld... " >&6; }
   4996 fi
   4997 if ${lt_cv_path_LD+:} false; then :
   4998   $as_echo_n "(cached) " >&6
   4999 else
   5000   if test -z "$LD"; then
   5001   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5002   for ac_dir in $PATH; do
   5003     IFS="$lt_save_ifs"
   5004     test -z "$ac_dir" && ac_dir=.
   5005     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5006       lt_cv_path_LD="$ac_dir/$ac_prog"
   5007       # Check to see if the program is GNU ld.  I'd rather use --version,
   5008       # but apparently some variants of GNU ld only accept -v.
   5009       # Break only if it was the GNU/non-GNU ld that we prefer.
   5010       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5011       *GNU* | *'with BFD'*)
   5012 	test "$with_gnu_ld" != no && break
   5013 	;;
   5014       *)
   5015 	test "$with_gnu_ld" != yes && break
   5016 	;;
   5017       esac
   5018     fi
   5019   done
   5020   IFS="$lt_save_ifs"
   5021 else
   5022   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5023 fi
   5024 fi
   5025 
   5026 LD="$lt_cv_path_LD"
   5027 if test -n "$LD"; then
   5028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5029 $as_echo "$LD" >&6; }
   5030 else
   5031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5032 $as_echo "no" >&6; }
   5033 fi
   5034 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5036 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5037 if ${lt_cv_prog_gnu_ld+:} false; then :
   5038   $as_echo_n "(cached) " >&6
   5039 else
   5040   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5041 case `$LD -v 2>&1 </dev/null` in
   5042 *GNU* | *'with BFD'*)
   5043   lt_cv_prog_gnu_ld=yes
   5044   ;;
   5045 *)
   5046   lt_cv_prog_gnu_ld=no
   5047   ;;
   5048 esac
   5049 fi
   5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5051 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5052 with_gnu_ld=$lt_cv_prog_gnu_ld
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 
   5061 
   5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5063 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5064 if ${lt_cv_path_NM+:} false; then :
   5065   $as_echo_n "(cached) " >&6
   5066 else
   5067   if test -n "$NM"; then
   5068   # Let the user override the test.
   5069   lt_cv_path_NM="$NM"
   5070 else
   5071   lt_nm_to_check="${ac_tool_prefix}nm"
   5072   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5073     lt_nm_to_check="$lt_nm_to_check nm"
   5074   fi
   5075   for lt_tmp_nm in $lt_nm_to_check; do
   5076     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5077     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5078       IFS="$lt_save_ifs"
   5079       test -z "$ac_dir" && ac_dir=.
   5080       tmp_nm="$ac_dir/$lt_tmp_nm"
   5081       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5082 	# Check to see if the nm accepts a BSD-compat flag.
   5083 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5084 	#   nm: unknown option "B" ignored
   5085 	# Tru64's nm complains that /dev/null is an invalid object file
   5086 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5087 	*/dev/null* | *'Invalid file or object type'*)
   5088 	  lt_cv_path_NM="$tmp_nm -B"
   5089 	  break
   5090 	  ;;
   5091 	*)
   5092 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5093 	  */dev/null*)
   5094 	    lt_cv_path_NM="$tmp_nm -p"
   5095 	    break
   5096 	    ;;
   5097 	  *)
   5098 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5099 	    continue # so that we can try to find one that supports BSD flags
   5100 	    ;;
   5101 	  esac
   5102 	  ;;
   5103 	esac
   5104       fi
   5105     done
   5106     IFS="$lt_save_ifs"
   5107   done
   5108   : ${lt_cv_path_NM=no}
   5109 fi
   5110 fi
   5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5112 $as_echo "$lt_cv_path_NM" >&6; }
   5113 if test "$lt_cv_path_NM" != "no"; then
   5114   NM="$lt_cv_path_NM"
   5115 else
   5116   # Didn't find any BSD compatible name lister, look for dumpbin.
   5117   if test -n "$DUMPBIN"; then :
   5118     # Let the user override the test.
   5119   else
   5120     if test -n "$ac_tool_prefix"; then
   5121   for ac_prog in dumpbin "link -dump"
   5122   do
   5123     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5126 $as_echo_n "checking for $ac_word... " >&6; }
   5127 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5128   $as_echo_n "(cached) " >&6
   5129 else
   5130   if test -n "$DUMPBIN"; then
   5131   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5132 else
   5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5134 for as_dir in $PATH
   5135 do
   5136   IFS=$as_save_IFS
   5137   test -z "$as_dir" && as_dir=.
   5138     for ac_exec_ext in '' $ac_executable_extensions; do
   5139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5140     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5141     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5142     break 2
   5143   fi
   5144 done
   5145   done
   5146 IFS=$as_save_IFS
   5147 
   5148 fi
   5149 fi
   5150 DUMPBIN=$ac_cv_prog_DUMPBIN
   5151 if test -n "$DUMPBIN"; then
   5152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5153 $as_echo "$DUMPBIN" >&6; }
   5154 else
   5155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5156 $as_echo "no" >&6; }
   5157 fi
   5158 
   5159 
   5160     test -n "$DUMPBIN" && break
   5161   done
   5162 fi
   5163 if test -z "$DUMPBIN"; then
   5164   ac_ct_DUMPBIN=$DUMPBIN
   5165   for ac_prog in dumpbin "link -dump"
   5166 do
   5167   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5168 set dummy $ac_prog; ac_word=$2
   5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5170 $as_echo_n "checking for $ac_word... " >&6; }
   5171 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5172   $as_echo_n "(cached) " >&6
   5173 else
   5174   if test -n "$ac_ct_DUMPBIN"; then
   5175   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5176 else
   5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5178 for as_dir in $PATH
   5179 do
   5180   IFS=$as_save_IFS
   5181   test -z "$as_dir" && as_dir=.
   5182     for ac_exec_ext in '' $ac_executable_extensions; do
   5183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5184     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5186     break 2
   5187   fi
   5188 done
   5189   done
   5190 IFS=$as_save_IFS
   5191 
   5192 fi
   5193 fi
   5194 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5195 if test -n "$ac_ct_DUMPBIN"; then
   5196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5197 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5198 else
   5199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5200 $as_echo "no" >&6; }
   5201 fi
   5202 
   5203 
   5204   test -n "$ac_ct_DUMPBIN" && break
   5205 done
   5206 
   5207   if test "x$ac_ct_DUMPBIN" = x; then
   5208     DUMPBIN=":"
   5209   else
   5210     case $cross_compiling:$ac_tool_warned in
   5211 yes:)
   5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5214 ac_tool_warned=yes ;;
   5215 esac
   5216     DUMPBIN=$ac_ct_DUMPBIN
   5217   fi
   5218 fi
   5219 
   5220     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5221     *COFF*)
   5222       DUMPBIN="$DUMPBIN -symbols"
   5223       ;;
   5224     *)
   5225       DUMPBIN=:
   5226       ;;
   5227     esac
   5228   fi
   5229 
   5230   if test "$DUMPBIN" != ":"; then
   5231     NM="$DUMPBIN"
   5232   fi
   5233 fi
   5234 test -z "$NM" && NM=nm
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5242 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5243 if ${lt_cv_nm_interface+:} false; then :
   5244   $as_echo_n "(cached) " >&6
   5245 else
   5246   lt_cv_nm_interface="BSD nm"
   5247   echo "int some_variable = 0;" > conftest.$ac_ext
   5248   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5249   (eval "$ac_compile" 2>conftest.err)
   5250   cat conftest.err >&5
   5251   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5252   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5253   cat conftest.err >&5
   5254   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5255   cat conftest.out >&5
   5256   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5257     lt_cv_nm_interface="MS dumpbin"
   5258   fi
   5259   rm -f conftest*
   5260 fi
   5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5262 $as_echo "$lt_cv_nm_interface" >&6; }
   5263 
   5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5265 $as_echo_n "checking whether ln -s works... " >&6; }
   5266 LN_S=$as_ln_s
   5267 if test "$LN_S" = "ln -s"; then
   5268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5269 $as_echo "yes" >&6; }
   5270 else
   5271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5272 $as_echo "no, using $LN_S" >&6; }
   5273 fi
   5274 
   5275 # find the maximum length of command line arguments
   5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5277 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5278 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5279   $as_echo_n "(cached) " >&6
   5280 else
   5281     i=0
   5282   teststring="ABCD"
   5283 
   5284   case $build_os in
   5285   msdosdjgpp*)
   5286     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5287     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5288     # during glob expansion).  Even if it were fixed, the result of this
   5289     # check would be larger than it should be.
   5290     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5291     ;;
   5292 
   5293   gnu*)
   5294     # Under GNU Hurd, this test is not required because there is
   5295     # no limit to the length of command line arguments.
   5296     # Libtool will interpret -1 as no limit whatsoever
   5297     lt_cv_sys_max_cmd_len=-1;
   5298     ;;
   5299 
   5300   cygwin* | mingw* | cegcc*)
   5301     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5302     # about 5 minutes as the teststring grows exponentially.
   5303     # Worse, since 9x/ME are not pre-emptively multitasking,
   5304     # you end up with a "frozen" computer, even though with patience
   5305     # the test eventually succeeds (with a max line length of 256k).
   5306     # Instead, let's just punt: use the minimum linelength reported by
   5307     # all of the supported platforms: 8192 (on NT/2K/XP).
   5308     lt_cv_sys_max_cmd_len=8192;
   5309     ;;
   5310 
   5311   mint*)
   5312     # On MiNT this can take a long time and run out of memory.
   5313     lt_cv_sys_max_cmd_len=8192;
   5314     ;;
   5315 
   5316   amigaos*)
   5317     # On AmigaOS with pdksh, this test takes hours, literally.
   5318     # So we just punt and use a minimum line length of 8192.
   5319     lt_cv_sys_max_cmd_len=8192;
   5320     ;;
   5321 
   5322   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5323     # This has been around since 386BSD, at least.  Likely further.
   5324     if test -x /sbin/sysctl; then
   5325       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5326     elif test -x /usr/sbin/sysctl; then
   5327       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5328     else
   5329       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5330     fi
   5331     # And add a safety zone
   5332     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5333     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5334     ;;
   5335 
   5336   interix*)
   5337     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5338     lt_cv_sys_max_cmd_len=196608
   5339     ;;
   5340 
   5341   os2*)
   5342     # The test takes a long time on OS/2.
   5343     lt_cv_sys_max_cmd_len=8192
   5344     ;;
   5345 
   5346   osf*)
   5347     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5348     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5349     # nice to cause kernel panics so lets avoid the loop below.
   5350     # First set a reasonable default.
   5351     lt_cv_sys_max_cmd_len=16384
   5352     #
   5353     if test -x /sbin/sysconfig; then
   5354       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5355         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5356       esac
   5357     fi
   5358     ;;
   5359   sco3.2v5*)
   5360     lt_cv_sys_max_cmd_len=102400
   5361     ;;
   5362   sysv5* | sco5v6* | sysv4.2uw2*)
   5363     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5364     if test -n "$kargmax"; then
   5365       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5366     else
   5367       lt_cv_sys_max_cmd_len=32768
   5368     fi
   5369     ;;
   5370   *)
   5371     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5372     if test -n "$lt_cv_sys_max_cmd_len"; then
   5373       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5374       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5375     else
   5376       # Make teststring a little bigger before we do anything with it.
   5377       # a 1K string should be a reasonable start.
   5378       for i in 1 2 3 4 5 6 7 8 ; do
   5379         teststring=$teststring$teststring
   5380       done
   5381       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5382       # If test is not a shell built-in, we'll probably end up computing a
   5383       # maximum length that is only half of the actual maximum length, but
   5384       # we can't tell.
   5385       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   5386 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5387 	      test $i != 17 # 1/2 MB should be enough
   5388       do
   5389         i=`expr $i + 1`
   5390         teststring=$teststring$teststring
   5391       done
   5392       # Only check the string length outside the loop.
   5393       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5394       teststring=
   5395       # Add a significant safety factor because C++ compilers can tack on
   5396       # massive amounts of additional arguments before passing them to the
   5397       # linker.  It appears as though 1/2 is a usable value.
   5398       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5399     fi
   5400     ;;
   5401   esac
   5402 
   5403 fi
   5404 
   5405 if test -n $lt_cv_sys_max_cmd_len ; then
   5406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5407 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5408 else
   5409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5410 $as_echo "none" >&6; }
   5411 fi
   5412 max_cmd_len=$lt_cv_sys_max_cmd_len
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 : ${CP="cp -f"}
   5420 : ${MV="mv -f"}
   5421 : ${RM="rm -f"}
   5422 
   5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5424 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5425 # Try some XSI features
   5426 xsi_shell=no
   5427 ( _lt_dummy="a/b/c"
   5428   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5429       = c,a/b,b/c, \
   5430     && eval 'test $(( 1 + 1 )) -eq 2 \
   5431     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5432   && xsi_shell=yes
   5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5434 $as_echo "$xsi_shell" >&6; }
   5435 
   5436 
   5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5438 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5439 lt_shell_append=no
   5440 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5441     >/dev/null 2>&1 \
   5442   && lt_shell_append=yes
   5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5444 $as_echo "$lt_shell_append" >&6; }
   5445 
   5446 
   5447 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5448   lt_unset=unset
   5449 else
   5450   lt_unset=false
   5451 fi
   5452 
   5453 
   5454 
   5455 
   5456 
   5457 # test EBCDIC or ASCII
   5458 case `echo X|tr X '\101'` in
   5459  A) # ASCII based system
   5460     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5461   lt_SP2NL='tr \040 \012'
   5462   lt_NL2SP='tr \015\012 \040\040'
   5463   ;;
   5464  *) # EBCDIC based system
   5465   lt_SP2NL='tr \100 \n'
   5466   lt_NL2SP='tr \r\n \100\100'
   5467   ;;
   5468 esac
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5479 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5480 if ${lt_cv_to_host_file_cmd+:} false; then :
   5481   $as_echo_n "(cached) " >&6
   5482 else
   5483   case $host in
   5484   *-*-mingw* )
   5485     case $build in
   5486       *-*-mingw* ) # actually msys
   5487         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5488         ;;
   5489       *-*-cygwin* )
   5490         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5491         ;;
   5492       * ) # otherwise, assume *nix
   5493         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5494         ;;
   5495     esac
   5496     ;;
   5497   *-*-cygwin* )
   5498     case $build in
   5499       *-*-mingw* ) # actually msys
   5500         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5501         ;;
   5502       *-*-cygwin* )
   5503         lt_cv_to_host_file_cmd=func_convert_file_noop
   5504         ;;
   5505       * ) # otherwise, assume *nix
   5506         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5507         ;;
   5508     esac
   5509     ;;
   5510   * ) # unhandled hosts (and "normal" native builds)
   5511     lt_cv_to_host_file_cmd=func_convert_file_noop
   5512     ;;
   5513 esac
   5514 
   5515 fi
   5516 
   5517 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5519 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5526 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5527 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5528   $as_echo_n "(cached) " >&6
   5529 else
   5530   #assume ordinary cross tools, or native build.
   5531 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5532 case $host in
   5533   *-*-mingw* )
   5534     case $build in
   5535       *-*-mingw* ) # actually msys
   5536         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5537         ;;
   5538     esac
   5539     ;;
   5540 esac
   5541 
   5542 fi
   5543 
   5544 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5546 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5553 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5554 if ${lt_cv_ld_reload_flag+:} false; then :
   5555   $as_echo_n "(cached) " >&6
   5556 else
   5557   lt_cv_ld_reload_flag='-r'
   5558 fi
   5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5560 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5561 reload_flag=$lt_cv_ld_reload_flag
   5562 case $reload_flag in
   5563 "" | " "*) ;;
   5564 *) reload_flag=" $reload_flag" ;;
   5565 esac
   5566 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5567 case $host_os in
   5568   cygwin* | mingw* | pw32* | cegcc*)
   5569     if test "$GCC" != yes; then
   5570       reload_cmds=false
   5571     fi
   5572     ;;
   5573   darwin*)
   5574     if test "$GCC" = yes; then
   5575       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5576     else
   5577       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5578     fi
   5579     ;;
   5580 esac
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 if test -n "$ac_tool_prefix"; then
   5591   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5592 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5594 $as_echo_n "checking for $ac_word... " >&6; }
   5595 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5596   $as_echo_n "(cached) " >&6
   5597 else
   5598   if test -n "$OBJDUMP"; then
   5599   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5600 else
   5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5602 for as_dir in $PATH
   5603 do
   5604   IFS=$as_save_IFS
   5605   test -z "$as_dir" && as_dir=.
   5606     for ac_exec_ext in '' $ac_executable_extensions; do
   5607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5608     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5610     break 2
   5611   fi
   5612 done
   5613   done
   5614 IFS=$as_save_IFS
   5615 
   5616 fi
   5617 fi
   5618 OBJDUMP=$ac_cv_prog_OBJDUMP
   5619 if test -n "$OBJDUMP"; then
   5620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5621 $as_echo "$OBJDUMP" >&6; }
   5622 else
   5623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5624 $as_echo "no" >&6; }
   5625 fi
   5626 
   5627 
   5628 fi
   5629 if test -z "$ac_cv_prog_OBJDUMP"; then
   5630   ac_ct_OBJDUMP=$OBJDUMP
   5631   # Extract the first word of "objdump", so it can be a program name with args.
   5632 set dummy objdump; ac_word=$2
   5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5634 $as_echo_n "checking for $ac_word... " >&6; }
   5635 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5636   $as_echo_n "(cached) " >&6
   5637 else
   5638   if test -n "$ac_ct_OBJDUMP"; then
   5639   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5640 else
   5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5642 for as_dir in $PATH
   5643 do
   5644   IFS=$as_save_IFS
   5645   test -z "$as_dir" && as_dir=.
   5646     for ac_exec_ext in '' $ac_executable_extensions; do
   5647   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5648     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5650     break 2
   5651   fi
   5652 done
   5653   done
   5654 IFS=$as_save_IFS
   5655 
   5656 fi
   5657 fi
   5658 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5659 if test -n "$ac_ct_OBJDUMP"; then
   5660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5661 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5662 else
   5663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5664 $as_echo "no" >&6; }
   5665 fi
   5666 
   5667   if test "x$ac_ct_OBJDUMP" = x; then
   5668     OBJDUMP="false"
   5669   else
   5670     case $cross_compiling:$ac_tool_warned in
   5671 yes:)
   5672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5674 ac_tool_warned=yes ;;
   5675 esac
   5676     OBJDUMP=$ac_ct_OBJDUMP
   5677   fi
   5678 else
   5679   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5680 fi
   5681 
   5682 test -z "$OBJDUMP" && OBJDUMP=objdump
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5693 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5694 if ${lt_cv_deplibs_check_method+:} false; then :
   5695   $as_echo_n "(cached) " >&6
   5696 else
   5697   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5698 lt_cv_file_magic_test_file=
   5699 lt_cv_deplibs_check_method='unknown'
   5700 # Need to set the preceding variable on all platforms that support
   5701 # interlibrary dependencies.
   5702 # 'none' -- dependencies not supported.
   5703 # `unknown' -- same as none, but documents that we really don't know.
   5704 # 'pass_all' -- all dependencies passed with no checks.
   5705 # 'test_compile' -- check by making test program.
   5706 # 'file_magic [[regex]]' -- check by looking for files in library path
   5707 # which responds to the $file_magic_cmd with a given extended regex.
   5708 # If you have `file' or equivalent on your system and you're not sure
   5709 # whether `pass_all' will *always* work, you probably want this one.
   5710 
   5711 case $host_os in
   5712 aix[4-9]*)
   5713   lt_cv_deplibs_check_method=pass_all
   5714   ;;
   5715 
   5716 beos*)
   5717   lt_cv_deplibs_check_method=pass_all
   5718   ;;
   5719 
   5720 bsdi[45]*)
   5721   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5722   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5723   lt_cv_file_magic_test_file=/shlib/libc.so
   5724   ;;
   5725 
   5726 cygwin*)
   5727   # func_win32_libid is a shell function defined in ltmain.sh
   5728   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5729   lt_cv_file_magic_cmd='func_win32_libid'
   5730   ;;
   5731 
   5732 mingw* | pw32*)
   5733   # Base MSYS/MinGW do not provide the 'file' command needed by
   5734   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5735   # unless we find 'file', for example because we are cross-compiling.
   5736   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5737   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5738     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5739     lt_cv_file_magic_cmd='func_win32_libid'
   5740   else
   5741     # Keep this pattern in sync with the one in func_win32_libid.
   5742     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5743     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5744   fi
   5745   ;;
   5746 
   5747 cegcc*)
   5748   # use the weaker test based on 'objdump'. See mingw*.
   5749   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5750   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5751   ;;
   5752 
   5753 darwin* | rhapsody*)
   5754   lt_cv_deplibs_check_method=pass_all
   5755   ;;
   5756 
   5757 freebsd* | dragonfly*)
   5758   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5759     case $host_cpu in
   5760     i*86 )
   5761       # Not sure whether the presence of OpenBSD here was a mistake.
   5762       # Let's accept both of them until this is cleared up.
   5763       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5764       lt_cv_file_magic_cmd=/usr/bin/file
   5765       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5766       ;;
   5767     esac
   5768   else
   5769     lt_cv_deplibs_check_method=pass_all
   5770   fi
   5771   ;;
   5772 
   5773 gnu*)
   5774   lt_cv_deplibs_check_method=pass_all
   5775   ;;
   5776 
   5777 haiku*)
   5778   lt_cv_deplibs_check_method=pass_all
   5779   ;;
   5780 
   5781 hpux10.20* | hpux11*)
   5782   lt_cv_file_magic_cmd=/usr/bin/file
   5783   case $host_cpu in
   5784   ia64*)
   5785     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5786     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5787     ;;
   5788   hppa*64*)
   5789     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]'
   5790     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5791     ;;
   5792   *)
   5793     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5794     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5795     ;;
   5796   esac
   5797   ;;
   5798 
   5799 interix[3-9]*)
   5800   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5801   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5802   ;;
   5803 
   5804 irix5* | irix6* | nonstopux*)
   5805   case $LD in
   5806   *-32|*"-32 ") libmagic=32-bit;;
   5807   *-n32|*"-n32 ") libmagic=N32;;
   5808   *-64|*"-64 ") libmagic=64-bit;;
   5809   *) libmagic=never-match;;
   5810   esac
   5811   lt_cv_deplibs_check_method=pass_all
   5812   ;;
   5813 
   5814 # This must be glibc/ELF.
   5815 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5816   lt_cv_deplibs_check_method=pass_all
   5817   ;;
   5818 
   5819 netbsd*)
   5820   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5821     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5822   else
   5823     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5824   fi
   5825   ;;
   5826 
   5827 newos6*)
   5828   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5829   lt_cv_file_magic_cmd=/usr/bin/file
   5830   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5831   ;;
   5832 
   5833 *nto* | *qnx*)
   5834   lt_cv_deplibs_check_method=pass_all
   5835   ;;
   5836 
   5837 openbsd*)
   5838   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5839     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5840   else
   5841     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5842   fi
   5843   ;;
   5844 
   5845 osf3* | osf4* | osf5*)
   5846   lt_cv_deplibs_check_method=pass_all
   5847   ;;
   5848 
   5849 rdos*)
   5850   lt_cv_deplibs_check_method=pass_all
   5851   ;;
   5852 
   5853 solaris*)
   5854   lt_cv_deplibs_check_method=pass_all
   5855   ;;
   5856 
   5857 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5858   lt_cv_deplibs_check_method=pass_all
   5859   ;;
   5860 
   5861 sysv4 | sysv4.3*)
   5862   case $host_vendor in
   5863   motorola)
   5864     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]'
   5865     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5866     ;;
   5867   ncr)
   5868     lt_cv_deplibs_check_method=pass_all
   5869     ;;
   5870   sequent)
   5871     lt_cv_file_magic_cmd='/bin/file'
   5872     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5873     ;;
   5874   sni)
   5875     lt_cv_file_magic_cmd='/bin/file'
   5876     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5877     lt_cv_file_magic_test_file=/lib/libc.so
   5878     ;;
   5879   siemens)
   5880     lt_cv_deplibs_check_method=pass_all
   5881     ;;
   5882   pc)
   5883     lt_cv_deplibs_check_method=pass_all
   5884     ;;
   5885   esac
   5886   ;;
   5887 
   5888 tpf*)
   5889   lt_cv_deplibs_check_method=pass_all
   5890   ;;
   5891 esac
   5892 
   5893 fi
   5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5895 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5896 
   5897 file_magic_glob=
   5898 want_nocaseglob=no
   5899 if test "$build" = "$host"; then
   5900   case $host_os in
   5901   mingw* | pw32*)
   5902     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5903       want_nocaseglob=yes
   5904     else
   5905       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5906     fi
   5907     ;;
   5908   esac
   5909 fi
   5910 
   5911 file_magic_cmd=$lt_cv_file_magic_cmd
   5912 deplibs_check_method=$lt_cv_deplibs_check_method
   5913 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 if test -n "$ac_tool_prefix"; then
   5937   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5938 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5940 $as_echo_n "checking for $ac_word... " >&6; }
   5941 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5942   $as_echo_n "(cached) " >&6
   5943 else
   5944   if test -n "$DLLTOOL"; then
   5945   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5946 else
   5947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5948 for as_dir in $PATH
   5949 do
   5950   IFS=$as_save_IFS
   5951   test -z "$as_dir" && as_dir=.
   5952     for ac_exec_ext in '' $ac_executable_extensions; do
   5953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5954     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5956     break 2
   5957   fi
   5958 done
   5959   done
   5960 IFS=$as_save_IFS
   5961 
   5962 fi
   5963 fi
   5964 DLLTOOL=$ac_cv_prog_DLLTOOL
   5965 if test -n "$DLLTOOL"; then
   5966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5967 $as_echo "$DLLTOOL" >&6; }
   5968 else
   5969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5970 $as_echo "no" >&6; }
   5971 fi
   5972 
   5973 
   5974 fi
   5975 if test -z "$ac_cv_prog_DLLTOOL"; then
   5976   ac_ct_DLLTOOL=$DLLTOOL
   5977   # Extract the first word of "dlltool", so it can be a program name with args.
   5978 set dummy dlltool; ac_word=$2
   5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5980 $as_echo_n "checking for $ac_word... " >&6; }
   5981 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5982   $as_echo_n "(cached) " >&6
   5983 else
   5984   if test -n "$ac_ct_DLLTOOL"; then
   5985   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5986 else
   5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5988 for as_dir in $PATH
   5989 do
   5990   IFS=$as_save_IFS
   5991   test -z "$as_dir" && as_dir=.
   5992     for ac_exec_ext in '' $ac_executable_extensions; do
   5993   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5994     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5996     break 2
   5997   fi
   5998 done
   5999   done
   6000 IFS=$as_save_IFS
   6001 
   6002 fi
   6003 fi
   6004 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6005 if test -n "$ac_ct_DLLTOOL"; then
   6006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6007 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6008 else
   6009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6010 $as_echo "no" >&6; }
   6011 fi
   6012 
   6013   if test "x$ac_ct_DLLTOOL" = x; then
   6014     DLLTOOL="false"
   6015   else
   6016     case $cross_compiling:$ac_tool_warned in
   6017 yes:)
   6018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6020 ac_tool_warned=yes ;;
   6021 esac
   6022     DLLTOOL=$ac_ct_DLLTOOL
   6023   fi
   6024 else
   6025   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6026 fi
   6027 
   6028 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6040 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6041 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6042   $as_echo_n "(cached) " >&6
   6043 else
   6044   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6045 
   6046 case $host_os in
   6047 cygwin* | mingw* | pw32* | cegcc*)
   6048   # two different shell functions defined in ltmain.sh
   6049   # decide which to use based on capabilities of $DLLTOOL
   6050   case `$DLLTOOL --help 2>&1` in
   6051   *--identify-strict*)
   6052     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6053     ;;
   6054   *)
   6055     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6056     ;;
   6057   esac
   6058   ;;
   6059 *)
   6060   # fallback: assume linklib IS sharedlib
   6061   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   6062   ;;
   6063 esac
   6064 
   6065 fi
   6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6067 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6068 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6069 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 if test -n "$ac_tool_prefix"; then
   6078   for ac_prog in ar
   6079   do
   6080     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6081 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6083 $as_echo_n "checking for $ac_word... " >&6; }
   6084 if ${ac_cv_prog_AR+:} false; then :
   6085   $as_echo_n "(cached) " >&6
   6086 else
   6087   if test -n "$AR"; then
   6088   ac_cv_prog_AR="$AR" # Let the user override the test.
   6089 else
   6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6091 for as_dir in $PATH
   6092 do
   6093   IFS=$as_save_IFS
   6094   test -z "$as_dir" && as_dir=.
   6095     for ac_exec_ext in '' $ac_executable_extensions; do
   6096   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6097     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6099     break 2
   6100   fi
   6101 done
   6102   done
   6103 IFS=$as_save_IFS
   6104 
   6105 fi
   6106 fi
   6107 AR=$ac_cv_prog_AR
   6108 if test -n "$AR"; then
   6109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6110 $as_echo "$AR" >&6; }
   6111 else
   6112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6113 $as_echo "no" >&6; }
   6114 fi
   6115 
   6116 
   6117     test -n "$AR" && break
   6118   done
   6119 fi
   6120 if test -z "$AR"; then
   6121   ac_ct_AR=$AR
   6122   for ac_prog in ar
   6123 do
   6124   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6125 set dummy $ac_prog; ac_word=$2
   6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6127 $as_echo_n "checking for $ac_word... " >&6; }
   6128 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6129   $as_echo_n "(cached) " >&6
   6130 else
   6131   if test -n "$ac_ct_AR"; then
   6132   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6133 else
   6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6135 for as_dir in $PATH
   6136 do
   6137   IFS=$as_save_IFS
   6138   test -z "$as_dir" && as_dir=.
   6139     for ac_exec_ext in '' $ac_executable_extensions; do
   6140   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6141     ac_cv_prog_ac_ct_AR="$ac_prog"
   6142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6143     break 2
   6144   fi
   6145 done
   6146   done
   6147 IFS=$as_save_IFS
   6148 
   6149 fi
   6150 fi
   6151 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6152 if test -n "$ac_ct_AR"; then
   6153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6154 $as_echo "$ac_ct_AR" >&6; }
   6155 else
   6156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6157 $as_echo "no" >&6; }
   6158 fi
   6159 
   6160 
   6161   test -n "$ac_ct_AR" && break
   6162 done
   6163 
   6164   if test "x$ac_ct_AR" = x; then
   6165     AR="false"
   6166   else
   6167     case $cross_compiling:$ac_tool_warned in
   6168 yes:)
   6169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6171 ac_tool_warned=yes ;;
   6172 esac
   6173     AR=$ac_ct_AR
   6174   fi
   6175 fi
   6176 
   6177 : ${AR=ar}
   6178 : ${AR_FLAGS=cru}
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6191 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6192 if ${lt_cv_ar_at_file+:} false; then :
   6193   $as_echo_n "(cached) " >&6
   6194 else
   6195   lt_cv_ar_at_file=no
   6196    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6197 /* end confdefs.h.  */
   6198 
   6199 int
   6200 main ()
   6201 {
   6202 
   6203   ;
   6204   return 0;
   6205 }
   6206 _ACEOF
   6207 if ac_fn_c_try_compile "$LINENO"; then :
   6208   echo conftest.$ac_objext > conftest.lst
   6209       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6210       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6211   (eval $lt_ar_try) 2>&5
   6212   ac_status=$?
   6213   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6214   test $ac_status = 0; }
   6215       if test "$ac_status" -eq 0; then
   6216 	# Ensure the archiver fails upon bogus file names.
   6217 	rm -f conftest.$ac_objext libconftest.a
   6218 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6219   (eval $lt_ar_try) 2>&5
   6220   ac_status=$?
   6221   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6222   test $ac_status = 0; }
   6223 	if test "$ac_status" -ne 0; then
   6224           lt_cv_ar_at_file=@
   6225         fi
   6226       fi
   6227       rm -f conftest.* libconftest.a
   6228 
   6229 fi
   6230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6231 
   6232 fi
   6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6234 $as_echo "$lt_cv_ar_at_file" >&6; }
   6235 
   6236 if test "x$lt_cv_ar_at_file" = xno; then
   6237   archiver_list_spec=
   6238 else
   6239   archiver_list_spec=$lt_cv_ar_at_file
   6240 fi
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 if test -n "$ac_tool_prefix"; then
   6249   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6250 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6252 $as_echo_n "checking for $ac_word... " >&6; }
   6253 if ${ac_cv_prog_STRIP+:} false; then :
   6254   $as_echo_n "(cached) " >&6
   6255 else
   6256   if test -n "$STRIP"; then
   6257   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6258 else
   6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6260 for as_dir in $PATH
   6261 do
   6262   IFS=$as_save_IFS
   6263   test -z "$as_dir" && as_dir=.
   6264     for ac_exec_ext in '' $ac_executable_extensions; do
   6265   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6266     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6268     break 2
   6269   fi
   6270 done
   6271   done
   6272 IFS=$as_save_IFS
   6273 
   6274 fi
   6275 fi
   6276 STRIP=$ac_cv_prog_STRIP
   6277 if test -n "$STRIP"; then
   6278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6279 $as_echo "$STRIP" >&6; }
   6280 else
   6281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6282 $as_echo "no" >&6; }
   6283 fi
   6284 
   6285 
   6286 fi
   6287 if test -z "$ac_cv_prog_STRIP"; then
   6288   ac_ct_STRIP=$STRIP
   6289   # Extract the first word of "strip", so it can be a program name with args.
   6290 set dummy strip; ac_word=$2
   6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6292 $as_echo_n "checking for $ac_word... " >&6; }
   6293 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6294   $as_echo_n "(cached) " >&6
   6295 else
   6296   if test -n "$ac_ct_STRIP"; then
   6297   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6298 else
   6299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6300 for as_dir in $PATH
   6301 do
   6302   IFS=$as_save_IFS
   6303   test -z "$as_dir" && as_dir=.
   6304     for ac_exec_ext in '' $ac_executable_extensions; do
   6305   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6306     ac_cv_prog_ac_ct_STRIP="strip"
   6307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6308     break 2
   6309   fi
   6310 done
   6311   done
   6312 IFS=$as_save_IFS
   6313 
   6314 fi
   6315 fi
   6316 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6317 if test -n "$ac_ct_STRIP"; then
   6318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6319 $as_echo "$ac_ct_STRIP" >&6; }
   6320 else
   6321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6322 $as_echo "no" >&6; }
   6323 fi
   6324 
   6325   if test "x$ac_ct_STRIP" = x; then
   6326     STRIP=":"
   6327   else
   6328     case $cross_compiling:$ac_tool_warned in
   6329 yes:)
   6330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6332 ac_tool_warned=yes ;;
   6333 esac
   6334     STRIP=$ac_ct_STRIP
   6335   fi
   6336 else
   6337   STRIP="$ac_cv_prog_STRIP"
   6338 fi
   6339 
   6340 test -z "$STRIP" && STRIP=:
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 if test -n "$ac_tool_prefix"; then
   6348   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6349 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6351 $as_echo_n "checking for $ac_word... " >&6; }
   6352 if ${ac_cv_prog_RANLIB+:} false; then :
   6353   $as_echo_n "(cached) " >&6
   6354 else
   6355   if test -n "$RANLIB"; then
   6356   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6357 else
   6358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6359 for as_dir in $PATH
   6360 do
   6361   IFS=$as_save_IFS
   6362   test -z "$as_dir" && as_dir=.
   6363     for ac_exec_ext in '' $ac_executable_extensions; do
   6364   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6365     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6367     break 2
   6368   fi
   6369 done
   6370   done
   6371 IFS=$as_save_IFS
   6372 
   6373 fi
   6374 fi
   6375 RANLIB=$ac_cv_prog_RANLIB
   6376 if test -n "$RANLIB"; then
   6377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6378 $as_echo "$RANLIB" >&6; }
   6379 else
   6380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6381 $as_echo "no" >&6; }
   6382 fi
   6383 
   6384 
   6385 fi
   6386 if test -z "$ac_cv_prog_RANLIB"; then
   6387   ac_ct_RANLIB=$RANLIB
   6388   # Extract the first word of "ranlib", so it can be a program name with args.
   6389 set dummy ranlib; ac_word=$2
   6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6391 $as_echo_n "checking for $ac_word... " >&6; }
   6392 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6393   $as_echo_n "(cached) " >&6
   6394 else
   6395   if test -n "$ac_ct_RANLIB"; then
   6396   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6397 else
   6398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6399 for as_dir in $PATH
   6400 do
   6401   IFS=$as_save_IFS
   6402   test -z "$as_dir" && as_dir=.
   6403     for ac_exec_ext in '' $ac_executable_extensions; do
   6404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6405     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6407     break 2
   6408   fi
   6409 done
   6410   done
   6411 IFS=$as_save_IFS
   6412 
   6413 fi
   6414 fi
   6415 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6416 if test -n "$ac_ct_RANLIB"; then
   6417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6418 $as_echo "$ac_ct_RANLIB" >&6; }
   6419 else
   6420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6421 $as_echo "no" >&6; }
   6422 fi
   6423 
   6424   if test "x$ac_ct_RANLIB" = x; then
   6425     RANLIB=":"
   6426   else
   6427     case $cross_compiling:$ac_tool_warned in
   6428 yes:)
   6429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6431 ac_tool_warned=yes ;;
   6432 esac
   6433     RANLIB=$ac_ct_RANLIB
   6434   fi
   6435 else
   6436   RANLIB="$ac_cv_prog_RANLIB"
   6437 fi
   6438 
   6439 test -z "$RANLIB" && RANLIB=:
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 # Determine commands to create old-style static archives.
   6447 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6448 old_postinstall_cmds='chmod 644 $oldlib'
   6449 old_postuninstall_cmds=
   6450 
   6451 if test -n "$RANLIB"; then
   6452   case $host_os in
   6453   openbsd*)
   6454     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6455     ;;
   6456   *)
   6457     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6458     ;;
   6459   esac
   6460   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6461 fi
   6462 
   6463 case $host_os in
   6464   darwin*)
   6465     lock_old_archive_extraction=yes ;;
   6466   *)
   6467     lock_old_archive_extraction=no ;;
   6468 esac
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 # If no C compiler was specified, use CC.
   6509 LTCC=${LTCC-"$CC"}
   6510 
   6511 # If no C compiler flags were specified, use CFLAGS.
   6512 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6513 
   6514 # Allow CC to be a program name with arguments.
   6515 compiler=$CC
   6516 
   6517 
   6518 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6520 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6521 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6522   $as_echo_n "(cached) " >&6
   6523 else
   6524 
   6525 # These are sane defaults that work on at least a few old systems.
   6526 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6527 
   6528 # Character class describing NM global symbol codes.
   6529 symcode='[BCDEGRST]'
   6530 
   6531 # Regexp to match symbols that can be accessed directly from C.
   6532 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6533 
   6534 # Define system-specific variables.
   6535 case $host_os in
   6536 aix*)
   6537   symcode='[BCDT]'
   6538   ;;
   6539 cygwin* | mingw* | pw32* | cegcc*)
   6540   symcode='[ABCDGISTW]'
   6541   ;;
   6542 hpux*)
   6543   if test "$host_cpu" = ia64; then
   6544     symcode='[ABCDEGRST]'
   6545   fi
   6546   ;;
   6547 irix* | nonstopux*)
   6548   symcode='[BCDEGRST]'
   6549   ;;
   6550 osf*)
   6551   symcode='[BCDEGQRST]'
   6552   ;;
   6553 solaris*)
   6554   symcode='[BDRT]'
   6555   ;;
   6556 sco3.2v5*)
   6557   symcode='[DT]'
   6558   ;;
   6559 sysv4.2uw2*)
   6560   symcode='[DT]'
   6561   ;;
   6562 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6563   symcode='[ABDT]'
   6564   ;;
   6565 sysv4)
   6566   symcode='[DFNSTU]'
   6567   ;;
   6568 esac
   6569 
   6570 # If we're using GNU nm, then use its standard symbol codes.
   6571 case `$NM -V 2>&1` in
   6572 *GNU* | *'with BFD'*)
   6573   symcode='[ABCDGIRSTW]' ;;
   6574 esac
   6575 
   6576 # Transform an extracted symbol line into a proper C declaration.
   6577 # Some systems (esp. on ia64) link data and code symbols differently,
   6578 # so use this general approach.
   6579 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6580 
   6581 # Transform an extracted symbol line into symbol name and symbol address
   6582 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6583 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'"
   6584 
   6585 # Handle CRLF in mingw tool chain
   6586 opt_cr=
   6587 case $build_os in
   6588 mingw*)
   6589   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6590   ;;
   6591 esac
   6592 
   6593 # Try without a prefix underscore, then with it.
   6594 for ac_symprfx in "" "_"; do
   6595 
   6596   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6597   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6598 
   6599   # Write the raw and C identifiers.
   6600   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6601     # Fake it for dumpbin and say T for any non-static function
   6602     # and D for any global variable.
   6603     # Also find C++ and __fastcall symbols from MSVC++,
   6604     # which start with @ or ?.
   6605     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6606 "     {last_section=section; section=\$ 3};"\
   6607 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6608 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6609 "     \$ 0!~/External *\|/{next};"\
   6610 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6611 "     {if(hide[section]) next};"\
   6612 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6613 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6614 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6615 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6616 "     ' prfx=^$ac_symprfx"
   6617   else
   6618     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6619   fi
   6620   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6621 
   6622   # Check to see that the pipe works correctly.
   6623   pipe_works=no
   6624 
   6625   rm -f conftest*
   6626   cat > conftest.$ac_ext <<_LT_EOF
   6627 #ifdef __cplusplus
   6628 extern "C" {
   6629 #endif
   6630 char nm_test_var;
   6631 void nm_test_func(void);
   6632 void nm_test_func(void){}
   6633 #ifdef __cplusplus
   6634 }
   6635 #endif
   6636 int main(){nm_test_var='a';nm_test_func();return(0);}
   6637 _LT_EOF
   6638 
   6639   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6640   (eval $ac_compile) 2>&5
   6641   ac_status=$?
   6642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6643   test $ac_status = 0; }; then
   6644     # Now try to grab the symbols.
   6645     nlist=conftest.nm
   6646     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6647   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6648   ac_status=$?
   6649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6650   test $ac_status = 0; } && test -s "$nlist"; then
   6651       # Try sorting and uniquifying the output.
   6652       if sort "$nlist" | uniq > "$nlist"T; then
   6653 	mv -f "$nlist"T "$nlist"
   6654       else
   6655 	rm -f "$nlist"T
   6656       fi
   6657 
   6658       # Make sure that we snagged all the symbols we need.
   6659       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6660 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6661 	  cat <<_LT_EOF > conftest.$ac_ext
   6662 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6663 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6664 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6665    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6666 # define LT_DLSYM_CONST
   6667 #elif defined(__osf__)
   6668 /* This system does not cope well with relocations in const data.  */
   6669 # define LT_DLSYM_CONST
   6670 #else
   6671 # define LT_DLSYM_CONST const
   6672 #endif
   6673 
   6674 #ifdef __cplusplus
   6675 extern "C" {
   6676 #endif
   6677 
   6678 _LT_EOF
   6679 	  # Now generate the symbol file.
   6680 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6681 
   6682 	  cat <<_LT_EOF >> conftest.$ac_ext
   6683 
   6684 /* The mapping between symbol names and symbols.  */
   6685 LT_DLSYM_CONST struct {
   6686   const char *name;
   6687   void       *address;
   6688 }
   6689 lt__PROGRAM__LTX_preloaded_symbols[] =
   6690 {
   6691   { "@PROGRAM@", (void *) 0 },
   6692 _LT_EOF
   6693 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6694 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6695   {0, (void *) 0}
   6696 };
   6697 
   6698 /* This works around a problem in FreeBSD linker */
   6699 #ifdef FREEBSD_WORKAROUND
   6700 static const void *lt_preloaded_setup() {
   6701   return lt__PROGRAM__LTX_preloaded_symbols;
   6702 }
   6703 #endif
   6704 
   6705 #ifdef __cplusplus
   6706 }
   6707 #endif
   6708 _LT_EOF
   6709 	  # Now try linking the two files.
   6710 	  mv conftest.$ac_objext conftstm.$ac_objext
   6711 	  lt_globsym_save_LIBS=$LIBS
   6712 	  lt_globsym_save_CFLAGS=$CFLAGS
   6713 	  LIBS="conftstm.$ac_objext"
   6714 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6715 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6716   (eval $ac_link) 2>&5
   6717   ac_status=$?
   6718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6719   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6720 	    pipe_works=yes
   6721 	  fi
   6722 	  LIBS=$lt_globsym_save_LIBS
   6723 	  CFLAGS=$lt_globsym_save_CFLAGS
   6724 	else
   6725 	  echo "cannot find nm_test_func in $nlist" >&5
   6726 	fi
   6727       else
   6728 	echo "cannot find nm_test_var in $nlist" >&5
   6729       fi
   6730     else
   6731       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6732     fi
   6733   else
   6734     echo "$progname: failed program was:" >&5
   6735     cat conftest.$ac_ext >&5
   6736   fi
   6737   rm -rf conftest* conftst*
   6738 
   6739   # Do not use the global_symbol_pipe unless it works.
   6740   if test "$pipe_works" = yes; then
   6741     break
   6742   else
   6743     lt_cv_sys_global_symbol_pipe=
   6744   fi
   6745 done
   6746 
   6747 fi
   6748 
   6749 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6750   lt_cv_sys_global_symbol_to_cdecl=
   6751 fi
   6752 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6754 $as_echo "failed" >&6; }
   6755 else
   6756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6757 $as_echo "ok" >&6; }
   6758 fi
   6759 
   6760 # Response file support.
   6761 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6762   nm_file_list_spec='@'
   6763 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6764   nm_file_list_spec='@'
   6765 fi
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6794 $as_echo_n "checking for sysroot... " >&6; }
   6795 
   6796 # Check whether --with-sysroot was given.
   6797 if test "${with_sysroot+set}" = set; then :
   6798   withval=$with_sysroot;
   6799 else
   6800   with_sysroot=no
   6801 fi
   6802 
   6803 
   6804 lt_sysroot=
   6805 case ${with_sysroot} in #(
   6806  yes)
   6807    if test "$GCC" = yes; then
   6808      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6809    fi
   6810    ;; #(
   6811  /*)
   6812    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6813    ;; #(
   6814  no|'')
   6815    ;; #(
   6816  *)
   6817    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6818 $as_echo "${with_sysroot}" >&6; }
   6819    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6820    ;;
   6821 esac
   6822 
   6823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6824 $as_echo "${lt_sysroot:-no}" >&6; }
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 # Check whether --enable-libtool-lock was given.
   6831 if test "${enable_libtool_lock+set}" = set; then :
   6832   enableval=$enable_libtool_lock;
   6833 fi
   6834 
   6835 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6836 
   6837 # Some flags need to be propagated to the compiler or linker for good
   6838 # libtool support.
   6839 case $host in
   6840 ia64-*-hpux*)
   6841   # Find out which ABI we are using.
   6842   echo 'int i;' > conftest.$ac_ext
   6843   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6844   (eval $ac_compile) 2>&5
   6845   ac_status=$?
   6846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6847   test $ac_status = 0; }; then
   6848     case `/usr/bin/file conftest.$ac_objext` in
   6849       *ELF-32*)
   6850 	HPUX_IA64_MODE="32"
   6851 	;;
   6852       *ELF-64*)
   6853 	HPUX_IA64_MODE="64"
   6854 	;;
   6855     esac
   6856   fi
   6857   rm -rf conftest*
   6858   ;;
   6859 *-*-irix6*)
   6860   # Find out which ABI we are using.
   6861   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6862   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6863   (eval $ac_compile) 2>&5
   6864   ac_status=$?
   6865   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6866   test $ac_status = 0; }; then
   6867     if test "$lt_cv_prog_gnu_ld" = yes; then
   6868       case `/usr/bin/file conftest.$ac_objext` in
   6869 	*32-bit*)
   6870 	  LD="${LD-ld} -melf32bsmip"
   6871 	  ;;
   6872 	*N32*)
   6873 	  LD="${LD-ld} -melf32bmipn32"
   6874 	  ;;
   6875 	*64-bit*)
   6876 	  LD="${LD-ld} -melf64bmip"
   6877 	;;
   6878       esac
   6879     else
   6880       case `/usr/bin/file conftest.$ac_objext` in
   6881 	*32-bit*)
   6882 	  LD="${LD-ld} -32"
   6883 	  ;;
   6884 	*N32*)
   6885 	  LD="${LD-ld} -n32"
   6886 	  ;;
   6887 	*64-bit*)
   6888 	  LD="${LD-ld} -64"
   6889 	  ;;
   6890       esac
   6891     fi
   6892   fi
   6893   rm -rf conftest*
   6894   ;;
   6895 
   6896 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6897 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6898   # Find out which ABI we are using.
   6899   echo 'int i;' > conftest.$ac_ext
   6900   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6901   (eval $ac_compile) 2>&5
   6902   ac_status=$?
   6903   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6904   test $ac_status = 0; }; then
   6905     case `/usr/bin/file conftest.o` in
   6906       *32-bit*)
   6907 	case $host in
   6908 	  x86_64-*kfreebsd*-gnu)
   6909 	    LD="${LD-ld} -m elf_i386_fbsd"
   6910 	    ;;
   6911 	  x86_64-*linux*)
   6912 	    LD="${LD-ld} -m elf_i386"
   6913 	    ;;
   6914 	  ppc64-*linux*|powerpc64-*linux*)
   6915 	    LD="${LD-ld} -m elf32ppclinux"
   6916 	    ;;
   6917 	  s390x-*linux*)
   6918 	    LD="${LD-ld} -m elf_s390"
   6919 	    ;;
   6920 	  sparc64-*linux*)
   6921 	    LD="${LD-ld} -m elf32_sparc"
   6922 	    ;;
   6923 	esac
   6924 	;;
   6925       *64-bit*)
   6926 	case $host in
   6927 	  x86_64-*kfreebsd*-gnu)
   6928 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6929 	    ;;
   6930 	  x86_64-*linux*)
   6931 	    LD="${LD-ld} -m elf_x86_64"
   6932 	    ;;
   6933 	  ppc*-*linux*|powerpc*-*linux*)
   6934 	    LD="${LD-ld} -m elf64ppc"
   6935 	    ;;
   6936 	  s390*-*linux*|s390*-*tpf*)
   6937 	    LD="${LD-ld} -m elf64_s390"
   6938 	    ;;
   6939 	  sparc*-*linux*)
   6940 	    LD="${LD-ld} -m elf64_sparc"
   6941 	    ;;
   6942 	esac
   6943 	;;
   6944     esac
   6945   fi
   6946   rm -rf conftest*
   6947   ;;
   6948 
   6949 *-*-sco3.2v5*)
   6950   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6951   SAVE_CFLAGS="$CFLAGS"
   6952   CFLAGS="$CFLAGS -belf"
   6953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6954 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6955 if ${lt_cv_cc_needs_belf+:} false; then :
   6956   $as_echo_n "(cached) " >&6
   6957 else
   6958   ac_ext=c
   6959 ac_cpp='$CPP $CPPFLAGS'
   6960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6963 
   6964      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6965 /* end confdefs.h.  */
   6966 
   6967 int
   6968 main ()
   6969 {
   6970 
   6971   ;
   6972   return 0;
   6973 }
   6974 _ACEOF
   6975 if ac_fn_c_try_link "$LINENO"; then :
   6976   lt_cv_cc_needs_belf=yes
   6977 else
   6978   lt_cv_cc_needs_belf=no
   6979 fi
   6980 rm -f core conftest.err conftest.$ac_objext \
   6981     conftest$ac_exeext conftest.$ac_ext
   6982      ac_ext=c
   6983 ac_cpp='$CPP $CPPFLAGS'
   6984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6987 
   6988 fi
   6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6990 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6991   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6992     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6993     CFLAGS="$SAVE_CFLAGS"
   6994   fi
   6995   ;;
   6996 *-*solaris*)
   6997   # Find out which ABI we are using.
   6998   echo 'int i;' > conftest.$ac_ext
   6999   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7000   (eval $ac_compile) 2>&5
   7001   ac_status=$?
   7002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7003   test $ac_status = 0; }; then
   7004     case `/usr/bin/file conftest.o` in
   7005     *64-bit*)
   7006       case $lt_cv_prog_gnu_ld in
   7007       yes*)
   7008         case $host in
   7009         i?86-*-solaris*)
   7010           LD="${LD-ld} -m elf_x86_64"
   7011           ;;
   7012         sparc*-*-solaris*)
   7013           LD="${LD-ld} -m elf64_sparc"
   7014           ;;
   7015         esac
   7016         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7017         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7018           LD="${LD-ld}_sol2"
   7019         fi
   7020         ;;
   7021       *)
   7022 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7023 	  LD="${LD-ld} -64"
   7024 	fi
   7025 	;;
   7026       esac
   7027       ;;
   7028     esac
   7029   fi
   7030   rm -rf conftest*
   7031   ;;
   7032 esac
   7033 
   7034 need_locks="$enable_libtool_lock"
   7035 
   7036 if test -n "$ac_tool_prefix"; then
   7037   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7038 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7040 $as_echo_n "checking for $ac_word... " >&6; }
   7041 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7042   $as_echo_n "(cached) " >&6
   7043 else
   7044   if test -n "$MANIFEST_TOOL"; then
   7045   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7046 else
   7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7048 for as_dir in $PATH
   7049 do
   7050   IFS=$as_save_IFS
   7051   test -z "$as_dir" && as_dir=.
   7052     for ac_exec_ext in '' $ac_executable_extensions; do
   7053   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7054     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7056     break 2
   7057   fi
   7058 done
   7059   done
   7060 IFS=$as_save_IFS
   7061 
   7062 fi
   7063 fi
   7064 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7065 if test -n "$MANIFEST_TOOL"; then
   7066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7067 $as_echo "$MANIFEST_TOOL" >&6; }
   7068 else
   7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7070 $as_echo "no" >&6; }
   7071 fi
   7072 
   7073 
   7074 fi
   7075 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7076   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7077   # Extract the first word of "mt", so it can be a program name with args.
   7078 set dummy mt; ac_word=$2
   7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7080 $as_echo_n "checking for $ac_word... " >&6; }
   7081 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7082   $as_echo_n "(cached) " >&6
   7083 else
   7084   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7085   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7086 else
   7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7088 for as_dir in $PATH
   7089 do
   7090   IFS=$as_save_IFS
   7091   test -z "$as_dir" && as_dir=.
   7092     for ac_exec_ext in '' $ac_executable_extensions; do
   7093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7094     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7096     break 2
   7097   fi
   7098 done
   7099   done
   7100 IFS=$as_save_IFS
   7101 
   7102 fi
   7103 fi
   7104 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7105 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7107 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7108 else
   7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7110 $as_echo "no" >&6; }
   7111 fi
   7112 
   7113   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7114     MANIFEST_TOOL=":"
   7115   else
   7116     case $cross_compiling:$ac_tool_warned in
   7117 yes:)
   7118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7120 ac_tool_warned=yes ;;
   7121 esac
   7122     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7123   fi
   7124 else
   7125   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7126 fi
   7127 
   7128 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7130 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7131 if ${lt_cv_path_mainfest_tool+:} false; then :
   7132   $as_echo_n "(cached) " >&6
   7133 else
   7134   lt_cv_path_mainfest_tool=no
   7135   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7136   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7137   cat conftest.err >&5
   7138   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7139     lt_cv_path_mainfest_tool=yes
   7140   fi
   7141   rm -f conftest*
   7142 fi
   7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7144 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7145 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   7146   MANIFEST_TOOL=:
   7147 fi
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154   case $host_os in
   7155     rhapsody* | darwin*)
   7156     if test -n "$ac_tool_prefix"; then
   7157   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7158 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7160 $as_echo_n "checking for $ac_word... " >&6; }
   7161 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7162   $as_echo_n "(cached) " >&6
   7163 else
   7164   if test -n "$DSYMUTIL"; then
   7165   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7166 else
   7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7168 for as_dir in $PATH
   7169 do
   7170   IFS=$as_save_IFS
   7171   test -z "$as_dir" && as_dir=.
   7172     for ac_exec_ext in '' $ac_executable_extensions; do
   7173   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7174     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7176     break 2
   7177   fi
   7178 done
   7179   done
   7180 IFS=$as_save_IFS
   7181 
   7182 fi
   7183 fi
   7184 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7185 if test -n "$DSYMUTIL"; then
   7186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7187 $as_echo "$DSYMUTIL" >&6; }
   7188 else
   7189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7190 $as_echo "no" >&6; }
   7191 fi
   7192 
   7193 
   7194 fi
   7195 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7196   ac_ct_DSYMUTIL=$DSYMUTIL
   7197   # Extract the first word of "dsymutil", so it can be a program name with args.
   7198 set dummy dsymutil; ac_word=$2
   7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7200 $as_echo_n "checking for $ac_word... " >&6; }
   7201 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7202   $as_echo_n "(cached) " >&6
   7203 else
   7204   if test -n "$ac_ct_DSYMUTIL"; then
   7205   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7206 else
   7207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7208 for as_dir in $PATH
   7209 do
   7210   IFS=$as_save_IFS
   7211   test -z "$as_dir" && as_dir=.
   7212     for ac_exec_ext in '' $ac_executable_extensions; do
   7213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7214     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7216     break 2
   7217   fi
   7218 done
   7219   done
   7220 IFS=$as_save_IFS
   7221 
   7222 fi
   7223 fi
   7224 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7225 if test -n "$ac_ct_DSYMUTIL"; then
   7226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7227 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7228 else
   7229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7230 $as_echo "no" >&6; }
   7231 fi
   7232 
   7233   if test "x$ac_ct_DSYMUTIL" = x; then
   7234     DSYMUTIL=":"
   7235   else
   7236     case $cross_compiling:$ac_tool_warned in
   7237 yes:)
   7238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7240 ac_tool_warned=yes ;;
   7241 esac
   7242     DSYMUTIL=$ac_ct_DSYMUTIL
   7243   fi
   7244 else
   7245   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7246 fi
   7247 
   7248     if test -n "$ac_tool_prefix"; then
   7249   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7250 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7252 $as_echo_n "checking for $ac_word... " >&6; }
   7253 if ${ac_cv_prog_NMEDIT+:} false; then :
   7254   $as_echo_n "(cached) " >&6
   7255 else
   7256   if test -n "$NMEDIT"; then
   7257   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7258 else
   7259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7260 for as_dir in $PATH
   7261 do
   7262   IFS=$as_save_IFS
   7263   test -z "$as_dir" && as_dir=.
   7264     for ac_exec_ext in '' $ac_executable_extensions; do
   7265   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7266     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7268     break 2
   7269   fi
   7270 done
   7271   done
   7272 IFS=$as_save_IFS
   7273 
   7274 fi
   7275 fi
   7276 NMEDIT=$ac_cv_prog_NMEDIT
   7277 if test -n "$NMEDIT"; then
   7278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7279 $as_echo "$NMEDIT" >&6; }
   7280 else
   7281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7282 $as_echo "no" >&6; }
   7283 fi
   7284 
   7285 
   7286 fi
   7287 if test -z "$ac_cv_prog_NMEDIT"; then
   7288   ac_ct_NMEDIT=$NMEDIT
   7289   # Extract the first word of "nmedit", so it can be a program name with args.
   7290 set dummy nmedit; ac_word=$2
   7291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7292 $as_echo_n "checking for $ac_word... " >&6; }
   7293 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7294   $as_echo_n "(cached) " >&6
   7295 else
   7296   if test -n "$ac_ct_NMEDIT"; then
   7297   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7298 else
   7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7300 for as_dir in $PATH
   7301 do
   7302   IFS=$as_save_IFS
   7303   test -z "$as_dir" && as_dir=.
   7304     for ac_exec_ext in '' $ac_executable_extensions; do
   7305   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7306     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7308     break 2
   7309   fi
   7310 done
   7311   done
   7312 IFS=$as_save_IFS
   7313 
   7314 fi
   7315 fi
   7316 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7317 if test -n "$ac_ct_NMEDIT"; then
   7318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7319 $as_echo "$ac_ct_NMEDIT" >&6; }
   7320 else
   7321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7322 $as_echo "no" >&6; }
   7323 fi
   7324 
   7325   if test "x$ac_ct_NMEDIT" = x; then
   7326     NMEDIT=":"
   7327   else
   7328     case $cross_compiling:$ac_tool_warned in
   7329 yes:)
   7330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7332 ac_tool_warned=yes ;;
   7333 esac
   7334     NMEDIT=$ac_ct_NMEDIT
   7335   fi
   7336 else
   7337   NMEDIT="$ac_cv_prog_NMEDIT"
   7338 fi
   7339 
   7340     if test -n "$ac_tool_prefix"; then
   7341   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7342 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7344 $as_echo_n "checking for $ac_word... " >&6; }
   7345 if ${ac_cv_prog_LIPO+:} false; then :
   7346   $as_echo_n "(cached) " >&6
   7347 else
   7348   if test -n "$LIPO"; then
   7349   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7350 else
   7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7352 for as_dir in $PATH
   7353 do
   7354   IFS=$as_save_IFS
   7355   test -z "$as_dir" && as_dir=.
   7356     for ac_exec_ext in '' $ac_executable_extensions; do
   7357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7358     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7360     break 2
   7361   fi
   7362 done
   7363   done
   7364 IFS=$as_save_IFS
   7365 
   7366 fi
   7367 fi
   7368 LIPO=$ac_cv_prog_LIPO
   7369 if test -n "$LIPO"; then
   7370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7371 $as_echo "$LIPO" >&6; }
   7372 else
   7373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7374 $as_echo "no" >&6; }
   7375 fi
   7376 
   7377 
   7378 fi
   7379 if test -z "$ac_cv_prog_LIPO"; then
   7380   ac_ct_LIPO=$LIPO
   7381   # Extract the first word of "lipo", so it can be a program name with args.
   7382 set dummy lipo; ac_word=$2
   7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7384 $as_echo_n "checking for $ac_word... " >&6; }
   7385 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7386   $as_echo_n "(cached) " >&6
   7387 else
   7388   if test -n "$ac_ct_LIPO"; then
   7389   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7390 else
   7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7392 for as_dir in $PATH
   7393 do
   7394   IFS=$as_save_IFS
   7395   test -z "$as_dir" && as_dir=.
   7396     for ac_exec_ext in '' $ac_executable_extensions; do
   7397   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7398     ac_cv_prog_ac_ct_LIPO="lipo"
   7399     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7400     break 2
   7401   fi
   7402 done
   7403   done
   7404 IFS=$as_save_IFS
   7405 
   7406 fi
   7407 fi
   7408 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7409 if test -n "$ac_ct_LIPO"; then
   7410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7411 $as_echo "$ac_ct_LIPO" >&6; }
   7412 else
   7413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7414 $as_echo "no" >&6; }
   7415 fi
   7416 
   7417   if test "x$ac_ct_LIPO" = x; then
   7418     LIPO=":"
   7419   else
   7420     case $cross_compiling:$ac_tool_warned in
   7421 yes:)
   7422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7424 ac_tool_warned=yes ;;
   7425 esac
   7426     LIPO=$ac_ct_LIPO
   7427   fi
   7428 else
   7429   LIPO="$ac_cv_prog_LIPO"
   7430 fi
   7431 
   7432     if test -n "$ac_tool_prefix"; then
   7433   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7434 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7436 $as_echo_n "checking for $ac_word... " >&6; }
   7437 if ${ac_cv_prog_OTOOL+:} false; then :
   7438   $as_echo_n "(cached) " >&6
   7439 else
   7440   if test -n "$OTOOL"; then
   7441   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7442 else
   7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7444 for as_dir in $PATH
   7445 do
   7446   IFS=$as_save_IFS
   7447   test -z "$as_dir" && as_dir=.
   7448     for ac_exec_ext in '' $ac_executable_extensions; do
   7449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7450     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7452     break 2
   7453   fi
   7454 done
   7455   done
   7456 IFS=$as_save_IFS
   7457 
   7458 fi
   7459 fi
   7460 OTOOL=$ac_cv_prog_OTOOL
   7461 if test -n "$OTOOL"; then
   7462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7463 $as_echo "$OTOOL" >&6; }
   7464 else
   7465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7466 $as_echo "no" >&6; }
   7467 fi
   7468 
   7469 
   7470 fi
   7471 if test -z "$ac_cv_prog_OTOOL"; then
   7472   ac_ct_OTOOL=$OTOOL
   7473   # Extract the first word of "otool", so it can be a program name with args.
   7474 set dummy otool; ac_word=$2
   7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7476 $as_echo_n "checking for $ac_word... " >&6; }
   7477 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7478   $as_echo_n "(cached) " >&6
   7479 else
   7480   if test -n "$ac_ct_OTOOL"; then
   7481   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7482 else
   7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7484 for as_dir in $PATH
   7485 do
   7486   IFS=$as_save_IFS
   7487   test -z "$as_dir" && as_dir=.
   7488     for ac_exec_ext in '' $ac_executable_extensions; do
   7489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7490     ac_cv_prog_ac_ct_OTOOL="otool"
   7491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7492     break 2
   7493   fi
   7494 done
   7495   done
   7496 IFS=$as_save_IFS
   7497 
   7498 fi
   7499 fi
   7500 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7501 if test -n "$ac_ct_OTOOL"; then
   7502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7503 $as_echo "$ac_ct_OTOOL" >&6; }
   7504 else
   7505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7506 $as_echo "no" >&6; }
   7507 fi
   7508 
   7509   if test "x$ac_ct_OTOOL" = x; then
   7510     OTOOL=":"
   7511   else
   7512     case $cross_compiling:$ac_tool_warned in
   7513 yes:)
   7514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7516 ac_tool_warned=yes ;;
   7517 esac
   7518     OTOOL=$ac_ct_OTOOL
   7519   fi
   7520 else
   7521   OTOOL="$ac_cv_prog_OTOOL"
   7522 fi
   7523 
   7524     if test -n "$ac_tool_prefix"; then
   7525   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7526 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7528 $as_echo_n "checking for $ac_word... " >&6; }
   7529 if ${ac_cv_prog_OTOOL64+:} false; then :
   7530   $as_echo_n "(cached) " >&6
   7531 else
   7532   if test -n "$OTOOL64"; then
   7533   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7534 else
   7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7536 for as_dir in $PATH
   7537 do
   7538   IFS=$as_save_IFS
   7539   test -z "$as_dir" && as_dir=.
   7540     for ac_exec_ext in '' $ac_executable_extensions; do
   7541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7542     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7544     break 2
   7545   fi
   7546 done
   7547   done
   7548 IFS=$as_save_IFS
   7549 
   7550 fi
   7551 fi
   7552 OTOOL64=$ac_cv_prog_OTOOL64
   7553 if test -n "$OTOOL64"; then
   7554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7555 $as_echo "$OTOOL64" >&6; }
   7556 else
   7557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7558 $as_echo "no" >&6; }
   7559 fi
   7560 
   7561 
   7562 fi
   7563 if test -z "$ac_cv_prog_OTOOL64"; then
   7564   ac_ct_OTOOL64=$OTOOL64
   7565   # Extract the first word of "otool64", so it can be a program name with args.
   7566 set dummy otool64; ac_word=$2
   7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7568 $as_echo_n "checking for $ac_word... " >&6; }
   7569 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7570   $as_echo_n "(cached) " >&6
   7571 else
   7572   if test -n "$ac_ct_OTOOL64"; then
   7573   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7574 else
   7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7576 for as_dir in $PATH
   7577 do
   7578   IFS=$as_save_IFS
   7579   test -z "$as_dir" && as_dir=.
   7580     for ac_exec_ext in '' $ac_executable_extensions; do
   7581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7582     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7584     break 2
   7585   fi
   7586 done
   7587   done
   7588 IFS=$as_save_IFS
   7589 
   7590 fi
   7591 fi
   7592 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7593 if test -n "$ac_ct_OTOOL64"; then
   7594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7595 $as_echo "$ac_ct_OTOOL64" >&6; }
   7596 else
   7597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7598 $as_echo "no" >&6; }
   7599 fi
   7600 
   7601   if test "x$ac_ct_OTOOL64" = x; then
   7602     OTOOL64=":"
   7603   else
   7604     case $cross_compiling:$ac_tool_warned in
   7605 yes:)
   7606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7608 ac_tool_warned=yes ;;
   7609 esac
   7610     OTOOL64=$ac_ct_OTOOL64
   7611   fi
   7612 else
   7613   OTOOL64="$ac_cv_prog_OTOOL64"
   7614 fi
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7643 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7644 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7645   $as_echo_n "(cached) " >&6
   7646 else
   7647   lt_cv_apple_cc_single_mod=no
   7648       if test -z "${LT_MULTI_MODULE}"; then
   7649 	# By default we will add the -single_module flag. You can override
   7650 	# by either setting the environment variable LT_MULTI_MODULE
   7651 	# non-empty at configure time, or by adding -multi_module to the
   7652 	# link flags.
   7653 	rm -rf libconftest.dylib*
   7654 	echo "int foo(void){return 1;}" > conftest.c
   7655 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7656 -dynamiclib -Wl,-single_module conftest.c" >&5
   7657 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7658 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7659         _lt_result=$?
   7660 	# If there is a non-empty error log, and "single_module"
   7661 	# appears in it, assume the flag caused a linker warning
   7662         if test -s conftest.err && $GREP single_module conftest.err; then
   7663 	  cat conftest.err >&5
   7664 	# Otherwise, if the output was created with a 0 exit code from
   7665 	# the compiler, it worked.
   7666 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7667 	  lt_cv_apple_cc_single_mod=yes
   7668 	else
   7669 	  cat conftest.err >&5
   7670 	fi
   7671 	rm -rf libconftest.dylib*
   7672 	rm -f conftest.*
   7673       fi
   7674 fi
   7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7676 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7677 
   7678     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7679 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7680 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7681   $as_echo_n "(cached) " >&6
   7682 else
   7683   lt_cv_ld_exported_symbols_list=no
   7684       save_LDFLAGS=$LDFLAGS
   7685       echo "_main" > conftest.sym
   7686       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7688 /* end confdefs.h.  */
   7689 
   7690 int
   7691 main ()
   7692 {
   7693 
   7694   ;
   7695   return 0;
   7696 }
   7697 _ACEOF
   7698 if ac_fn_c_try_link "$LINENO"; then :
   7699   lt_cv_ld_exported_symbols_list=yes
   7700 else
   7701   lt_cv_ld_exported_symbols_list=no
   7702 fi
   7703 rm -f core conftest.err conftest.$ac_objext \
   7704     conftest$ac_exeext conftest.$ac_ext
   7705 	LDFLAGS="$save_LDFLAGS"
   7706 
   7707 fi
   7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7709 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7710 
   7711     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7712 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7713 if ${lt_cv_ld_force_load+:} false; then :
   7714   $as_echo_n "(cached) " >&6
   7715 else
   7716   lt_cv_ld_force_load=no
   7717       cat > conftest.c << _LT_EOF
   7718 int forced_loaded() { return 2;}
   7719 _LT_EOF
   7720       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7721       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7722       echo "$AR cru libconftest.a conftest.o" >&5
   7723       $AR cru libconftest.a conftest.o 2>&5
   7724       echo "$RANLIB libconftest.a" >&5
   7725       $RANLIB libconftest.a 2>&5
   7726       cat > conftest.c << _LT_EOF
   7727 int main() { return 0;}
   7728 _LT_EOF
   7729       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7730       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7731       _lt_result=$?
   7732       if test -s conftest.err && $GREP force_load conftest.err; then
   7733 	cat conftest.err >&5
   7734       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7735 	lt_cv_ld_force_load=yes
   7736       else
   7737 	cat conftest.err >&5
   7738       fi
   7739         rm -f conftest.err libconftest.a conftest conftest.c
   7740         rm -rf conftest.dSYM
   7741 
   7742 fi
   7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7744 $as_echo "$lt_cv_ld_force_load" >&6; }
   7745     case $host_os in
   7746     rhapsody* | darwin1.[012])
   7747       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7748     darwin1.*)
   7749       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7750     darwin*) # darwin 5.x on
   7751       # if running on 10.5 or later, the deployment target defaults
   7752       # to the OS version, if on x86, and 10.4, the deployment
   7753       # target defaults to 10.4. Don't you love it?
   7754       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7755 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7756 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7757 	10.[012]*)
   7758 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7759 	10.*)
   7760 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7761       esac
   7762     ;;
   7763   esac
   7764     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7765       _lt_dar_single_mod='$single_module'
   7766     fi
   7767     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7768       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7769     else
   7770       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7771     fi
   7772     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7773       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7774     else
   7775       _lt_dsymutil=
   7776     fi
   7777     ;;
   7778   esac
   7779 
   7780 for ac_header in dlfcn.h
   7781 do :
   7782   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7783 "
   7784 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7785   cat >>confdefs.h <<_ACEOF
   7786 #define HAVE_DLFCN_H 1
   7787 _ACEOF
   7788 
   7789 fi
   7790 
   7791 done
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 # Set options
   7798 
   7799 
   7800 
   7801         enable_dlopen=no
   7802 
   7803 
   7804   enable_win32_dll=no
   7805 
   7806 
   7807             # Check whether --enable-shared was given.
   7808 if test "${enable_shared+set}" = set; then :
   7809   enableval=$enable_shared; p=${PACKAGE-default}
   7810     case $enableval in
   7811     yes) enable_shared=yes ;;
   7812     no) enable_shared=no ;;
   7813     *)
   7814       enable_shared=no
   7815       # Look at the argument we got.  We use all the common list separators.
   7816       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7817       for pkg in $enableval; do
   7818 	IFS="$lt_save_ifs"
   7819 	if test "X$pkg" = "X$p"; then
   7820 	  enable_shared=yes
   7821 	fi
   7822       done
   7823       IFS="$lt_save_ifs"
   7824       ;;
   7825     esac
   7826 else
   7827   enable_shared=yes
   7828 fi
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838   # Check whether --enable-static was given.
   7839 if test "${enable_static+set}" = set; then :
   7840   enableval=$enable_static; p=${PACKAGE-default}
   7841     case $enableval in
   7842     yes) enable_static=yes ;;
   7843     no) enable_static=no ;;
   7844     *)
   7845      enable_static=no
   7846       # Look at the argument we got.  We use all the common list separators.
   7847       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7848       for pkg in $enableval; do
   7849 	IFS="$lt_save_ifs"
   7850 	if test "X$pkg" = "X$p"; then
   7851 	  enable_static=yes
   7852 	fi
   7853       done
   7854       IFS="$lt_save_ifs"
   7855       ;;
   7856     esac
   7857 else
   7858   enable_static=yes
   7859 fi
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 # Check whether --with-pic was given.
   7871 if test "${with_pic+set}" = set; then :
   7872   withval=$with_pic; lt_p=${PACKAGE-default}
   7873     case $withval in
   7874     yes|no) pic_mode=$withval ;;
   7875     *)
   7876       pic_mode=default
   7877       # Look at the argument we got.  We use all the common list separators.
   7878       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7879       for lt_pkg in $withval; do
   7880 	IFS="$lt_save_ifs"
   7881 	if test "X$lt_pkg" = "X$lt_p"; then
   7882 	  pic_mode=yes
   7883 	fi
   7884       done
   7885       IFS="$lt_save_ifs"
   7886       ;;
   7887     esac
   7888 else
   7889   pic_mode=default
   7890 fi
   7891 
   7892 
   7893 test -z "$pic_mode" && pic_mode=default
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901   # Check whether --enable-fast-install was given.
   7902 if test "${enable_fast_install+set}" = set; then :
   7903   enableval=$enable_fast_install; p=${PACKAGE-default}
   7904     case $enableval in
   7905     yes) enable_fast_install=yes ;;
   7906     no) enable_fast_install=no ;;
   7907     *)
   7908       enable_fast_install=no
   7909       # Look at the argument we got.  We use all the common list separators.
   7910       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7911       for pkg in $enableval; do
   7912 	IFS="$lt_save_ifs"
   7913 	if test "X$pkg" = "X$p"; then
   7914 	  enable_fast_install=yes
   7915 	fi
   7916       done
   7917       IFS="$lt_save_ifs"
   7918       ;;
   7919     esac
   7920 else
   7921   enable_fast_install=yes
   7922 fi
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 # This can be used to rebuild libtool when needed
   7935 LIBTOOL_DEPS="$ltmain"
   7936 
   7937 # Always use our own libtool.
   7938 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 test -z "$LN_S" && LN_S="ln -s"
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 if test -n "${ZSH_VERSION+set}" ; then
   7985    setopt NO_GLOB_SUBST
   7986 fi
   7987 
   7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7989 $as_echo_n "checking for objdir... " >&6; }
   7990 if ${lt_cv_objdir+:} false; then :
   7991   $as_echo_n "(cached) " >&6
   7992 else
   7993   rm -f .libs 2>/dev/null
   7994 mkdir .libs 2>/dev/null
   7995 if test -d .libs; then
   7996   lt_cv_objdir=.libs
   7997 else
   7998   # MS-DOS does not allow filenames that begin with a dot.
   7999   lt_cv_objdir=_libs
   8000 fi
   8001 rmdir .libs 2>/dev/null
   8002 fi
   8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8004 $as_echo "$lt_cv_objdir" >&6; }
   8005 objdir=$lt_cv_objdir
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 cat >>confdefs.h <<_ACEOF
   8012 #define LT_OBJDIR "$lt_cv_objdir/"
   8013 _ACEOF
   8014 
   8015 
   8016 
   8017 
   8018 case $host_os in
   8019 aix3*)
   8020   # AIX sometimes has problems with the GCC collect2 program.  For some
   8021   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8022   # vanish in a puff of smoke.
   8023   if test "X${COLLECT_NAMES+set}" != Xset; then
   8024     COLLECT_NAMES=
   8025     export COLLECT_NAMES
   8026   fi
   8027   ;;
   8028 esac
   8029 
   8030 # Global variables:
   8031 ofile=libtool
   8032 can_build_shared=yes
   8033 
   8034 # All known linkers require a `.a' archive for static linking (except MSVC,
   8035 # which needs '.lib').
   8036 libext=a
   8037 
   8038 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8039 
   8040 old_CC="$CC"
   8041 old_CFLAGS="$CFLAGS"
   8042 
   8043 # Set sane defaults for various variables
   8044 test -z "$CC" && CC=cc
   8045 test -z "$LTCC" && LTCC=$CC
   8046 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8047 test -z "$LD" && LD=ld
   8048 test -z "$ac_objext" && ac_objext=o
   8049 
   8050 for cc_temp in $compiler""; do
   8051   case $cc_temp in
   8052     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8053     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8054     \-*) ;;
   8055     *) break;;
   8056   esac
   8057 done
   8058 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8059 
   8060 
   8061 # Only perform the check for file, if the check method requires it
   8062 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8063 case $deplibs_check_method in
   8064 file_magic*)
   8065   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8066     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8067 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8068 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8069   $as_echo_n "(cached) " >&6
   8070 else
   8071   case $MAGIC_CMD in
   8072 [\\/*] |  ?:[\\/]*)
   8073   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8074   ;;
   8075 *)
   8076   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8077   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8078   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8079   for ac_dir in $ac_dummy; do
   8080     IFS="$lt_save_ifs"
   8081     test -z "$ac_dir" && ac_dir=.
   8082     if test -f $ac_dir/${ac_tool_prefix}file; then
   8083       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8084       if test -n "$file_magic_test_file"; then
   8085 	case $deplibs_check_method in
   8086 	"file_magic "*)
   8087 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8088 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8089 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8090 	    $EGREP "$file_magic_regex" > /dev/null; then
   8091 	    :
   8092 	  else
   8093 	    cat <<_LT_EOF 1>&2
   8094 
   8095 *** Warning: the command libtool uses to detect shared libraries,
   8096 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8097 *** The result is that libtool may fail to recognize shared libraries
   8098 *** as such.  This will affect the creation of libtool libraries that
   8099 *** depend on shared libraries, but programs linked with such libtool
   8100 *** libraries will work regardless of this problem.  Nevertheless, you
   8101 *** may want to report the problem to your system manager and/or to
   8102 *** bug-libtool@gnu.org
   8103 
   8104 _LT_EOF
   8105 	  fi ;;
   8106 	esac
   8107       fi
   8108       break
   8109     fi
   8110   done
   8111   IFS="$lt_save_ifs"
   8112   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8113   ;;
   8114 esac
   8115 fi
   8116 
   8117 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8118 if test -n "$MAGIC_CMD"; then
   8119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8120 $as_echo "$MAGIC_CMD" >&6; }
   8121 else
   8122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8123 $as_echo "no" >&6; }
   8124 fi
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8131   if test -n "$ac_tool_prefix"; then
   8132     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8133 $as_echo_n "checking for file... " >&6; }
   8134 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8135   $as_echo_n "(cached) " >&6
   8136 else
   8137   case $MAGIC_CMD in
   8138 [\\/*] |  ?:[\\/]*)
   8139   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8140   ;;
   8141 *)
   8142   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8143   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8144   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8145   for ac_dir in $ac_dummy; do
   8146     IFS="$lt_save_ifs"
   8147     test -z "$ac_dir" && ac_dir=.
   8148     if test -f $ac_dir/file; then
   8149       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8150       if test -n "$file_magic_test_file"; then
   8151 	case $deplibs_check_method in
   8152 	"file_magic "*)
   8153 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8154 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8155 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8156 	    $EGREP "$file_magic_regex" > /dev/null; then
   8157 	    :
   8158 	  else
   8159 	    cat <<_LT_EOF 1>&2
   8160 
   8161 *** Warning: the command libtool uses to detect shared libraries,
   8162 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8163 *** The result is that libtool may fail to recognize shared libraries
   8164 *** as such.  This will affect the creation of libtool libraries that
   8165 *** depend on shared libraries, but programs linked with such libtool
   8166 *** libraries will work regardless of this problem.  Nevertheless, you
   8167 *** may want to report the problem to your system manager and/or to
   8168 *** bug-libtool@gnu.org
   8169 
   8170 _LT_EOF
   8171 	  fi ;;
   8172 	esac
   8173       fi
   8174       break
   8175     fi
   8176   done
   8177   IFS="$lt_save_ifs"
   8178   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8179   ;;
   8180 esac
   8181 fi
   8182 
   8183 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8184 if test -n "$MAGIC_CMD"; then
   8185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8186 $as_echo "$MAGIC_CMD" >&6; }
   8187 else
   8188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8189 $as_echo "no" >&6; }
   8190 fi
   8191 
   8192 
   8193   else
   8194     MAGIC_CMD=:
   8195   fi
   8196 fi
   8197 
   8198   fi
   8199   ;;
   8200 esac
   8201 
   8202 # Use C for the default configuration in the libtool script
   8203 
   8204 lt_save_CC="$CC"
   8205 ac_ext=c
   8206 ac_cpp='$CPP $CPPFLAGS'
   8207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8210 
   8211 
   8212 # Source file extension for C test sources.
   8213 ac_ext=c
   8214 
   8215 # Object file extension for compiled C test sources.
   8216 objext=o
   8217 objext=$objext
   8218 
   8219 # Code to be used in simple compile tests
   8220 lt_simple_compile_test_code="int some_variable = 0;"
   8221 
   8222 # Code to be used in simple link tests
   8223 lt_simple_link_test_code='int main(){return(0);}'
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 # If no C compiler was specified, use CC.
   8232 LTCC=${LTCC-"$CC"}
   8233 
   8234 # If no C compiler flags were specified, use CFLAGS.
   8235 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8236 
   8237 # Allow CC to be a program name with arguments.
   8238 compiler=$CC
   8239 
   8240 # Save the default compiler, since it gets overwritten when the other
   8241 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8242 compiler_DEFAULT=$CC
   8243 
   8244 # save warnings/boilerplate of simple test code
   8245 ac_outfile=conftest.$ac_objext
   8246 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8247 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8248 _lt_compiler_boilerplate=`cat conftest.err`
   8249 $RM conftest*
   8250 
   8251 ac_outfile=conftest.$ac_objext
   8252 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8253 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8254 _lt_linker_boilerplate=`cat conftest.err`
   8255 $RM -r conftest*
   8256 
   8257 
   8258 if test -n "$compiler"; then
   8259 
   8260 lt_prog_compiler_no_builtin_flag=
   8261 
   8262 if test "$GCC" = yes; then
   8263   case $cc_basename in
   8264   nvcc*)
   8265     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8266   *)
   8267     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8268   esac
   8269 
   8270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8271 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8272 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8273   $as_echo_n "(cached) " >&6
   8274 else
   8275   lt_cv_prog_compiler_rtti_exceptions=no
   8276    ac_outfile=conftest.$ac_objext
   8277    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8278    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8279    # Insert the option either (1) after the last *FLAGS variable, or
   8280    # (2) before a word containing "conftest.", or (3) at the end.
   8281    # Note that $ac_compile itself does not contain backslashes and begins
   8282    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8283    # The option is referenced via a variable to avoid confusing sed.
   8284    lt_compile=`echo "$ac_compile" | $SED \
   8285    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8286    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8287    -e 's:$: $lt_compiler_flag:'`
   8288    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8289    (eval "$lt_compile" 2>conftest.err)
   8290    ac_status=$?
   8291    cat conftest.err >&5
   8292    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8293    if (exit $ac_status) && test -s "$ac_outfile"; then
   8294      # The compiler can only warn and ignore the option if not recognized
   8295      # So say no if there are warnings other than the usual output.
   8296      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8297      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8298      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8299        lt_cv_prog_compiler_rtti_exceptions=yes
   8300      fi
   8301    fi
   8302    $RM conftest*
   8303 
   8304 fi
   8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8306 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8307 
   8308 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8309     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8310 else
   8311     :
   8312 fi
   8313 
   8314 fi
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321   lt_prog_compiler_wl=
   8322 lt_prog_compiler_pic=
   8323 lt_prog_compiler_static=
   8324 
   8325 
   8326   if test "$GCC" = yes; then
   8327     lt_prog_compiler_wl='-Wl,'
   8328     lt_prog_compiler_static='-static'
   8329 
   8330     case $host_os in
   8331       aix*)
   8332       # All AIX code is PIC.
   8333       if test "$host_cpu" = ia64; then
   8334 	# AIX 5 now supports IA64 processor
   8335 	lt_prog_compiler_static='-Bstatic'
   8336       fi
   8337       ;;
   8338 
   8339     amigaos*)
   8340       case $host_cpu in
   8341       powerpc)
   8342             # see comment about AmigaOS4 .so support
   8343             lt_prog_compiler_pic='-fPIC'
   8344         ;;
   8345       m68k)
   8346             # FIXME: we need at least 68020 code to build shared libraries, but
   8347             # adding the `-m68020' flag to GCC prevents building anything better,
   8348             # like `-m68040'.
   8349             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8350         ;;
   8351       esac
   8352       ;;
   8353 
   8354     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8355       # PIC is the default for these OSes.
   8356       ;;
   8357 
   8358     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8359       # This hack is so that the source file can tell whether it is being
   8360       # built for inclusion in a dll (and should export symbols for example).
   8361       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8362       # (--disable-auto-import) libraries
   8363       lt_prog_compiler_pic='-DDLL_EXPORT'
   8364       ;;
   8365 
   8366     darwin* | rhapsody*)
   8367       # PIC is the default on this platform
   8368       # Common symbols not allowed in MH_DYLIB files
   8369       lt_prog_compiler_pic='-fno-common'
   8370       ;;
   8371 
   8372     haiku*)
   8373       # PIC is the default for Haiku.
   8374       # The "-static" flag exists, but is broken.
   8375       lt_prog_compiler_static=
   8376       ;;
   8377 
   8378     hpux*)
   8379       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8380       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8381       # sets the default TLS model and affects inlining.
   8382       case $host_cpu in
   8383       hppa*64*)
   8384 	# +Z the default
   8385 	;;
   8386       *)
   8387 	lt_prog_compiler_pic='-fPIC'
   8388 	;;
   8389       esac
   8390       ;;
   8391 
   8392     interix[3-9]*)
   8393       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8394       # Instead, we relocate shared libraries at runtime.
   8395       ;;
   8396 
   8397     msdosdjgpp*)
   8398       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8399       # on systems that don't support them.
   8400       lt_prog_compiler_can_build_shared=no
   8401       enable_shared=no
   8402       ;;
   8403 
   8404     *nto* | *qnx*)
   8405       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8406       # it will coredump.
   8407       lt_prog_compiler_pic='-fPIC -shared'
   8408       ;;
   8409 
   8410     sysv4*MP*)
   8411       if test -d /usr/nec; then
   8412 	lt_prog_compiler_pic=-Kconform_pic
   8413       fi
   8414       ;;
   8415 
   8416     *)
   8417       lt_prog_compiler_pic='-fPIC'
   8418       ;;
   8419     esac
   8420 
   8421     case $cc_basename in
   8422     nvcc*) # Cuda Compiler Driver 2.2
   8423       lt_prog_compiler_wl='-Xlinker '
   8424       if test -n "$lt_prog_compiler_pic"; then
   8425         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8426       fi
   8427       ;;
   8428     esac
   8429   else
   8430     # PORTME Check for flag to pass linker flags through the system compiler.
   8431     case $host_os in
   8432     aix*)
   8433       lt_prog_compiler_wl='-Wl,'
   8434       if test "$host_cpu" = ia64; then
   8435 	# AIX 5 now supports IA64 processor
   8436 	lt_prog_compiler_static='-Bstatic'
   8437       else
   8438 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8439       fi
   8440       ;;
   8441 
   8442     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8443       # This hack is so that the source file can tell whether it is being
   8444       # built for inclusion in a dll (and should export symbols for example).
   8445       lt_prog_compiler_pic='-DDLL_EXPORT'
   8446       ;;
   8447 
   8448     hpux9* | hpux10* | hpux11*)
   8449       lt_prog_compiler_wl='-Wl,'
   8450       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8451       # not for PA HP-UX.
   8452       case $host_cpu in
   8453       hppa*64*|ia64*)
   8454 	# +Z the default
   8455 	;;
   8456       *)
   8457 	lt_prog_compiler_pic='+Z'
   8458 	;;
   8459       esac
   8460       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8461       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8462       ;;
   8463 
   8464     irix5* | irix6* | nonstopux*)
   8465       lt_prog_compiler_wl='-Wl,'
   8466       # PIC (with -KPIC) is the default.
   8467       lt_prog_compiler_static='-non_shared'
   8468       ;;
   8469 
   8470     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8471       case $cc_basename in
   8472       # old Intel for x86_64 which still supported -KPIC.
   8473       ecc*)
   8474 	lt_prog_compiler_wl='-Wl,'
   8475 	lt_prog_compiler_pic='-KPIC'
   8476 	lt_prog_compiler_static='-static'
   8477         ;;
   8478       # icc used to be incompatible with GCC.
   8479       # ICC 10 doesn't accept -KPIC any more.
   8480       icc* | ifort*)
   8481 	lt_prog_compiler_wl='-Wl,'
   8482 	lt_prog_compiler_pic='-fPIC'
   8483 	lt_prog_compiler_static='-static'
   8484         ;;
   8485       # Lahey Fortran 8.1.
   8486       lf95*)
   8487 	lt_prog_compiler_wl='-Wl,'
   8488 	lt_prog_compiler_pic='--shared'
   8489 	lt_prog_compiler_static='--static'
   8490 	;;
   8491       nagfor*)
   8492 	# NAG Fortran compiler
   8493 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8494 	lt_prog_compiler_pic='-PIC'
   8495 	lt_prog_compiler_static='-Bstatic'
   8496 	;;
   8497       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8498         # Portland Group compilers (*not* the Pentium gcc compiler,
   8499 	# which looks to be a dead project)
   8500 	lt_prog_compiler_wl='-Wl,'
   8501 	lt_prog_compiler_pic='-fpic'
   8502 	lt_prog_compiler_static='-Bstatic'
   8503         ;;
   8504       ccc*)
   8505         lt_prog_compiler_wl='-Wl,'
   8506         # All Alpha code is PIC.
   8507         lt_prog_compiler_static='-non_shared'
   8508         ;;
   8509       xl* | bgxl* | bgf* | mpixl*)
   8510 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8511 	lt_prog_compiler_wl='-Wl,'
   8512 	lt_prog_compiler_pic='-qpic'
   8513 	lt_prog_compiler_static='-qstaticlink'
   8514 	;;
   8515       *)
   8516 	case `$CC -V 2>&1 | sed 5q` in
   8517 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8518 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8519 	  lt_prog_compiler_pic='-KPIC'
   8520 	  lt_prog_compiler_static='-Bstatic'
   8521 	  lt_prog_compiler_wl=''
   8522 	  ;;
   8523 	*Sun\ F* | *Sun*Fortran*)
   8524 	  lt_prog_compiler_pic='-KPIC'
   8525 	  lt_prog_compiler_static='-Bstatic'
   8526 	  lt_prog_compiler_wl='-Qoption ld '
   8527 	  ;;
   8528 	*Sun\ C*)
   8529 	  # Sun C 5.9
   8530 	  lt_prog_compiler_pic='-KPIC'
   8531 	  lt_prog_compiler_static='-Bstatic'
   8532 	  lt_prog_compiler_wl='-Wl,'
   8533 	  ;;
   8534         *Intel*\ [CF]*Compiler*)
   8535 	  lt_prog_compiler_wl='-Wl,'
   8536 	  lt_prog_compiler_pic='-fPIC'
   8537 	  lt_prog_compiler_static='-static'
   8538 	  ;;
   8539 	*Portland\ Group*)
   8540 	  lt_prog_compiler_wl='-Wl,'
   8541 	  lt_prog_compiler_pic='-fpic'
   8542 	  lt_prog_compiler_static='-Bstatic'
   8543 	  ;;
   8544 	esac
   8545 	;;
   8546       esac
   8547       ;;
   8548 
   8549     newsos6)
   8550       lt_prog_compiler_pic='-KPIC'
   8551       lt_prog_compiler_static='-Bstatic'
   8552       ;;
   8553 
   8554     *nto* | *qnx*)
   8555       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8556       # it will coredump.
   8557       lt_prog_compiler_pic='-fPIC -shared'
   8558       ;;
   8559 
   8560     osf3* | osf4* | osf5*)
   8561       lt_prog_compiler_wl='-Wl,'
   8562       # All OSF/1 code is PIC.
   8563       lt_prog_compiler_static='-non_shared'
   8564       ;;
   8565 
   8566     rdos*)
   8567       lt_prog_compiler_static='-non_shared'
   8568       ;;
   8569 
   8570     solaris*)
   8571       lt_prog_compiler_pic='-KPIC'
   8572       lt_prog_compiler_static='-Bstatic'
   8573       case $cc_basename in
   8574       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8575 	lt_prog_compiler_wl='-Qoption ld ';;
   8576       *)
   8577 	lt_prog_compiler_wl='-Wl,';;
   8578       esac
   8579       ;;
   8580 
   8581     sunos4*)
   8582       lt_prog_compiler_wl='-Qoption ld '
   8583       lt_prog_compiler_pic='-PIC'
   8584       lt_prog_compiler_static='-Bstatic'
   8585       ;;
   8586 
   8587     sysv4 | sysv4.2uw2* | sysv4.3*)
   8588       lt_prog_compiler_wl='-Wl,'
   8589       lt_prog_compiler_pic='-KPIC'
   8590       lt_prog_compiler_static='-Bstatic'
   8591       ;;
   8592 
   8593     sysv4*MP*)
   8594       if test -d /usr/nec ;then
   8595 	lt_prog_compiler_pic='-Kconform_pic'
   8596 	lt_prog_compiler_static='-Bstatic'
   8597       fi
   8598       ;;
   8599 
   8600     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8601       lt_prog_compiler_wl='-Wl,'
   8602       lt_prog_compiler_pic='-KPIC'
   8603       lt_prog_compiler_static='-Bstatic'
   8604       ;;
   8605 
   8606     unicos*)
   8607       lt_prog_compiler_wl='-Wl,'
   8608       lt_prog_compiler_can_build_shared=no
   8609       ;;
   8610 
   8611     uts4*)
   8612       lt_prog_compiler_pic='-pic'
   8613       lt_prog_compiler_static='-Bstatic'
   8614       ;;
   8615 
   8616     *)
   8617       lt_prog_compiler_can_build_shared=no
   8618       ;;
   8619     esac
   8620   fi
   8621 
   8622 case $host_os in
   8623   # For platforms which do not support PIC, -DPIC is meaningless:
   8624   *djgpp*)
   8625     lt_prog_compiler_pic=
   8626     ;;
   8627   *)
   8628     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8629     ;;
   8630 esac
   8631 
   8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8633 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8634 if ${lt_cv_prog_compiler_pic+:} false; then :
   8635   $as_echo_n "(cached) " >&6
   8636 else
   8637   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8638 fi
   8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8640 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8641 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8642 
   8643 #
   8644 # Check to make sure the PIC flag actually works.
   8645 #
   8646 if test -n "$lt_prog_compiler_pic"; then
   8647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8648 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8649 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8650   $as_echo_n "(cached) " >&6
   8651 else
   8652   lt_cv_prog_compiler_pic_works=no
   8653    ac_outfile=conftest.$ac_objext
   8654    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8655    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8656    # Insert the option either (1) after the last *FLAGS variable, or
   8657    # (2) before a word containing "conftest.", or (3) at the end.
   8658    # Note that $ac_compile itself does not contain backslashes and begins
   8659    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8660    # The option is referenced via a variable to avoid confusing sed.
   8661    lt_compile=`echo "$ac_compile" | $SED \
   8662    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8663    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8664    -e 's:$: $lt_compiler_flag:'`
   8665    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8666    (eval "$lt_compile" 2>conftest.err)
   8667    ac_status=$?
   8668    cat conftest.err >&5
   8669    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8670    if (exit $ac_status) && test -s "$ac_outfile"; then
   8671      # The compiler can only warn and ignore the option if not recognized
   8672      # So say no if there are warnings other than the usual output.
   8673      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8674      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8675      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8676        lt_cv_prog_compiler_pic_works=yes
   8677      fi
   8678    fi
   8679    $RM conftest*
   8680 
   8681 fi
   8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8683 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8684 
   8685 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8686     case $lt_prog_compiler_pic in
   8687      "" | " "*) ;;
   8688      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8689      esac
   8690 else
   8691     lt_prog_compiler_pic=
   8692      lt_prog_compiler_can_build_shared=no
   8693 fi
   8694 
   8695 fi
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 #
   8708 # Check to make sure the static flag actually works.
   8709 #
   8710 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8712 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8713 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8714   $as_echo_n "(cached) " >&6
   8715 else
   8716   lt_cv_prog_compiler_static_works=no
   8717    save_LDFLAGS="$LDFLAGS"
   8718    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8719    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8720    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8721      # The linker can only warn and ignore the option if not recognized
   8722      # So say no if there are warnings
   8723      if test -s conftest.err; then
   8724        # Append any errors to the config.log.
   8725        cat conftest.err 1>&5
   8726        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8727        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8728        if diff conftest.exp conftest.er2 >/dev/null; then
   8729          lt_cv_prog_compiler_static_works=yes
   8730        fi
   8731      else
   8732        lt_cv_prog_compiler_static_works=yes
   8733      fi
   8734    fi
   8735    $RM -r conftest*
   8736    LDFLAGS="$save_LDFLAGS"
   8737 
   8738 fi
   8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8740 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8741 
   8742 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8743     :
   8744 else
   8745     lt_prog_compiler_static=
   8746 fi
   8747 
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 
   8754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8755 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8756 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8757   $as_echo_n "(cached) " >&6
   8758 else
   8759   lt_cv_prog_compiler_c_o=no
   8760    $RM -r conftest 2>/dev/null
   8761    mkdir conftest
   8762    cd conftest
   8763    mkdir out
   8764    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8765 
   8766    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8767    # Insert the option either (1) after the last *FLAGS variable, or
   8768    # (2) before a word containing "conftest.", or (3) at the end.
   8769    # Note that $ac_compile itself does not contain backslashes and begins
   8770    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8771    lt_compile=`echo "$ac_compile" | $SED \
   8772    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8773    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8774    -e 's:$: $lt_compiler_flag:'`
   8775    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8776    (eval "$lt_compile" 2>out/conftest.err)
   8777    ac_status=$?
   8778    cat out/conftest.err >&5
   8779    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8780    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8781    then
   8782      # The compiler can only warn and ignore the option if not recognized
   8783      # So say no if there are warnings
   8784      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8785      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8786      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8787        lt_cv_prog_compiler_c_o=yes
   8788      fi
   8789    fi
   8790    chmod u+w . 2>&5
   8791    $RM conftest*
   8792    # SGI C++ compiler will create directory out/ii_files/ for
   8793    # template instantiation
   8794    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8795    $RM out/* && rmdir out
   8796    cd ..
   8797    $RM -r conftest
   8798    $RM conftest*
   8799 
   8800 fi
   8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8802 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8810 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8811 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8812   $as_echo_n "(cached) " >&6
   8813 else
   8814   lt_cv_prog_compiler_c_o=no
   8815    $RM -r conftest 2>/dev/null
   8816    mkdir conftest
   8817    cd conftest
   8818    mkdir out
   8819    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8820 
   8821    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8822    # Insert the option either (1) after the last *FLAGS variable, or
   8823    # (2) before a word containing "conftest.", or (3) at the end.
   8824    # Note that $ac_compile itself does not contain backslashes and begins
   8825    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8826    lt_compile=`echo "$ac_compile" | $SED \
   8827    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8828    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8829    -e 's:$: $lt_compiler_flag:'`
   8830    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8831    (eval "$lt_compile" 2>out/conftest.err)
   8832    ac_status=$?
   8833    cat out/conftest.err >&5
   8834    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8835    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8836    then
   8837      # The compiler can only warn and ignore the option if not recognized
   8838      # So say no if there are warnings
   8839      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8840      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8841      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8842        lt_cv_prog_compiler_c_o=yes
   8843      fi
   8844    fi
   8845    chmod u+w . 2>&5
   8846    $RM conftest*
   8847    # SGI C++ compiler will create directory out/ii_files/ for
   8848    # template instantiation
   8849    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8850    $RM out/* && rmdir out
   8851    cd ..
   8852    $RM -r conftest
   8853    $RM conftest*
   8854 
   8855 fi
   8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8857 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8858 
   8859 
   8860 
   8861 
   8862 hard_links="nottested"
   8863 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8864   # do not overwrite the value of need_locks provided by the user
   8865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8866 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8867   hard_links=yes
   8868   $RM conftest*
   8869   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8870   touch conftest.a
   8871   ln conftest.a conftest.b 2>&5 || hard_links=no
   8872   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8874 $as_echo "$hard_links" >&6; }
   8875   if test "$hard_links" = no; then
   8876     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8877 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8878     need_locks=warn
   8879   fi
   8880 else
   8881   need_locks=no
   8882 fi
   8883 
   8884 
   8885 
   8886 
   8887 
   8888 
   8889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8890 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8891 
   8892   runpath_var=
   8893   allow_undefined_flag=
   8894   always_export_symbols=no
   8895   archive_cmds=
   8896   archive_expsym_cmds=
   8897   compiler_needs_object=no
   8898   enable_shared_with_static_runtimes=no
   8899   export_dynamic_flag_spec=
   8900   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8901   hardcode_automatic=no
   8902   hardcode_direct=no
   8903   hardcode_direct_absolute=no
   8904   hardcode_libdir_flag_spec=
   8905   hardcode_libdir_separator=
   8906   hardcode_minus_L=no
   8907   hardcode_shlibpath_var=unsupported
   8908   inherit_rpath=no
   8909   link_all_deplibs=unknown
   8910   module_cmds=
   8911   module_expsym_cmds=
   8912   old_archive_from_new_cmds=
   8913   old_archive_from_expsyms_cmds=
   8914   thread_safe_flag_spec=
   8915   whole_archive_flag_spec=
   8916   # include_expsyms should be a list of space-separated symbols to be *always*
   8917   # included in the symbol list
   8918   include_expsyms=
   8919   # exclude_expsyms can be an extended regexp of symbols to exclude
   8920   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8921   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8922   # as well as any symbol that contains `d'.
   8923   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8924   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8925   # platforms (ab)use it in PIC code, but their linkers get confused if
   8926   # the symbol is explicitly referenced.  Since portable code cannot
   8927   # rely on this symbol name, it's probably fine to never include it in
   8928   # preloaded symbol tables.
   8929   # Exclude shared library initialization/finalization symbols.
   8930   extract_expsyms_cmds=
   8931 
   8932   case $host_os in
   8933   cygwin* | mingw* | pw32* | cegcc*)
   8934     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8935     # When not using gcc, we currently assume that we are using
   8936     # Microsoft Visual C++.
   8937     if test "$GCC" != yes; then
   8938       with_gnu_ld=no
   8939     fi
   8940     ;;
   8941   interix*)
   8942     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8943     with_gnu_ld=yes
   8944     ;;
   8945   openbsd*)
   8946     with_gnu_ld=no
   8947     ;;
   8948   esac
   8949 
   8950   ld_shlibs=yes
   8951 
   8952   # On some targets, GNU ld is compatible enough with the native linker
   8953   # that we're better off using the native interface for both.
   8954   lt_use_gnu_ld_interface=no
   8955   if test "$with_gnu_ld" = yes; then
   8956     case $host_os in
   8957       aix*)
   8958 	# The AIX port of GNU ld has always aspired to compatibility
   8959 	# with the native linker.  However, as the warning in the GNU ld
   8960 	# block says, versions before 2.19.5* couldn't really create working
   8961 	# shared libraries, regardless of the interface used.
   8962 	case `$LD -v 2>&1` in
   8963 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8964 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8965 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8966 	  *)
   8967 	    lt_use_gnu_ld_interface=yes
   8968 	    ;;
   8969 	esac
   8970 	;;
   8971       *)
   8972 	lt_use_gnu_ld_interface=yes
   8973 	;;
   8974     esac
   8975   fi
   8976 
   8977   if test "$lt_use_gnu_ld_interface" = yes; then
   8978     # If archive_cmds runs LD, not CC, wlarc should be empty
   8979     wlarc='${wl}'
   8980 
   8981     # Set some defaults for GNU ld with shared library support. These
   8982     # are reset later if shared libraries are not supported. Putting them
   8983     # here allows them to be overridden if necessary.
   8984     runpath_var=LD_RUN_PATH
   8985     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8986     export_dynamic_flag_spec='${wl}--export-dynamic'
   8987     # ancient GNU ld didn't support --whole-archive et. al.
   8988     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8989       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8990     else
   8991       whole_archive_flag_spec=
   8992     fi
   8993     supports_anon_versioning=no
   8994     case `$LD -v 2>&1` in
   8995       *GNU\ gold*) supports_anon_versioning=yes ;;
   8996       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8997       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8998       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8999       *\ 2.11.*) ;; # other 2.11 versions
   9000       *) supports_anon_versioning=yes ;;
   9001     esac
   9002 
   9003     # See if GNU ld supports shared libraries.
   9004     case $host_os in
   9005     aix[3-9]*)
   9006       # On AIX/PPC, the GNU linker is very broken
   9007       if test "$host_cpu" != ia64; then
   9008 	ld_shlibs=no
   9009 	cat <<_LT_EOF 1>&2
   9010 
   9011 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9012 *** to be unable to reliably create shared libraries on AIX.
   9013 *** Therefore, libtool is disabling shared libraries support.  If you
   9014 *** really care for shared libraries, you may want to install binutils
   9015 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9016 *** You will then need to restart the configuration process.
   9017 
   9018 _LT_EOF
   9019       fi
   9020       ;;
   9021 
   9022     amigaos*)
   9023       case $host_cpu in
   9024       powerpc)
   9025             # see comment about AmigaOS4 .so support
   9026             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9027             archive_expsym_cmds=''
   9028         ;;
   9029       m68k)
   9030             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)'
   9031             hardcode_libdir_flag_spec='-L$libdir'
   9032             hardcode_minus_L=yes
   9033         ;;
   9034       esac
   9035       ;;
   9036 
   9037     beos*)
   9038       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9039 	allow_undefined_flag=unsupported
   9040 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9041 	# support --undefined.  This deserves some investigation.  FIXME
   9042 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9043       else
   9044 	ld_shlibs=no
   9045       fi
   9046       ;;
   9047 
   9048     cygwin* | mingw* | pw32* | cegcc*)
   9049       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9050       # as there is no search path for DLLs.
   9051       hardcode_libdir_flag_spec='-L$libdir'
   9052       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9053       allow_undefined_flag=unsupported
   9054       always_export_symbols=no
   9055       enable_shared_with_static_runtimes=yes
   9056       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'
   9057       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9058 
   9059       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9060         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9061 	# If the export-symbols file already is a .def file (1st line
   9062 	# is EXPORTS), use it as is; otherwise, prepend...
   9063 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9064 	  cp $export_symbols $output_objdir/$soname.def;
   9065 	else
   9066 	  echo EXPORTS > $output_objdir/$soname.def;
   9067 	  cat $export_symbols >> $output_objdir/$soname.def;
   9068 	fi~
   9069 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9070       else
   9071 	ld_shlibs=no
   9072       fi
   9073       ;;
   9074 
   9075     haiku*)
   9076       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9077       link_all_deplibs=yes
   9078       ;;
   9079 
   9080     interix[3-9]*)
   9081       hardcode_direct=no
   9082       hardcode_shlibpath_var=no
   9083       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9084       export_dynamic_flag_spec='${wl}-E'
   9085       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9086       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9087       # default) and relocated if they conflict, which is a slow very memory
   9088       # consuming and fragmenting process.  To avoid this, we pick a random,
   9089       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9090       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9091       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9092       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'
   9093       ;;
   9094 
   9095     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9096       tmp_diet=no
   9097       if test "$host_os" = linux-dietlibc; then
   9098 	case $cc_basename in
   9099 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9100 	esac
   9101       fi
   9102       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9103 	 && test "$tmp_diet" = no
   9104       then
   9105 	tmp_addflag=' $pic_flag'
   9106 	tmp_sharedflag='-shared'
   9107 	case $cc_basename,$host_cpu in
   9108         pgcc*)				# Portland Group C compiler
   9109 	  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'
   9110 	  tmp_addflag=' $pic_flag'
   9111 	  ;;
   9112 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9113 					# Portland Group f77 and f90 compilers
   9114 	  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'
   9115 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9116 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9117 	  tmp_addflag=' -i_dynamic' ;;
   9118 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9119 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9120 	ifc* | ifort*)			# Intel Fortran compiler
   9121 	  tmp_addflag=' -nofor_main' ;;
   9122 	lf95*)				# Lahey Fortran 8.1
   9123 	  whole_archive_flag_spec=
   9124 	  tmp_sharedflag='--shared' ;;
   9125 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9126 	  tmp_sharedflag='-qmkshrobj'
   9127 	  tmp_addflag= ;;
   9128 	nvcc*)	# Cuda Compiler Driver 2.2
   9129 	  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'
   9130 	  compiler_needs_object=yes
   9131 	  ;;
   9132 	esac
   9133 	case `$CC -V 2>&1 | sed 5q` in
   9134 	*Sun\ C*)			# Sun C 5.9
   9135 	  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'
   9136 	  compiler_needs_object=yes
   9137 	  tmp_sharedflag='-G' ;;
   9138 	*Sun\ F*)			# Sun Fortran 8.3
   9139 	  tmp_sharedflag='-G' ;;
   9140 	esac
   9141 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9142 
   9143         if test "x$supports_anon_versioning" = xyes; then
   9144           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9145 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9146 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9147 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9148         fi
   9149 
   9150 	case $cc_basename in
   9151 	xlf* | bgf* | bgxlf* | mpixlf*)
   9152 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9153 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9154 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9155 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9156 	  if test "x$supports_anon_versioning" = xyes; then
   9157 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9158 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9159 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9160 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9161 	  fi
   9162 	  ;;
   9163 	esac
   9164       else
   9165         ld_shlibs=no
   9166       fi
   9167       ;;
   9168 
   9169     netbsd*)
   9170       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9171 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9172 	wlarc=
   9173       else
   9174 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9175 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9176       fi
   9177       ;;
   9178 
   9179     solaris*)
   9180       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9181 	ld_shlibs=no
   9182 	cat <<_LT_EOF 1>&2
   9183 
   9184 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9185 *** create shared libraries on Solaris systems.  Therefore, libtool
   9186 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9187 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9188 *** your PATH or compiler configuration so that the native linker is
   9189 *** used, and then restart.
   9190 
   9191 _LT_EOF
   9192       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9193 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9194 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9195       else
   9196 	ld_shlibs=no
   9197       fi
   9198       ;;
   9199 
   9200     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9201       case `$LD -v 2>&1` in
   9202         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9203 	ld_shlibs=no
   9204 	cat <<_LT_EOF 1>&2
   9205 
   9206 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9207 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9208 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9209 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9210 *** your PATH or compiler configuration so that the native linker is
   9211 *** used, and then restart.
   9212 
   9213 _LT_EOF
   9214 	;;
   9215 	*)
   9216 	  # For security reasons, it is highly recommended that you always
   9217 	  # use absolute paths for naming shared libraries, and exclude the
   9218 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9219 	  # requires that you compile everything twice, which is a pain.
   9220 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9221 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9222 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9223 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9224 	  else
   9225 	    ld_shlibs=no
   9226 	  fi
   9227 	;;
   9228       esac
   9229       ;;
   9230 
   9231     sunos4*)
   9232       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9233       wlarc=
   9234       hardcode_direct=yes
   9235       hardcode_shlibpath_var=no
   9236       ;;
   9237 
   9238     *)
   9239       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9240 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9241 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9242       else
   9243 	ld_shlibs=no
   9244       fi
   9245       ;;
   9246     esac
   9247 
   9248     if test "$ld_shlibs" = no; then
   9249       runpath_var=
   9250       hardcode_libdir_flag_spec=
   9251       export_dynamic_flag_spec=
   9252       whole_archive_flag_spec=
   9253     fi
   9254   else
   9255     # PORTME fill in a description of your system's linker (not GNU ld)
   9256     case $host_os in
   9257     aix3*)
   9258       allow_undefined_flag=unsupported
   9259       always_export_symbols=yes
   9260       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'
   9261       # Note: this linker hardcodes the directories in LIBPATH if there
   9262       # are no directories specified by -L.
   9263       hardcode_minus_L=yes
   9264       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9265 	# Neither direct hardcoding nor static linking is supported with a
   9266 	# broken collect2.
   9267 	hardcode_direct=unsupported
   9268       fi
   9269       ;;
   9270 
   9271     aix[4-9]*)
   9272       if test "$host_cpu" = ia64; then
   9273 	# On IA64, the linker does run time linking by default, so we don't
   9274 	# have to do anything special.
   9275 	aix_use_runtimelinking=no
   9276 	exp_sym_flag='-Bexport'
   9277 	no_entry_flag=""
   9278       else
   9279 	# If we're using GNU nm, then we don't want the "-C" option.
   9280 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9281 	# Also, AIX nm treats weak defined symbols like other global
   9282 	# defined symbols, whereas GNU nm marks them as "W".
   9283 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9284 	  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'
   9285 	else
   9286 	  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'
   9287 	fi
   9288 	aix_use_runtimelinking=no
   9289 
   9290 	# Test if we are trying to use run time linking or normal
   9291 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9292 	# need to do runtime linking.
   9293 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9294 	  for ld_flag in $LDFLAGS; do
   9295 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9296 	    aix_use_runtimelinking=yes
   9297 	    break
   9298 	  fi
   9299 	  done
   9300 	  ;;
   9301 	esac
   9302 
   9303 	exp_sym_flag='-bexport'
   9304 	no_entry_flag='-bnoentry'
   9305       fi
   9306 
   9307       # When large executables or shared objects are built, AIX ld can
   9308       # have problems creating the table of contents.  If linking a library
   9309       # or program results in "error TOC overflow" add -mminimal-toc to
   9310       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9311       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9312 
   9313       archive_cmds=''
   9314       hardcode_direct=yes
   9315       hardcode_direct_absolute=yes
   9316       hardcode_libdir_separator=':'
   9317       link_all_deplibs=yes
   9318       file_list_spec='${wl}-f,'
   9319 
   9320       if test "$GCC" = yes; then
   9321 	case $host_os in aix4.[012]|aix4.[012].*)
   9322 	# We only want to do this on AIX 4.2 and lower, the check
   9323 	# below for broken collect2 doesn't work under 4.3+
   9324 	  collect2name=`${CC} -print-prog-name=collect2`
   9325 	  if test -f "$collect2name" &&
   9326 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9327 	  then
   9328 	  # We have reworked collect2
   9329 	  :
   9330 	  else
   9331 	  # We have old collect2
   9332 	  hardcode_direct=unsupported
   9333 	  # It fails to find uninstalled libraries when the uninstalled
   9334 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9335 	  # to unsupported forces relinking
   9336 	  hardcode_minus_L=yes
   9337 	  hardcode_libdir_flag_spec='-L$libdir'
   9338 	  hardcode_libdir_separator=
   9339 	  fi
   9340 	  ;;
   9341 	esac
   9342 	shared_flag='-shared'
   9343 	if test "$aix_use_runtimelinking" = yes; then
   9344 	  shared_flag="$shared_flag "'${wl}-G'
   9345 	fi
   9346       else
   9347 	# not using gcc
   9348 	if test "$host_cpu" = ia64; then
   9349 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9350 	# chokes on -Wl,-G. The following line is correct:
   9351 	  shared_flag='-G'
   9352 	else
   9353 	  if test "$aix_use_runtimelinking" = yes; then
   9354 	    shared_flag='${wl}-G'
   9355 	  else
   9356 	    shared_flag='${wl}-bM:SRE'
   9357 	  fi
   9358 	fi
   9359       fi
   9360 
   9361       export_dynamic_flag_spec='${wl}-bexpall'
   9362       # It seems that -bexpall does not export symbols beginning with
   9363       # underscore (_), so it is better to generate a list of symbols to export.
   9364       always_export_symbols=yes
   9365       if test "$aix_use_runtimelinking" = yes; then
   9366 	# Warning - without using the other runtime loading flags (-brtl),
   9367 	# -berok will link without error, but may produce a broken library.
   9368 	allow_undefined_flag='-berok'
   9369         # Determine the default libpath from the value encoded in an
   9370         # empty executable.
   9371         if test "${lt_cv_aix_libpath+set}" = set; then
   9372   aix_libpath=$lt_cv_aix_libpath
   9373 else
   9374   if ${lt_cv_aix_libpath_+:} false; then :
   9375   $as_echo_n "(cached) " >&6
   9376 else
   9377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9378 /* end confdefs.h.  */
   9379 
   9380 int
   9381 main ()
   9382 {
   9383 
   9384   ;
   9385   return 0;
   9386 }
   9387 _ACEOF
   9388 if ac_fn_c_try_link "$LINENO"; then :
   9389 
   9390   lt_aix_libpath_sed='
   9391       /Import File Strings/,/^$/ {
   9392 	  /^0/ {
   9393 	      s/^0  *\([^ ]*\) *$/\1/
   9394 	      p
   9395 	  }
   9396       }'
   9397   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9398   # Check for a 64-bit object if we didn't find anything.
   9399   if test -z "$lt_cv_aix_libpath_"; then
   9400     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9401   fi
   9402 fi
   9403 rm -f core conftest.err conftest.$ac_objext \
   9404     conftest$ac_exeext conftest.$ac_ext
   9405   if test -z "$lt_cv_aix_libpath_"; then
   9406     lt_cv_aix_libpath_="/usr/lib:/lib"
   9407   fi
   9408 
   9409 fi
   9410 
   9411   aix_libpath=$lt_cv_aix_libpath_
   9412 fi
   9413 
   9414         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9415         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"
   9416       else
   9417 	if test "$host_cpu" = ia64; then
   9418 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9419 	  allow_undefined_flag="-z nodefs"
   9420 	  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"
   9421 	else
   9422 	 # Determine the default libpath from the value encoded in an
   9423 	 # empty executable.
   9424 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9425   aix_libpath=$lt_cv_aix_libpath
   9426 else
   9427   if ${lt_cv_aix_libpath_+:} false; then :
   9428   $as_echo_n "(cached) " >&6
   9429 else
   9430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9431 /* end confdefs.h.  */
   9432 
   9433 int
   9434 main ()
   9435 {
   9436 
   9437   ;
   9438   return 0;
   9439 }
   9440 _ACEOF
   9441 if ac_fn_c_try_link "$LINENO"; then :
   9442 
   9443   lt_aix_libpath_sed='
   9444       /Import File Strings/,/^$/ {
   9445 	  /^0/ {
   9446 	      s/^0  *\([^ ]*\) *$/\1/
   9447 	      p
   9448 	  }
   9449       }'
   9450   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9451   # Check for a 64-bit object if we didn't find anything.
   9452   if test -z "$lt_cv_aix_libpath_"; then
   9453     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9454   fi
   9455 fi
   9456 rm -f core conftest.err conftest.$ac_objext \
   9457     conftest$ac_exeext conftest.$ac_ext
   9458   if test -z "$lt_cv_aix_libpath_"; then
   9459     lt_cv_aix_libpath_="/usr/lib:/lib"
   9460   fi
   9461 
   9462 fi
   9463 
   9464   aix_libpath=$lt_cv_aix_libpath_
   9465 fi
   9466 
   9467 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9468 	  # Warning - without using the other run time loading flags,
   9469 	  # -berok will link without error, but may produce a broken library.
   9470 	  no_undefined_flag=' ${wl}-bernotok'
   9471 	  allow_undefined_flag=' ${wl}-berok'
   9472 	  if test "$with_gnu_ld" = yes; then
   9473 	    # We only use this code for GNU lds that support --whole-archive.
   9474 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9475 	  else
   9476 	    # Exported symbols can be pulled into shared objects from archives
   9477 	    whole_archive_flag_spec='$convenience'
   9478 	  fi
   9479 	  archive_cmds_need_lc=yes
   9480 	  # This is similar to how AIX traditionally builds its shared libraries.
   9481 	  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'
   9482 	fi
   9483       fi
   9484       ;;
   9485 
   9486     amigaos*)
   9487       case $host_cpu in
   9488       powerpc)
   9489             # see comment about AmigaOS4 .so support
   9490             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9491             archive_expsym_cmds=''
   9492         ;;
   9493       m68k)
   9494             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)'
   9495             hardcode_libdir_flag_spec='-L$libdir'
   9496             hardcode_minus_L=yes
   9497         ;;
   9498       esac
   9499       ;;
   9500 
   9501     bsdi[45]*)
   9502       export_dynamic_flag_spec=-rdynamic
   9503       ;;
   9504 
   9505     cygwin* | mingw* | pw32* | cegcc*)
   9506       # When not using gcc, we currently assume that we are using
   9507       # Microsoft Visual C++.
   9508       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9509       # no search path for DLLs.
   9510       case $cc_basename in
   9511       cl*)
   9512 	# Native MSVC
   9513 	hardcode_libdir_flag_spec=' '
   9514 	allow_undefined_flag=unsupported
   9515 	always_export_symbols=yes
   9516 	file_list_spec='@'
   9517 	# Tell ltmain to make .lib files, not .a files.
   9518 	libext=lib
   9519 	# Tell ltmain to make .dll files, not .so files.
   9520 	shrext_cmds=".dll"
   9521 	# FIXME: Setting linknames here is a bad hack.
   9522 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9523 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9524 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9525 	  else
   9526 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9527 	  fi~
   9528 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9529 	  linknames='
   9530 	# The linker will not automatically build a static lib if we build a DLL.
   9531 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9532 	enable_shared_with_static_runtimes=yes
   9533 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9534 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9535 	# Don't use ranlib
   9536 	old_postinstall_cmds='chmod 644 $oldlib'
   9537 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9538 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9539 	  case $lt_outputfile in
   9540 	    *.exe|*.EXE) ;;
   9541 	    *)
   9542 	      lt_outputfile="$lt_outputfile.exe"
   9543 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9544 	      ;;
   9545 	  esac~
   9546 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9547 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9548 	    $RM "$lt_outputfile.manifest";
   9549 	  fi'
   9550 	;;
   9551       *)
   9552 	# Assume MSVC wrapper
   9553 	hardcode_libdir_flag_spec=' '
   9554 	allow_undefined_flag=unsupported
   9555 	# Tell ltmain to make .lib files, not .a files.
   9556 	libext=lib
   9557 	# Tell ltmain to make .dll files, not .so files.
   9558 	shrext_cmds=".dll"
   9559 	# FIXME: Setting linknames here is a bad hack.
   9560 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9561 	# The linker will automatically build a .lib file if we build a DLL.
   9562 	old_archive_from_new_cmds='true'
   9563 	# FIXME: Should let the user specify the lib program.
   9564 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9565 	enable_shared_with_static_runtimes=yes
   9566 	;;
   9567       esac
   9568       ;;
   9569 
   9570     darwin* | rhapsody*)
   9571 
   9572 
   9573   archive_cmds_need_lc=no
   9574   hardcode_direct=no
   9575   hardcode_automatic=yes
   9576   hardcode_shlibpath_var=unsupported
   9577   if test "$lt_cv_ld_force_load" = "yes"; then
   9578     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\"`'
   9579 
   9580   else
   9581     whole_archive_flag_spec=''
   9582   fi
   9583   link_all_deplibs=yes
   9584   allow_undefined_flag="$_lt_dar_allow_undefined"
   9585   case $cc_basename in
   9586      ifort*) _lt_dar_can_shared=yes ;;
   9587      *) _lt_dar_can_shared=$GCC ;;
   9588   esac
   9589   if test "$_lt_dar_can_shared" = "yes"; then
   9590     output_verbose_link_cmd=func_echo_all
   9591     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9592     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9593     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}"
   9594     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}"
   9595 
   9596   else
   9597   ld_shlibs=no
   9598   fi
   9599 
   9600       ;;
   9601 
   9602     dgux*)
   9603       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9604       hardcode_libdir_flag_spec='-L$libdir'
   9605       hardcode_shlibpath_var=no
   9606       ;;
   9607 
   9608     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9609     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9610     # does not break anything, and helps significantly (at the cost of a little
   9611     # extra space).
   9612     freebsd2.2*)
   9613       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9614       hardcode_libdir_flag_spec='-R$libdir'
   9615       hardcode_direct=yes
   9616       hardcode_shlibpath_var=no
   9617       ;;
   9618 
   9619     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9620     freebsd2.*)
   9621       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9622       hardcode_direct=yes
   9623       hardcode_minus_L=yes
   9624       hardcode_shlibpath_var=no
   9625       ;;
   9626 
   9627     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9628     freebsd* | dragonfly*)
   9629       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9630       hardcode_libdir_flag_spec='-R$libdir'
   9631       hardcode_direct=yes
   9632       hardcode_shlibpath_var=no
   9633       ;;
   9634 
   9635     hpux9*)
   9636       if test "$GCC" = yes; then
   9637 	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'
   9638       else
   9639 	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'
   9640       fi
   9641       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9642       hardcode_libdir_separator=:
   9643       hardcode_direct=yes
   9644 
   9645       # hardcode_minus_L: Not really in the search PATH,
   9646       # but as the default location of the library.
   9647       hardcode_minus_L=yes
   9648       export_dynamic_flag_spec='${wl}-E'
   9649       ;;
   9650 
   9651     hpux10*)
   9652       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9653 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9654       else
   9655 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9656       fi
   9657       if test "$with_gnu_ld" = no; then
   9658 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9659 	hardcode_libdir_separator=:
   9660 	hardcode_direct=yes
   9661 	hardcode_direct_absolute=yes
   9662 	export_dynamic_flag_spec='${wl}-E'
   9663 	# hardcode_minus_L: Not really in the search PATH,
   9664 	# but as the default location of the library.
   9665 	hardcode_minus_L=yes
   9666       fi
   9667       ;;
   9668 
   9669     hpux11*)
   9670       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9671 	case $host_cpu in
   9672 	hppa*64*)
   9673 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9674 	  ;;
   9675 	ia64*)
   9676 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9677 	  ;;
   9678 	*)
   9679 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9680 	  ;;
   9681 	esac
   9682       else
   9683 	case $host_cpu in
   9684 	hppa*64*)
   9685 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9686 	  ;;
   9687 	ia64*)
   9688 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9689 	  ;;
   9690 	*)
   9691 
   9692 	  # Older versions of the 11.00 compiler do not understand -b yet
   9693 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9694 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9695 $as_echo_n "checking if $CC understands -b... " >&6; }
   9696 if ${lt_cv_prog_compiler__b+:} false; then :
   9697   $as_echo_n "(cached) " >&6
   9698 else
   9699   lt_cv_prog_compiler__b=no
   9700    save_LDFLAGS="$LDFLAGS"
   9701    LDFLAGS="$LDFLAGS -b"
   9702    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9703    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9704      # The linker can only warn and ignore the option if not recognized
   9705      # So say no if there are warnings
   9706      if test -s conftest.err; then
   9707        # Append any errors to the config.log.
   9708        cat conftest.err 1>&5
   9709        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9710        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9711        if diff conftest.exp conftest.er2 >/dev/null; then
   9712          lt_cv_prog_compiler__b=yes
   9713        fi
   9714      else
   9715        lt_cv_prog_compiler__b=yes
   9716      fi
   9717    fi
   9718    $RM -r conftest*
   9719    LDFLAGS="$save_LDFLAGS"
   9720 
   9721 fi
   9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9723 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9724 
   9725 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9726     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9727 else
   9728     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9729 fi
   9730 
   9731 	  ;;
   9732 	esac
   9733       fi
   9734       if test "$with_gnu_ld" = no; then
   9735 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9736 	hardcode_libdir_separator=:
   9737 
   9738 	case $host_cpu in
   9739 	hppa*64*|ia64*)
   9740 	  hardcode_direct=no
   9741 	  hardcode_shlibpath_var=no
   9742 	  ;;
   9743 	*)
   9744 	  hardcode_direct=yes
   9745 	  hardcode_direct_absolute=yes
   9746 	  export_dynamic_flag_spec='${wl}-E'
   9747 
   9748 	  # hardcode_minus_L: Not really in the search PATH,
   9749 	  # but as the default location of the library.
   9750 	  hardcode_minus_L=yes
   9751 	  ;;
   9752 	esac
   9753       fi
   9754       ;;
   9755 
   9756     irix5* | irix6* | nonstopux*)
   9757       if test "$GCC" = yes; then
   9758 	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'
   9759 	# Try to use the -exported_symbol ld option, if it does not
   9760 	# work, assume that -exports_file does not work either and
   9761 	# implicitly export all symbols.
   9762 	# This should be the same for all languages, so no per-tag cache variable.
   9763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9764 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9765 if ${lt_cv_irix_exported_symbol+:} false; then :
   9766   $as_echo_n "(cached) " >&6
   9767 else
   9768   save_LDFLAGS="$LDFLAGS"
   9769 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9770 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9771 /* end confdefs.h.  */
   9772 int foo (void) { return 0; }
   9773 _ACEOF
   9774 if ac_fn_c_try_link "$LINENO"; then :
   9775   lt_cv_irix_exported_symbol=yes
   9776 else
   9777   lt_cv_irix_exported_symbol=no
   9778 fi
   9779 rm -f core conftest.err conftest.$ac_objext \
   9780     conftest$ac_exeext conftest.$ac_ext
   9781            LDFLAGS="$save_LDFLAGS"
   9782 fi
   9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9784 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9785 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9786           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'
   9787 	fi
   9788       else
   9789 	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'
   9790 	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'
   9791       fi
   9792       archive_cmds_need_lc='no'
   9793       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9794       hardcode_libdir_separator=:
   9795       inherit_rpath=yes
   9796       link_all_deplibs=yes
   9797       ;;
   9798 
   9799     netbsd*)
   9800       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9801 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9802       else
   9803 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9804       fi
   9805       hardcode_libdir_flag_spec='-R$libdir'
   9806       hardcode_direct=yes
   9807       hardcode_shlibpath_var=no
   9808       ;;
   9809 
   9810     newsos6)
   9811       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9812       hardcode_direct=yes
   9813       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9814       hardcode_libdir_separator=:
   9815       hardcode_shlibpath_var=no
   9816       ;;
   9817 
   9818     *nto* | *qnx*)
   9819       ;;
   9820 
   9821     openbsd*)
   9822       if test -f /usr/libexec/ld.so; then
   9823 	hardcode_direct=yes
   9824 	hardcode_shlibpath_var=no
   9825 	hardcode_direct_absolute=yes
   9826 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9827 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9828 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9829 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9830 	  export_dynamic_flag_spec='${wl}-E'
   9831 	else
   9832 	  case $host_os in
   9833 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9834 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9835 	     hardcode_libdir_flag_spec='-R$libdir'
   9836 	     ;;
   9837 	   *)
   9838 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9839 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9840 	     ;;
   9841 	  esac
   9842 	fi
   9843       else
   9844 	ld_shlibs=no
   9845       fi
   9846       ;;
   9847 
   9848     os2*)
   9849       hardcode_libdir_flag_spec='-L$libdir'
   9850       hardcode_minus_L=yes
   9851       allow_undefined_flag=unsupported
   9852       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'
   9853       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9854       ;;
   9855 
   9856     osf3*)
   9857       if test "$GCC" = yes; then
   9858 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9859 	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'
   9860       else
   9861 	allow_undefined_flag=' -expect_unresolved \*'
   9862 	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'
   9863       fi
   9864       archive_cmds_need_lc='no'
   9865       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9866       hardcode_libdir_separator=:
   9867       ;;
   9868 
   9869     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9870       if test "$GCC" = yes; then
   9871 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9872 	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'
   9873 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9874       else
   9875 	allow_undefined_flag=' -expect_unresolved \*'
   9876 	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'
   9877 	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~
   9878 	$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'
   9879 
   9880 	# Both c and cxx compiler support -rpath directly
   9881 	hardcode_libdir_flag_spec='-rpath $libdir'
   9882       fi
   9883       archive_cmds_need_lc='no'
   9884       hardcode_libdir_separator=:
   9885       ;;
   9886 
   9887     solaris*)
   9888       no_undefined_flag=' -z defs'
   9889       if test "$GCC" = yes; then
   9890 	wlarc='${wl}'
   9891 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9892 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9893 	  $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'
   9894       else
   9895 	case `$CC -V 2>&1` in
   9896 	*"Compilers 5.0"*)
   9897 	  wlarc=''
   9898 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9899 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9900 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9901 	  ;;
   9902 	*)
   9903 	  wlarc='${wl}'
   9904 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9905 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9906 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9907 	  ;;
   9908 	esac
   9909       fi
   9910       hardcode_libdir_flag_spec='-R$libdir'
   9911       hardcode_shlibpath_var=no
   9912       case $host_os in
   9913       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9914       *)
   9915 	# The compiler driver will combine and reorder linker options,
   9916 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9917 	# but is careful enough not to reorder.
   9918 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9919 	if test "$GCC" = yes; then
   9920 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9921 	else
   9922 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9923 	fi
   9924 	;;
   9925       esac
   9926       link_all_deplibs=yes
   9927       ;;
   9928 
   9929     sunos4*)
   9930       if test "x$host_vendor" = xsequent; then
   9931 	# Use $CC to link under sequent, because it throws in some extra .o
   9932 	# files that make .init and .fini sections work.
   9933 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9934       else
   9935 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9936       fi
   9937       hardcode_libdir_flag_spec='-L$libdir'
   9938       hardcode_direct=yes
   9939       hardcode_minus_L=yes
   9940       hardcode_shlibpath_var=no
   9941       ;;
   9942 
   9943     sysv4)
   9944       case $host_vendor in
   9945 	sni)
   9946 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9947 	  hardcode_direct=yes # is this really true???
   9948 	;;
   9949 	siemens)
   9950 	  ## LD is ld it makes a PLAMLIB
   9951 	  ## CC just makes a GrossModule.
   9952 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9953 	  reload_cmds='$CC -r -o $output$reload_objs'
   9954 	  hardcode_direct=no
   9955         ;;
   9956 	motorola)
   9957 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9958 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9959 	;;
   9960       esac
   9961       runpath_var='LD_RUN_PATH'
   9962       hardcode_shlibpath_var=no
   9963       ;;
   9964 
   9965     sysv4.3*)
   9966       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9967       hardcode_shlibpath_var=no
   9968       export_dynamic_flag_spec='-Bexport'
   9969       ;;
   9970 
   9971     sysv4*MP*)
   9972       if test -d /usr/nec; then
   9973 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9974 	hardcode_shlibpath_var=no
   9975 	runpath_var=LD_RUN_PATH
   9976 	hardcode_runpath_var=yes
   9977 	ld_shlibs=yes
   9978       fi
   9979       ;;
   9980 
   9981     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9982       no_undefined_flag='${wl}-z,text'
   9983       archive_cmds_need_lc=no
   9984       hardcode_shlibpath_var=no
   9985       runpath_var='LD_RUN_PATH'
   9986 
   9987       if test "$GCC" = yes; then
   9988 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9989 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9990       else
   9991 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9992 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9993       fi
   9994       ;;
   9995 
   9996     sysv5* | sco3.2v5* | sco5v6*)
   9997       # Note: We can NOT use -z defs as we might desire, because we do not
   9998       # link with -lc, and that would cause any symbols used from libc to
   9999       # always be unresolved, which means just about no library would
   10000       # ever link correctly.  If we're not using GNU ld we use -z text
   10001       # though, which does catch some bad symbols but isn't as heavy-handed
   10002       # as -z defs.
   10003       no_undefined_flag='${wl}-z,text'
   10004       allow_undefined_flag='${wl}-z,nodefs'
   10005       archive_cmds_need_lc=no
   10006       hardcode_shlibpath_var=no
   10007       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10008       hardcode_libdir_separator=':'
   10009       link_all_deplibs=yes
   10010       export_dynamic_flag_spec='${wl}-Bexport'
   10011       runpath_var='LD_RUN_PATH'
   10012 
   10013       if test "$GCC" = yes; then
   10014 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10015 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10016       else
   10017 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10018 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10019       fi
   10020       ;;
   10021 
   10022     uts4*)
   10023       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10024       hardcode_libdir_flag_spec='-L$libdir'
   10025       hardcode_shlibpath_var=no
   10026       ;;
   10027 
   10028     *)
   10029       ld_shlibs=no
   10030       ;;
   10031     esac
   10032 
   10033     if test x$host_vendor = xsni; then
   10034       case $host in
   10035       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10036 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10037 	;;
   10038       esac
   10039     fi
   10040   fi
   10041 
   10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10043 $as_echo "$ld_shlibs" >&6; }
   10044 test "$ld_shlibs" = no && can_build_shared=no
   10045 
   10046 with_gnu_ld=$with_gnu_ld
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 #
   10063 # Do we need to explicitly link libc?
   10064 #
   10065 case "x$archive_cmds_need_lc" in
   10066 x|xyes)
   10067   # Assume -lc should be added
   10068   archive_cmds_need_lc=yes
   10069 
   10070   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10071     case $archive_cmds in
   10072     *'~'*)
   10073       # FIXME: we may have to deal with multi-command sequences.
   10074       ;;
   10075     '$CC '*)
   10076       # Test whether the compiler implicitly links with -lc since on some
   10077       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10078       # to ld, don't add -lc before -lgcc.
   10079       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10080 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10081 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10082   $as_echo_n "(cached) " >&6
   10083 else
   10084   $RM conftest*
   10085 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10086 
   10087 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10088   (eval $ac_compile) 2>&5
   10089   ac_status=$?
   10090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10091   test $ac_status = 0; } 2>conftest.err; then
   10092 	  soname=conftest
   10093 	  lib=conftest
   10094 	  libobjs=conftest.$ac_objext
   10095 	  deplibs=
   10096 	  wl=$lt_prog_compiler_wl
   10097 	  pic_flag=$lt_prog_compiler_pic
   10098 	  compiler_flags=-v
   10099 	  linker_flags=-v
   10100 	  verstring=
   10101 	  output_objdir=.
   10102 	  libname=conftest
   10103 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10104 	  allow_undefined_flag=
   10105 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10106   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10107   ac_status=$?
   10108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10109   test $ac_status = 0; }
   10110 	  then
   10111 	    lt_cv_archive_cmds_need_lc=no
   10112 	  else
   10113 	    lt_cv_archive_cmds_need_lc=yes
   10114 	  fi
   10115 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10116 	else
   10117 	  cat conftest.err 1>&5
   10118 	fi
   10119 	$RM conftest*
   10120 
   10121 fi
   10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10123 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10124       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10125       ;;
   10126     esac
   10127   fi
   10128   ;;
   10129 esac
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10283 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10284 
   10285 if test "$GCC" = yes; then
   10286   case $host_os in
   10287     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10288     *) lt_awk_arg="/^libraries:/" ;;
   10289   esac
   10290   case $host_os in
   10291     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10292     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10293   esac
   10294   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10295   case $lt_search_path_spec in
   10296   *\;*)
   10297     # if the path contains ";" then we assume it to be the separator
   10298     # otherwise default to the standard path separator (i.e. ":") - it is
   10299     # assumed that no part of a normal pathname contains ";" but that should
   10300     # okay in the real world where ";" in dirpaths is itself problematic.
   10301     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10302     ;;
   10303   *)
   10304     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10305     ;;
   10306   esac
   10307   # Ok, now we have the path, separated by spaces, we can step through it
   10308   # and add multilib dir if necessary.
   10309   lt_tmp_lt_search_path_spec=
   10310   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10311   for lt_sys_path in $lt_search_path_spec; do
   10312     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10313       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10314     else
   10315       test -d "$lt_sys_path" && \
   10316 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10317     fi
   10318   done
   10319   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10320 BEGIN {RS=" "; FS="/|\n";} {
   10321   lt_foo="";
   10322   lt_count=0;
   10323   for (lt_i = NF; lt_i > 0; lt_i--) {
   10324     if ($lt_i != "" && $lt_i != ".") {
   10325       if ($lt_i == "..") {
   10326         lt_count++;
   10327       } else {
   10328         if (lt_count == 0) {
   10329           lt_foo="/" $lt_i lt_foo;
   10330         } else {
   10331           lt_count--;
   10332         }
   10333       }
   10334     }
   10335   }
   10336   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10337   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10338 }'`
   10339   # AWK program above erroneously prepends '/' to C:/dos/paths
   10340   # for these hosts.
   10341   case $host_os in
   10342     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10343       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10344   esac
   10345   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10346 else
   10347   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10348 fi
   10349 library_names_spec=
   10350 libname_spec='lib$name'
   10351 soname_spec=
   10352 shrext_cmds=".so"
   10353 postinstall_cmds=
   10354 postuninstall_cmds=
   10355 finish_cmds=
   10356 finish_eval=
   10357 shlibpath_var=
   10358 shlibpath_overrides_runpath=unknown
   10359 version_type=none
   10360 dynamic_linker="$host_os ld.so"
   10361 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10362 need_lib_prefix=unknown
   10363 hardcode_into_libs=no
   10364 
   10365 # when you set need_version to no, make sure it does not cause -set_version
   10366 # flags to be left without arguments
   10367 need_version=unknown
   10368 
   10369 case $host_os in
   10370 aix3*)
   10371   version_type=linux # correct to gnu/linux during the next big refactor
   10372   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10373   shlibpath_var=LIBPATH
   10374 
   10375   # AIX 3 has no versioning support, so we append a major version to the name.
   10376   soname_spec='${libname}${release}${shared_ext}$major'
   10377   ;;
   10378 
   10379 aix[4-9]*)
   10380   version_type=linux # correct to gnu/linux during the next big refactor
   10381   need_lib_prefix=no
   10382   need_version=no
   10383   hardcode_into_libs=yes
   10384   if test "$host_cpu" = ia64; then
   10385     # AIX 5 supports IA64
   10386     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10387     shlibpath_var=LD_LIBRARY_PATH
   10388   else
   10389     # With GCC up to 2.95.x, collect2 would create an import file
   10390     # for dependence libraries.  The import file would start with
   10391     # the line `#! .'.  This would cause the generated library to
   10392     # depend on `.', always an invalid library.  This was fixed in
   10393     # development snapshots of GCC prior to 3.0.
   10394     case $host_os in
   10395       aix4 | aix4.[01] | aix4.[01].*)
   10396       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10397 	   echo ' yes '
   10398 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10399 	:
   10400       else
   10401 	can_build_shared=no
   10402       fi
   10403       ;;
   10404     esac
   10405     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10406     # soname into executable. Probably we can add versioning support to
   10407     # collect2, so additional links can be useful in future.
   10408     if test "$aix_use_runtimelinking" = yes; then
   10409       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10410       # instead of lib<name>.a to let people know that these are not
   10411       # typical AIX shared libraries.
   10412       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10413     else
   10414       # We preserve .a as extension for shared libraries through AIX4.2
   10415       # and later when we are not doing run time linking.
   10416       library_names_spec='${libname}${release}.a $libname.a'
   10417       soname_spec='${libname}${release}${shared_ext}$major'
   10418     fi
   10419     shlibpath_var=LIBPATH
   10420   fi
   10421   ;;
   10422 
   10423 amigaos*)
   10424   case $host_cpu in
   10425   powerpc)
   10426     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10427     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10428     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10429     ;;
   10430   m68k)
   10431     library_names_spec='$libname.ixlibrary $libname.a'
   10432     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10433     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'
   10434     ;;
   10435   esac
   10436   ;;
   10437 
   10438 beos*)
   10439   library_names_spec='${libname}${shared_ext}'
   10440   dynamic_linker="$host_os ld.so"
   10441   shlibpath_var=LIBRARY_PATH
   10442   ;;
   10443 
   10444 bsdi[45]*)
   10445   version_type=linux # correct to gnu/linux during the next big refactor
   10446   need_version=no
   10447   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10448   soname_spec='${libname}${release}${shared_ext}$major'
   10449   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10450   shlibpath_var=LD_LIBRARY_PATH
   10451   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10452   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10453   # the default ld.so.conf also contains /usr/contrib/lib and
   10454   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10455   # libtool to hard-code these into programs
   10456   ;;
   10457 
   10458 cygwin* | mingw* | pw32* | cegcc*)
   10459   version_type=windows
   10460   shrext_cmds=".dll"
   10461   need_version=no
   10462   need_lib_prefix=no
   10463 
   10464   case $GCC,$cc_basename in
   10465   yes,*)
   10466     # gcc
   10467     library_names_spec='$libname.dll.a'
   10468     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10469     postinstall_cmds='base_file=`basename \${file}`~
   10470       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10471       dldir=$destdir/`dirname \$dlpath`~
   10472       test -d \$dldir || mkdir -p \$dldir~
   10473       $install_prog $dir/$dlname \$dldir/$dlname~
   10474       chmod a+x \$dldir/$dlname~
   10475       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10476         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10477       fi'
   10478     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10479       dlpath=$dir/\$dldll~
   10480        $RM \$dlpath'
   10481     shlibpath_overrides_runpath=yes
   10482 
   10483     case $host_os in
   10484     cygwin*)
   10485       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10486       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10487 
   10488       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10489       ;;
   10490     mingw* | cegcc*)
   10491       # MinGW DLLs use traditional 'lib' prefix
   10492       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10493       ;;
   10494     pw32*)
   10495       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10496       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10497       ;;
   10498     esac
   10499     dynamic_linker='Win32 ld.exe'
   10500     ;;
   10501 
   10502   *,cl*)
   10503     # Native MSVC
   10504     libname_spec='$name'
   10505     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10506     library_names_spec='${libname}.dll.lib'
   10507 
   10508     case $build_os in
   10509     mingw*)
   10510       sys_lib_search_path_spec=
   10511       lt_save_ifs=$IFS
   10512       IFS=';'
   10513       for lt_path in $LIB
   10514       do
   10515         IFS=$lt_save_ifs
   10516         # Let DOS variable expansion print the short 8.3 style file name.
   10517         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10518         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10519       done
   10520       IFS=$lt_save_ifs
   10521       # Convert to MSYS style.
   10522       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10523       ;;
   10524     cygwin*)
   10525       # Convert to unix form, then to dos form, then back to unix form
   10526       # but this time dos style (no spaces!) so that the unix form looks
   10527       # like /cygdrive/c/PROGRA~1:/cygdr...
   10528       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10529       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10530       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10531       ;;
   10532     *)
   10533       sys_lib_search_path_spec="$LIB"
   10534       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10535         # It is most probably a Windows format PATH.
   10536         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10537       else
   10538         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10539       fi
   10540       # FIXME: find the short name or the path components, as spaces are
   10541       # common. (e.g. "Program Files" -> "PROGRA~1")
   10542       ;;
   10543     esac
   10544 
   10545     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10546     postinstall_cmds='base_file=`basename \${file}`~
   10547       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10548       dldir=$destdir/`dirname \$dlpath`~
   10549       test -d \$dldir || mkdir -p \$dldir~
   10550       $install_prog $dir/$dlname \$dldir/$dlname'
   10551     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10552       dlpath=$dir/\$dldll~
   10553        $RM \$dlpath'
   10554     shlibpath_overrides_runpath=yes
   10555     dynamic_linker='Win32 link.exe'
   10556     ;;
   10557 
   10558   *)
   10559     # Assume MSVC wrapper
   10560     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10561     dynamic_linker='Win32 ld.exe'
   10562     ;;
   10563   esac
   10564   # FIXME: first we should search . and the directory the executable is in
   10565   shlibpath_var=PATH
   10566   ;;
   10567 
   10568 darwin* | rhapsody*)
   10569   dynamic_linker="$host_os dyld"
   10570   version_type=darwin
   10571   need_lib_prefix=no
   10572   need_version=no
   10573   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10574   soname_spec='${libname}${release}${major}$shared_ext'
   10575   shlibpath_overrides_runpath=yes
   10576   shlibpath_var=DYLD_LIBRARY_PATH
   10577   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10578 
   10579   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10580   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10581   ;;
   10582 
   10583 dgux*)
   10584   version_type=linux # correct to gnu/linux during the next big refactor
   10585   need_lib_prefix=no
   10586   need_version=no
   10587   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10588   soname_spec='${libname}${release}${shared_ext}$major'
   10589   shlibpath_var=LD_LIBRARY_PATH
   10590   ;;
   10591 
   10592 freebsd* | dragonfly*)
   10593   # DragonFly does not have aout.  When/if they implement a new
   10594   # versioning mechanism, adjust this.
   10595   if test -x /usr/bin/objformat; then
   10596     objformat=`/usr/bin/objformat`
   10597   else
   10598     case $host_os in
   10599     freebsd[23].*) objformat=aout ;;
   10600     *) objformat=elf ;;
   10601     esac
   10602   fi
   10603   version_type=freebsd-$objformat
   10604   case $version_type in
   10605     freebsd-elf*)
   10606       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10607       need_version=no
   10608       need_lib_prefix=no
   10609       ;;
   10610     freebsd-*)
   10611       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10612       need_version=yes
   10613       ;;
   10614   esac
   10615   shlibpath_var=LD_LIBRARY_PATH
   10616   case $host_os in
   10617   freebsd2.*)
   10618     shlibpath_overrides_runpath=yes
   10619     ;;
   10620   freebsd3.[01]* | freebsdelf3.[01]*)
   10621     shlibpath_overrides_runpath=yes
   10622     hardcode_into_libs=yes
   10623     ;;
   10624   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10625   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10626     shlibpath_overrides_runpath=no
   10627     hardcode_into_libs=yes
   10628     ;;
   10629   *) # from 4.6 on, and DragonFly
   10630     shlibpath_overrides_runpath=yes
   10631     hardcode_into_libs=yes
   10632     ;;
   10633   esac
   10634   ;;
   10635 
   10636 gnu*)
   10637   version_type=linux # correct to gnu/linux during the next big refactor
   10638   need_lib_prefix=no
   10639   need_version=no
   10640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10641   soname_spec='${libname}${release}${shared_ext}$major'
   10642   shlibpath_var=LD_LIBRARY_PATH
   10643   shlibpath_overrides_runpath=no
   10644   hardcode_into_libs=yes
   10645   ;;
   10646 
   10647 haiku*)
   10648   version_type=linux # correct to gnu/linux during the next big refactor
   10649   need_lib_prefix=no
   10650   need_version=no
   10651   dynamic_linker="$host_os runtime_loader"
   10652   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10653   soname_spec='${libname}${release}${shared_ext}$major'
   10654   shlibpath_var=LIBRARY_PATH
   10655   shlibpath_overrides_runpath=yes
   10656   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10657   hardcode_into_libs=yes
   10658   ;;
   10659 
   10660 hpux9* | hpux10* | hpux11*)
   10661   # Give a soname corresponding to the major version so that dld.sl refuses to
   10662   # link against other versions.
   10663   version_type=sunos
   10664   need_lib_prefix=no
   10665   need_version=no
   10666   case $host_cpu in
   10667   ia64*)
   10668     shrext_cmds='.so'
   10669     hardcode_into_libs=yes
   10670     dynamic_linker="$host_os dld.so"
   10671     shlibpath_var=LD_LIBRARY_PATH
   10672     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10673     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10674     soname_spec='${libname}${release}${shared_ext}$major'
   10675     if test "X$HPUX_IA64_MODE" = X32; then
   10676       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10677     else
   10678       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10679     fi
   10680     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10681     ;;
   10682   hppa*64*)
   10683     shrext_cmds='.sl'
   10684     hardcode_into_libs=yes
   10685     dynamic_linker="$host_os dld.sl"
   10686     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10687     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10688     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10689     soname_spec='${libname}${release}${shared_ext}$major'
   10690     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10691     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10692     ;;
   10693   *)
   10694     shrext_cmds='.sl'
   10695     dynamic_linker="$host_os dld.sl"
   10696     shlibpath_var=SHLIB_PATH
   10697     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10698     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10699     soname_spec='${libname}${release}${shared_ext}$major'
   10700     ;;
   10701   esac
   10702   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10703   postinstall_cmds='chmod 555 $lib'
   10704   # or fails outright, so override atomically:
   10705   install_override_mode=555
   10706   ;;
   10707 
   10708 interix[3-9]*)
   10709   version_type=linux # correct to gnu/linux during the next big refactor
   10710   need_lib_prefix=no
   10711   need_version=no
   10712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10713   soname_spec='${libname}${release}${shared_ext}$major'
   10714   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10715   shlibpath_var=LD_LIBRARY_PATH
   10716   shlibpath_overrides_runpath=no
   10717   hardcode_into_libs=yes
   10718   ;;
   10719 
   10720 irix5* | irix6* | nonstopux*)
   10721   case $host_os in
   10722     nonstopux*) version_type=nonstopux ;;
   10723     *)
   10724 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10725 		version_type=linux # correct to gnu/linux during the next big refactor
   10726 	else
   10727 		version_type=irix
   10728 	fi ;;
   10729   esac
   10730   need_lib_prefix=no
   10731   need_version=no
   10732   soname_spec='${libname}${release}${shared_ext}$major'
   10733   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10734   case $host_os in
   10735   irix5* | nonstopux*)
   10736     libsuff= shlibsuff=
   10737     ;;
   10738   *)
   10739     case $LD in # libtool.m4 will add one of these switches to LD
   10740     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10741       libsuff= shlibsuff= libmagic=32-bit;;
   10742     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10743       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10744     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10745       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10746     *) libsuff= shlibsuff= libmagic=never-match;;
   10747     esac
   10748     ;;
   10749   esac
   10750   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10751   shlibpath_overrides_runpath=no
   10752   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10753   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10754   hardcode_into_libs=yes
   10755   ;;
   10756 
   10757 # No shared lib support for Linux oldld, aout, or coff.
   10758 linux*oldld* | linux*aout* | linux*coff*)
   10759   dynamic_linker=no
   10760   ;;
   10761 
   10762 # This must be glibc/ELF.
   10763 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10764   version_type=linux # correct to gnu/linux during the next big refactor
   10765   need_lib_prefix=no
   10766   need_version=no
   10767   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10768   soname_spec='${libname}${release}${shared_ext}$major'
   10769   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10770   shlibpath_var=LD_LIBRARY_PATH
   10771   shlibpath_overrides_runpath=no
   10772 
   10773   # Some binutils ld are patched to set DT_RUNPATH
   10774   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10775   $as_echo_n "(cached) " >&6
   10776 else
   10777   lt_cv_shlibpath_overrides_runpath=no
   10778     save_LDFLAGS=$LDFLAGS
   10779     save_libdir=$libdir
   10780     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10781 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10782     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10783 /* end confdefs.h.  */
   10784 
   10785 int
   10786 main ()
   10787 {
   10788 
   10789   ;
   10790   return 0;
   10791 }
   10792 _ACEOF
   10793 if ac_fn_c_try_link "$LINENO"; then :
   10794   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10795   lt_cv_shlibpath_overrides_runpath=yes
   10796 fi
   10797 fi
   10798 rm -f core conftest.err conftest.$ac_objext \
   10799     conftest$ac_exeext conftest.$ac_ext
   10800     LDFLAGS=$save_LDFLAGS
   10801     libdir=$save_libdir
   10802 
   10803 fi
   10804 
   10805   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10806 
   10807   # This implies no fast_install, which is unacceptable.
   10808   # Some rework will be needed to allow for fast_install
   10809   # before this can be enabled.
   10810   hardcode_into_libs=yes
   10811 
   10812   # Append ld.so.conf contents to the search path
   10813   if test -f /etc/ld.so.conf; then
   10814     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' ' '`
   10815     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10816   fi
   10817 
   10818   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10819   # powerpc, because MkLinux only supported shared libraries with the
   10820   # GNU dynamic linker.  Since this was broken with cross compilers,
   10821   # most powerpc-linux boxes support dynamic linking these days and
   10822   # people can always --disable-shared, the test was removed, and we
   10823   # assume the GNU/Linux dynamic linker is in use.
   10824   dynamic_linker='GNU/Linux ld.so'
   10825   ;;
   10826 
   10827 netbsd*)
   10828   version_type=sunos
   10829   need_lib_prefix=no
   10830   need_version=no
   10831   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10832     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10833     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10834     dynamic_linker='NetBSD (a.out) ld.so'
   10835   else
   10836     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10837     soname_spec='${libname}${release}${shared_ext}$major'
   10838     dynamic_linker='NetBSD ld.elf_so'
   10839   fi
   10840   shlibpath_var=LD_LIBRARY_PATH
   10841   shlibpath_overrides_runpath=yes
   10842   hardcode_into_libs=yes
   10843   ;;
   10844 
   10845 newsos6)
   10846   version_type=linux # correct to gnu/linux during the next big refactor
   10847   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10848   shlibpath_var=LD_LIBRARY_PATH
   10849   shlibpath_overrides_runpath=yes
   10850   ;;
   10851 
   10852 *nto* | *qnx*)
   10853   version_type=qnx
   10854   need_lib_prefix=no
   10855   need_version=no
   10856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10857   soname_spec='${libname}${release}${shared_ext}$major'
   10858   shlibpath_var=LD_LIBRARY_PATH
   10859   shlibpath_overrides_runpath=no
   10860   hardcode_into_libs=yes
   10861   dynamic_linker='ldqnx.so'
   10862   ;;
   10863 
   10864 openbsd*)
   10865   version_type=sunos
   10866   sys_lib_dlsearch_path_spec="/usr/lib"
   10867   need_lib_prefix=no
   10868   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10869   case $host_os in
   10870     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10871     *)				need_version=no  ;;
   10872   esac
   10873   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10874   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10875   shlibpath_var=LD_LIBRARY_PATH
   10876   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10877     case $host_os in
   10878       openbsd2.[89] | openbsd2.[89].*)
   10879 	shlibpath_overrides_runpath=no
   10880 	;;
   10881       *)
   10882 	shlibpath_overrides_runpath=yes
   10883 	;;
   10884       esac
   10885   else
   10886     shlibpath_overrides_runpath=yes
   10887   fi
   10888   ;;
   10889 
   10890 os2*)
   10891   libname_spec='$name'
   10892   shrext_cmds=".dll"
   10893   need_lib_prefix=no
   10894   library_names_spec='$libname${shared_ext} $libname.a'
   10895   dynamic_linker='OS/2 ld.exe'
   10896   shlibpath_var=LIBPATH
   10897   ;;
   10898 
   10899 osf3* | osf4* | osf5*)
   10900   version_type=osf
   10901   need_lib_prefix=no
   10902   need_version=no
   10903   soname_spec='${libname}${release}${shared_ext}$major'
   10904   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10905   shlibpath_var=LD_LIBRARY_PATH
   10906   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10907   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10908   ;;
   10909 
   10910 rdos*)
   10911   dynamic_linker=no
   10912   ;;
   10913 
   10914 solaris*)
   10915   version_type=linux # correct to gnu/linux during the next big refactor
   10916   need_lib_prefix=no
   10917   need_version=no
   10918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10919   soname_spec='${libname}${release}${shared_ext}$major'
   10920   shlibpath_var=LD_LIBRARY_PATH
   10921   shlibpath_overrides_runpath=yes
   10922   hardcode_into_libs=yes
   10923   # ldd complains unless libraries are executable
   10924   postinstall_cmds='chmod +x $lib'
   10925   ;;
   10926 
   10927 sunos4*)
   10928   version_type=sunos
   10929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10930   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10931   shlibpath_var=LD_LIBRARY_PATH
   10932   shlibpath_overrides_runpath=yes
   10933   if test "$with_gnu_ld" = yes; then
   10934     need_lib_prefix=no
   10935   fi
   10936   need_version=yes
   10937   ;;
   10938 
   10939 sysv4 | sysv4.3*)
   10940   version_type=linux # correct to gnu/linux during the next big refactor
   10941   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10942   soname_spec='${libname}${release}${shared_ext}$major'
   10943   shlibpath_var=LD_LIBRARY_PATH
   10944   case $host_vendor in
   10945     sni)
   10946       shlibpath_overrides_runpath=no
   10947       need_lib_prefix=no
   10948       runpath_var=LD_RUN_PATH
   10949       ;;
   10950     siemens)
   10951       need_lib_prefix=no
   10952       ;;
   10953     motorola)
   10954       need_lib_prefix=no
   10955       need_version=no
   10956       shlibpath_overrides_runpath=no
   10957       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10958       ;;
   10959   esac
   10960   ;;
   10961 
   10962 sysv4*MP*)
   10963   if test -d /usr/nec ;then
   10964     version_type=linux # correct to gnu/linux during the next big refactor
   10965     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10966     soname_spec='$libname${shared_ext}.$major'
   10967     shlibpath_var=LD_LIBRARY_PATH
   10968   fi
   10969   ;;
   10970 
   10971 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10972   version_type=freebsd-elf
   10973   need_lib_prefix=no
   10974   need_version=no
   10975   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10976   soname_spec='${libname}${release}${shared_ext}$major'
   10977   shlibpath_var=LD_LIBRARY_PATH
   10978   shlibpath_overrides_runpath=yes
   10979   hardcode_into_libs=yes
   10980   if test "$with_gnu_ld" = yes; then
   10981     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10982   else
   10983     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10984     case $host_os in
   10985       sco3.2v5*)
   10986         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10987 	;;
   10988     esac
   10989   fi
   10990   sys_lib_dlsearch_path_spec='/usr/lib'
   10991   ;;
   10992 
   10993 tpf*)
   10994   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10995   version_type=linux # correct to gnu/linux during the next big refactor
   10996   need_lib_prefix=no
   10997   need_version=no
   10998   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10999   shlibpath_var=LD_LIBRARY_PATH
   11000   shlibpath_overrides_runpath=no
   11001   hardcode_into_libs=yes
   11002   ;;
   11003 
   11004 uts4*)
   11005   version_type=linux # correct to gnu/linux during the next big refactor
   11006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11007   soname_spec='${libname}${release}${shared_ext}$major'
   11008   shlibpath_var=LD_LIBRARY_PATH
   11009   ;;
   11010 
   11011 *)
   11012   dynamic_linker=no
   11013   ;;
   11014 esac
   11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11016 $as_echo "$dynamic_linker" >&6; }
   11017 test "$dynamic_linker" = no && can_build_shared=no
   11018 
   11019 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11020 if test "$GCC" = yes; then
   11021   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11022 fi
   11023 
   11024 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11025   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11026 fi
   11027 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11028   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11029 fi
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11123 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11124 hardcode_action=
   11125 if test -n "$hardcode_libdir_flag_spec" ||
   11126    test -n "$runpath_var" ||
   11127    test "X$hardcode_automatic" = "Xyes" ; then
   11128 
   11129   # We can hardcode non-existent directories.
   11130   if test "$hardcode_direct" != no &&
   11131      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11132      # have to relink, otherwise we might link with an installed library
   11133      # when we should be linking with a yet-to-be-installed one
   11134      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11135      test "$hardcode_minus_L" != no; then
   11136     # Linking always hardcodes the temporary library directory.
   11137     hardcode_action=relink
   11138   else
   11139     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11140     hardcode_action=immediate
   11141   fi
   11142 else
   11143   # We cannot hardcode anything, or else we can only hardcode existing
   11144   # directories.
   11145   hardcode_action=unsupported
   11146 fi
   11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11148 $as_echo "$hardcode_action" >&6; }
   11149 
   11150 if test "$hardcode_action" = relink ||
   11151    test "$inherit_rpath" = yes; then
   11152   # Fast installation is not supported
   11153   enable_fast_install=no
   11154 elif test "$shlibpath_overrides_runpath" = yes ||
   11155      test "$enable_shared" = no; then
   11156   # Fast installation is not necessary
   11157   enable_fast_install=needless
   11158 fi
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165   if test "x$enable_dlopen" != xyes; then
   11166   enable_dlopen=unknown
   11167   enable_dlopen_self=unknown
   11168   enable_dlopen_self_static=unknown
   11169 else
   11170   lt_cv_dlopen=no
   11171   lt_cv_dlopen_libs=
   11172 
   11173   case $host_os in
   11174   beos*)
   11175     lt_cv_dlopen="load_add_on"
   11176     lt_cv_dlopen_libs=
   11177     lt_cv_dlopen_self=yes
   11178     ;;
   11179 
   11180   mingw* | pw32* | cegcc*)
   11181     lt_cv_dlopen="LoadLibrary"
   11182     lt_cv_dlopen_libs=
   11183     ;;
   11184 
   11185   cygwin*)
   11186     lt_cv_dlopen="dlopen"
   11187     lt_cv_dlopen_libs=
   11188     ;;
   11189 
   11190   darwin*)
   11191   # if libdl is installed we need to link against it
   11192     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11193 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11194 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11195   $as_echo_n "(cached) " >&6
   11196 else
   11197   ac_check_lib_save_LIBS=$LIBS
   11198 LIBS="-ldl  $LIBS"
   11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11200 /* end confdefs.h.  */
   11201 
   11202 /* Override any GCC internal prototype to avoid an error.
   11203    Use char because int might match the return type of a GCC
   11204    builtin and then its argument prototype would still apply.  */
   11205 #ifdef __cplusplus
   11206 extern "C"
   11207 #endif
   11208 char dlopen ();
   11209 int
   11210 main ()
   11211 {
   11212 return dlopen ();
   11213   ;
   11214   return 0;
   11215 }
   11216 _ACEOF
   11217 if ac_fn_c_try_link "$LINENO"; then :
   11218   ac_cv_lib_dl_dlopen=yes
   11219 else
   11220   ac_cv_lib_dl_dlopen=no
   11221 fi
   11222 rm -f core conftest.err conftest.$ac_objext \
   11223     conftest$ac_exeext conftest.$ac_ext
   11224 LIBS=$ac_check_lib_save_LIBS
   11225 fi
   11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11227 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11228 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11229   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11230 else
   11231 
   11232     lt_cv_dlopen="dyld"
   11233     lt_cv_dlopen_libs=
   11234     lt_cv_dlopen_self=yes
   11235 
   11236 fi
   11237 
   11238     ;;
   11239 
   11240   *)
   11241     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11242 if test "x$ac_cv_func_shl_load" = xyes; then :
   11243   lt_cv_dlopen="shl_load"
   11244 else
   11245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11246 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11247 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11248   $as_echo_n "(cached) " >&6
   11249 else
   11250   ac_check_lib_save_LIBS=$LIBS
   11251 LIBS="-ldld  $LIBS"
   11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11253 /* end confdefs.h.  */
   11254 
   11255 /* Override any GCC internal prototype to avoid an error.
   11256    Use char because int might match the return type of a GCC
   11257    builtin and then its argument prototype would still apply.  */
   11258 #ifdef __cplusplus
   11259 extern "C"
   11260 #endif
   11261 char shl_load ();
   11262 int
   11263 main ()
   11264 {
   11265 return shl_load ();
   11266   ;
   11267   return 0;
   11268 }
   11269 _ACEOF
   11270 if ac_fn_c_try_link "$LINENO"; then :
   11271   ac_cv_lib_dld_shl_load=yes
   11272 else
   11273   ac_cv_lib_dld_shl_load=no
   11274 fi
   11275 rm -f core conftest.err conftest.$ac_objext \
   11276     conftest$ac_exeext conftest.$ac_ext
   11277 LIBS=$ac_check_lib_save_LIBS
   11278 fi
   11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11280 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11281 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11282   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11283 else
   11284   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11285 if test "x$ac_cv_func_dlopen" = xyes; then :
   11286   lt_cv_dlopen="dlopen"
   11287 else
   11288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11289 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11290 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11291   $as_echo_n "(cached) " >&6
   11292 else
   11293   ac_check_lib_save_LIBS=$LIBS
   11294 LIBS="-ldl  $LIBS"
   11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11296 /* end confdefs.h.  */
   11297 
   11298 /* Override any GCC internal prototype to avoid an error.
   11299    Use char because int might match the return type of a GCC
   11300    builtin and then its argument prototype would still apply.  */
   11301 #ifdef __cplusplus
   11302 extern "C"
   11303 #endif
   11304 char dlopen ();
   11305 int
   11306 main ()
   11307 {
   11308 return dlopen ();
   11309   ;
   11310   return 0;
   11311 }
   11312 _ACEOF
   11313 if ac_fn_c_try_link "$LINENO"; then :
   11314   ac_cv_lib_dl_dlopen=yes
   11315 else
   11316   ac_cv_lib_dl_dlopen=no
   11317 fi
   11318 rm -f core conftest.err conftest.$ac_objext \
   11319     conftest$ac_exeext conftest.$ac_ext
   11320 LIBS=$ac_check_lib_save_LIBS
   11321 fi
   11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11323 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11324 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11325   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11326 else
   11327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11328 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11329 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11330   $as_echo_n "(cached) " >&6
   11331 else
   11332   ac_check_lib_save_LIBS=$LIBS
   11333 LIBS="-lsvld  $LIBS"
   11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11335 /* end confdefs.h.  */
   11336 
   11337 /* Override any GCC internal prototype to avoid an error.
   11338    Use char because int might match the return type of a GCC
   11339    builtin and then its argument prototype would still apply.  */
   11340 #ifdef __cplusplus
   11341 extern "C"
   11342 #endif
   11343 char dlopen ();
   11344 int
   11345 main ()
   11346 {
   11347 return dlopen ();
   11348   ;
   11349   return 0;
   11350 }
   11351 _ACEOF
   11352 if ac_fn_c_try_link "$LINENO"; then :
   11353   ac_cv_lib_svld_dlopen=yes
   11354 else
   11355   ac_cv_lib_svld_dlopen=no
   11356 fi
   11357 rm -f core conftest.err conftest.$ac_objext \
   11358     conftest$ac_exeext conftest.$ac_ext
   11359 LIBS=$ac_check_lib_save_LIBS
   11360 fi
   11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11362 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11363 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11364   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11365 else
   11366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11367 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11368 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11369   $as_echo_n "(cached) " >&6
   11370 else
   11371   ac_check_lib_save_LIBS=$LIBS
   11372 LIBS="-ldld  $LIBS"
   11373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11374 /* end confdefs.h.  */
   11375 
   11376 /* Override any GCC internal prototype to avoid an error.
   11377    Use char because int might match the return type of a GCC
   11378    builtin and then its argument prototype would still apply.  */
   11379 #ifdef __cplusplus
   11380 extern "C"
   11381 #endif
   11382 char dld_link ();
   11383 int
   11384 main ()
   11385 {
   11386 return dld_link ();
   11387   ;
   11388   return 0;
   11389 }
   11390 _ACEOF
   11391 if ac_fn_c_try_link "$LINENO"; then :
   11392   ac_cv_lib_dld_dld_link=yes
   11393 else
   11394   ac_cv_lib_dld_dld_link=no
   11395 fi
   11396 rm -f core conftest.err conftest.$ac_objext \
   11397     conftest$ac_exeext conftest.$ac_ext
   11398 LIBS=$ac_check_lib_save_LIBS
   11399 fi
   11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11401 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11402 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11403   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11404 fi
   11405 
   11406 
   11407 fi
   11408 
   11409 
   11410 fi
   11411 
   11412 
   11413 fi
   11414 
   11415 
   11416 fi
   11417 
   11418 
   11419 fi
   11420 
   11421     ;;
   11422   esac
   11423 
   11424   if test "x$lt_cv_dlopen" != xno; then
   11425     enable_dlopen=yes
   11426   else
   11427     enable_dlopen=no
   11428   fi
   11429 
   11430   case $lt_cv_dlopen in
   11431   dlopen)
   11432     save_CPPFLAGS="$CPPFLAGS"
   11433     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11434 
   11435     save_LDFLAGS="$LDFLAGS"
   11436     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11437 
   11438     save_LIBS="$LIBS"
   11439     LIBS="$lt_cv_dlopen_libs $LIBS"
   11440 
   11441     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11442 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11443 if ${lt_cv_dlopen_self+:} false; then :
   11444   $as_echo_n "(cached) " >&6
   11445 else
   11446   	  if test "$cross_compiling" = yes; then :
   11447   lt_cv_dlopen_self=cross
   11448 else
   11449   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11450   lt_status=$lt_dlunknown
   11451   cat > conftest.$ac_ext <<_LT_EOF
   11452 #line $LINENO "configure"
   11453 #include "confdefs.h"
   11454 
   11455 #if HAVE_DLFCN_H
   11456 #include <dlfcn.h>
   11457 #endif
   11458 
   11459 #include <stdio.h>
   11460 
   11461 #ifdef RTLD_GLOBAL
   11462 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11463 #else
   11464 #  ifdef DL_GLOBAL
   11465 #    define LT_DLGLOBAL		DL_GLOBAL
   11466 #  else
   11467 #    define LT_DLGLOBAL		0
   11468 #  endif
   11469 #endif
   11470 
   11471 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11472    find out it does not work in some platform. */
   11473 #ifndef LT_DLLAZY_OR_NOW
   11474 #  ifdef RTLD_LAZY
   11475 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11476 #  else
   11477 #    ifdef DL_LAZY
   11478 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11479 #    else
   11480 #      ifdef RTLD_NOW
   11481 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11482 #      else
   11483 #        ifdef DL_NOW
   11484 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11485 #        else
   11486 #          define LT_DLLAZY_OR_NOW	0
   11487 #        endif
   11488 #      endif
   11489 #    endif
   11490 #  endif
   11491 #endif
   11492 
   11493 /* When -fvisbility=hidden is used, assume the code has been annotated
   11494    correspondingly for the symbols needed.  */
   11495 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11496 int fnord () __attribute__((visibility("default")));
   11497 #endif
   11498 
   11499 int fnord () { return 42; }
   11500 int main ()
   11501 {
   11502   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11503   int status = $lt_dlunknown;
   11504 
   11505   if (self)
   11506     {
   11507       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11508       else
   11509         {
   11510 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11511           else puts (dlerror ());
   11512 	}
   11513       /* dlclose (self); */
   11514     }
   11515   else
   11516     puts (dlerror ());
   11517 
   11518   return status;
   11519 }
   11520 _LT_EOF
   11521   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11522   (eval $ac_link) 2>&5
   11523   ac_status=$?
   11524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11525   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11526     (./conftest; exit; ) >&5 2>/dev/null
   11527     lt_status=$?
   11528     case x$lt_status in
   11529       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11530       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11531       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11532     esac
   11533   else :
   11534     # compilation failed
   11535     lt_cv_dlopen_self=no
   11536   fi
   11537 fi
   11538 rm -fr conftest*
   11539 
   11540 
   11541 fi
   11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11543 $as_echo "$lt_cv_dlopen_self" >&6; }
   11544 
   11545     if test "x$lt_cv_dlopen_self" = xyes; then
   11546       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11547       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11548 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11549 if ${lt_cv_dlopen_self_static+:} false; then :
   11550   $as_echo_n "(cached) " >&6
   11551 else
   11552   	  if test "$cross_compiling" = yes; then :
   11553   lt_cv_dlopen_self_static=cross
   11554 else
   11555   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11556   lt_status=$lt_dlunknown
   11557   cat > conftest.$ac_ext <<_LT_EOF
   11558 #line $LINENO "configure"
   11559 #include "confdefs.h"
   11560 
   11561 #if HAVE_DLFCN_H
   11562 #include <dlfcn.h>
   11563 #endif
   11564 
   11565 #include <stdio.h>
   11566 
   11567 #ifdef RTLD_GLOBAL
   11568 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11569 #else
   11570 #  ifdef DL_GLOBAL
   11571 #    define LT_DLGLOBAL		DL_GLOBAL
   11572 #  else
   11573 #    define LT_DLGLOBAL		0
   11574 #  endif
   11575 #endif
   11576 
   11577 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11578    find out it does not work in some platform. */
   11579 #ifndef LT_DLLAZY_OR_NOW
   11580 #  ifdef RTLD_LAZY
   11581 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11582 #  else
   11583 #    ifdef DL_LAZY
   11584 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11585 #    else
   11586 #      ifdef RTLD_NOW
   11587 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11588 #      else
   11589 #        ifdef DL_NOW
   11590 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11591 #        else
   11592 #          define LT_DLLAZY_OR_NOW	0
   11593 #        endif
   11594 #      endif
   11595 #    endif
   11596 #  endif
   11597 #endif
   11598 
   11599 /* When -fvisbility=hidden is used, assume the code has been annotated
   11600    correspondingly for the symbols needed.  */
   11601 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11602 int fnord () __attribute__((visibility("default")));
   11603 #endif
   11604 
   11605 int fnord () { return 42; }
   11606 int main ()
   11607 {
   11608   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11609   int status = $lt_dlunknown;
   11610 
   11611   if (self)
   11612     {
   11613       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11614       else
   11615         {
   11616 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11617           else puts (dlerror ());
   11618 	}
   11619       /* dlclose (self); */
   11620     }
   11621   else
   11622     puts (dlerror ());
   11623 
   11624   return status;
   11625 }
   11626 _LT_EOF
   11627   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11628   (eval $ac_link) 2>&5
   11629   ac_status=$?
   11630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11631   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11632     (./conftest; exit; ) >&5 2>/dev/null
   11633     lt_status=$?
   11634     case x$lt_status in
   11635       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11636       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11637       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11638     esac
   11639   else :
   11640     # compilation failed
   11641     lt_cv_dlopen_self_static=no
   11642   fi
   11643 fi
   11644 rm -fr conftest*
   11645 
   11646 
   11647 fi
   11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11649 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11650     fi
   11651 
   11652     CPPFLAGS="$save_CPPFLAGS"
   11653     LDFLAGS="$save_LDFLAGS"
   11654     LIBS="$save_LIBS"
   11655     ;;
   11656   esac
   11657 
   11658   case $lt_cv_dlopen_self in
   11659   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11660   *) enable_dlopen_self=unknown ;;
   11661   esac
   11662 
   11663   case $lt_cv_dlopen_self_static in
   11664   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11665   *) enable_dlopen_self_static=unknown ;;
   11666   esac
   11667 fi
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 striplib=
   11686 old_striplib=
   11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11688 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11689 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11690   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11691   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11693 $as_echo "yes" >&6; }
   11694 else
   11695 # FIXME - insert some real tests, host_os isn't really good enough
   11696   case $host_os in
   11697   darwin*)
   11698     if test -n "$STRIP" ; then
   11699       striplib="$STRIP -x"
   11700       old_striplib="$STRIP -S"
   11701       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11702 $as_echo "yes" >&6; }
   11703     else
   11704       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11705 $as_echo "no" >&6; }
   11706     fi
   11707     ;;
   11708   *)
   11709     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11710 $as_echo "no" >&6; }
   11711     ;;
   11712   esac
   11713 fi
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726   # Report which library types will actually be built
   11727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11728 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11730 $as_echo "$can_build_shared" >&6; }
   11731 
   11732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11733 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11734   test "$can_build_shared" = "no" && enable_shared=no
   11735 
   11736   # On AIX, shared libraries and static libraries use the same namespace, and
   11737   # are all built from PIC.
   11738   case $host_os in
   11739   aix3*)
   11740     test "$enable_shared" = yes && enable_static=no
   11741     if test -n "$RANLIB"; then
   11742       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11743       postinstall_cmds='$RANLIB $lib'
   11744     fi
   11745     ;;
   11746 
   11747   aix[4-9]*)
   11748     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11749       test "$enable_shared" = yes && enable_static=no
   11750     fi
   11751     ;;
   11752   esac
   11753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11754 $as_echo "$enable_shared" >&6; }
   11755 
   11756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11757 $as_echo_n "checking whether to build static libraries... " >&6; }
   11758   # Make sure either enable_shared or enable_static is yes.
   11759   test "$enable_shared" = yes || enable_static=yes
   11760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11761 $as_echo "$enable_static" >&6; }
   11762 
   11763 
   11764 
   11765 
   11766 fi
   11767 ac_ext=c
   11768 ac_cpp='$CPP $CPPFLAGS'
   11769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11772 
   11773 CC="$lt_save_CC"
   11774 
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789         ac_config_commands="$ac_config_commands libtool"
   11790 
   11791 
   11792 
   11793 
   11794 # Only expand once:
   11795 
   11796 
   11797 
   11798 # Require xorg-macros minimum of 1.15 for fop minimum version
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11811 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11812 if ${ac_cv_prog_cc_c99+:} false; then :
   11813   $as_echo_n "(cached) " >&6
   11814 else
   11815   ac_cv_prog_cc_c99=no
   11816 ac_save_CC=$CC
   11817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11818 /* end confdefs.h.  */
   11819 #include <stdarg.h>
   11820 #include <stdbool.h>
   11821 #include <stdlib.h>
   11822 #include <wchar.h>
   11823 #include <stdio.h>
   11824 
   11825 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11826 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11827 #define showlist(...) puts (#__VA_ARGS__)
   11828 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11829 static void
   11830 test_varargs_macros (void)
   11831 {
   11832   int x = 1234;
   11833   int y = 5678;
   11834   debug ("Flag");
   11835   debug ("X = %d\n", x);
   11836   showlist (The first, second, and third items.);
   11837   report (x>y, "x is %d but y is %d", x, y);
   11838 }
   11839 
   11840 // Check long long types.
   11841 #define BIG64 18446744073709551615ull
   11842 #define BIG32 4294967295ul
   11843 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11844 #if !BIG_OK
   11845   your preprocessor is broken;
   11846 #endif
   11847 #if BIG_OK
   11848 #else
   11849   your preprocessor is broken;
   11850 #endif
   11851 static long long int bignum = -9223372036854775807LL;
   11852 static unsigned long long int ubignum = BIG64;
   11853 
   11854 struct incomplete_array
   11855 {
   11856   int datasize;
   11857   double data[];
   11858 };
   11859 
   11860 struct named_init {
   11861   int number;
   11862   const wchar_t *name;
   11863   double average;
   11864 };
   11865 
   11866 typedef const char *ccp;
   11867 
   11868 static inline int
   11869 test_restrict (ccp restrict text)
   11870 {
   11871   // See if C++-style comments work.
   11872   // Iterate through items via the restricted pointer.
   11873   // Also check for declarations in for loops.
   11874   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11875     continue;
   11876   return 0;
   11877 }
   11878 
   11879 // Check varargs and va_copy.
   11880 static void
   11881 test_varargs (const char *format, ...)
   11882 {
   11883   va_list args;
   11884   va_start (args, format);
   11885   va_list args_copy;
   11886   va_copy (args_copy, args);
   11887 
   11888   const char *str;
   11889   int number;
   11890   float fnumber;
   11891 
   11892   while (*format)
   11893     {
   11894       switch (*format++)
   11895 	{
   11896 	case 's': // string
   11897 	  str = va_arg (args_copy, const char *);
   11898 	  break;
   11899 	case 'd': // int
   11900 	  number = va_arg (args_copy, int);
   11901 	  break;
   11902 	case 'f': // float
   11903 	  fnumber = va_arg (args_copy, double);
   11904 	  break;
   11905 	default:
   11906 	  break;
   11907 	}
   11908     }
   11909   va_end (args_copy);
   11910   va_end (args);
   11911 }
   11912 
   11913 int
   11914 main ()
   11915 {
   11916 
   11917   // Check bool.
   11918   _Bool success = false;
   11919 
   11920   // Check restrict.
   11921   if (test_restrict ("String literal") == 0)
   11922     success = true;
   11923   char *restrict newvar = "Another string";
   11924 
   11925   // Check varargs.
   11926   test_varargs ("s, d' f .", "string", 65, 34.234);
   11927   test_varargs_macros ();
   11928 
   11929   // Check flexible array members.
   11930   struct incomplete_array *ia =
   11931     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11932   ia->datasize = 10;
   11933   for (int i = 0; i < ia->datasize; ++i)
   11934     ia->data[i] = i * 1.234;
   11935 
   11936   // Check named initializers.
   11937   struct named_init ni = {
   11938     .number = 34,
   11939     .name = L"Test wide string",
   11940     .average = 543.34343,
   11941   };
   11942 
   11943   ni.number = 58;
   11944 
   11945   int dynamic_array[ni.number];
   11946   dynamic_array[ni.number - 1] = 543;
   11947 
   11948   // work around unused variable warnings
   11949   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11950 	  || dynamic_array[ni.number - 1] != 543);
   11951 
   11952   ;
   11953   return 0;
   11954 }
   11955 _ACEOF
   11956 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11957 do
   11958   CC="$ac_save_CC $ac_arg"
   11959   if ac_fn_c_try_compile "$LINENO"; then :
   11960   ac_cv_prog_cc_c99=$ac_arg
   11961 fi
   11962 rm -f core conftest.err conftest.$ac_objext
   11963   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11964 done
   11965 rm -f conftest.$ac_ext
   11966 CC=$ac_save_CC
   11967 
   11968 fi
   11969 # AC_CACHE_VAL
   11970 case "x$ac_cv_prog_cc_c99" in
   11971   x)
   11972     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11973 $as_echo "none needed" >&6; } ;;
   11974   xno)
   11975     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11976 $as_echo "unsupported" >&6; } ;;
   11977   *)
   11978     CC="$CC $ac_cv_prog_cc_c99"
   11979     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11980 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11981 esac
   11982 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11983 
   11984 fi
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11992 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11993   CLANGCC="yes"
   11994 else
   11995   CLANGCC="no"
   11996 fi
   11997 
   11998 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11999 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12000   INTELCC="yes"
   12001 else
   12002   INTELCC="no"
   12003 fi
   12004 
   12005 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12006 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12007   SUNCC="yes"
   12008 else
   12009   SUNCC="no"
   12010 fi
   12011 
   12012 
   12013 
   12014 
   12015 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12016 	if test -n "$ac_tool_prefix"; then
   12017   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12018 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12020 $as_echo_n "checking for $ac_word... " >&6; }
   12021 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12022   $as_echo_n "(cached) " >&6
   12023 else
   12024   case $PKG_CONFIG in
   12025   [\\/]* | ?:[\\/]*)
   12026   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12027   ;;
   12028   *)
   12029   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12030 for as_dir in $PATH
   12031 do
   12032   IFS=$as_save_IFS
   12033   test -z "$as_dir" && as_dir=.
   12034     for ac_exec_ext in '' $ac_executable_extensions; do
   12035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12036     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12038     break 2
   12039   fi
   12040 done
   12041   done
   12042 IFS=$as_save_IFS
   12043 
   12044   ;;
   12045 esac
   12046 fi
   12047 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12048 if test -n "$PKG_CONFIG"; then
   12049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12050 $as_echo "$PKG_CONFIG" >&6; }
   12051 else
   12052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12053 $as_echo "no" >&6; }
   12054 fi
   12055 
   12056 
   12057 fi
   12058 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12059   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12060   # Extract the first word of "pkg-config", so it can be a program name with args.
   12061 set dummy pkg-config; ac_word=$2
   12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12063 $as_echo_n "checking for $ac_word... " >&6; }
   12064 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12065   $as_echo_n "(cached) " >&6
   12066 else
   12067   case $ac_pt_PKG_CONFIG in
   12068   [\\/]* | ?:[\\/]*)
   12069   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12070   ;;
   12071   *)
   12072   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12073 for as_dir in $PATH
   12074 do
   12075   IFS=$as_save_IFS
   12076   test -z "$as_dir" && as_dir=.
   12077     for ac_exec_ext in '' $ac_executable_extensions; do
   12078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12079     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12081     break 2
   12082   fi
   12083 done
   12084   done
   12085 IFS=$as_save_IFS
   12086 
   12087   ;;
   12088 esac
   12089 fi
   12090 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12091 if test -n "$ac_pt_PKG_CONFIG"; then
   12092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12093 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12094 else
   12095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12096 $as_echo "no" >&6; }
   12097 fi
   12098 
   12099   if test "x$ac_pt_PKG_CONFIG" = x; then
   12100     PKG_CONFIG=""
   12101   else
   12102     case $cross_compiling:$ac_tool_warned in
   12103 yes:)
   12104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12106 ac_tool_warned=yes ;;
   12107 esac
   12108     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12109   fi
   12110 else
   12111   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12112 fi
   12113 
   12114 fi
   12115 if test -n "$PKG_CONFIG"; then
   12116 	_pkg_min_version=0.9.0
   12117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12118 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12119 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12121 $as_echo "yes" >&6; }
   12122 	else
   12123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12124 $as_echo "no" >&6; }
   12125 		PKG_CONFIG=""
   12126 	fi
   12127 
   12128 fi
   12129 
   12130 
   12131 
   12132 
   12133 
   12134 # Check whether --enable-selective-werror was given.
   12135 if test "${enable_selective_werror+set}" = set; then :
   12136   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12137 else
   12138   SELECTIVE_WERROR=yes
   12139 fi
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12146 if test "x$SUNCC" = "xyes"; then
   12147     BASE_CFLAGS="-v"
   12148 else
   12149     BASE_CFLAGS=""
   12150 fi
   12151 
   12152 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 
   12162 
   12163 
   12164 
   12165 
   12166 xorg_testset_save_CFLAGS="$CFLAGS"
   12167 
   12168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12171 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12172 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12173   $as_echo_n "(cached) " >&6
   12174 else
   12175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12176 /* end confdefs.h.  */
   12177 int i;
   12178 _ACEOF
   12179 if ac_fn_c_try_compile "$LINENO"; then :
   12180   xorg_cv_cc_flag_unknown_warning_option=yes
   12181 else
   12182   xorg_cv_cc_flag_unknown_warning_option=no
   12183 fi
   12184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12185 fi
   12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12187 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12189 	CFLAGS="$xorg_testset_save_CFLAGS"
   12190 fi
   12191 
   12192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12195 	fi
   12196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12198 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12199 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12200   $as_echo_n "(cached) " >&6
   12201 else
   12202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12203 /* end confdefs.h.  */
   12204 int i;
   12205 _ACEOF
   12206 if ac_fn_c_try_compile "$LINENO"; then :
   12207   xorg_cv_cc_flag_unused_command_line_argument=yes
   12208 else
   12209   xorg_cv_cc_flag_unused_command_line_argument=no
   12210 fi
   12211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12212 fi
   12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12214 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12215 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12216 	CFLAGS="$xorg_testset_save_CFLAGS"
   12217 fi
   12218 
   12219 found="no"
   12220 
   12221 	if test $found = "no" ; then
   12222 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12223 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12224 		fi
   12225 
   12226 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12227 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12228 		fi
   12229 
   12230 		CFLAGS="$CFLAGS -Wall"
   12231 
   12232 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12233 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12234 		cacheid=xorg_cv_cc_flag__Wall
   12235 		if eval \${$cacheid+:} false; then :
   12236   $as_echo_n "(cached) " >&6
   12237 else
   12238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12239 /* end confdefs.h.  */
   12240 int i;
   12241 int
   12242 main ()
   12243 {
   12244 
   12245   ;
   12246   return 0;
   12247 }
   12248 _ACEOF
   12249 if ac_fn_c_try_link "$LINENO"; then :
   12250   eval $cacheid=yes
   12251 else
   12252   eval $cacheid=no
   12253 fi
   12254 rm -f core conftest.err conftest.$ac_objext \
   12255     conftest$ac_exeext conftest.$ac_ext
   12256 fi
   12257 
   12258 
   12259 		CFLAGS="$xorg_testset_save_CFLAGS"
   12260 
   12261 		eval supported=\$$cacheid
   12262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12263 $as_echo "$supported" >&6; }
   12264 		if test "$supported" = "yes" ; then
   12265 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12266 			found="yes"
   12267 		fi
   12268 	fi
   12269 
   12270 
   12271 
   12272 
   12273 
   12274 
   12275 
   12276 
   12277 
   12278 
   12279 
   12280 
   12281 
   12282 
   12283 
   12284 xorg_testset_save_CFLAGS="$CFLAGS"
   12285 
   12286 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12287 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12289 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12290 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12291   $as_echo_n "(cached) " >&6
   12292 else
   12293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12294 /* end confdefs.h.  */
   12295 int i;
   12296 _ACEOF
   12297 if ac_fn_c_try_compile "$LINENO"; then :
   12298   xorg_cv_cc_flag_unknown_warning_option=yes
   12299 else
   12300   xorg_cv_cc_flag_unknown_warning_option=no
   12301 fi
   12302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12303 fi
   12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12305 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12307 	CFLAGS="$xorg_testset_save_CFLAGS"
   12308 fi
   12309 
   12310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12313 	fi
   12314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12316 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12317 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12318   $as_echo_n "(cached) " >&6
   12319 else
   12320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12321 /* end confdefs.h.  */
   12322 int i;
   12323 _ACEOF
   12324 if ac_fn_c_try_compile "$LINENO"; then :
   12325   xorg_cv_cc_flag_unused_command_line_argument=yes
   12326 else
   12327   xorg_cv_cc_flag_unused_command_line_argument=no
   12328 fi
   12329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12330 fi
   12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12332 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12333 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12334 	CFLAGS="$xorg_testset_save_CFLAGS"
   12335 fi
   12336 
   12337 found="no"
   12338 
   12339 	if test $found = "no" ; then
   12340 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12342 		fi
   12343 
   12344 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12346 		fi
   12347 
   12348 		CFLAGS="$CFLAGS -Wpointer-arith"
   12349 
   12350 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12351 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12352 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12353 		if eval \${$cacheid+:} false; then :
   12354   $as_echo_n "(cached) " >&6
   12355 else
   12356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12357 /* end confdefs.h.  */
   12358 int i;
   12359 int
   12360 main ()
   12361 {
   12362 
   12363   ;
   12364   return 0;
   12365 }
   12366 _ACEOF
   12367 if ac_fn_c_try_link "$LINENO"; then :
   12368   eval $cacheid=yes
   12369 else
   12370   eval $cacheid=no
   12371 fi
   12372 rm -f core conftest.err conftest.$ac_objext \
   12373     conftest$ac_exeext conftest.$ac_ext
   12374 fi
   12375 
   12376 
   12377 		CFLAGS="$xorg_testset_save_CFLAGS"
   12378 
   12379 		eval supported=\$$cacheid
   12380 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12381 $as_echo "$supported" >&6; }
   12382 		if test "$supported" = "yes" ; then
   12383 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12384 			found="yes"
   12385 		fi
   12386 	fi
   12387 
   12388 
   12389 
   12390 
   12391 
   12392 
   12393 
   12394 
   12395 
   12396 
   12397 
   12398 
   12399 
   12400 
   12401 
   12402 xorg_testset_save_CFLAGS="$CFLAGS"
   12403 
   12404 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12407 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12408 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12409   $as_echo_n "(cached) " >&6
   12410 else
   12411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12412 /* end confdefs.h.  */
   12413 int i;
   12414 _ACEOF
   12415 if ac_fn_c_try_compile "$LINENO"; then :
   12416   xorg_cv_cc_flag_unknown_warning_option=yes
   12417 else
   12418   xorg_cv_cc_flag_unknown_warning_option=no
   12419 fi
   12420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12421 fi
   12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12423 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12424 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12425 	CFLAGS="$xorg_testset_save_CFLAGS"
   12426 fi
   12427 
   12428 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12429 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12431 	fi
   12432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12434 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12435 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12436   $as_echo_n "(cached) " >&6
   12437 else
   12438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12439 /* end confdefs.h.  */
   12440 int i;
   12441 _ACEOF
   12442 if ac_fn_c_try_compile "$LINENO"; then :
   12443   xorg_cv_cc_flag_unused_command_line_argument=yes
   12444 else
   12445   xorg_cv_cc_flag_unused_command_line_argument=no
   12446 fi
   12447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12448 fi
   12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12450 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12452 	CFLAGS="$xorg_testset_save_CFLAGS"
   12453 fi
   12454 
   12455 found="no"
   12456 
   12457 	if test $found = "no" ; then
   12458 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12460 		fi
   12461 
   12462 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12464 		fi
   12465 
   12466 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12467 
   12468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12469 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12470 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12471 		if eval \${$cacheid+:} false; then :
   12472   $as_echo_n "(cached) " >&6
   12473 else
   12474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12475 /* end confdefs.h.  */
   12476 int i;
   12477 int
   12478 main ()
   12479 {
   12480 
   12481   ;
   12482   return 0;
   12483 }
   12484 _ACEOF
   12485 if ac_fn_c_try_link "$LINENO"; then :
   12486   eval $cacheid=yes
   12487 else
   12488   eval $cacheid=no
   12489 fi
   12490 rm -f core conftest.err conftest.$ac_objext \
   12491     conftest$ac_exeext conftest.$ac_ext
   12492 fi
   12493 
   12494 
   12495 		CFLAGS="$xorg_testset_save_CFLAGS"
   12496 
   12497 		eval supported=\$$cacheid
   12498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12499 $as_echo "$supported" >&6; }
   12500 		if test "$supported" = "yes" ; then
   12501 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12502 			found="yes"
   12503 		fi
   12504 	fi
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 
   12511 
   12512 
   12513 
   12514 
   12515 
   12516 
   12517 
   12518 
   12519 
   12520 xorg_testset_save_CFLAGS="$CFLAGS"
   12521 
   12522 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12523 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12524 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12525 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12526 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12527   $as_echo_n "(cached) " >&6
   12528 else
   12529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12530 /* end confdefs.h.  */
   12531 int i;
   12532 _ACEOF
   12533 if ac_fn_c_try_compile "$LINENO"; then :
   12534   xorg_cv_cc_flag_unknown_warning_option=yes
   12535 else
   12536   xorg_cv_cc_flag_unknown_warning_option=no
   12537 fi
   12538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12539 fi
   12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12541 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12543 	CFLAGS="$xorg_testset_save_CFLAGS"
   12544 fi
   12545 
   12546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12549 	fi
   12550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12552 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12553 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12554   $as_echo_n "(cached) " >&6
   12555 else
   12556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12557 /* end confdefs.h.  */
   12558 int i;
   12559 _ACEOF
   12560 if ac_fn_c_try_compile "$LINENO"; then :
   12561   xorg_cv_cc_flag_unused_command_line_argument=yes
   12562 else
   12563   xorg_cv_cc_flag_unused_command_line_argument=no
   12564 fi
   12565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12566 fi
   12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12568 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12569 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12570 	CFLAGS="$xorg_testset_save_CFLAGS"
   12571 fi
   12572 
   12573 found="no"
   12574 
   12575 	if test $found = "no" ; then
   12576 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12578 		fi
   12579 
   12580 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12582 		fi
   12583 
   12584 		CFLAGS="$CFLAGS -Wformat=2"
   12585 
   12586 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12587 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12588 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12589 		if eval \${$cacheid+:} false; then :
   12590   $as_echo_n "(cached) " >&6
   12591 else
   12592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12593 /* end confdefs.h.  */
   12594 int i;
   12595 int
   12596 main ()
   12597 {
   12598 
   12599   ;
   12600   return 0;
   12601 }
   12602 _ACEOF
   12603 if ac_fn_c_try_link "$LINENO"; then :
   12604   eval $cacheid=yes
   12605 else
   12606   eval $cacheid=no
   12607 fi
   12608 rm -f core conftest.err conftest.$ac_objext \
   12609     conftest$ac_exeext conftest.$ac_ext
   12610 fi
   12611 
   12612 
   12613 		CFLAGS="$xorg_testset_save_CFLAGS"
   12614 
   12615 		eval supported=\$$cacheid
   12616 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12617 $as_echo "$supported" >&6; }
   12618 		if test "$supported" = "yes" ; then
   12619 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12620 			found="yes"
   12621 		fi
   12622 	fi
   12623 
   12624 	if test $found = "no" ; then
   12625 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12627 		fi
   12628 
   12629 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12631 		fi
   12632 
   12633 		CFLAGS="$CFLAGS -Wformat"
   12634 
   12635 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12636 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12637 		cacheid=xorg_cv_cc_flag__Wformat
   12638 		if eval \${$cacheid+:} false; then :
   12639   $as_echo_n "(cached) " >&6
   12640 else
   12641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12642 /* end confdefs.h.  */
   12643 int i;
   12644 int
   12645 main ()
   12646 {
   12647 
   12648   ;
   12649   return 0;
   12650 }
   12651 _ACEOF
   12652 if ac_fn_c_try_link "$LINENO"; then :
   12653   eval $cacheid=yes
   12654 else
   12655   eval $cacheid=no
   12656 fi
   12657 rm -f core conftest.err conftest.$ac_objext \
   12658     conftest$ac_exeext conftest.$ac_ext
   12659 fi
   12660 
   12661 
   12662 		CFLAGS="$xorg_testset_save_CFLAGS"
   12663 
   12664 		eval supported=\$$cacheid
   12665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12666 $as_echo "$supported" >&6; }
   12667 		if test "$supported" = "yes" ; then
   12668 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12669 			found="yes"
   12670 		fi
   12671 	fi
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 xorg_testset_save_CFLAGS="$CFLAGS"
   12690 
   12691 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12692 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12693 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12694 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12695 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12696   $as_echo_n "(cached) " >&6
   12697 else
   12698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12699 /* end confdefs.h.  */
   12700 int i;
   12701 _ACEOF
   12702 if ac_fn_c_try_compile "$LINENO"; then :
   12703   xorg_cv_cc_flag_unknown_warning_option=yes
   12704 else
   12705   xorg_cv_cc_flag_unknown_warning_option=no
   12706 fi
   12707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12708 fi
   12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12710 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12711 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12712 	CFLAGS="$xorg_testset_save_CFLAGS"
   12713 fi
   12714 
   12715 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12716 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12717 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12718 	fi
   12719 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12721 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12722 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12723   $as_echo_n "(cached) " >&6
   12724 else
   12725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12726 /* end confdefs.h.  */
   12727 int i;
   12728 _ACEOF
   12729 if ac_fn_c_try_compile "$LINENO"; then :
   12730   xorg_cv_cc_flag_unused_command_line_argument=yes
   12731 else
   12732   xorg_cv_cc_flag_unused_command_line_argument=no
   12733 fi
   12734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12735 fi
   12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12737 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12738 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12739 	CFLAGS="$xorg_testset_save_CFLAGS"
   12740 fi
   12741 
   12742 found="no"
   12743 
   12744 	if test $found = "no" ; then
   12745 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12746 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12747 		fi
   12748 
   12749 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12750 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12751 		fi
   12752 
   12753 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12754 
   12755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12756 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12757 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12758 		if eval \${$cacheid+:} false; then :
   12759   $as_echo_n "(cached) " >&6
   12760 else
   12761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12762 /* end confdefs.h.  */
   12763 int i;
   12764 int
   12765 main ()
   12766 {
   12767 
   12768   ;
   12769   return 0;
   12770 }
   12771 _ACEOF
   12772 if ac_fn_c_try_link "$LINENO"; then :
   12773   eval $cacheid=yes
   12774 else
   12775   eval $cacheid=no
   12776 fi
   12777 rm -f core conftest.err conftest.$ac_objext \
   12778     conftest$ac_exeext conftest.$ac_ext
   12779 fi
   12780 
   12781 
   12782 		CFLAGS="$xorg_testset_save_CFLAGS"
   12783 
   12784 		eval supported=\$$cacheid
   12785 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12786 $as_echo "$supported" >&6; }
   12787 		if test "$supported" = "yes" ; then
   12788 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12789 			found="yes"
   12790 		fi
   12791 	fi
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 xorg_testset_save_CFLAGS="$CFLAGS"
   12808 
   12809 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12810 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12812 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12813 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12814   $as_echo_n "(cached) " >&6
   12815 else
   12816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12817 /* end confdefs.h.  */
   12818 int i;
   12819 _ACEOF
   12820 if ac_fn_c_try_compile "$LINENO"; then :
   12821   xorg_cv_cc_flag_unknown_warning_option=yes
   12822 else
   12823   xorg_cv_cc_flag_unknown_warning_option=no
   12824 fi
   12825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12826 fi
   12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12828 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12829 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12830 	CFLAGS="$xorg_testset_save_CFLAGS"
   12831 fi
   12832 
   12833 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12834 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12835 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12836 	fi
   12837 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12839 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12840 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12841   $as_echo_n "(cached) " >&6
   12842 else
   12843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12844 /* end confdefs.h.  */
   12845 int i;
   12846 _ACEOF
   12847 if ac_fn_c_try_compile "$LINENO"; then :
   12848   xorg_cv_cc_flag_unused_command_line_argument=yes
   12849 else
   12850   xorg_cv_cc_flag_unused_command_line_argument=no
   12851 fi
   12852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12853 fi
   12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12855 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12856 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12857 	CFLAGS="$xorg_testset_save_CFLAGS"
   12858 fi
   12859 
   12860 found="no"
   12861 
   12862 	if test $found = "no" ; then
   12863 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12865 		fi
   12866 
   12867 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12869 		fi
   12870 
   12871 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12872 
   12873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12874 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12875 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12876 		if eval \${$cacheid+:} false; then :
   12877   $as_echo_n "(cached) " >&6
   12878 else
   12879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12880 /* end confdefs.h.  */
   12881 int i;
   12882 int
   12883 main ()
   12884 {
   12885 
   12886   ;
   12887   return 0;
   12888 }
   12889 _ACEOF
   12890 if ac_fn_c_try_link "$LINENO"; then :
   12891   eval $cacheid=yes
   12892 else
   12893   eval $cacheid=no
   12894 fi
   12895 rm -f core conftest.err conftest.$ac_objext \
   12896     conftest$ac_exeext conftest.$ac_ext
   12897 fi
   12898 
   12899 
   12900 		CFLAGS="$xorg_testset_save_CFLAGS"
   12901 
   12902 		eval supported=\$$cacheid
   12903 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12904 $as_echo "$supported" >&6; }
   12905 		if test "$supported" = "yes" ; then
   12906 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12907 			found="yes"
   12908 		fi
   12909 	fi
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 
   12919 
   12920 
   12921 
   12922 
   12923 
   12924 
   12925 xorg_testset_save_CFLAGS="$CFLAGS"
   12926 
   12927 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12928 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12929 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12930 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12931 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12932   $as_echo_n "(cached) " >&6
   12933 else
   12934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12935 /* end confdefs.h.  */
   12936 int i;
   12937 _ACEOF
   12938 if ac_fn_c_try_compile "$LINENO"; then :
   12939   xorg_cv_cc_flag_unknown_warning_option=yes
   12940 else
   12941   xorg_cv_cc_flag_unknown_warning_option=no
   12942 fi
   12943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12944 fi
   12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12946 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12947 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12948 	CFLAGS="$xorg_testset_save_CFLAGS"
   12949 fi
   12950 
   12951 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12952 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12953 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12954 	fi
   12955 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12957 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12958 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12959   $as_echo_n "(cached) " >&6
   12960 else
   12961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12962 /* end confdefs.h.  */
   12963 int i;
   12964 _ACEOF
   12965 if ac_fn_c_try_compile "$LINENO"; then :
   12966   xorg_cv_cc_flag_unused_command_line_argument=yes
   12967 else
   12968   xorg_cv_cc_flag_unused_command_line_argument=no
   12969 fi
   12970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12971 fi
   12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12973 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12974 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12975 	CFLAGS="$xorg_testset_save_CFLAGS"
   12976 fi
   12977 
   12978 found="no"
   12979 
   12980 	if test $found = "no" ; then
   12981 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12982 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12983 		fi
   12984 
   12985 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12986 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12987 		fi
   12988 
   12989 		CFLAGS="$CFLAGS -Wnested-externs"
   12990 
   12991 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12992 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12993 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12994 		if eval \${$cacheid+:} false; then :
   12995   $as_echo_n "(cached) " >&6
   12996 else
   12997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12998 /* end confdefs.h.  */
   12999 int i;
   13000 int
   13001 main ()
   13002 {
   13003 
   13004   ;
   13005   return 0;
   13006 }
   13007 _ACEOF
   13008 if ac_fn_c_try_link "$LINENO"; then :
   13009   eval $cacheid=yes
   13010 else
   13011   eval $cacheid=no
   13012 fi
   13013 rm -f core conftest.err conftest.$ac_objext \
   13014     conftest$ac_exeext conftest.$ac_ext
   13015 fi
   13016 
   13017 
   13018 		CFLAGS="$xorg_testset_save_CFLAGS"
   13019 
   13020 		eval supported=\$$cacheid
   13021 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13022 $as_echo "$supported" >&6; }
   13023 		if test "$supported" = "yes" ; then
   13024 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13025 			found="yes"
   13026 		fi
   13027 	fi
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 
   13036 
   13037 
   13038 
   13039 
   13040 
   13041 
   13042 
   13043 xorg_testset_save_CFLAGS="$CFLAGS"
   13044 
   13045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13047 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13048 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13049 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13050   $as_echo_n "(cached) " >&6
   13051 else
   13052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13053 /* end confdefs.h.  */
   13054 int i;
   13055 _ACEOF
   13056 if ac_fn_c_try_compile "$LINENO"; then :
   13057   xorg_cv_cc_flag_unknown_warning_option=yes
   13058 else
   13059   xorg_cv_cc_flag_unknown_warning_option=no
   13060 fi
   13061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13062 fi
   13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13064 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13066 	CFLAGS="$xorg_testset_save_CFLAGS"
   13067 fi
   13068 
   13069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13070 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13072 	fi
   13073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13075 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13076 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13077   $as_echo_n "(cached) " >&6
   13078 else
   13079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13080 /* end confdefs.h.  */
   13081 int i;
   13082 _ACEOF
   13083 if ac_fn_c_try_compile "$LINENO"; then :
   13084   xorg_cv_cc_flag_unused_command_line_argument=yes
   13085 else
   13086   xorg_cv_cc_flag_unused_command_line_argument=no
   13087 fi
   13088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13089 fi
   13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13091 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13092 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13093 	CFLAGS="$xorg_testset_save_CFLAGS"
   13094 fi
   13095 
   13096 found="no"
   13097 
   13098 	if test $found = "no" ; then
   13099 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13100 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13101 		fi
   13102 
   13103 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13104 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13105 		fi
   13106 
   13107 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13108 
   13109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13110 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13111 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13112 		if eval \${$cacheid+:} false; then :
   13113   $as_echo_n "(cached) " >&6
   13114 else
   13115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13116 /* end confdefs.h.  */
   13117 int i;
   13118 int
   13119 main ()
   13120 {
   13121 
   13122   ;
   13123   return 0;
   13124 }
   13125 _ACEOF
   13126 if ac_fn_c_try_link "$LINENO"; then :
   13127   eval $cacheid=yes
   13128 else
   13129   eval $cacheid=no
   13130 fi
   13131 rm -f core conftest.err conftest.$ac_objext \
   13132     conftest$ac_exeext conftest.$ac_ext
   13133 fi
   13134 
   13135 
   13136 		CFLAGS="$xorg_testset_save_CFLAGS"
   13137 
   13138 		eval supported=\$$cacheid
   13139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13140 $as_echo "$supported" >&6; }
   13141 		if test "$supported" = "yes" ; then
   13142 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13143 			found="yes"
   13144 		fi
   13145 	fi
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161 xorg_testset_save_CFLAGS="$CFLAGS"
   13162 
   13163 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13164 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13165 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13166 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13167 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13168   $as_echo_n "(cached) " >&6
   13169 else
   13170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13171 /* end confdefs.h.  */
   13172 int i;
   13173 _ACEOF
   13174 if ac_fn_c_try_compile "$LINENO"; then :
   13175   xorg_cv_cc_flag_unknown_warning_option=yes
   13176 else
   13177   xorg_cv_cc_flag_unknown_warning_option=no
   13178 fi
   13179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13180 fi
   13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13182 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13183 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13184 	CFLAGS="$xorg_testset_save_CFLAGS"
   13185 fi
   13186 
   13187 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13188 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13189 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13190 	fi
   13191 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13192 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13193 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13194 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13195   $as_echo_n "(cached) " >&6
   13196 else
   13197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13198 /* end confdefs.h.  */
   13199 int i;
   13200 _ACEOF
   13201 if ac_fn_c_try_compile "$LINENO"; then :
   13202   xorg_cv_cc_flag_unused_command_line_argument=yes
   13203 else
   13204   xorg_cv_cc_flag_unused_command_line_argument=no
   13205 fi
   13206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13207 fi
   13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13209 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13210 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13211 	CFLAGS="$xorg_testset_save_CFLAGS"
   13212 fi
   13213 
   13214 found="no"
   13215 
   13216 	if test $found = "no" ; then
   13217 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13219 		fi
   13220 
   13221 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13223 		fi
   13224 
   13225 		CFLAGS="$CFLAGS -Wold-style-definition"
   13226 
   13227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13228 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13229 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13230 		if eval \${$cacheid+:} false; then :
   13231   $as_echo_n "(cached) " >&6
   13232 else
   13233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13234 /* end confdefs.h.  */
   13235 int i;
   13236 int
   13237 main ()
   13238 {
   13239 
   13240   ;
   13241   return 0;
   13242 }
   13243 _ACEOF
   13244 if ac_fn_c_try_link "$LINENO"; then :
   13245   eval $cacheid=yes
   13246 else
   13247   eval $cacheid=no
   13248 fi
   13249 rm -f core conftest.err conftest.$ac_objext \
   13250     conftest$ac_exeext conftest.$ac_ext
   13251 fi
   13252 
   13253 
   13254 		CFLAGS="$xorg_testset_save_CFLAGS"
   13255 
   13256 		eval supported=\$$cacheid
   13257 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13258 $as_echo "$supported" >&6; }
   13259 		if test "$supported" = "yes" ; then
   13260 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13261 			found="yes"
   13262 		fi
   13263 	fi
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 xorg_testset_save_CFLAGS="$CFLAGS"
   13280 
   13281 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13282 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13283 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13284 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13285 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13286   $as_echo_n "(cached) " >&6
   13287 else
   13288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13289 /* end confdefs.h.  */
   13290 int i;
   13291 _ACEOF
   13292 if ac_fn_c_try_compile "$LINENO"; then :
   13293   xorg_cv_cc_flag_unknown_warning_option=yes
   13294 else
   13295   xorg_cv_cc_flag_unknown_warning_option=no
   13296 fi
   13297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13298 fi
   13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13300 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13301 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13302 	CFLAGS="$xorg_testset_save_CFLAGS"
   13303 fi
   13304 
   13305 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13306 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13307 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13308 	fi
   13309 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13311 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13312 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13313   $as_echo_n "(cached) " >&6
   13314 else
   13315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13316 /* end confdefs.h.  */
   13317 int i;
   13318 _ACEOF
   13319 if ac_fn_c_try_compile "$LINENO"; then :
   13320   xorg_cv_cc_flag_unused_command_line_argument=yes
   13321 else
   13322   xorg_cv_cc_flag_unused_command_line_argument=no
   13323 fi
   13324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13325 fi
   13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13327 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13328 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13329 	CFLAGS="$xorg_testset_save_CFLAGS"
   13330 fi
   13331 
   13332 found="no"
   13333 
   13334 	if test $found = "no" ; then
   13335 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13336 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13337 		fi
   13338 
   13339 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13340 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13341 		fi
   13342 
   13343 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13344 
   13345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13346 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13347 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13348 		if eval \${$cacheid+:} false; then :
   13349   $as_echo_n "(cached) " >&6
   13350 else
   13351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13352 /* end confdefs.h.  */
   13353 int i;
   13354 int
   13355 main ()
   13356 {
   13357 
   13358   ;
   13359   return 0;
   13360 }
   13361 _ACEOF
   13362 if ac_fn_c_try_link "$LINENO"; then :
   13363   eval $cacheid=yes
   13364 else
   13365   eval $cacheid=no
   13366 fi
   13367 rm -f core conftest.err conftest.$ac_objext \
   13368     conftest$ac_exeext conftest.$ac_ext
   13369 fi
   13370 
   13371 
   13372 		CFLAGS="$xorg_testset_save_CFLAGS"
   13373 
   13374 		eval supported=\$$cacheid
   13375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13376 $as_echo "$supported" >&6; }
   13377 		if test "$supported" = "yes" ; then
   13378 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13379 			found="yes"
   13380 		fi
   13381 	fi
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 # This chunk adds additional warnings that could catch undesired effects.
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 xorg_testset_save_CFLAGS="$CFLAGS"
   13402 
   13403 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13404 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13405 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13406 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13407 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13408   $as_echo_n "(cached) " >&6
   13409 else
   13410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13411 /* end confdefs.h.  */
   13412 int i;
   13413 _ACEOF
   13414 if ac_fn_c_try_compile "$LINENO"; then :
   13415   xorg_cv_cc_flag_unknown_warning_option=yes
   13416 else
   13417   xorg_cv_cc_flag_unknown_warning_option=no
   13418 fi
   13419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13420 fi
   13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13422 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13423 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13424 	CFLAGS="$xorg_testset_save_CFLAGS"
   13425 fi
   13426 
   13427 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13428 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13429 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13430 	fi
   13431 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13433 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13434 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13435   $as_echo_n "(cached) " >&6
   13436 else
   13437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13438 /* end confdefs.h.  */
   13439 int i;
   13440 _ACEOF
   13441 if ac_fn_c_try_compile "$LINENO"; then :
   13442   xorg_cv_cc_flag_unused_command_line_argument=yes
   13443 else
   13444   xorg_cv_cc_flag_unused_command_line_argument=no
   13445 fi
   13446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13447 fi
   13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13449 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13451 	CFLAGS="$xorg_testset_save_CFLAGS"
   13452 fi
   13453 
   13454 found="no"
   13455 
   13456 	if test $found = "no" ; then
   13457 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13459 		fi
   13460 
   13461 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13463 		fi
   13464 
   13465 		CFLAGS="$CFLAGS -Wunused"
   13466 
   13467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13468 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13469 		cacheid=xorg_cv_cc_flag__Wunused
   13470 		if eval \${$cacheid+:} false; then :
   13471   $as_echo_n "(cached) " >&6
   13472 else
   13473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13474 /* end confdefs.h.  */
   13475 int i;
   13476 int
   13477 main ()
   13478 {
   13479 
   13480   ;
   13481   return 0;
   13482 }
   13483 _ACEOF
   13484 if ac_fn_c_try_link "$LINENO"; then :
   13485   eval $cacheid=yes
   13486 else
   13487   eval $cacheid=no
   13488 fi
   13489 rm -f core conftest.err conftest.$ac_objext \
   13490     conftest$ac_exeext conftest.$ac_ext
   13491 fi
   13492 
   13493 
   13494 		CFLAGS="$xorg_testset_save_CFLAGS"
   13495 
   13496 		eval supported=\$$cacheid
   13497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13498 $as_echo "$supported" >&6; }
   13499 		if test "$supported" = "yes" ; then
   13500 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13501 			found="yes"
   13502 		fi
   13503 	fi
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 xorg_testset_save_CFLAGS="$CFLAGS"
   13520 
   13521 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13522 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13523 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13524 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13525 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13526   $as_echo_n "(cached) " >&6
   13527 else
   13528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13529 /* end confdefs.h.  */
   13530 int i;
   13531 _ACEOF
   13532 if ac_fn_c_try_compile "$LINENO"; then :
   13533   xorg_cv_cc_flag_unknown_warning_option=yes
   13534 else
   13535   xorg_cv_cc_flag_unknown_warning_option=no
   13536 fi
   13537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13538 fi
   13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13540 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13541 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13542 	CFLAGS="$xorg_testset_save_CFLAGS"
   13543 fi
   13544 
   13545 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13546 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13547 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13548 	fi
   13549 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13551 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13552 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13553   $as_echo_n "(cached) " >&6
   13554 else
   13555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13556 /* end confdefs.h.  */
   13557 int i;
   13558 _ACEOF
   13559 if ac_fn_c_try_compile "$LINENO"; then :
   13560   xorg_cv_cc_flag_unused_command_line_argument=yes
   13561 else
   13562   xorg_cv_cc_flag_unused_command_line_argument=no
   13563 fi
   13564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13565 fi
   13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13567 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13568 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13569 	CFLAGS="$xorg_testset_save_CFLAGS"
   13570 fi
   13571 
   13572 found="no"
   13573 
   13574 	if test $found = "no" ; then
   13575 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13576 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13577 		fi
   13578 
   13579 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13580 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13581 		fi
   13582 
   13583 		CFLAGS="$CFLAGS -Wuninitialized"
   13584 
   13585 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13586 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13587 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13588 		if eval \${$cacheid+:} false; then :
   13589   $as_echo_n "(cached) " >&6
   13590 else
   13591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13592 /* end confdefs.h.  */
   13593 int i;
   13594 int
   13595 main ()
   13596 {
   13597 
   13598   ;
   13599   return 0;
   13600 }
   13601 _ACEOF
   13602 if ac_fn_c_try_link "$LINENO"; then :
   13603   eval $cacheid=yes
   13604 else
   13605   eval $cacheid=no
   13606 fi
   13607 rm -f core conftest.err conftest.$ac_objext \
   13608     conftest$ac_exeext conftest.$ac_ext
   13609 fi
   13610 
   13611 
   13612 		CFLAGS="$xorg_testset_save_CFLAGS"
   13613 
   13614 		eval supported=\$$cacheid
   13615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13616 $as_echo "$supported" >&6; }
   13617 		if test "$supported" = "yes" ; then
   13618 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13619 			found="yes"
   13620 		fi
   13621 	fi
   13622 
   13623 
   13624 
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 xorg_testset_save_CFLAGS="$CFLAGS"
   13638 
   13639 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13640 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13641 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13642 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13643 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13644   $as_echo_n "(cached) " >&6
   13645 else
   13646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13647 /* end confdefs.h.  */
   13648 int i;
   13649 _ACEOF
   13650 if ac_fn_c_try_compile "$LINENO"; then :
   13651   xorg_cv_cc_flag_unknown_warning_option=yes
   13652 else
   13653   xorg_cv_cc_flag_unknown_warning_option=no
   13654 fi
   13655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13656 fi
   13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13658 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13659 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13660 	CFLAGS="$xorg_testset_save_CFLAGS"
   13661 fi
   13662 
   13663 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13664 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13665 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13666 	fi
   13667 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13669 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13670 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13671   $as_echo_n "(cached) " >&6
   13672 else
   13673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13674 /* end confdefs.h.  */
   13675 int i;
   13676 _ACEOF
   13677 if ac_fn_c_try_compile "$LINENO"; then :
   13678   xorg_cv_cc_flag_unused_command_line_argument=yes
   13679 else
   13680   xorg_cv_cc_flag_unused_command_line_argument=no
   13681 fi
   13682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13683 fi
   13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13685 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13686 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13687 	CFLAGS="$xorg_testset_save_CFLAGS"
   13688 fi
   13689 
   13690 found="no"
   13691 
   13692 	if test $found = "no" ; then
   13693 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13694 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13695 		fi
   13696 
   13697 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13698 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13699 		fi
   13700 
   13701 		CFLAGS="$CFLAGS -Wshadow"
   13702 
   13703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13704 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13705 		cacheid=xorg_cv_cc_flag__Wshadow
   13706 		if eval \${$cacheid+:} false; then :
   13707   $as_echo_n "(cached) " >&6
   13708 else
   13709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13710 /* end confdefs.h.  */
   13711 int i;
   13712 int
   13713 main ()
   13714 {
   13715 
   13716   ;
   13717   return 0;
   13718 }
   13719 _ACEOF
   13720 if ac_fn_c_try_link "$LINENO"; then :
   13721   eval $cacheid=yes
   13722 else
   13723   eval $cacheid=no
   13724 fi
   13725 rm -f core conftest.err conftest.$ac_objext \
   13726     conftest$ac_exeext conftest.$ac_ext
   13727 fi
   13728 
   13729 
   13730 		CFLAGS="$xorg_testset_save_CFLAGS"
   13731 
   13732 		eval supported=\$$cacheid
   13733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13734 $as_echo "$supported" >&6; }
   13735 		if test "$supported" = "yes" ; then
   13736 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13737 			found="yes"
   13738 		fi
   13739 	fi
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 xorg_testset_save_CFLAGS="$CFLAGS"
   13756 
   13757 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13758 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13759 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13760 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13761 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13762   $as_echo_n "(cached) " >&6
   13763 else
   13764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13765 /* end confdefs.h.  */
   13766 int i;
   13767 _ACEOF
   13768 if ac_fn_c_try_compile "$LINENO"; then :
   13769   xorg_cv_cc_flag_unknown_warning_option=yes
   13770 else
   13771   xorg_cv_cc_flag_unknown_warning_option=no
   13772 fi
   13773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13774 fi
   13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13776 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13777 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13778 	CFLAGS="$xorg_testset_save_CFLAGS"
   13779 fi
   13780 
   13781 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13782 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13783 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13784 	fi
   13785 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13786 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13787 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13788 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13789   $as_echo_n "(cached) " >&6
   13790 else
   13791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13792 /* end confdefs.h.  */
   13793 int i;
   13794 _ACEOF
   13795 if ac_fn_c_try_compile "$LINENO"; then :
   13796   xorg_cv_cc_flag_unused_command_line_argument=yes
   13797 else
   13798   xorg_cv_cc_flag_unused_command_line_argument=no
   13799 fi
   13800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13801 fi
   13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13803 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13804 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13805 	CFLAGS="$xorg_testset_save_CFLAGS"
   13806 fi
   13807 
   13808 found="no"
   13809 
   13810 	if test $found = "no" ; then
   13811 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13812 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13813 		fi
   13814 
   13815 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13816 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13817 		fi
   13818 
   13819 		CFLAGS="$CFLAGS -Wcast-qual"
   13820 
   13821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13822 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13823 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13824 		if eval \${$cacheid+:} false; then :
   13825   $as_echo_n "(cached) " >&6
   13826 else
   13827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13828 /* end confdefs.h.  */
   13829 int i;
   13830 int
   13831 main ()
   13832 {
   13833 
   13834   ;
   13835   return 0;
   13836 }
   13837 _ACEOF
   13838 if ac_fn_c_try_link "$LINENO"; then :
   13839   eval $cacheid=yes
   13840 else
   13841   eval $cacheid=no
   13842 fi
   13843 rm -f core conftest.err conftest.$ac_objext \
   13844     conftest$ac_exeext conftest.$ac_ext
   13845 fi
   13846 
   13847 
   13848 		CFLAGS="$xorg_testset_save_CFLAGS"
   13849 
   13850 		eval supported=\$$cacheid
   13851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13852 $as_echo "$supported" >&6; }
   13853 		if test "$supported" = "yes" ; then
   13854 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13855 			found="yes"
   13856 		fi
   13857 	fi
   13858 
   13859 
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 
   13869 
   13870 
   13871 
   13872 
   13873 xorg_testset_save_CFLAGS="$CFLAGS"
   13874 
   13875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13878 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13879 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13880   $as_echo_n "(cached) " >&6
   13881 else
   13882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13883 /* end confdefs.h.  */
   13884 int i;
   13885 _ACEOF
   13886 if ac_fn_c_try_compile "$LINENO"; then :
   13887   xorg_cv_cc_flag_unknown_warning_option=yes
   13888 else
   13889   xorg_cv_cc_flag_unknown_warning_option=no
   13890 fi
   13891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13892 fi
   13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13894 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13896 	CFLAGS="$xorg_testset_save_CFLAGS"
   13897 fi
   13898 
   13899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13902 	fi
   13903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13905 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13906 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13907   $as_echo_n "(cached) " >&6
   13908 else
   13909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13910 /* end confdefs.h.  */
   13911 int i;
   13912 _ACEOF
   13913 if ac_fn_c_try_compile "$LINENO"; then :
   13914   xorg_cv_cc_flag_unused_command_line_argument=yes
   13915 else
   13916   xorg_cv_cc_flag_unused_command_line_argument=no
   13917 fi
   13918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13919 fi
   13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13921 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13923 	CFLAGS="$xorg_testset_save_CFLAGS"
   13924 fi
   13925 
   13926 found="no"
   13927 
   13928 	if test $found = "no" ; then
   13929 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13931 		fi
   13932 
   13933 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13935 		fi
   13936 
   13937 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13938 
   13939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13940 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13941 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13942 		if eval \${$cacheid+:} false; then :
   13943   $as_echo_n "(cached) " >&6
   13944 else
   13945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13946 /* end confdefs.h.  */
   13947 int i;
   13948 int
   13949 main ()
   13950 {
   13951 
   13952   ;
   13953   return 0;
   13954 }
   13955 _ACEOF
   13956 if ac_fn_c_try_link "$LINENO"; then :
   13957   eval $cacheid=yes
   13958 else
   13959   eval $cacheid=no
   13960 fi
   13961 rm -f core conftest.err conftest.$ac_objext \
   13962     conftest$ac_exeext conftest.$ac_ext
   13963 fi
   13964 
   13965 
   13966 		CFLAGS="$xorg_testset_save_CFLAGS"
   13967 
   13968 		eval supported=\$$cacheid
   13969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13970 $as_echo "$supported" >&6; }
   13971 		if test "$supported" = "yes" ; then
   13972 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13973 			found="yes"
   13974 		fi
   13975 	fi
   13976 
   13977 
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 
   13989 
   13990 
   13991 xorg_testset_save_CFLAGS="$CFLAGS"
   13992 
   13993 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13994 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13996 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13997 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13998   $as_echo_n "(cached) " >&6
   13999 else
   14000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14001 /* end confdefs.h.  */
   14002 int i;
   14003 _ACEOF
   14004 if ac_fn_c_try_compile "$LINENO"; then :
   14005   xorg_cv_cc_flag_unknown_warning_option=yes
   14006 else
   14007   xorg_cv_cc_flag_unknown_warning_option=no
   14008 fi
   14009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14010 fi
   14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14012 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14014 	CFLAGS="$xorg_testset_save_CFLAGS"
   14015 fi
   14016 
   14017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14020 	fi
   14021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14023 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14024 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14025   $as_echo_n "(cached) " >&6
   14026 else
   14027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14028 /* end confdefs.h.  */
   14029 int i;
   14030 _ACEOF
   14031 if ac_fn_c_try_compile "$LINENO"; then :
   14032   xorg_cv_cc_flag_unused_command_line_argument=yes
   14033 else
   14034   xorg_cv_cc_flag_unused_command_line_argument=no
   14035 fi
   14036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14037 fi
   14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14039 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14040 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14041 	CFLAGS="$xorg_testset_save_CFLAGS"
   14042 fi
   14043 
   14044 found="no"
   14045 
   14046 	if test $found = "no" ; then
   14047 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14048 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14049 		fi
   14050 
   14051 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14052 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14053 		fi
   14054 
   14055 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14056 
   14057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14058 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14059 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14060 		if eval \${$cacheid+:} false; then :
   14061   $as_echo_n "(cached) " >&6
   14062 else
   14063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14064 /* end confdefs.h.  */
   14065 int i;
   14066 int
   14067 main ()
   14068 {
   14069 
   14070   ;
   14071   return 0;
   14072 }
   14073 _ACEOF
   14074 if ac_fn_c_try_link "$LINENO"; then :
   14075   eval $cacheid=yes
   14076 else
   14077   eval $cacheid=no
   14078 fi
   14079 rm -f core conftest.err conftest.$ac_objext \
   14080     conftest$ac_exeext conftest.$ac_ext
   14081 fi
   14082 
   14083 
   14084 		CFLAGS="$xorg_testset_save_CFLAGS"
   14085 
   14086 		eval supported=\$$cacheid
   14087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14088 $as_echo "$supported" >&6; }
   14089 		if test "$supported" = "yes" ; then
   14090 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14091 			found="yes"
   14092 		fi
   14093 	fi
   14094 
   14095 
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 
   14104 
   14105 
   14106 
   14107 
   14108 
   14109 xorg_testset_save_CFLAGS="$CFLAGS"
   14110 
   14111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14114 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14115 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14116   $as_echo_n "(cached) " >&6
   14117 else
   14118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14119 /* end confdefs.h.  */
   14120 int i;
   14121 _ACEOF
   14122 if ac_fn_c_try_compile "$LINENO"; then :
   14123   xorg_cv_cc_flag_unknown_warning_option=yes
   14124 else
   14125   xorg_cv_cc_flag_unknown_warning_option=no
   14126 fi
   14127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14128 fi
   14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14130 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14131 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14132 	CFLAGS="$xorg_testset_save_CFLAGS"
   14133 fi
   14134 
   14135 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14136 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14137 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14138 	fi
   14139 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14141 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14142 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14143   $as_echo_n "(cached) " >&6
   14144 else
   14145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14146 /* end confdefs.h.  */
   14147 int i;
   14148 _ACEOF
   14149 if ac_fn_c_try_compile "$LINENO"; then :
   14150   xorg_cv_cc_flag_unused_command_line_argument=yes
   14151 else
   14152   xorg_cv_cc_flag_unused_command_line_argument=no
   14153 fi
   14154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14155 fi
   14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14157 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14159 	CFLAGS="$xorg_testset_save_CFLAGS"
   14160 fi
   14161 
   14162 found="no"
   14163 
   14164 	if test $found = "no" ; then
   14165 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14167 		fi
   14168 
   14169 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14171 		fi
   14172 
   14173 		CFLAGS="$CFLAGS -Wredundant-decls"
   14174 
   14175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14176 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14177 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14178 		if eval \${$cacheid+:} false; then :
   14179   $as_echo_n "(cached) " >&6
   14180 else
   14181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14182 /* end confdefs.h.  */
   14183 int i;
   14184 int
   14185 main ()
   14186 {
   14187 
   14188   ;
   14189   return 0;
   14190 }
   14191 _ACEOF
   14192 if ac_fn_c_try_link "$LINENO"; then :
   14193   eval $cacheid=yes
   14194 else
   14195   eval $cacheid=no
   14196 fi
   14197 rm -f core conftest.err conftest.$ac_objext \
   14198     conftest$ac_exeext conftest.$ac_ext
   14199 fi
   14200 
   14201 
   14202 		CFLAGS="$xorg_testset_save_CFLAGS"
   14203 
   14204 		eval supported=\$$cacheid
   14205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14206 $as_echo "$supported" >&6; }
   14207 		if test "$supported" = "yes" ; then
   14208 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14209 			found="yes"
   14210 		fi
   14211 	fi
   14212 
   14213 
   14214 
   14215 # These are currently disabled because they are noisy.  They will be enabled
   14216 # in the future once the codebase is sufficiently modernized to silence
   14217 # them.  For now, I don't want them to drown out the other warnings.
   14218 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   14219 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14220 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14221 
   14222 # Turn some warnings into errors, so we don't accidently get successful builds
   14223 # when there are problems that should be fixed.
   14224 
   14225 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 
   14233 
   14234 
   14235 
   14236 
   14237 
   14238 
   14239 xorg_testset_save_CFLAGS="$CFLAGS"
   14240 
   14241 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14242 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14244 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14245 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14246   $as_echo_n "(cached) " >&6
   14247 else
   14248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14249 /* end confdefs.h.  */
   14250 int i;
   14251 _ACEOF
   14252 if ac_fn_c_try_compile "$LINENO"; then :
   14253   xorg_cv_cc_flag_unknown_warning_option=yes
   14254 else
   14255   xorg_cv_cc_flag_unknown_warning_option=no
   14256 fi
   14257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14258 fi
   14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14260 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14261 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14262 	CFLAGS="$xorg_testset_save_CFLAGS"
   14263 fi
   14264 
   14265 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14266 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14267 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14268 	fi
   14269 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14270 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14271 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14272 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14273   $as_echo_n "(cached) " >&6
   14274 else
   14275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14276 /* end confdefs.h.  */
   14277 int i;
   14278 _ACEOF
   14279 if ac_fn_c_try_compile "$LINENO"; then :
   14280   xorg_cv_cc_flag_unused_command_line_argument=yes
   14281 else
   14282   xorg_cv_cc_flag_unused_command_line_argument=no
   14283 fi
   14284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14285 fi
   14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14287 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14288 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14289 	CFLAGS="$xorg_testset_save_CFLAGS"
   14290 fi
   14291 
   14292 found="no"
   14293 
   14294 	if test $found = "no" ; then
   14295 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14296 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14297 		fi
   14298 
   14299 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14300 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14301 		fi
   14302 
   14303 		CFLAGS="$CFLAGS -Werror=implicit"
   14304 
   14305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14306 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14307 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   14308 		if eval \${$cacheid+:} false; then :
   14309   $as_echo_n "(cached) " >&6
   14310 else
   14311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14312 /* end confdefs.h.  */
   14313 int i;
   14314 int
   14315 main ()
   14316 {
   14317 
   14318   ;
   14319   return 0;
   14320 }
   14321 _ACEOF
   14322 if ac_fn_c_try_link "$LINENO"; then :
   14323   eval $cacheid=yes
   14324 else
   14325   eval $cacheid=no
   14326 fi
   14327 rm -f core conftest.err conftest.$ac_objext \
   14328     conftest$ac_exeext conftest.$ac_ext
   14329 fi
   14330 
   14331 
   14332 		CFLAGS="$xorg_testset_save_CFLAGS"
   14333 
   14334 		eval supported=\$$cacheid
   14335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14336 $as_echo "$supported" >&6; }
   14337 		if test "$supported" = "yes" ; then
   14338 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14339 			found="yes"
   14340 		fi
   14341 	fi
   14342 
   14343 	if test $found = "no" ; then
   14344 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14346 		fi
   14347 
   14348 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14350 		fi
   14351 
   14352 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14353 
   14354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14355 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14356 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   14357 		if eval \${$cacheid+:} false; then :
   14358   $as_echo_n "(cached) " >&6
   14359 else
   14360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14361 /* end confdefs.h.  */
   14362 int i;
   14363 int
   14364 main ()
   14365 {
   14366 
   14367   ;
   14368   return 0;
   14369 }
   14370 _ACEOF
   14371 if ac_fn_c_try_link "$LINENO"; then :
   14372   eval $cacheid=yes
   14373 else
   14374   eval $cacheid=no
   14375 fi
   14376 rm -f core conftest.err conftest.$ac_objext \
   14377     conftest$ac_exeext conftest.$ac_ext
   14378 fi
   14379 
   14380 
   14381 		CFLAGS="$xorg_testset_save_CFLAGS"
   14382 
   14383 		eval supported=\$$cacheid
   14384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14385 $as_echo "$supported" >&6; }
   14386 		if test "$supported" = "yes" ; then
   14387 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14388 			found="yes"
   14389 		fi
   14390 	fi
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 xorg_testset_save_CFLAGS="$CFLAGS"
   14407 
   14408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14411 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14412 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14413   $as_echo_n "(cached) " >&6
   14414 else
   14415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14416 /* end confdefs.h.  */
   14417 int i;
   14418 _ACEOF
   14419 if ac_fn_c_try_compile "$LINENO"; then :
   14420   xorg_cv_cc_flag_unknown_warning_option=yes
   14421 else
   14422   xorg_cv_cc_flag_unknown_warning_option=no
   14423 fi
   14424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14425 fi
   14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14427 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14428 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14429 	CFLAGS="$xorg_testset_save_CFLAGS"
   14430 fi
   14431 
   14432 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14433 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14435 	fi
   14436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14438 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14439 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14440   $as_echo_n "(cached) " >&6
   14441 else
   14442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14443 /* end confdefs.h.  */
   14444 int i;
   14445 _ACEOF
   14446 if ac_fn_c_try_compile "$LINENO"; then :
   14447   xorg_cv_cc_flag_unused_command_line_argument=yes
   14448 else
   14449   xorg_cv_cc_flag_unused_command_line_argument=no
   14450 fi
   14451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14452 fi
   14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14454 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14455 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14456 	CFLAGS="$xorg_testset_save_CFLAGS"
   14457 fi
   14458 
   14459 found="no"
   14460 
   14461 	if test $found = "no" ; then
   14462 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14464 		fi
   14465 
   14466 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14468 		fi
   14469 
   14470 		CFLAGS="$CFLAGS -Werror=nonnull"
   14471 
   14472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14473 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14474 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   14475 		if eval \${$cacheid+:} false; then :
   14476   $as_echo_n "(cached) " >&6
   14477 else
   14478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14479 /* end confdefs.h.  */
   14480 int i;
   14481 int
   14482 main ()
   14483 {
   14484 
   14485   ;
   14486   return 0;
   14487 }
   14488 _ACEOF
   14489 if ac_fn_c_try_link "$LINENO"; then :
   14490   eval $cacheid=yes
   14491 else
   14492   eval $cacheid=no
   14493 fi
   14494 rm -f core conftest.err conftest.$ac_objext \
   14495     conftest$ac_exeext conftest.$ac_ext
   14496 fi
   14497 
   14498 
   14499 		CFLAGS="$xorg_testset_save_CFLAGS"
   14500 
   14501 		eval supported=\$$cacheid
   14502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14503 $as_echo "$supported" >&6; }
   14504 		if test "$supported" = "yes" ; then
   14505 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14506 			found="yes"
   14507 		fi
   14508 	fi
   14509 
   14510 
   14511 
   14512 
   14513 
   14514 
   14515 
   14516 
   14517 
   14518 
   14519 
   14520 
   14521 
   14522 
   14523 
   14524 xorg_testset_save_CFLAGS="$CFLAGS"
   14525 
   14526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14529 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14530 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14531   $as_echo_n "(cached) " >&6
   14532 else
   14533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14534 /* end confdefs.h.  */
   14535 int i;
   14536 _ACEOF
   14537 if ac_fn_c_try_compile "$LINENO"; then :
   14538   xorg_cv_cc_flag_unknown_warning_option=yes
   14539 else
   14540   xorg_cv_cc_flag_unknown_warning_option=no
   14541 fi
   14542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14543 fi
   14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14545 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14546 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14547 	CFLAGS="$xorg_testset_save_CFLAGS"
   14548 fi
   14549 
   14550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14551 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14552 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14553 	fi
   14554 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14556 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14557 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14558   $as_echo_n "(cached) " >&6
   14559 else
   14560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14561 /* end confdefs.h.  */
   14562 int i;
   14563 _ACEOF
   14564 if ac_fn_c_try_compile "$LINENO"; then :
   14565   xorg_cv_cc_flag_unused_command_line_argument=yes
   14566 else
   14567   xorg_cv_cc_flag_unused_command_line_argument=no
   14568 fi
   14569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14570 fi
   14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14572 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14573 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14574 	CFLAGS="$xorg_testset_save_CFLAGS"
   14575 fi
   14576 
   14577 found="no"
   14578 
   14579 	if test $found = "no" ; then
   14580 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14581 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14582 		fi
   14583 
   14584 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14585 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14586 		fi
   14587 
   14588 		CFLAGS="$CFLAGS -Werror=init-self"
   14589 
   14590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14591 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14592 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14593 		if eval \${$cacheid+:} false; then :
   14594   $as_echo_n "(cached) " >&6
   14595 else
   14596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14597 /* end confdefs.h.  */
   14598 int i;
   14599 int
   14600 main ()
   14601 {
   14602 
   14603   ;
   14604   return 0;
   14605 }
   14606 _ACEOF
   14607 if ac_fn_c_try_link "$LINENO"; then :
   14608   eval $cacheid=yes
   14609 else
   14610   eval $cacheid=no
   14611 fi
   14612 rm -f core conftest.err conftest.$ac_objext \
   14613     conftest$ac_exeext conftest.$ac_ext
   14614 fi
   14615 
   14616 
   14617 		CFLAGS="$xorg_testset_save_CFLAGS"
   14618 
   14619 		eval supported=\$$cacheid
   14620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14621 $as_echo "$supported" >&6; }
   14622 		if test "$supported" = "yes" ; then
   14623 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14624 			found="yes"
   14625 		fi
   14626 	fi
   14627 
   14628 
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 
   14636 
   14637 
   14638 
   14639 
   14640 
   14641 
   14642 xorg_testset_save_CFLAGS="$CFLAGS"
   14643 
   14644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14647 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14648 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14649   $as_echo_n "(cached) " >&6
   14650 else
   14651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14652 /* end confdefs.h.  */
   14653 int i;
   14654 _ACEOF
   14655 if ac_fn_c_try_compile "$LINENO"; then :
   14656   xorg_cv_cc_flag_unknown_warning_option=yes
   14657 else
   14658   xorg_cv_cc_flag_unknown_warning_option=no
   14659 fi
   14660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14661 fi
   14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14663 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14665 	CFLAGS="$xorg_testset_save_CFLAGS"
   14666 fi
   14667 
   14668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14671 	fi
   14672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14674 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14675 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14676   $as_echo_n "(cached) " >&6
   14677 else
   14678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14679 /* end confdefs.h.  */
   14680 int i;
   14681 _ACEOF
   14682 if ac_fn_c_try_compile "$LINENO"; then :
   14683   xorg_cv_cc_flag_unused_command_line_argument=yes
   14684 else
   14685   xorg_cv_cc_flag_unused_command_line_argument=no
   14686 fi
   14687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14688 fi
   14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14690 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14692 	CFLAGS="$xorg_testset_save_CFLAGS"
   14693 fi
   14694 
   14695 found="no"
   14696 
   14697 	if test $found = "no" ; then
   14698 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14700 		fi
   14701 
   14702 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14704 		fi
   14705 
   14706 		CFLAGS="$CFLAGS -Werror=main"
   14707 
   14708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14709 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14710 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14711 		if eval \${$cacheid+:} false; then :
   14712   $as_echo_n "(cached) " >&6
   14713 else
   14714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14715 /* end confdefs.h.  */
   14716 int i;
   14717 int
   14718 main ()
   14719 {
   14720 
   14721   ;
   14722   return 0;
   14723 }
   14724 _ACEOF
   14725 if ac_fn_c_try_link "$LINENO"; then :
   14726   eval $cacheid=yes
   14727 else
   14728   eval $cacheid=no
   14729 fi
   14730 rm -f core conftest.err conftest.$ac_objext \
   14731     conftest$ac_exeext conftest.$ac_ext
   14732 fi
   14733 
   14734 
   14735 		CFLAGS="$xorg_testset_save_CFLAGS"
   14736 
   14737 		eval supported=\$$cacheid
   14738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14739 $as_echo "$supported" >&6; }
   14740 		if test "$supported" = "yes" ; then
   14741 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14742 			found="yes"
   14743 		fi
   14744 	fi
   14745 
   14746 
   14747 
   14748 
   14749 
   14750 
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 
   14757 
   14758 
   14759 
   14760 xorg_testset_save_CFLAGS="$CFLAGS"
   14761 
   14762 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14763 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14764 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14765 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14766 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14767   $as_echo_n "(cached) " >&6
   14768 else
   14769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14770 /* end confdefs.h.  */
   14771 int i;
   14772 _ACEOF
   14773 if ac_fn_c_try_compile "$LINENO"; then :
   14774   xorg_cv_cc_flag_unknown_warning_option=yes
   14775 else
   14776   xorg_cv_cc_flag_unknown_warning_option=no
   14777 fi
   14778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14779 fi
   14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14781 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14782 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14783 	CFLAGS="$xorg_testset_save_CFLAGS"
   14784 fi
   14785 
   14786 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14787 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14788 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14789 	fi
   14790 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14792 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14793 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14794   $as_echo_n "(cached) " >&6
   14795 else
   14796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14797 /* end confdefs.h.  */
   14798 int i;
   14799 _ACEOF
   14800 if ac_fn_c_try_compile "$LINENO"; then :
   14801   xorg_cv_cc_flag_unused_command_line_argument=yes
   14802 else
   14803   xorg_cv_cc_flag_unused_command_line_argument=no
   14804 fi
   14805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14806 fi
   14807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14808 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14809 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14810 	CFLAGS="$xorg_testset_save_CFLAGS"
   14811 fi
   14812 
   14813 found="no"
   14814 
   14815 	if test $found = "no" ; then
   14816 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14817 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14818 		fi
   14819 
   14820 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14821 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14822 		fi
   14823 
   14824 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14825 
   14826 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14827 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14828 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14829 		if eval \${$cacheid+:} false; then :
   14830   $as_echo_n "(cached) " >&6
   14831 else
   14832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14833 /* end confdefs.h.  */
   14834 int i;
   14835 int
   14836 main ()
   14837 {
   14838 
   14839   ;
   14840   return 0;
   14841 }
   14842 _ACEOF
   14843 if ac_fn_c_try_link "$LINENO"; then :
   14844   eval $cacheid=yes
   14845 else
   14846   eval $cacheid=no
   14847 fi
   14848 rm -f core conftest.err conftest.$ac_objext \
   14849     conftest$ac_exeext conftest.$ac_ext
   14850 fi
   14851 
   14852 
   14853 		CFLAGS="$xorg_testset_save_CFLAGS"
   14854 
   14855 		eval supported=\$$cacheid
   14856 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14857 $as_echo "$supported" >&6; }
   14858 		if test "$supported" = "yes" ; then
   14859 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14860 			found="yes"
   14861 		fi
   14862 	fi
   14863 
   14864 
   14865 
   14866 
   14867 
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 xorg_testset_save_CFLAGS="$CFLAGS"
   14879 
   14880 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14881 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14882 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14883 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14884 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14885   $as_echo_n "(cached) " >&6
   14886 else
   14887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14888 /* end confdefs.h.  */
   14889 int i;
   14890 _ACEOF
   14891 if ac_fn_c_try_compile "$LINENO"; then :
   14892   xorg_cv_cc_flag_unknown_warning_option=yes
   14893 else
   14894   xorg_cv_cc_flag_unknown_warning_option=no
   14895 fi
   14896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14897 fi
   14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14899 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14900 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14901 	CFLAGS="$xorg_testset_save_CFLAGS"
   14902 fi
   14903 
   14904 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14905 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14906 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14907 	fi
   14908 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14910 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14911 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14912   $as_echo_n "(cached) " >&6
   14913 else
   14914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14915 /* end confdefs.h.  */
   14916 int i;
   14917 _ACEOF
   14918 if ac_fn_c_try_compile "$LINENO"; then :
   14919   xorg_cv_cc_flag_unused_command_line_argument=yes
   14920 else
   14921   xorg_cv_cc_flag_unused_command_line_argument=no
   14922 fi
   14923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14924 fi
   14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14926 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14927 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14928 	CFLAGS="$xorg_testset_save_CFLAGS"
   14929 fi
   14930 
   14931 found="no"
   14932 
   14933 	if test $found = "no" ; then
   14934 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14935 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14936 		fi
   14937 
   14938 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14939 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14940 		fi
   14941 
   14942 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14943 
   14944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14945 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14946 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14947 		if eval \${$cacheid+:} false; then :
   14948   $as_echo_n "(cached) " >&6
   14949 else
   14950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14951 /* end confdefs.h.  */
   14952 int i;
   14953 int
   14954 main ()
   14955 {
   14956 
   14957   ;
   14958   return 0;
   14959 }
   14960 _ACEOF
   14961 if ac_fn_c_try_link "$LINENO"; then :
   14962   eval $cacheid=yes
   14963 else
   14964   eval $cacheid=no
   14965 fi
   14966 rm -f core conftest.err conftest.$ac_objext \
   14967     conftest$ac_exeext conftest.$ac_ext
   14968 fi
   14969 
   14970 
   14971 		CFLAGS="$xorg_testset_save_CFLAGS"
   14972 
   14973 		eval supported=\$$cacheid
   14974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14975 $as_echo "$supported" >&6; }
   14976 		if test "$supported" = "yes" ; then
   14977 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14978 			found="yes"
   14979 		fi
   14980 	fi
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 xorg_testset_save_CFLAGS="$CFLAGS"
   14997 
   14998 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14999 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15000 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15001 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15002 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15003   $as_echo_n "(cached) " >&6
   15004 else
   15005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15006 /* end confdefs.h.  */
   15007 int i;
   15008 _ACEOF
   15009 if ac_fn_c_try_compile "$LINENO"; then :
   15010   xorg_cv_cc_flag_unknown_warning_option=yes
   15011 else
   15012   xorg_cv_cc_flag_unknown_warning_option=no
   15013 fi
   15014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15015 fi
   15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15017 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15018 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15019 	CFLAGS="$xorg_testset_save_CFLAGS"
   15020 fi
   15021 
   15022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15023 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15025 	fi
   15026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15028 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15029 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15030   $as_echo_n "(cached) " >&6
   15031 else
   15032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15033 /* end confdefs.h.  */
   15034 int i;
   15035 _ACEOF
   15036 if ac_fn_c_try_compile "$LINENO"; then :
   15037   xorg_cv_cc_flag_unused_command_line_argument=yes
   15038 else
   15039   xorg_cv_cc_flag_unused_command_line_argument=no
   15040 fi
   15041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15042 fi
   15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15044 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15045 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15046 	CFLAGS="$xorg_testset_save_CFLAGS"
   15047 fi
   15048 
   15049 found="no"
   15050 
   15051 	if test $found = "no" ; then
   15052 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15054 		fi
   15055 
   15056 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15058 		fi
   15059 
   15060 		CFLAGS="$CFLAGS -Werror=return-type"
   15061 
   15062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15063 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15064 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   15065 		if eval \${$cacheid+:} false; then :
   15066   $as_echo_n "(cached) " >&6
   15067 else
   15068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15069 /* end confdefs.h.  */
   15070 int i;
   15071 int
   15072 main ()
   15073 {
   15074 
   15075   ;
   15076   return 0;
   15077 }
   15078 _ACEOF
   15079 if ac_fn_c_try_link "$LINENO"; then :
   15080   eval $cacheid=yes
   15081 else
   15082   eval $cacheid=no
   15083 fi
   15084 rm -f core conftest.err conftest.$ac_objext \
   15085     conftest$ac_exeext conftest.$ac_ext
   15086 fi
   15087 
   15088 
   15089 		CFLAGS="$xorg_testset_save_CFLAGS"
   15090 
   15091 		eval supported=\$$cacheid
   15092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15093 $as_echo "$supported" >&6; }
   15094 		if test "$supported" = "yes" ; then
   15095 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15096 			found="yes"
   15097 		fi
   15098 	fi
   15099 
   15100 	if test $found = "no" ; then
   15101 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15103 		fi
   15104 
   15105 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15107 		fi
   15108 
   15109 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15110 
   15111 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15112 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15113 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   15114 		if eval \${$cacheid+:} false; then :
   15115   $as_echo_n "(cached) " >&6
   15116 else
   15117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15118 /* end confdefs.h.  */
   15119 int i;
   15120 int
   15121 main ()
   15122 {
   15123 
   15124   ;
   15125   return 0;
   15126 }
   15127 _ACEOF
   15128 if ac_fn_c_try_link "$LINENO"; then :
   15129   eval $cacheid=yes
   15130 else
   15131   eval $cacheid=no
   15132 fi
   15133 rm -f core conftest.err conftest.$ac_objext \
   15134     conftest$ac_exeext conftest.$ac_ext
   15135 fi
   15136 
   15137 
   15138 		CFLAGS="$xorg_testset_save_CFLAGS"
   15139 
   15140 		eval supported=\$$cacheid
   15141 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15142 $as_echo "$supported" >&6; }
   15143 		if test "$supported" = "yes" ; then
   15144 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15145 			found="yes"
   15146 		fi
   15147 	fi
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 xorg_testset_save_CFLAGS="$CFLAGS"
   15164 
   15165 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15166 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15167 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15168 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15169 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15170   $as_echo_n "(cached) " >&6
   15171 else
   15172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15173 /* end confdefs.h.  */
   15174 int i;
   15175 _ACEOF
   15176 if ac_fn_c_try_compile "$LINENO"; then :
   15177   xorg_cv_cc_flag_unknown_warning_option=yes
   15178 else
   15179   xorg_cv_cc_flag_unknown_warning_option=no
   15180 fi
   15181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15182 fi
   15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15184 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15185 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15186 	CFLAGS="$xorg_testset_save_CFLAGS"
   15187 fi
   15188 
   15189 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15190 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15191 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15192 	fi
   15193 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15194 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15195 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15196 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15197   $as_echo_n "(cached) " >&6
   15198 else
   15199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15200 /* end confdefs.h.  */
   15201 int i;
   15202 _ACEOF
   15203 if ac_fn_c_try_compile "$LINENO"; then :
   15204   xorg_cv_cc_flag_unused_command_line_argument=yes
   15205 else
   15206   xorg_cv_cc_flag_unused_command_line_argument=no
   15207 fi
   15208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15209 fi
   15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15211 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15212 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15213 	CFLAGS="$xorg_testset_save_CFLAGS"
   15214 fi
   15215 
   15216 found="no"
   15217 
   15218 	if test $found = "no" ; then
   15219 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15221 		fi
   15222 
   15223 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15225 		fi
   15226 
   15227 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15228 
   15229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15230 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15231 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   15232 		if eval \${$cacheid+:} false; then :
   15233   $as_echo_n "(cached) " >&6
   15234 else
   15235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15236 /* end confdefs.h.  */
   15237 int i;
   15238 int
   15239 main ()
   15240 {
   15241 
   15242   ;
   15243   return 0;
   15244 }
   15245 _ACEOF
   15246 if ac_fn_c_try_link "$LINENO"; then :
   15247   eval $cacheid=yes
   15248 else
   15249   eval $cacheid=no
   15250 fi
   15251 rm -f core conftest.err conftest.$ac_objext \
   15252     conftest$ac_exeext conftest.$ac_ext
   15253 fi
   15254 
   15255 
   15256 		CFLAGS="$xorg_testset_save_CFLAGS"
   15257 
   15258 		eval supported=\$$cacheid
   15259 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15260 $as_echo "$supported" >&6; }
   15261 		if test "$supported" = "yes" ; then
   15262 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15263 			found="yes"
   15264 		fi
   15265 	fi
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 
   15275 
   15276 
   15277 
   15278 
   15279 
   15280 
   15281 xorg_testset_save_CFLAGS="$CFLAGS"
   15282 
   15283 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15284 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15285 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15286 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15287 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15288   $as_echo_n "(cached) " >&6
   15289 else
   15290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15291 /* end confdefs.h.  */
   15292 int i;
   15293 _ACEOF
   15294 if ac_fn_c_try_compile "$LINENO"; then :
   15295   xorg_cv_cc_flag_unknown_warning_option=yes
   15296 else
   15297   xorg_cv_cc_flag_unknown_warning_option=no
   15298 fi
   15299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15300 fi
   15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15302 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15303 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15304 	CFLAGS="$xorg_testset_save_CFLAGS"
   15305 fi
   15306 
   15307 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15308 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15309 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15310 	fi
   15311 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15312 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15313 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15314 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15315   $as_echo_n "(cached) " >&6
   15316 else
   15317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15318 /* end confdefs.h.  */
   15319 int i;
   15320 _ACEOF
   15321 if ac_fn_c_try_compile "$LINENO"; then :
   15322   xorg_cv_cc_flag_unused_command_line_argument=yes
   15323 else
   15324   xorg_cv_cc_flag_unused_command_line_argument=no
   15325 fi
   15326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15327 fi
   15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15329 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15330 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15331 	CFLAGS="$xorg_testset_save_CFLAGS"
   15332 fi
   15333 
   15334 found="no"
   15335 
   15336 	if test $found = "no" ; then
   15337 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15338 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15339 		fi
   15340 
   15341 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15342 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15343 		fi
   15344 
   15345 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15346 
   15347 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15348 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15349 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   15350 		if eval \${$cacheid+:} false; then :
   15351   $as_echo_n "(cached) " >&6
   15352 else
   15353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15354 /* end confdefs.h.  */
   15355 int i;
   15356 int
   15357 main ()
   15358 {
   15359 
   15360   ;
   15361   return 0;
   15362 }
   15363 _ACEOF
   15364 if ac_fn_c_try_link "$LINENO"; then :
   15365   eval $cacheid=yes
   15366 else
   15367   eval $cacheid=no
   15368 fi
   15369 rm -f core conftest.err conftest.$ac_objext \
   15370     conftest$ac_exeext conftest.$ac_ext
   15371 fi
   15372 
   15373 
   15374 		CFLAGS="$xorg_testset_save_CFLAGS"
   15375 
   15376 		eval supported=\$$cacheid
   15377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15378 $as_echo "$supported" >&6; }
   15379 		if test "$supported" = "yes" ; then
   15380 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15381 			found="yes"
   15382 		fi
   15383 	fi
   15384 
   15385 
   15386 
   15387 
   15388 
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 
   15395 
   15396 
   15397 
   15398 
   15399 xorg_testset_save_CFLAGS="$CFLAGS"
   15400 
   15401 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15402 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15403 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15404 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15405 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15406   $as_echo_n "(cached) " >&6
   15407 else
   15408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15409 /* end confdefs.h.  */
   15410 int i;
   15411 _ACEOF
   15412 if ac_fn_c_try_compile "$LINENO"; then :
   15413   xorg_cv_cc_flag_unknown_warning_option=yes
   15414 else
   15415   xorg_cv_cc_flag_unknown_warning_option=no
   15416 fi
   15417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15418 fi
   15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15420 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15421 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15422 	CFLAGS="$xorg_testset_save_CFLAGS"
   15423 fi
   15424 
   15425 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15426 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15427 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15428 	fi
   15429 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15430 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15431 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15432 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15433   $as_echo_n "(cached) " >&6
   15434 else
   15435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15436 /* end confdefs.h.  */
   15437 int i;
   15438 _ACEOF
   15439 if ac_fn_c_try_compile "$LINENO"; then :
   15440   xorg_cv_cc_flag_unused_command_line_argument=yes
   15441 else
   15442   xorg_cv_cc_flag_unused_command_line_argument=no
   15443 fi
   15444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15445 fi
   15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15447 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15448 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15449 	CFLAGS="$xorg_testset_save_CFLAGS"
   15450 fi
   15451 
   15452 found="no"
   15453 
   15454 	if test $found = "no" ; then
   15455 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15456 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15457 		fi
   15458 
   15459 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15460 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15461 		fi
   15462 
   15463 		CFLAGS="$CFLAGS -Werror=write-strings"
   15464 
   15465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15466 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15467 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   15468 		if eval \${$cacheid+:} false; then :
   15469   $as_echo_n "(cached) " >&6
   15470 else
   15471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15472 /* end confdefs.h.  */
   15473 int i;
   15474 int
   15475 main ()
   15476 {
   15477 
   15478   ;
   15479   return 0;
   15480 }
   15481 _ACEOF
   15482 if ac_fn_c_try_link "$LINENO"; then :
   15483   eval $cacheid=yes
   15484 else
   15485   eval $cacheid=no
   15486 fi
   15487 rm -f core conftest.err conftest.$ac_objext \
   15488     conftest$ac_exeext conftest.$ac_ext
   15489 fi
   15490 
   15491 
   15492 		CFLAGS="$xorg_testset_save_CFLAGS"
   15493 
   15494 		eval supported=\$$cacheid
   15495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15496 $as_echo "$supported" >&6; }
   15497 		if test "$supported" = "yes" ; then
   15498 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15499 			found="yes"
   15500 		fi
   15501 	fi
   15502 
   15503 
   15504 
   15505 
   15506 
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 
   15517 xorg_testset_save_CFLAGS="$CFLAGS"
   15518 
   15519 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15520 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15521 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15522 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15523 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15524   $as_echo_n "(cached) " >&6
   15525 else
   15526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15527 /* end confdefs.h.  */
   15528 int i;
   15529 _ACEOF
   15530 if ac_fn_c_try_compile "$LINENO"; then :
   15531   xorg_cv_cc_flag_unknown_warning_option=yes
   15532 else
   15533   xorg_cv_cc_flag_unknown_warning_option=no
   15534 fi
   15535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15536 fi
   15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15538 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15540 	CFLAGS="$xorg_testset_save_CFLAGS"
   15541 fi
   15542 
   15543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15546 	fi
   15547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15548 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15549 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15550 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15551   $as_echo_n "(cached) " >&6
   15552 else
   15553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15554 /* end confdefs.h.  */
   15555 int i;
   15556 _ACEOF
   15557 if ac_fn_c_try_compile "$LINENO"; then :
   15558   xorg_cv_cc_flag_unused_command_line_argument=yes
   15559 else
   15560   xorg_cv_cc_flag_unused_command_line_argument=no
   15561 fi
   15562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15563 fi
   15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15565 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15566 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15567 	CFLAGS="$xorg_testset_save_CFLAGS"
   15568 fi
   15569 
   15570 found="no"
   15571 
   15572 	if test $found = "no" ; then
   15573 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15574 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15575 		fi
   15576 
   15577 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15578 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15579 		fi
   15580 
   15581 		CFLAGS="$CFLAGS -Werror=address"
   15582 
   15583 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15584 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15585 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15586 		if eval \${$cacheid+:} false; then :
   15587   $as_echo_n "(cached) " >&6
   15588 else
   15589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15590 /* end confdefs.h.  */
   15591 int i;
   15592 int
   15593 main ()
   15594 {
   15595 
   15596   ;
   15597   return 0;
   15598 }
   15599 _ACEOF
   15600 if ac_fn_c_try_link "$LINENO"; then :
   15601   eval $cacheid=yes
   15602 else
   15603   eval $cacheid=no
   15604 fi
   15605 rm -f core conftest.err conftest.$ac_objext \
   15606     conftest$ac_exeext conftest.$ac_ext
   15607 fi
   15608 
   15609 
   15610 		CFLAGS="$xorg_testset_save_CFLAGS"
   15611 
   15612 		eval supported=\$$cacheid
   15613 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15614 $as_echo "$supported" >&6; }
   15615 		if test "$supported" = "yes" ; then
   15616 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15617 			found="yes"
   15618 		fi
   15619 	fi
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 
   15630 
   15631 
   15632 
   15633 
   15634 
   15635 xorg_testset_save_CFLAGS="$CFLAGS"
   15636 
   15637 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15638 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15640 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15641 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15642   $as_echo_n "(cached) " >&6
   15643 else
   15644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15645 /* end confdefs.h.  */
   15646 int i;
   15647 _ACEOF
   15648 if ac_fn_c_try_compile "$LINENO"; then :
   15649   xorg_cv_cc_flag_unknown_warning_option=yes
   15650 else
   15651   xorg_cv_cc_flag_unknown_warning_option=no
   15652 fi
   15653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15654 fi
   15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15656 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15657 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15658 	CFLAGS="$xorg_testset_save_CFLAGS"
   15659 fi
   15660 
   15661 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15662 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15663 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15664 	fi
   15665 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15666 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15667 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15668 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15669   $as_echo_n "(cached) " >&6
   15670 else
   15671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15672 /* end confdefs.h.  */
   15673 int i;
   15674 _ACEOF
   15675 if ac_fn_c_try_compile "$LINENO"; then :
   15676   xorg_cv_cc_flag_unused_command_line_argument=yes
   15677 else
   15678   xorg_cv_cc_flag_unused_command_line_argument=no
   15679 fi
   15680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15681 fi
   15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15683 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15684 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15685 	CFLAGS="$xorg_testset_save_CFLAGS"
   15686 fi
   15687 
   15688 found="no"
   15689 
   15690 	if test $found = "no" ; then
   15691 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15692 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15693 		fi
   15694 
   15695 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15696 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15697 		fi
   15698 
   15699 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15700 
   15701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15702 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15703 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15704 		if eval \${$cacheid+:} false; then :
   15705   $as_echo_n "(cached) " >&6
   15706 else
   15707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15708 /* end confdefs.h.  */
   15709 int i;
   15710 int
   15711 main ()
   15712 {
   15713 
   15714   ;
   15715   return 0;
   15716 }
   15717 _ACEOF
   15718 if ac_fn_c_try_link "$LINENO"; then :
   15719   eval $cacheid=yes
   15720 else
   15721   eval $cacheid=no
   15722 fi
   15723 rm -f core conftest.err conftest.$ac_objext \
   15724     conftest$ac_exeext conftest.$ac_ext
   15725 fi
   15726 
   15727 
   15728 		CFLAGS="$xorg_testset_save_CFLAGS"
   15729 
   15730 		eval supported=\$$cacheid
   15731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15732 $as_echo "$supported" >&6; }
   15733 		if test "$supported" = "yes" ; then
   15734 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15735 			found="yes"
   15736 		fi
   15737 	fi
   15738 
   15739 	if test $found = "no" ; then
   15740 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15742 		fi
   15743 
   15744 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15746 		fi
   15747 
   15748 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15749 
   15750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15751 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15752 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15753 		if eval \${$cacheid+:} false; then :
   15754   $as_echo_n "(cached) " >&6
   15755 else
   15756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15757 /* end confdefs.h.  */
   15758 int i;
   15759 int
   15760 main ()
   15761 {
   15762 
   15763   ;
   15764   return 0;
   15765 }
   15766 _ACEOF
   15767 if ac_fn_c_try_link "$LINENO"; then :
   15768   eval $cacheid=yes
   15769 else
   15770   eval $cacheid=no
   15771 fi
   15772 rm -f core conftest.err conftest.$ac_objext \
   15773     conftest$ac_exeext conftest.$ac_ext
   15774 fi
   15775 
   15776 
   15777 		CFLAGS="$xorg_testset_save_CFLAGS"
   15778 
   15779 		eval supported=\$$cacheid
   15780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15781 $as_echo "$supported" >&6; }
   15782 		if test "$supported" = "yes" ; then
   15783 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15784 			found="yes"
   15785 		fi
   15786 	fi
   15787 
   15788 
   15789 
   15790 
   15791 
   15792 
   15793 
   15794 
   15795 
   15796 
   15797 
   15798 
   15799 
   15800 
   15801 
   15802 xorg_testset_save_CFLAGS="$CFLAGS"
   15803 
   15804 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15805 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15807 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15808 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15809   $as_echo_n "(cached) " >&6
   15810 else
   15811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15812 /* end confdefs.h.  */
   15813 int i;
   15814 _ACEOF
   15815 if ac_fn_c_try_compile "$LINENO"; then :
   15816   xorg_cv_cc_flag_unknown_warning_option=yes
   15817 else
   15818   xorg_cv_cc_flag_unknown_warning_option=no
   15819 fi
   15820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15821 fi
   15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15823 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15824 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15825 	CFLAGS="$xorg_testset_save_CFLAGS"
   15826 fi
   15827 
   15828 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15829 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15831 	fi
   15832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15834 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15835 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15836   $as_echo_n "(cached) " >&6
   15837 else
   15838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15839 /* end confdefs.h.  */
   15840 int i;
   15841 _ACEOF
   15842 if ac_fn_c_try_compile "$LINENO"; then :
   15843   xorg_cv_cc_flag_unused_command_line_argument=yes
   15844 else
   15845   xorg_cv_cc_flag_unused_command_line_argument=no
   15846 fi
   15847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15848 fi
   15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15850 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15851 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15852 	CFLAGS="$xorg_testset_save_CFLAGS"
   15853 fi
   15854 
   15855 found="no"
   15856 
   15857 	if test $found = "no" ; then
   15858 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15859 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15860 		fi
   15861 
   15862 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15863 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15864 		fi
   15865 
   15866 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15867 
   15868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15869 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15870 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15871 		if eval \${$cacheid+:} false; then :
   15872   $as_echo_n "(cached) " >&6
   15873 else
   15874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15875 /* end confdefs.h.  */
   15876 int i;
   15877 int
   15878 main ()
   15879 {
   15880 
   15881   ;
   15882   return 0;
   15883 }
   15884 _ACEOF
   15885 if ac_fn_c_try_link "$LINENO"; then :
   15886   eval $cacheid=yes
   15887 else
   15888   eval $cacheid=no
   15889 fi
   15890 rm -f core conftest.err conftest.$ac_objext \
   15891     conftest$ac_exeext conftest.$ac_ext
   15892 fi
   15893 
   15894 
   15895 		CFLAGS="$xorg_testset_save_CFLAGS"
   15896 
   15897 		eval supported=\$$cacheid
   15898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15899 $as_echo "$supported" >&6; }
   15900 		if test "$supported" = "yes" ; then
   15901 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15902 			found="yes"
   15903 		fi
   15904 	fi
   15905 
   15906  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15907 else
   15908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
   15909 $as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
   15910 
   15911 
   15912 
   15913 
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 
   15923 xorg_testset_save_CFLAGS="$CFLAGS"
   15924 
   15925 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15926 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15928 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15929 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15930   $as_echo_n "(cached) " >&6
   15931 else
   15932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15933 /* end confdefs.h.  */
   15934 int i;
   15935 _ACEOF
   15936 if ac_fn_c_try_compile "$LINENO"; then :
   15937   xorg_cv_cc_flag_unknown_warning_option=yes
   15938 else
   15939   xorg_cv_cc_flag_unknown_warning_option=no
   15940 fi
   15941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15942 fi
   15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15944 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15945 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15946 	CFLAGS="$xorg_testset_save_CFLAGS"
   15947 fi
   15948 
   15949 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15950 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15951 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15952 	fi
   15953 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15955 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15956 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15957   $as_echo_n "(cached) " >&6
   15958 else
   15959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15960 /* end confdefs.h.  */
   15961 int i;
   15962 _ACEOF
   15963 if ac_fn_c_try_compile "$LINENO"; then :
   15964   xorg_cv_cc_flag_unused_command_line_argument=yes
   15965 else
   15966   xorg_cv_cc_flag_unused_command_line_argument=no
   15967 fi
   15968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15969 fi
   15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15971 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15972 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15973 	CFLAGS="$xorg_testset_save_CFLAGS"
   15974 fi
   15975 
   15976 found="no"
   15977 
   15978 	if test $found = "no" ; then
   15979 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15981 		fi
   15982 
   15983 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15985 		fi
   15986 
   15987 		CFLAGS="$CFLAGS -Wimplicit"
   15988 
   15989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15990 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15991 		cacheid=xorg_cv_cc_flag__Wimplicit
   15992 		if eval \${$cacheid+:} false; then :
   15993   $as_echo_n "(cached) " >&6
   15994 else
   15995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15996 /* end confdefs.h.  */
   15997 int i;
   15998 int
   15999 main ()
   16000 {
   16001 
   16002   ;
   16003   return 0;
   16004 }
   16005 _ACEOF
   16006 if ac_fn_c_try_link "$LINENO"; then :
   16007   eval $cacheid=yes
   16008 else
   16009   eval $cacheid=no
   16010 fi
   16011 rm -f core conftest.err conftest.$ac_objext \
   16012     conftest$ac_exeext conftest.$ac_ext
   16013 fi
   16014 
   16015 
   16016 		CFLAGS="$xorg_testset_save_CFLAGS"
   16017 
   16018 		eval supported=\$$cacheid
   16019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16020 $as_echo "$supported" >&6; }
   16021 		if test "$supported" = "yes" ; then
   16022 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16023 			found="yes"
   16024 		fi
   16025 	fi
   16026 
   16027 
   16028 
   16029 
   16030 
   16031 
   16032 
   16033 
   16034 
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 
   16041 xorg_testset_save_CFLAGS="$CFLAGS"
   16042 
   16043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16046 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16047 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16048   $as_echo_n "(cached) " >&6
   16049 else
   16050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16051 /* end confdefs.h.  */
   16052 int i;
   16053 _ACEOF
   16054 if ac_fn_c_try_compile "$LINENO"; then :
   16055   xorg_cv_cc_flag_unknown_warning_option=yes
   16056 else
   16057   xorg_cv_cc_flag_unknown_warning_option=no
   16058 fi
   16059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16060 fi
   16061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16062 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16064 	CFLAGS="$xorg_testset_save_CFLAGS"
   16065 fi
   16066 
   16067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16070 	fi
   16071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16073 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16074 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16075   $as_echo_n "(cached) " >&6
   16076 else
   16077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16078 /* end confdefs.h.  */
   16079 int i;
   16080 _ACEOF
   16081 if ac_fn_c_try_compile "$LINENO"; then :
   16082   xorg_cv_cc_flag_unused_command_line_argument=yes
   16083 else
   16084   xorg_cv_cc_flag_unused_command_line_argument=no
   16085 fi
   16086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16087 fi
   16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16089 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16090 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16091 	CFLAGS="$xorg_testset_save_CFLAGS"
   16092 fi
   16093 
   16094 found="no"
   16095 
   16096 	if test $found = "no" ; then
   16097 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16099 		fi
   16100 
   16101 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16103 		fi
   16104 
   16105 		CFLAGS="$CFLAGS -Wnonnull"
   16106 
   16107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16108 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16109 		cacheid=xorg_cv_cc_flag__Wnonnull
   16110 		if eval \${$cacheid+:} false; then :
   16111   $as_echo_n "(cached) " >&6
   16112 else
   16113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16114 /* end confdefs.h.  */
   16115 int i;
   16116 int
   16117 main ()
   16118 {
   16119 
   16120   ;
   16121   return 0;
   16122 }
   16123 _ACEOF
   16124 if ac_fn_c_try_link "$LINENO"; then :
   16125   eval $cacheid=yes
   16126 else
   16127   eval $cacheid=no
   16128 fi
   16129 rm -f core conftest.err conftest.$ac_objext \
   16130     conftest$ac_exeext conftest.$ac_ext
   16131 fi
   16132 
   16133 
   16134 		CFLAGS="$xorg_testset_save_CFLAGS"
   16135 
   16136 		eval supported=\$$cacheid
   16137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16138 $as_echo "$supported" >&6; }
   16139 		if test "$supported" = "yes" ; then
   16140 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16141 			found="yes"
   16142 		fi
   16143 	fi
   16144 
   16145 
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 xorg_testset_save_CFLAGS="$CFLAGS"
   16160 
   16161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16164 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16165 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16166   $as_echo_n "(cached) " >&6
   16167 else
   16168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16169 /* end confdefs.h.  */
   16170 int i;
   16171 _ACEOF
   16172 if ac_fn_c_try_compile "$LINENO"; then :
   16173   xorg_cv_cc_flag_unknown_warning_option=yes
   16174 else
   16175   xorg_cv_cc_flag_unknown_warning_option=no
   16176 fi
   16177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16178 fi
   16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16180 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16182 	CFLAGS="$xorg_testset_save_CFLAGS"
   16183 fi
   16184 
   16185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16188 	fi
   16189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16191 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16192 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16193   $as_echo_n "(cached) " >&6
   16194 else
   16195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16196 /* end confdefs.h.  */
   16197 int i;
   16198 _ACEOF
   16199 if ac_fn_c_try_compile "$LINENO"; then :
   16200   xorg_cv_cc_flag_unused_command_line_argument=yes
   16201 else
   16202   xorg_cv_cc_flag_unused_command_line_argument=no
   16203 fi
   16204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16205 fi
   16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16207 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16208 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16209 	CFLAGS="$xorg_testset_save_CFLAGS"
   16210 fi
   16211 
   16212 found="no"
   16213 
   16214 	if test $found = "no" ; then
   16215 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16217 		fi
   16218 
   16219 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16221 		fi
   16222 
   16223 		CFLAGS="$CFLAGS -Winit-self"
   16224 
   16225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16226 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16227 		cacheid=xorg_cv_cc_flag__Winit_self
   16228 		if eval \${$cacheid+:} false; then :
   16229   $as_echo_n "(cached) " >&6
   16230 else
   16231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16232 /* end confdefs.h.  */
   16233 int i;
   16234 int
   16235 main ()
   16236 {
   16237 
   16238   ;
   16239   return 0;
   16240 }
   16241 _ACEOF
   16242 if ac_fn_c_try_link "$LINENO"; then :
   16243   eval $cacheid=yes
   16244 else
   16245   eval $cacheid=no
   16246 fi
   16247 rm -f core conftest.err conftest.$ac_objext \
   16248     conftest$ac_exeext conftest.$ac_ext
   16249 fi
   16250 
   16251 
   16252 		CFLAGS="$xorg_testset_save_CFLAGS"
   16253 
   16254 		eval supported=\$$cacheid
   16255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16256 $as_echo "$supported" >&6; }
   16257 		if test "$supported" = "yes" ; then
   16258 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16259 			found="yes"
   16260 		fi
   16261 	fi
   16262 
   16263 
   16264 
   16265 
   16266 
   16267 
   16268 
   16269 
   16270 
   16271 
   16272 
   16273 
   16274 
   16275 
   16276 
   16277 xorg_testset_save_CFLAGS="$CFLAGS"
   16278 
   16279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16282 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16283 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16284   $as_echo_n "(cached) " >&6
   16285 else
   16286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16287 /* end confdefs.h.  */
   16288 int i;
   16289 _ACEOF
   16290 if ac_fn_c_try_compile "$LINENO"; then :
   16291   xorg_cv_cc_flag_unknown_warning_option=yes
   16292 else
   16293   xorg_cv_cc_flag_unknown_warning_option=no
   16294 fi
   16295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16296 fi
   16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16298 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16299 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16300 	CFLAGS="$xorg_testset_save_CFLAGS"
   16301 fi
   16302 
   16303 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16304 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16305 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16306 	fi
   16307 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16309 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16310 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16311   $as_echo_n "(cached) " >&6
   16312 else
   16313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16314 /* end confdefs.h.  */
   16315 int i;
   16316 _ACEOF
   16317 if ac_fn_c_try_compile "$LINENO"; then :
   16318   xorg_cv_cc_flag_unused_command_line_argument=yes
   16319 else
   16320   xorg_cv_cc_flag_unused_command_line_argument=no
   16321 fi
   16322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16323 fi
   16324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16325 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16327 	CFLAGS="$xorg_testset_save_CFLAGS"
   16328 fi
   16329 
   16330 found="no"
   16331 
   16332 	if test $found = "no" ; then
   16333 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16335 		fi
   16336 
   16337 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16339 		fi
   16340 
   16341 		CFLAGS="$CFLAGS -Wmain"
   16342 
   16343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16344 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16345 		cacheid=xorg_cv_cc_flag__Wmain
   16346 		if eval \${$cacheid+:} false; then :
   16347   $as_echo_n "(cached) " >&6
   16348 else
   16349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16350 /* end confdefs.h.  */
   16351 int i;
   16352 int
   16353 main ()
   16354 {
   16355 
   16356   ;
   16357   return 0;
   16358 }
   16359 _ACEOF
   16360 if ac_fn_c_try_link "$LINENO"; then :
   16361   eval $cacheid=yes
   16362 else
   16363   eval $cacheid=no
   16364 fi
   16365 rm -f core conftest.err conftest.$ac_objext \
   16366     conftest$ac_exeext conftest.$ac_ext
   16367 fi
   16368 
   16369 
   16370 		CFLAGS="$xorg_testset_save_CFLAGS"
   16371 
   16372 		eval supported=\$$cacheid
   16373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16374 $as_echo "$supported" >&6; }
   16375 		if test "$supported" = "yes" ; then
   16376 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16377 			found="yes"
   16378 		fi
   16379 	fi
   16380 
   16381 
   16382 
   16383 
   16384 
   16385 
   16386 
   16387 
   16388 
   16389 
   16390 
   16391 
   16392 
   16393 
   16394 
   16395 xorg_testset_save_CFLAGS="$CFLAGS"
   16396 
   16397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16400 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16401 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16402   $as_echo_n "(cached) " >&6
   16403 else
   16404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16405 /* end confdefs.h.  */
   16406 int i;
   16407 _ACEOF
   16408 if ac_fn_c_try_compile "$LINENO"; then :
   16409   xorg_cv_cc_flag_unknown_warning_option=yes
   16410 else
   16411   xorg_cv_cc_flag_unknown_warning_option=no
   16412 fi
   16413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16414 fi
   16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16416 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16418 	CFLAGS="$xorg_testset_save_CFLAGS"
   16419 fi
   16420 
   16421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16424 	fi
   16425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16427 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16428 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16429   $as_echo_n "(cached) " >&6
   16430 else
   16431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16432 /* end confdefs.h.  */
   16433 int i;
   16434 _ACEOF
   16435 if ac_fn_c_try_compile "$LINENO"; then :
   16436   xorg_cv_cc_flag_unused_command_line_argument=yes
   16437 else
   16438   xorg_cv_cc_flag_unused_command_line_argument=no
   16439 fi
   16440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16441 fi
   16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16443 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16445 	CFLAGS="$xorg_testset_save_CFLAGS"
   16446 fi
   16447 
   16448 found="no"
   16449 
   16450 	if test $found = "no" ; then
   16451 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16453 		fi
   16454 
   16455 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16457 		fi
   16458 
   16459 		CFLAGS="$CFLAGS -Wmissing-braces"
   16460 
   16461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16462 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16463 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16464 		if eval \${$cacheid+:} false; then :
   16465   $as_echo_n "(cached) " >&6
   16466 else
   16467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16468 /* end confdefs.h.  */
   16469 int i;
   16470 int
   16471 main ()
   16472 {
   16473 
   16474   ;
   16475   return 0;
   16476 }
   16477 _ACEOF
   16478 if ac_fn_c_try_link "$LINENO"; then :
   16479   eval $cacheid=yes
   16480 else
   16481   eval $cacheid=no
   16482 fi
   16483 rm -f core conftest.err conftest.$ac_objext \
   16484     conftest$ac_exeext conftest.$ac_ext
   16485 fi
   16486 
   16487 
   16488 		CFLAGS="$xorg_testset_save_CFLAGS"
   16489 
   16490 		eval supported=\$$cacheid
   16491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16492 $as_echo "$supported" >&6; }
   16493 		if test "$supported" = "yes" ; then
   16494 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16495 			found="yes"
   16496 		fi
   16497 	fi
   16498 
   16499 
   16500 
   16501 
   16502 
   16503 
   16504 
   16505 
   16506 
   16507 
   16508 
   16509 
   16510 
   16511 
   16512 
   16513 xorg_testset_save_CFLAGS="$CFLAGS"
   16514 
   16515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16517 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16518 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16519 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16520   $as_echo_n "(cached) " >&6
   16521 else
   16522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16523 /* end confdefs.h.  */
   16524 int i;
   16525 _ACEOF
   16526 if ac_fn_c_try_compile "$LINENO"; then :
   16527   xorg_cv_cc_flag_unknown_warning_option=yes
   16528 else
   16529   xorg_cv_cc_flag_unknown_warning_option=no
   16530 fi
   16531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16532 fi
   16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16534 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16535 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16536 	CFLAGS="$xorg_testset_save_CFLAGS"
   16537 fi
   16538 
   16539 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16540 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16541 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16542 	fi
   16543 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16545 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16546 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16547   $as_echo_n "(cached) " >&6
   16548 else
   16549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16550 /* end confdefs.h.  */
   16551 int i;
   16552 _ACEOF
   16553 if ac_fn_c_try_compile "$LINENO"; then :
   16554   xorg_cv_cc_flag_unused_command_line_argument=yes
   16555 else
   16556   xorg_cv_cc_flag_unused_command_line_argument=no
   16557 fi
   16558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16559 fi
   16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16561 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16562 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16563 	CFLAGS="$xorg_testset_save_CFLAGS"
   16564 fi
   16565 
   16566 found="no"
   16567 
   16568 	if test $found = "no" ; then
   16569 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16570 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16571 		fi
   16572 
   16573 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16574 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16575 		fi
   16576 
   16577 		CFLAGS="$CFLAGS -Wsequence-point"
   16578 
   16579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16580 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16581 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16582 		if eval \${$cacheid+:} false; then :
   16583   $as_echo_n "(cached) " >&6
   16584 else
   16585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16586 /* end confdefs.h.  */
   16587 int i;
   16588 int
   16589 main ()
   16590 {
   16591 
   16592   ;
   16593   return 0;
   16594 }
   16595 _ACEOF
   16596 if ac_fn_c_try_link "$LINENO"; then :
   16597   eval $cacheid=yes
   16598 else
   16599   eval $cacheid=no
   16600 fi
   16601 rm -f core conftest.err conftest.$ac_objext \
   16602     conftest$ac_exeext conftest.$ac_ext
   16603 fi
   16604 
   16605 
   16606 		CFLAGS="$xorg_testset_save_CFLAGS"
   16607 
   16608 		eval supported=\$$cacheid
   16609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16610 $as_echo "$supported" >&6; }
   16611 		if test "$supported" = "yes" ; then
   16612 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16613 			found="yes"
   16614 		fi
   16615 	fi
   16616 
   16617 
   16618 
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631 xorg_testset_save_CFLAGS="$CFLAGS"
   16632 
   16633 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16634 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16636 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16637 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16638   $as_echo_n "(cached) " >&6
   16639 else
   16640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16641 /* end confdefs.h.  */
   16642 int i;
   16643 _ACEOF
   16644 if ac_fn_c_try_compile "$LINENO"; then :
   16645   xorg_cv_cc_flag_unknown_warning_option=yes
   16646 else
   16647   xorg_cv_cc_flag_unknown_warning_option=no
   16648 fi
   16649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16650 fi
   16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16652 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16654 	CFLAGS="$xorg_testset_save_CFLAGS"
   16655 fi
   16656 
   16657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16660 	fi
   16661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16662 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16663 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16664 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16665   $as_echo_n "(cached) " >&6
   16666 else
   16667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16668 /* end confdefs.h.  */
   16669 int i;
   16670 _ACEOF
   16671 if ac_fn_c_try_compile "$LINENO"; then :
   16672   xorg_cv_cc_flag_unused_command_line_argument=yes
   16673 else
   16674   xorg_cv_cc_flag_unused_command_line_argument=no
   16675 fi
   16676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16677 fi
   16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16679 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16681 	CFLAGS="$xorg_testset_save_CFLAGS"
   16682 fi
   16683 
   16684 found="no"
   16685 
   16686 	if test $found = "no" ; then
   16687 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16689 		fi
   16690 
   16691 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16693 		fi
   16694 
   16695 		CFLAGS="$CFLAGS -Wreturn-type"
   16696 
   16697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16698 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16699 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16700 		if eval \${$cacheid+:} false; then :
   16701   $as_echo_n "(cached) " >&6
   16702 else
   16703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16704 /* end confdefs.h.  */
   16705 int i;
   16706 int
   16707 main ()
   16708 {
   16709 
   16710   ;
   16711   return 0;
   16712 }
   16713 _ACEOF
   16714 if ac_fn_c_try_link "$LINENO"; then :
   16715   eval $cacheid=yes
   16716 else
   16717   eval $cacheid=no
   16718 fi
   16719 rm -f core conftest.err conftest.$ac_objext \
   16720     conftest$ac_exeext conftest.$ac_ext
   16721 fi
   16722 
   16723 
   16724 		CFLAGS="$xorg_testset_save_CFLAGS"
   16725 
   16726 		eval supported=\$$cacheid
   16727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16728 $as_echo "$supported" >&6; }
   16729 		if test "$supported" = "yes" ; then
   16730 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16731 			found="yes"
   16732 		fi
   16733 	fi
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 xorg_testset_save_CFLAGS="$CFLAGS"
   16750 
   16751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16754 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16755 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16756   $as_echo_n "(cached) " >&6
   16757 else
   16758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16759 /* end confdefs.h.  */
   16760 int i;
   16761 _ACEOF
   16762 if ac_fn_c_try_compile "$LINENO"; then :
   16763   xorg_cv_cc_flag_unknown_warning_option=yes
   16764 else
   16765   xorg_cv_cc_flag_unknown_warning_option=no
   16766 fi
   16767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16768 fi
   16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16770 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16771 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16772 	CFLAGS="$xorg_testset_save_CFLAGS"
   16773 fi
   16774 
   16775 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16776 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16777 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16778 	fi
   16779 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16781 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16782 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16783   $as_echo_n "(cached) " >&6
   16784 else
   16785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16786 /* end confdefs.h.  */
   16787 int i;
   16788 _ACEOF
   16789 if ac_fn_c_try_compile "$LINENO"; then :
   16790   xorg_cv_cc_flag_unused_command_line_argument=yes
   16791 else
   16792   xorg_cv_cc_flag_unused_command_line_argument=no
   16793 fi
   16794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16795 fi
   16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16797 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16799 	CFLAGS="$xorg_testset_save_CFLAGS"
   16800 fi
   16801 
   16802 found="no"
   16803 
   16804 	if test $found = "no" ; then
   16805 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16807 		fi
   16808 
   16809 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16811 		fi
   16812 
   16813 		CFLAGS="$CFLAGS -Wtrigraphs"
   16814 
   16815 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16816 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16817 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16818 		if eval \${$cacheid+:} false; then :
   16819   $as_echo_n "(cached) " >&6
   16820 else
   16821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16822 /* end confdefs.h.  */
   16823 int i;
   16824 int
   16825 main ()
   16826 {
   16827 
   16828   ;
   16829   return 0;
   16830 }
   16831 _ACEOF
   16832 if ac_fn_c_try_link "$LINENO"; then :
   16833   eval $cacheid=yes
   16834 else
   16835   eval $cacheid=no
   16836 fi
   16837 rm -f core conftest.err conftest.$ac_objext \
   16838     conftest$ac_exeext conftest.$ac_ext
   16839 fi
   16840 
   16841 
   16842 		CFLAGS="$xorg_testset_save_CFLAGS"
   16843 
   16844 		eval supported=\$$cacheid
   16845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16846 $as_echo "$supported" >&6; }
   16847 		if test "$supported" = "yes" ; then
   16848 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16849 			found="yes"
   16850 		fi
   16851 	fi
   16852 
   16853 
   16854 
   16855 
   16856 
   16857 
   16858 
   16859 
   16860 
   16861 
   16862 
   16863 
   16864 
   16865 
   16866 
   16867 xorg_testset_save_CFLAGS="$CFLAGS"
   16868 
   16869 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16870 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16871 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16872 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16873 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16874   $as_echo_n "(cached) " >&6
   16875 else
   16876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16877 /* end confdefs.h.  */
   16878 int i;
   16879 _ACEOF
   16880 if ac_fn_c_try_compile "$LINENO"; then :
   16881   xorg_cv_cc_flag_unknown_warning_option=yes
   16882 else
   16883   xorg_cv_cc_flag_unknown_warning_option=no
   16884 fi
   16885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16886 fi
   16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16888 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16890 	CFLAGS="$xorg_testset_save_CFLAGS"
   16891 fi
   16892 
   16893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16896 	fi
   16897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16899 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16900 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16901   $as_echo_n "(cached) " >&6
   16902 else
   16903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16904 /* end confdefs.h.  */
   16905 int i;
   16906 _ACEOF
   16907 if ac_fn_c_try_compile "$LINENO"; then :
   16908   xorg_cv_cc_flag_unused_command_line_argument=yes
   16909 else
   16910   xorg_cv_cc_flag_unused_command_line_argument=no
   16911 fi
   16912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16913 fi
   16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16915 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16916 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16917 	CFLAGS="$xorg_testset_save_CFLAGS"
   16918 fi
   16919 
   16920 found="no"
   16921 
   16922 	if test $found = "no" ; then
   16923 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16924 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16925 		fi
   16926 
   16927 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16928 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16929 		fi
   16930 
   16931 		CFLAGS="$CFLAGS -Warray-bounds"
   16932 
   16933 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16934 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16935 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16936 		if eval \${$cacheid+:} false; then :
   16937   $as_echo_n "(cached) " >&6
   16938 else
   16939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16940 /* end confdefs.h.  */
   16941 int i;
   16942 int
   16943 main ()
   16944 {
   16945 
   16946   ;
   16947   return 0;
   16948 }
   16949 _ACEOF
   16950 if ac_fn_c_try_link "$LINENO"; then :
   16951   eval $cacheid=yes
   16952 else
   16953   eval $cacheid=no
   16954 fi
   16955 rm -f core conftest.err conftest.$ac_objext \
   16956     conftest$ac_exeext conftest.$ac_ext
   16957 fi
   16958 
   16959 
   16960 		CFLAGS="$xorg_testset_save_CFLAGS"
   16961 
   16962 		eval supported=\$$cacheid
   16963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16964 $as_echo "$supported" >&6; }
   16965 		if test "$supported" = "yes" ; then
   16966 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16967 			found="yes"
   16968 		fi
   16969 	fi
   16970 
   16971 
   16972 
   16973 
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 xorg_testset_save_CFLAGS="$CFLAGS"
   16986 
   16987 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16988 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16990 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16991 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16992   $as_echo_n "(cached) " >&6
   16993 else
   16994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16995 /* end confdefs.h.  */
   16996 int i;
   16997 _ACEOF
   16998 if ac_fn_c_try_compile "$LINENO"; then :
   16999   xorg_cv_cc_flag_unknown_warning_option=yes
   17000 else
   17001   xorg_cv_cc_flag_unknown_warning_option=no
   17002 fi
   17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17004 fi
   17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17006 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17007 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17008 	CFLAGS="$xorg_testset_save_CFLAGS"
   17009 fi
   17010 
   17011 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17012 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17013 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17014 	fi
   17015 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17017 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17018 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17019   $as_echo_n "(cached) " >&6
   17020 else
   17021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17022 /* end confdefs.h.  */
   17023 int i;
   17024 _ACEOF
   17025 if ac_fn_c_try_compile "$LINENO"; then :
   17026   xorg_cv_cc_flag_unused_command_line_argument=yes
   17027 else
   17028   xorg_cv_cc_flag_unused_command_line_argument=no
   17029 fi
   17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17031 fi
   17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17033 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17034 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17035 	CFLAGS="$xorg_testset_save_CFLAGS"
   17036 fi
   17037 
   17038 found="no"
   17039 
   17040 	if test $found = "no" ; then
   17041 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17042 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17043 		fi
   17044 
   17045 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17046 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17047 		fi
   17048 
   17049 		CFLAGS="$CFLAGS -Wwrite-strings"
   17050 
   17051 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17052 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17053 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17054 		if eval \${$cacheid+:} false; then :
   17055   $as_echo_n "(cached) " >&6
   17056 else
   17057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17058 /* end confdefs.h.  */
   17059 int i;
   17060 int
   17061 main ()
   17062 {
   17063 
   17064   ;
   17065   return 0;
   17066 }
   17067 _ACEOF
   17068 if ac_fn_c_try_link "$LINENO"; then :
   17069   eval $cacheid=yes
   17070 else
   17071   eval $cacheid=no
   17072 fi
   17073 rm -f core conftest.err conftest.$ac_objext \
   17074     conftest$ac_exeext conftest.$ac_ext
   17075 fi
   17076 
   17077 
   17078 		CFLAGS="$xorg_testset_save_CFLAGS"
   17079 
   17080 		eval supported=\$$cacheid
   17081 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17082 $as_echo "$supported" >&6; }
   17083 		if test "$supported" = "yes" ; then
   17084 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17085 			found="yes"
   17086 		fi
   17087 	fi
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 
   17103 xorg_testset_save_CFLAGS="$CFLAGS"
   17104 
   17105 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17106 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17107 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17108 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17109 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17110   $as_echo_n "(cached) " >&6
   17111 else
   17112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17113 /* end confdefs.h.  */
   17114 int i;
   17115 _ACEOF
   17116 if ac_fn_c_try_compile "$LINENO"; then :
   17117   xorg_cv_cc_flag_unknown_warning_option=yes
   17118 else
   17119   xorg_cv_cc_flag_unknown_warning_option=no
   17120 fi
   17121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17122 fi
   17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17124 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17125 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17126 	CFLAGS="$xorg_testset_save_CFLAGS"
   17127 fi
   17128 
   17129 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17130 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17131 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17132 	fi
   17133 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17135 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17136 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17137   $as_echo_n "(cached) " >&6
   17138 else
   17139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17140 /* end confdefs.h.  */
   17141 int i;
   17142 _ACEOF
   17143 if ac_fn_c_try_compile "$LINENO"; then :
   17144   xorg_cv_cc_flag_unused_command_line_argument=yes
   17145 else
   17146   xorg_cv_cc_flag_unused_command_line_argument=no
   17147 fi
   17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17149 fi
   17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17151 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17153 	CFLAGS="$xorg_testset_save_CFLAGS"
   17154 fi
   17155 
   17156 found="no"
   17157 
   17158 	if test $found = "no" ; then
   17159 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17161 		fi
   17162 
   17163 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17165 		fi
   17166 
   17167 		CFLAGS="$CFLAGS -Waddress"
   17168 
   17169 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17170 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17171 		cacheid=xorg_cv_cc_flag__Waddress
   17172 		if eval \${$cacheid+:} false; then :
   17173   $as_echo_n "(cached) " >&6
   17174 else
   17175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17176 /* end confdefs.h.  */
   17177 int i;
   17178 int
   17179 main ()
   17180 {
   17181 
   17182   ;
   17183   return 0;
   17184 }
   17185 _ACEOF
   17186 if ac_fn_c_try_link "$LINENO"; then :
   17187   eval $cacheid=yes
   17188 else
   17189   eval $cacheid=no
   17190 fi
   17191 rm -f core conftest.err conftest.$ac_objext \
   17192     conftest$ac_exeext conftest.$ac_ext
   17193 fi
   17194 
   17195 
   17196 		CFLAGS="$xorg_testset_save_CFLAGS"
   17197 
   17198 		eval supported=\$$cacheid
   17199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17200 $as_echo "$supported" >&6; }
   17201 		if test "$supported" = "yes" ; then
   17202 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17203 			found="yes"
   17204 		fi
   17205 	fi
   17206 
   17207 
   17208 
   17209 
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 
   17217 
   17218 
   17219 
   17220 
   17221 xorg_testset_save_CFLAGS="$CFLAGS"
   17222 
   17223 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17226 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17227 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17228   $as_echo_n "(cached) " >&6
   17229 else
   17230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17231 /* end confdefs.h.  */
   17232 int i;
   17233 _ACEOF
   17234 if ac_fn_c_try_compile "$LINENO"; then :
   17235   xorg_cv_cc_flag_unknown_warning_option=yes
   17236 else
   17237   xorg_cv_cc_flag_unknown_warning_option=no
   17238 fi
   17239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17240 fi
   17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17242 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17243 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17244 	CFLAGS="$xorg_testset_save_CFLAGS"
   17245 fi
   17246 
   17247 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17248 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17250 	fi
   17251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17253 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17254 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17255   $as_echo_n "(cached) " >&6
   17256 else
   17257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17258 /* end confdefs.h.  */
   17259 int i;
   17260 _ACEOF
   17261 if ac_fn_c_try_compile "$LINENO"; then :
   17262   xorg_cv_cc_flag_unused_command_line_argument=yes
   17263 else
   17264   xorg_cv_cc_flag_unused_command_line_argument=no
   17265 fi
   17266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17267 fi
   17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17269 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17270 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17271 	CFLAGS="$xorg_testset_save_CFLAGS"
   17272 fi
   17273 
   17274 found="no"
   17275 
   17276 	if test $found = "no" ; then
   17277 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17279 		fi
   17280 
   17281 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17283 		fi
   17284 
   17285 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17286 
   17287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17288 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17289 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17290 		if eval \${$cacheid+:} false; then :
   17291   $as_echo_n "(cached) " >&6
   17292 else
   17293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17294 /* end confdefs.h.  */
   17295 int i;
   17296 int
   17297 main ()
   17298 {
   17299 
   17300   ;
   17301   return 0;
   17302 }
   17303 _ACEOF
   17304 if ac_fn_c_try_link "$LINENO"; then :
   17305   eval $cacheid=yes
   17306 else
   17307   eval $cacheid=no
   17308 fi
   17309 rm -f core conftest.err conftest.$ac_objext \
   17310     conftest$ac_exeext conftest.$ac_ext
   17311 fi
   17312 
   17313 
   17314 		CFLAGS="$xorg_testset_save_CFLAGS"
   17315 
   17316 		eval supported=\$$cacheid
   17317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17318 $as_echo "$supported" >&6; }
   17319 		if test "$supported" = "yes" ; then
   17320 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17321 			found="yes"
   17322 		fi
   17323 	fi
   17324 
   17325 
   17326 
   17327 
   17328 
   17329 
   17330 
   17331 
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 
   17338 
   17339 xorg_testset_save_CFLAGS="$CFLAGS"
   17340 
   17341 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17342 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17344 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17345 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17346   $as_echo_n "(cached) " >&6
   17347 else
   17348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17349 /* end confdefs.h.  */
   17350 int i;
   17351 _ACEOF
   17352 if ac_fn_c_try_compile "$LINENO"; then :
   17353   xorg_cv_cc_flag_unknown_warning_option=yes
   17354 else
   17355   xorg_cv_cc_flag_unknown_warning_option=no
   17356 fi
   17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17358 fi
   17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17360 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17361 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17362 	CFLAGS="$xorg_testset_save_CFLAGS"
   17363 fi
   17364 
   17365 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17366 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17367 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17368 	fi
   17369 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17370 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17371 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17372 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17373   $as_echo_n "(cached) " >&6
   17374 else
   17375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17376 /* end confdefs.h.  */
   17377 int i;
   17378 _ACEOF
   17379 if ac_fn_c_try_compile "$LINENO"; then :
   17380   xorg_cv_cc_flag_unused_command_line_argument=yes
   17381 else
   17382   xorg_cv_cc_flag_unused_command_line_argument=no
   17383 fi
   17384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17385 fi
   17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17387 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17389 	CFLAGS="$xorg_testset_save_CFLAGS"
   17390 fi
   17391 
   17392 found="no"
   17393 
   17394 	if test $found = "no" ; then
   17395 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17397 		fi
   17398 
   17399 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17401 		fi
   17402 
   17403 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17404 
   17405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17406 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17407 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17408 		if eval \${$cacheid+:} false; then :
   17409   $as_echo_n "(cached) " >&6
   17410 else
   17411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17412 /* end confdefs.h.  */
   17413 int i;
   17414 int
   17415 main ()
   17416 {
   17417 
   17418   ;
   17419   return 0;
   17420 }
   17421 _ACEOF
   17422 if ac_fn_c_try_link "$LINENO"; then :
   17423   eval $cacheid=yes
   17424 else
   17425   eval $cacheid=no
   17426 fi
   17427 rm -f core conftest.err conftest.$ac_objext \
   17428     conftest$ac_exeext conftest.$ac_ext
   17429 fi
   17430 
   17431 
   17432 		CFLAGS="$xorg_testset_save_CFLAGS"
   17433 
   17434 		eval supported=\$$cacheid
   17435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17436 $as_echo "$supported" >&6; }
   17437 		if test "$supported" = "yes" ; then
   17438 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17439 			found="yes"
   17440 		fi
   17441 	fi
   17442 
   17443 
   17444 fi
   17445 
   17446 
   17447 
   17448 
   17449 
   17450 
   17451 
   17452 		CWARNFLAGS="$BASE_CFLAGS"
   17453 		if  test "x$GCC" = xyes ; then
   17454 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17455 		fi
   17456 
   17457 
   17458 
   17459 
   17460 
   17461 
   17462 
   17463 
   17464 # Check whether --enable-strict-compilation was given.
   17465 if test "${enable_strict_compilation+set}" = set; then :
   17466   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17467 else
   17468   STRICT_COMPILE=no
   17469 fi
   17470 
   17471 
   17472 
   17473 
   17474 
   17475 
   17476 STRICT_CFLAGS=""
   17477 
   17478 
   17479 
   17480 
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 
   17488 
   17489 
   17490 xorg_testset_save_CFLAGS="$CFLAGS"
   17491 
   17492 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17493 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17494 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17495 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17496 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17497   $as_echo_n "(cached) " >&6
   17498 else
   17499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17500 /* end confdefs.h.  */
   17501 int i;
   17502 _ACEOF
   17503 if ac_fn_c_try_compile "$LINENO"; then :
   17504   xorg_cv_cc_flag_unknown_warning_option=yes
   17505 else
   17506   xorg_cv_cc_flag_unknown_warning_option=no
   17507 fi
   17508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17509 fi
   17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17511 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17512 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17513 	CFLAGS="$xorg_testset_save_CFLAGS"
   17514 fi
   17515 
   17516 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17517 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17518 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17519 	fi
   17520 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17521 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17522 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17523 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17524   $as_echo_n "(cached) " >&6
   17525 else
   17526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17527 /* end confdefs.h.  */
   17528 int i;
   17529 _ACEOF
   17530 if ac_fn_c_try_compile "$LINENO"; then :
   17531   xorg_cv_cc_flag_unused_command_line_argument=yes
   17532 else
   17533   xorg_cv_cc_flag_unused_command_line_argument=no
   17534 fi
   17535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17536 fi
   17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17538 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17539 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17540 	CFLAGS="$xorg_testset_save_CFLAGS"
   17541 fi
   17542 
   17543 found="no"
   17544 
   17545 	if test $found = "no" ; then
   17546 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17547 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17548 		fi
   17549 
   17550 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17551 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17552 		fi
   17553 
   17554 		CFLAGS="$CFLAGS -pedantic"
   17555 
   17556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17557 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17558 		cacheid=xorg_cv_cc_flag__pedantic
   17559 		if eval \${$cacheid+:} false; then :
   17560   $as_echo_n "(cached) " >&6
   17561 else
   17562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17563 /* end confdefs.h.  */
   17564 int i;
   17565 int
   17566 main ()
   17567 {
   17568 
   17569   ;
   17570   return 0;
   17571 }
   17572 _ACEOF
   17573 if ac_fn_c_try_link "$LINENO"; then :
   17574   eval $cacheid=yes
   17575 else
   17576   eval $cacheid=no
   17577 fi
   17578 rm -f core conftest.err conftest.$ac_objext \
   17579     conftest$ac_exeext conftest.$ac_ext
   17580 fi
   17581 
   17582 
   17583 		CFLAGS="$xorg_testset_save_CFLAGS"
   17584 
   17585 		eval supported=\$$cacheid
   17586 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17587 $as_echo "$supported" >&6; }
   17588 		if test "$supported" = "yes" ; then
   17589 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17590 			found="yes"
   17591 		fi
   17592 	fi
   17593 
   17594 
   17595 
   17596 
   17597 
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 xorg_testset_save_CFLAGS="$CFLAGS"
   17609 
   17610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17613 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17614 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17615   $as_echo_n "(cached) " >&6
   17616 else
   17617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17618 /* end confdefs.h.  */
   17619 int i;
   17620 _ACEOF
   17621 if ac_fn_c_try_compile "$LINENO"; then :
   17622   xorg_cv_cc_flag_unknown_warning_option=yes
   17623 else
   17624   xorg_cv_cc_flag_unknown_warning_option=no
   17625 fi
   17626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17627 fi
   17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17629 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17630 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17631 	CFLAGS="$xorg_testset_save_CFLAGS"
   17632 fi
   17633 
   17634 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17635 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17636 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17637 	fi
   17638 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17640 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17641 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17642   $as_echo_n "(cached) " >&6
   17643 else
   17644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17645 /* end confdefs.h.  */
   17646 int i;
   17647 _ACEOF
   17648 if ac_fn_c_try_compile "$LINENO"; then :
   17649   xorg_cv_cc_flag_unused_command_line_argument=yes
   17650 else
   17651   xorg_cv_cc_flag_unused_command_line_argument=no
   17652 fi
   17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17654 fi
   17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17656 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17657 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17658 	CFLAGS="$xorg_testset_save_CFLAGS"
   17659 fi
   17660 
   17661 found="no"
   17662 
   17663 	if test $found = "no" ; then
   17664 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17665 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17666 		fi
   17667 
   17668 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17669 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17670 		fi
   17671 
   17672 		CFLAGS="$CFLAGS -Werror"
   17673 
   17674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17675 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17676 		cacheid=xorg_cv_cc_flag__Werror
   17677 		if eval \${$cacheid+:} false; then :
   17678   $as_echo_n "(cached) " >&6
   17679 else
   17680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17681 /* end confdefs.h.  */
   17682 int i;
   17683 int
   17684 main ()
   17685 {
   17686 
   17687   ;
   17688   return 0;
   17689 }
   17690 _ACEOF
   17691 if ac_fn_c_try_link "$LINENO"; then :
   17692   eval $cacheid=yes
   17693 else
   17694   eval $cacheid=no
   17695 fi
   17696 rm -f core conftest.err conftest.$ac_objext \
   17697     conftest$ac_exeext conftest.$ac_ext
   17698 fi
   17699 
   17700 
   17701 		CFLAGS="$xorg_testset_save_CFLAGS"
   17702 
   17703 		eval supported=\$$cacheid
   17704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17705 $as_echo "$supported" >&6; }
   17706 		if test "$supported" = "yes" ; then
   17707 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17708 			found="yes"
   17709 		fi
   17710 	fi
   17711 
   17712 	if test $found = "no" ; then
   17713 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17714 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17715 		fi
   17716 
   17717 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17718 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17719 		fi
   17720 
   17721 		CFLAGS="$CFLAGS -errwarn"
   17722 
   17723 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17724 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17725 		cacheid=xorg_cv_cc_flag__errwarn
   17726 		if eval \${$cacheid+:} false; then :
   17727   $as_echo_n "(cached) " >&6
   17728 else
   17729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17730 /* end confdefs.h.  */
   17731 int i;
   17732 int
   17733 main ()
   17734 {
   17735 
   17736   ;
   17737   return 0;
   17738 }
   17739 _ACEOF
   17740 if ac_fn_c_try_link "$LINENO"; then :
   17741   eval $cacheid=yes
   17742 else
   17743   eval $cacheid=no
   17744 fi
   17745 rm -f core conftest.err conftest.$ac_objext \
   17746     conftest$ac_exeext conftest.$ac_ext
   17747 fi
   17748 
   17749 
   17750 		CFLAGS="$xorg_testset_save_CFLAGS"
   17751 
   17752 		eval supported=\$$cacheid
   17753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17754 $as_echo "$supported" >&6; }
   17755 		if test "$supported" = "yes" ; then
   17756 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17757 			found="yes"
   17758 		fi
   17759 	fi
   17760 
   17761 
   17762 
   17763 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17764 # activate it with -Werror, so we add it here explicitly.
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 xorg_testset_save_CFLAGS="$CFLAGS"
   17779 
   17780 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17781 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17782 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17783 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17784 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17785   $as_echo_n "(cached) " >&6
   17786 else
   17787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17788 /* end confdefs.h.  */
   17789 int i;
   17790 _ACEOF
   17791 if ac_fn_c_try_compile "$LINENO"; then :
   17792   xorg_cv_cc_flag_unknown_warning_option=yes
   17793 else
   17794   xorg_cv_cc_flag_unknown_warning_option=no
   17795 fi
   17796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17797 fi
   17798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17799 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17800 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17801 	CFLAGS="$xorg_testset_save_CFLAGS"
   17802 fi
   17803 
   17804 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17805 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17806 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17807 	fi
   17808 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17809 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17810 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17811 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17812   $as_echo_n "(cached) " >&6
   17813 else
   17814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17815 /* end confdefs.h.  */
   17816 int i;
   17817 _ACEOF
   17818 if ac_fn_c_try_compile "$LINENO"; then :
   17819   xorg_cv_cc_flag_unused_command_line_argument=yes
   17820 else
   17821   xorg_cv_cc_flag_unused_command_line_argument=no
   17822 fi
   17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17824 fi
   17825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17826 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17827 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17828 	CFLAGS="$xorg_testset_save_CFLAGS"
   17829 fi
   17830 
   17831 found="no"
   17832 
   17833 	if test $found = "no" ; then
   17834 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17835 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17836 		fi
   17837 
   17838 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17839 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17840 		fi
   17841 
   17842 		CFLAGS="$CFLAGS -Werror=attributes"
   17843 
   17844 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17845 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17846 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17847 		if eval \${$cacheid+:} false; then :
   17848   $as_echo_n "(cached) " >&6
   17849 else
   17850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17851 /* end confdefs.h.  */
   17852 int i;
   17853 int
   17854 main ()
   17855 {
   17856 
   17857   ;
   17858   return 0;
   17859 }
   17860 _ACEOF
   17861 if ac_fn_c_try_link "$LINENO"; then :
   17862   eval $cacheid=yes
   17863 else
   17864   eval $cacheid=no
   17865 fi
   17866 rm -f core conftest.err conftest.$ac_objext \
   17867     conftest$ac_exeext conftest.$ac_ext
   17868 fi
   17869 
   17870 
   17871 		CFLAGS="$xorg_testset_save_CFLAGS"
   17872 
   17873 		eval supported=\$$cacheid
   17874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17875 $as_echo "$supported" >&6; }
   17876 		if test "$supported" = "yes" ; then
   17877 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17878 			found="yes"
   17879 		fi
   17880 	fi
   17881 
   17882 
   17883 
   17884 if test "x$STRICT_COMPILE" = "xyes"; then
   17885     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17886     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17887 fi
   17888 
   17889 
   17890 
   17891 
   17892 
   17893 
   17894 cat >>confdefs.h <<_ACEOF
   17895 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17896 _ACEOF
   17897 
   17898 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17899 	if test "x$PVM" = "x"; then
   17900 		PVM="0"
   17901 	fi
   17902 
   17903 cat >>confdefs.h <<_ACEOF
   17904 #define PACKAGE_VERSION_MINOR $PVM
   17905 _ACEOF
   17906 
   17907 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17908 	if test "x$PVP" = "x"; then
   17909 		PVP="0"
   17910 	fi
   17911 
   17912 cat >>confdefs.h <<_ACEOF
   17913 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17914 _ACEOF
   17915 
   17916 
   17917 
   17918 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17919 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17920 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17921 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17922 
   17923 
   17924 
   17925 
   17926 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17927 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17928 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17929 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17930 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 
   17937 if test x$APP_MAN_SUFFIX = x    ; then
   17938     APP_MAN_SUFFIX=1
   17939 fi
   17940 if test x$APP_MAN_DIR = x    ; then
   17941     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17942 fi
   17943 
   17944 if test x$LIB_MAN_SUFFIX = x    ; then
   17945     LIB_MAN_SUFFIX=3
   17946 fi
   17947 if test x$LIB_MAN_DIR = x    ; then
   17948     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17949 fi
   17950 
   17951 if test x$FILE_MAN_SUFFIX = x    ; then
   17952     case $host_os in
   17953 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17954 	*)		FILE_MAN_SUFFIX=5  ;;
   17955     esac
   17956 fi
   17957 if test x$FILE_MAN_DIR = x    ; then
   17958     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17959 fi
   17960 
   17961 if test x$MISC_MAN_SUFFIX = x    ; then
   17962     case $host_os in
   17963 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17964 	*)		MISC_MAN_SUFFIX=7  ;;
   17965     esac
   17966 fi
   17967 if test x$MISC_MAN_DIR = x    ; then
   17968     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17969 fi
   17970 
   17971 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17972     case $host_os in
   17973 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17974 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17975     esac
   17976 fi
   17977 if test x$DRIVER_MAN_DIR = x    ; then
   17978     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17979 fi
   17980 
   17981 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17982     case $host_os in
   17983 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17984 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17985     esac
   17986 fi
   17987 if test x$ADMIN_MAN_DIR = x    ; then
   17988     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17989 fi
   17990 
   17991 
   17992 
   17993 
   17994 
   17995 
   17996 
   17997 
   17998 
   17999 
   18000 
   18001 
   18002 
   18003 
   18004 
   18005 XORG_MAN_PAGE="X Version 11"
   18006 
   18007 MAN_SUBSTS="\
   18008 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18009 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18010 	-e 's|__xservername__|Xorg|g' \
   18011 	-e 's|__xconfigfile__|xorg.conf|g' \
   18012 	-e 's|__projectroot__|\$(prefix)|g' \
   18013 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18014 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18015 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18016 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18017 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18018 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18019 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18020 
   18021 
   18022 
   18023 # Check whether --enable-silent-rules was given.
   18024 if test "${enable_silent_rules+set}" = set; then :
   18025   enableval=$enable_silent_rules;
   18026 fi
   18027 
   18028 case $enable_silent_rules in # (((
   18029   yes) AM_DEFAULT_VERBOSITY=0;;
   18030    no) AM_DEFAULT_VERBOSITY=1;;
   18031     *) AM_DEFAULT_VERBOSITY=0;;
   18032 esac
   18033 am_make=${MAKE-make}
   18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18035 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18036 if ${am_cv_make_support_nested_variables+:} false; then :
   18037   $as_echo_n "(cached) " >&6
   18038 else
   18039   if $as_echo 'TRUE=$(BAR$(V))
   18040 BAR0=false
   18041 BAR1=true
   18042 V=1
   18043 am__doit:
   18044 	@$(TRUE)
   18045 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18046   am_cv_make_support_nested_variables=yes
   18047 else
   18048   am_cv_make_support_nested_variables=no
   18049 fi
   18050 fi
   18051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18052 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18053 if test $am_cv_make_support_nested_variables = yes; then
   18054     AM_V='$(V)'
   18055   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18056 else
   18057   AM_V=$AM_DEFAULT_VERBOSITY
   18058   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18059 fi
   18060 AM_BACKSLASH='\'
   18061 
   18062 
   18063 
   18064 
   18065 # Check whether --enable-specs was given.
   18066 if test "${enable_specs+set}" = set; then :
   18067   enableval=$enable_specs; build_specs=$enableval
   18068 else
   18069   build_specs=yes
   18070 fi
   18071 
   18072 
   18073  if test x$build_specs = xyes; then
   18074   ENABLE_SPECS_TRUE=
   18075   ENABLE_SPECS_FALSE='#'
   18076 else
   18077   ENABLE_SPECS_TRUE='#'
   18078   ENABLE_SPECS_FALSE=
   18079 fi
   18080 
   18081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   18082 $as_echo_n "checking whether to build functional specifications... " >&6; }
   18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   18084 $as_echo "$build_specs" >&6; }
   18085 
   18086 
   18087 
   18088 
   18089 
   18090 # Check whether --with-xmlto was given.
   18091 if test "${with_xmlto+set}" = set; then :
   18092   withval=$with_xmlto; use_xmlto=$withval
   18093 else
   18094   use_xmlto=auto
   18095 fi
   18096 
   18097 
   18098 
   18099 if test "x$use_xmlto" = x"auto"; then
   18100    # Extract the first word of "xmlto", so it can be a program name with args.
   18101 set dummy xmlto; ac_word=$2
   18102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18103 $as_echo_n "checking for $ac_word... " >&6; }
   18104 if ${ac_cv_path_XMLTO+:} false; then :
   18105   $as_echo_n "(cached) " >&6
   18106 else
   18107   case $XMLTO in
   18108   [\\/]* | ?:[\\/]*)
   18109   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18110   ;;
   18111   *)
   18112   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18113 for as_dir in $PATH
   18114 do
   18115   IFS=$as_save_IFS
   18116   test -z "$as_dir" && as_dir=.
   18117     for ac_exec_ext in '' $ac_executable_extensions; do
   18118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18119     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18121     break 2
   18122   fi
   18123 done
   18124   done
   18125 IFS=$as_save_IFS
   18126 
   18127   ;;
   18128 esac
   18129 fi
   18130 XMLTO=$ac_cv_path_XMLTO
   18131 if test -n "$XMLTO"; then
   18132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18133 $as_echo "$XMLTO" >&6; }
   18134 else
   18135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18136 $as_echo "no" >&6; }
   18137 fi
   18138 
   18139 
   18140    if test "x$XMLTO" = "x"; then
   18141         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   18142 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   18143 	have_xmlto=no
   18144    else
   18145         have_xmlto=yes
   18146    fi
   18147 elif test "x$use_xmlto" = x"yes" ; then
   18148    # Extract the first word of "xmlto", so it can be a program name with args.
   18149 set dummy xmlto; ac_word=$2
   18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18151 $as_echo_n "checking for $ac_word... " >&6; }
   18152 if ${ac_cv_path_XMLTO+:} false; then :
   18153   $as_echo_n "(cached) " >&6
   18154 else
   18155   case $XMLTO in
   18156   [\\/]* | ?:[\\/]*)
   18157   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18158   ;;
   18159   *)
   18160   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18161 for as_dir in $PATH
   18162 do
   18163   IFS=$as_save_IFS
   18164   test -z "$as_dir" && as_dir=.
   18165     for ac_exec_ext in '' $ac_executable_extensions; do
   18166   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18167     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18169     break 2
   18170   fi
   18171 done
   18172   done
   18173 IFS=$as_save_IFS
   18174 
   18175   ;;
   18176 esac
   18177 fi
   18178 XMLTO=$ac_cv_path_XMLTO
   18179 if test -n "$XMLTO"; then
   18180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18181 $as_echo "$XMLTO" >&6; }
   18182 else
   18183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18184 $as_echo "no" >&6; }
   18185 fi
   18186 
   18187 
   18188    if test "x$XMLTO" = "x"; then
   18189         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   18190    fi
   18191    have_xmlto=yes
   18192 elif test "x$use_xmlto" = x"no" ; then
   18193    if test "x$XMLTO" != "x"; then
   18194       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   18195 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   18196    fi
   18197    have_xmlto=no
   18198 else
   18199    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   18200 fi
   18201 
   18202 # Test for a minimum version of xmlto, if provided.
   18203 if test "$have_xmlto" = yes; then
   18204     # scrape the xmlto version
   18205     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   18206 $as_echo_n "checking the xmlto version... " >&6; }
   18207     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   18208     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   18209 $as_echo "$xmlto_version" >&6; }
   18210     as_arg_v1=$xmlto_version
   18211 as_arg_v2=0.0.22
   18212 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   18213 case $? in #(
   18214   1) :
   18215     if test "x$use_xmlto" = xauto; then
   18216             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   18217 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   18218             have_xmlto=no
   18219         else
   18220             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   18221         fi ;; #(
   18222   0) :
   18223      ;; #(
   18224   2) :
   18225      ;; #(
   18226   *) :
   18227      ;;
   18228 esac
   18229 fi
   18230 
   18231 # Test for the ability of xmlto to generate a text target
   18232 have_xmlto_text=no
   18233 cat > conftest.xml << "EOF"
   18234 EOF
   18235 if test "$have_xmlto" = yes; then :
   18236   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18237   have_xmlto_text=yes
   18238 else
   18239   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   18240 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   18241 fi
   18242 fi
   18243 rm -f conftest.xml
   18244  if test $have_xmlto_text = yes; then
   18245   HAVE_XMLTO_TEXT_TRUE=
   18246   HAVE_XMLTO_TEXT_FALSE='#'
   18247 else
   18248   HAVE_XMLTO_TEXT_TRUE='#'
   18249   HAVE_XMLTO_TEXT_FALSE=
   18250 fi
   18251 
   18252  if test "$have_xmlto" = yes; then
   18253   HAVE_XMLTO_TRUE=
   18254   HAVE_XMLTO_FALSE='#'
   18255 else
   18256   HAVE_XMLTO_TRUE='#'
   18257   HAVE_XMLTO_FALSE=
   18258 fi
   18259 
   18260 
   18261 
   18262 
   18263 
   18264 
   18265 # Check whether --with-fop was given.
   18266 if test "${with_fop+set}" = set; then :
   18267   withval=$with_fop; use_fop=$withval
   18268 else
   18269   use_fop=no
   18270 fi
   18271 
   18272 
   18273 
   18274 if test "x$use_fop" = x"auto"; then
   18275    # Extract the first word of "fop", so it can be a program name with args.
   18276 set dummy fop; ac_word=$2
   18277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18278 $as_echo_n "checking for $ac_word... " >&6; }
   18279 if ${ac_cv_path_FOP+:} false; then :
   18280   $as_echo_n "(cached) " >&6
   18281 else
   18282   case $FOP in
   18283   [\\/]* | ?:[\\/]*)
   18284   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18285   ;;
   18286   *)
   18287   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18288 for as_dir in $PATH
   18289 do
   18290   IFS=$as_save_IFS
   18291   test -z "$as_dir" && as_dir=.
   18292     for ac_exec_ext in '' $ac_executable_extensions; do
   18293   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18294     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18296     break 2
   18297   fi
   18298 done
   18299   done
   18300 IFS=$as_save_IFS
   18301 
   18302   ;;
   18303 esac
   18304 fi
   18305 FOP=$ac_cv_path_FOP
   18306 if test -n "$FOP"; then
   18307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18308 $as_echo "$FOP" >&6; }
   18309 else
   18310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18311 $as_echo "no" >&6; }
   18312 fi
   18313 
   18314 
   18315    if test "x$FOP" = "x"; then
   18316         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   18317 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   18318 	have_fop=no
   18319    else
   18320         have_fop=yes
   18321    fi
   18322 elif test "x$use_fop" = x"yes" ; then
   18323    # Extract the first word of "fop", so it can be a program name with args.
   18324 set dummy fop; ac_word=$2
   18325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18326 $as_echo_n "checking for $ac_word... " >&6; }
   18327 if ${ac_cv_path_FOP+:} false; then :
   18328   $as_echo_n "(cached) " >&6
   18329 else
   18330   case $FOP in
   18331   [\\/]* | ?:[\\/]*)
   18332   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18333   ;;
   18334   *)
   18335   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18336 for as_dir in $PATH
   18337 do
   18338   IFS=$as_save_IFS
   18339   test -z "$as_dir" && as_dir=.
   18340     for ac_exec_ext in '' $ac_executable_extensions; do
   18341   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18342     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18344     break 2
   18345   fi
   18346 done
   18347   done
   18348 IFS=$as_save_IFS
   18349 
   18350   ;;
   18351 esac
   18352 fi
   18353 FOP=$ac_cv_path_FOP
   18354 if test -n "$FOP"; then
   18355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18356 $as_echo "$FOP" >&6; }
   18357 else
   18358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18359 $as_echo "no" >&6; }
   18360 fi
   18361 
   18362 
   18363    if test "x$FOP" = "x"; then
   18364         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   18365    fi
   18366    have_fop=yes
   18367 elif test "x$use_fop" = x"no" ; then
   18368    if test "x$FOP" != "x"; then
   18369       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   18370 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   18371    fi
   18372    have_fop=no
   18373 else
   18374    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   18375 fi
   18376 
   18377 # Test for a minimum version of fop, if provided.
   18378 
   18379  if test "$have_fop" = yes; then
   18380   HAVE_FOP_TRUE=
   18381   HAVE_FOP_FALSE='#'
   18382 else
   18383   HAVE_FOP_TRUE='#'
   18384   HAVE_FOP_FALSE=
   18385 fi
   18386 
   18387 
   18388 
   18389 
   18390 # Preserves the interface, should it be implemented later
   18391 
   18392 
   18393 
   18394 # Check whether --with-xsltproc was given.
   18395 if test "${with_xsltproc+set}" = set; then :
   18396   withval=$with_xsltproc; use_xsltproc=$withval
   18397 else
   18398   use_xsltproc=auto
   18399 fi
   18400 
   18401 
   18402 
   18403 if test "x$use_xsltproc" = x"auto"; then
   18404    # Extract the first word of "xsltproc", so it can be a program name with args.
   18405 set dummy xsltproc; ac_word=$2
   18406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18407 $as_echo_n "checking for $ac_word... " >&6; }
   18408 if ${ac_cv_path_XSLTPROC+:} false; then :
   18409   $as_echo_n "(cached) " >&6
   18410 else
   18411   case $XSLTPROC in
   18412   [\\/]* | ?:[\\/]*)
   18413   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18414   ;;
   18415   *)
   18416   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18417 for as_dir in $PATH
   18418 do
   18419   IFS=$as_save_IFS
   18420   test -z "$as_dir" && as_dir=.
   18421     for ac_exec_ext in '' $ac_executable_extensions; do
   18422   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18423     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18425     break 2
   18426   fi
   18427 done
   18428   done
   18429 IFS=$as_save_IFS
   18430 
   18431   ;;
   18432 esac
   18433 fi
   18434 XSLTPROC=$ac_cv_path_XSLTPROC
   18435 if test -n "$XSLTPROC"; then
   18436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18437 $as_echo "$XSLTPROC" >&6; }
   18438 else
   18439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18440 $as_echo "no" >&6; }
   18441 fi
   18442 
   18443 
   18444    if test "x$XSLTPROC" = "x"; then
   18445         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   18446 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   18447 	have_xsltproc=no
   18448    else
   18449         have_xsltproc=yes
   18450    fi
   18451 elif test "x$use_xsltproc" = x"yes" ; then
   18452    # Extract the first word of "xsltproc", so it can be a program name with args.
   18453 set dummy xsltproc; ac_word=$2
   18454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18455 $as_echo_n "checking for $ac_word... " >&6; }
   18456 if ${ac_cv_path_XSLTPROC+:} false; then :
   18457   $as_echo_n "(cached) " >&6
   18458 else
   18459   case $XSLTPROC in
   18460   [\\/]* | ?:[\\/]*)
   18461   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18462   ;;
   18463   *)
   18464   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18465 for as_dir in $PATH
   18466 do
   18467   IFS=$as_save_IFS
   18468   test -z "$as_dir" && as_dir=.
   18469     for ac_exec_ext in '' $ac_executable_extensions; do
   18470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18471     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18473     break 2
   18474   fi
   18475 done
   18476   done
   18477 IFS=$as_save_IFS
   18478 
   18479   ;;
   18480 esac
   18481 fi
   18482 XSLTPROC=$ac_cv_path_XSLTPROC
   18483 if test -n "$XSLTPROC"; then
   18484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18485 $as_echo "$XSLTPROC" >&6; }
   18486 else
   18487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18488 $as_echo "no" >&6; }
   18489 fi
   18490 
   18491 
   18492    if test "x$XSLTPROC" = "x"; then
   18493         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   18494    fi
   18495    have_xsltproc=yes
   18496 elif test "x$use_xsltproc" = x"no" ; then
   18497    if test "x$XSLTPROC" != "x"; then
   18498       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   18499 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   18500    fi
   18501    have_xsltproc=no
   18502 else
   18503    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   18504 fi
   18505 
   18506  if test "$have_xsltproc" = yes; then
   18507   HAVE_XSLTPROC_TRUE=
   18508   HAVE_XSLTPROC_FALSE='#'
   18509 else
   18510   HAVE_XSLTPROC_TRUE='#'
   18511   HAVE_XSLTPROC_FALSE=
   18512 fi
   18513 
   18514 
   18515 
   18516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.10" >&5
   18517 $as_echo_n "checking for X.Org SGML entities >= 1.10... " >&6; }
   18518 XORG_SGML_PATH=
   18519 if test -n "$PKG_CONFIG" && \
   18520     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.10\""; } >&5
   18521   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.10") 2>&5
   18522   ac_status=$?
   18523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18524   test $ac_status = 0; }; then
   18525   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   18526 else
   18527   :
   18528 
   18529 fi
   18530 
   18531 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   18532 # the path and the name of the doc stylesheet
   18533 if test "x$XORG_SGML_PATH" != "x" ; then
   18534    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   18535 $as_echo "$XORG_SGML_PATH" >&6; }
   18536    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   18537    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   18538 else
   18539    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18540 $as_echo "no" >&6; }
   18541 fi
   18542 
   18543 
   18544 
   18545 
   18546  if test "x$XSL_STYLESHEET" != "x"; then
   18547   HAVE_STYLESHEETS_TRUE=
   18548   HAVE_STYLESHEETS_FALSE='#'
   18549 else
   18550   HAVE_STYLESHEETS_TRUE='#'
   18551   HAVE_STYLESHEETS_FALSE=
   18552 fi
   18553 
   18554 
   18555 
   18556 
   18557 for ac_prog in cpp
   18558 do
   18559   # Extract the first word of "$ac_prog", so it can be a program name with args.
   18560 set dummy $ac_prog; ac_word=$2
   18561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18562 $as_echo_n "checking for $ac_word... " >&6; }
   18563 if ${ac_cv_path_RAWCPP+:} false; then :
   18564   $as_echo_n "(cached) " >&6
   18565 else
   18566   case $RAWCPP in
   18567   [\\/]* | ?:[\\/]*)
   18568   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   18569   ;;
   18570   *)
   18571   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18572 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   18573 for as_dir in $as_dummy
   18574 do
   18575   IFS=$as_save_IFS
   18576   test -z "$as_dir" && as_dir=.
   18577     for ac_exec_ext in '' $ac_executable_extensions; do
   18578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18579     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   18580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18581     break 2
   18582   fi
   18583 done
   18584   done
   18585 IFS=$as_save_IFS
   18586 
   18587   ;;
   18588 esac
   18589 fi
   18590 RAWCPP=$ac_cv_path_RAWCPP
   18591 if test -n "$RAWCPP"; then
   18592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   18593 $as_echo "$RAWCPP" >&6; }
   18594 else
   18595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18596 $as_echo "no" >&6; }
   18597 fi
   18598 
   18599 
   18600   test -n "$RAWCPP" && break
   18601 done
   18602 test -n "$RAWCPP" || RAWCPP="${CPP}"
   18603 
   18604 
   18605 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   18606 # which is not the best choice for supporting other OS'es, but covers most
   18607 # of the ones we need for now.
   18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   18609 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   18610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18611 /* end confdefs.h.  */
   18612 Does cpp redefine unix ?
   18613 _ACEOF
   18614 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   18615 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18616 $as_echo "no" >&6; }
   18617 else
   18618 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   18619 		RAWCPPFLAGS=-undef
   18620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18621 $as_echo "yes" >&6; }
   18622 	# under Cygwin unix is still defined even with -undef
   18623 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   18624 		RAWCPPFLAGS="-undef -ansi"
   18625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   18626 $as_echo "yes, with -ansi" >&6; }
   18627 	else
   18628 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   18629 	fi
   18630 fi
   18631 rm -f conftest.$ac_ext
   18632 
   18633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   18634 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18636 /* end confdefs.h.  */
   18637 Does cpp preserve   "whitespace"?
   18638 _ACEOF
   18639 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   18640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18641 $as_echo "no" >&6; }
   18642 else
   18643 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   18644 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   18645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18646 $as_echo "yes" >&6; }
   18647 	else
   18648 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   18649 	fi
   18650 fi
   18651 rm -f conftest.$ac_ext
   18652 
   18653 
   18654 
   18655 
   18656 # Preserves the interface, should it be implemented later
   18657 
   18658 
   18659 
   18660 # Check whether --with-perl was given.
   18661 if test "${with_perl+set}" = set; then :
   18662   withval=$with_perl; use_perl=$withval
   18663 else
   18664   use_perl=auto
   18665 fi
   18666 
   18667 
   18668 
   18669 if test "x$use_perl" = x"auto"; then
   18670    # Extract the first word of "perl", so it can be a program name with args.
   18671 set dummy perl; ac_word=$2
   18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18673 $as_echo_n "checking for $ac_word... " >&6; }
   18674 if ${ac_cv_path_PERL+:} false; then :
   18675   $as_echo_n "(cached) " >&6
   18676 else
   18677   case $PERL in
   18678   [\\/]* | ?:[\\/]*)
   18679   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   18680   ;;
   18681   *)
   18682   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18683 for as_dir in $PATH
   18684 do
   18685   IFS=$as_save_IFS
   18686   test -z "$as_dir" && as_dir=.
   18687     for ac_exec_ext in '' $ac_executable_extensions; do
   18688   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18689     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   18690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18691     break 2
   18692   fi
   18693 done
   18694   done
   18695 IFS=$as_save_IFS
   18696 
   18697   ;;
   18698 esac
   18699 fi
   18700 PERL=$ac_cv_path_PERL
   18701 if test -n "$PERL"; then
   18702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   18703 $as_echo "$PERL" >&6; }
   18704 else
   18705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18706 $as_echo "no" >&6; }
   18707 fi
   18708 
   18709 
   18710    if test "x$PERL" = "x"; then
   18711         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
   18712 $as_echo "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
   18713 	have_perl=no
   18714    else
   18715         have_perl=yes
   18716    fi
   18717 elif test "x$use_perl" = x"yes" ; then
   18718    # Extract the first word of "perl", so it can be a program name with args.
   18719 set dummy perl; ac_word=$2
   18720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18721 $as_echo_n "checking for $ac_word... " >&6; }
   18722 if ${ac_cv_path_PERL+:} false; then :
   18723   $as_echo_n "(cached) " >&6
   18724 else
   18725   case $PERL in
   18726   [\\/]* | ?:[\\/]*)
   18727   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   18728   ;;
   18729   *)
   18730   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18731 for as_dir in $PATH
   18732 do
   18733   IFS=$as_save_IFS
   18734   test -z "$as_dir" && as_dir=.
   18735     for ac_exec_ext in '' $ac_executable_extensions; do
   18736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18737     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   18738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18739     break 2
   18740   fi
   18741 done
   18742   done
   18743 IFS=$as_save_IFS
   18744 
   18745   ;;
   18746 esac
   18747 fi
   18748 PERL=$ac_cv_path_PERL
   18749 if test -n "$PERL"; then
   18750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   18751 $as_echo "$PERL" >&6; }
   18752 else
   18753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18754 $as_echo "no" >&6; }
   18755 fi
   18756 
   18757 
   18758    if test "x$PERL" = "x"; then
   18759         as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
   18760    fi
   18761    have_perl=yes
   18762 elif test "x$use_perl" = x"no" ; then
   18763    if test "x$PERL" != "x"; then
   18764       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
   18765 $as_echo "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
   18766    fi
   18767    have_perl=no
   18768 else
   18769    as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
   18770 fi
   18771 
   18772  if test "$have_perl" = yes; then
   18773   HAVE_PERL_TRUE=
   18774   HAVE_PERL_FALSE='#'
   18775 else
   18776   HAVE_PERL_TRUE='#'
   18777   HAVE_PERL_FALSE=
   18778 fi
   18779 
   18780 
   18781 
   18782 # Required when PKG_CHECK_MODULES called within an if statement
   18783 
   18784 
   18785 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   18786 	if test -n "$ac_tool_prefix"; then
   18787   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   18788 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18790 $as_echo_n "checking for $ac_word... " >&6; }
   18791 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   18792   $as_echo_n "(cached) " >&6
   18793 else
   18794   case $PKG_CONFIG in
   18795   [\\/]* | ?:[\\/]*)
   18796   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   18797   ;;
   18798   *)
   18799   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18800 for as_dir in $PATH
   18801 do
   18802   IFS=$as_save_IFS
   18803   test -z "$as_dir" && as_dir=.
   18804     for ac_exec_ext in '' $ac_executable_extensions; do
   18805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18806     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   18807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18808     break 2
   18809   fi
   18810 done
   18811   done
   18812 IFS=$as_save_IFS
   18813 
   18814   ;;
   18815 esac
   18816 fi
   18817 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   18818 if test -n "$PKG_CONFIG"; then
   18819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   18820 $as_echo "$PKG_CONFIG" >&6; }
   18821 else
   18822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18823 $as_echo "no" >&6; }
   18824 fi
   18825 
   18826 
   18827 fi
   18828 if test -z "$ac_cv_path_PKG_CONFIG"; then
   18829   ac_pt_PKG_CONFIG=$PKG_CONFIG
   18830   # Extract the first word of "pkg-config", so it can be a program name with args.
   18831 set dummy pkg-config; ac_word=$2
   18832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18833 $as_echo_n "checking for $ac_word... " >&6; }
   18834 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   18835   $as_echo_n "(cached) " >&6
   18836 else
   18837   case $ac_pt_PKG_CONFIG in
   18838   [\\/]* | ?:[\\/]*)
   18839   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   18840   ;;
   18841   *)
   18842   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18843 for as_dir in $PATH
   18844 do
   18845   IFS=$as_save_IFS
   18846   test -z "$as_dir" && as_dir=.
   18847     for ac_exec_ext in '' $ac_executable_extensions; do
   18848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18849     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   18850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18851     break 2
   18852   fi
   18853 done
   18854   done
   18855 IFS=$as_save_IFS
   18856 
   18857   ;;
   18858 esac
   18859 fi
   18860 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   18861 if test -n "$ac_pt_PKG_CONFIG"; then
   18862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   18863 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   18864 else
   18865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18866 $as_echo "no" >&6; }
   18867 fi
   18868 
   18869   if test "x$ac_pt_PKG_CONFIG" = x; then
   18870     PKG_CONFIG=""
   18871   else
   18872     case $cross_compiling:$ac_tool_warned in
   18873 yes:)
   18874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   18875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   18876 ac_tool_warned=yes ;;
   18877 esac
   18878     PKG_CONFIG=$ac_pt_PKG_CONFIG
   18879   fi
   18880 else
   18881   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   18882 fi
   18883 
   18884 fi
   18885 if test -n "$PKG_CONFIG"; then
   18886 	_pkg_min_version=0.9.0
   18887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   18888 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   18889 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   18890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18891 $as_echo "yes" >&6; }
   18892 	else
   18893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18894 $as_echo "no" >&6; }
   18895 		PKG_CONFIG=""
   18896 	fi
   18897 
   18898 fi
   18899 
   18900 if test x"$CC_FOR_BUILD" = x; then
   18901 	if test x"$cross_compiling" = xyes; then
   18902 	       for ac_prog in gcc cc
   18903 do
   18904   # Extract the first word of "$ac_prog", so it can be a program name with args.
   18905 set dummy $ac_prog; ac_word=$2
   18906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18907 $as_echo_n "checking for $ac_word... " >&6; }
   18908 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
   18909   $as_echo_n "(cached) " >&6
   18910 else
   18911   if test -n "$CC_FOR_BUILD"; then
   18912   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   18913 else
   18914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18915 for as_dir in $PATH
   18916 do
   18917   IFS=$as_save_IFS
   18918   test -z "$as_dir" && as_dir=.
   18919     for ac_exec_ext in '' $ac_executable_extensions; do
   18920   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18921     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
   18922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18923     break 2
   18924   fi
   18925 done
   18926   done
   18927 IFS=$as_save_IFS
   18928 
   18929 fi
   18930 fi
   18931 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   18932 if test -n "$CC_FOR_BUILD"; then
   18933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   18934 $as_echo "$CC_FOR_BUILD" >&6; }
   18935 else
   18936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18937 $as_echo "no" >&6; }
   18938 fi
   18939 
   18940 
   18941   test -n "$CC_FOR_BUILD" && break
   18942 done
   18943 
   18944 	else
   18945 	       CC_FOR_BUILD="$CC"
   18946 	fi
   18947 fi
   18948 
   18949 
   18950 if test x"$CPPFLAGS_FOR_BUILD" = x; then
   18951 	if test ! x"$cross_compiling" = xyes; then
   18952 		CPPFLAGS_FOR_BUILD=${CPPFLAGS}
   18953 	fi
   18954 fi
   18955 
   18956 
   18957 if test x"$CFLAGS_FOR_BUILD" = x; then
   18958 	if test ! x"$cross_compiling" = xyes; then
   18959 		CFLAGS_FOR_BUILD=${CFLAGS}
   18960 	fi
   18961 fi
   18962 
   18963 
   18964 if test x"$LDFLAGS_FOR_BUILD" = x; then
   18965 	if test ! x"$cross_compiling" = xyes; then
   18966 		LDFLAGS_FOR_BUILD=${LDFLAGS}
   18967 	fi
   18968 fi
   18969 
   18970 
   18971 # Checks for pkg-config packages
   18972 
   18973 # Always required
   18974 X11_REQUIRES='xproto >= 7.0.17 xextproto xtrans xcb >= 1.1.92'
   18975 X11_EXTRA_DEPS="xcb >= 1.1.92"
   18976 
   18977 
   18978 
   18979 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   18980 	if test -n "$ac_tool_prefix"; then
   18981   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   18982 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   18983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18984 $as_echo_n "checking for $ac_word... " >&6; }
   18985 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   18986   $as_echo_n "(cached) " >&6
   18987 else
   18988   case $PKG_CONFIG in
   18989   [\\/]* | ?:[\\/]*)
   18990   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   18991   ;;
   18992   *)
   18993   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18994 for as_dir in $PATH
   18995 do
   18996   IFS=$as_save_IFS
   18997   test -z "$as_dir" && as_dir=.
   18998     for ac_exec_ext in '' $ac_executable_extensions; do
   18999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19000     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19002     break 2
   19003   fi
   19004 done
   19005   done
   19006 IFS=$as_save_IFS
   19007 
   19008   ;;
   19009 esac
   19010 fi
   19011 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19012 if test -n "$PKG_CONFIG"; then
   19013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   19014 $as_echo "$PKG_CONFIG" >&6; }
   19015 else
   19016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19017 $as_echo "no" >&6; }
   19018 fi
   19019 
   19020 
   19021 fi
   19022 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19023   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19024   # Extract the first word of "pkg-config", so it can be a program name with args.
   19025 set dummy pkg-config; ac_word=$2
   19026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19027 $as_echo_n "checking for $ac_word... " >&6; }
   19028 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   19029   $as_echo_n "(cached) " >&6
   19030 else
   19031   case $ac_pt_PKG_CONFIG in
   19032   [\\/]* | ?:[\\/]*)
   19033   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19034   ;;
   19035   *)
   19036   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19037 for as_dir in $PATH
   19038 do
   19039   IFS=$as_save_IFS
   19040   test -z "$as_dir" && as_dir=.
   19041     for ac_exec_ext in '' $ac_executable_extensions; do
   19042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19043     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19045     break 2
   19046   fi
   19047 done
   19048   done
   19049 IFS=$as_save_IFS
   19050 
   19051   ;;
   19052 esac
   19053 fi
   19054 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19055 if test -n "$ac_pt_PKG_CONFIG"; then
   19056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   19057 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   19058 else
   19059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19060 $as_echo "no" >&6; }
   19061 fi
   19062 
   19063   if test "x$ac_pt_PKG_CONFIG" = x; then
   19064     PKG_CONFIG=""
   19065   else
   19066     case $cross_compiling:$ac_tool_warned in
   19067 yes:)
   19068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   19069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   19070 ac_tool_warned=yes ;;
   19071 esac
   19072     PKG_CONFIG=$ac_pt_PKG_CONFIG
   19073   fi
   19074 else
   19075   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19076 fi
   19077 
   19078 fi
   19079 if test -n "$PKG_CONFIG"; then
   19080 	_pkg_min_version=0.9.0
   19081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   19082 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   19083 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19084 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19085 $as_echo "yes" >&6; }
   19086 	else
   19087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19088 $as_echo "no" >&6; }
   19089 		PKG_CONFIG=""
   19090 	fi
   19091 
   19092 fi
   19093 
   19094 
   19095 
   19096 # Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
   19097 # was not expanded, since libX11 with no transport types is rather useless.
   19098 #
   19099 # If you're seeing an error here, be sure you installed the lib/xtrans module
   19100 # first and if it's not in the default location, that you set the ACLOCAL
   19101 # environment variable to find it, such as:
   19102 #	ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
   19103 
   19104 
   19105 # Transport selection macro from xtrans.m4
   19106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
   19107 $as_echo_n "checking return type of signal handlers... " >&6; }
   19108 if ${ac_cv_type_signal+:} false; then :
   19109   $as_echo_n "(cached) " >&6
   19110 else
   19111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19112 /* end confdefs.h.  */
   19113 #include <sys/types.h>
   19114 #include <signal.h>
   19115 
   19116 int
   19117 main ()
   19118 {
   19119 return *(signal (0, 0)) (0) == 1;
   19120   ;
   19121   return 0;
   19122 }
   19123 _ACEOF
   19124 if ac_fn_c_try_compile "$LINENO"; then :
   19125   ac_cv_type_signal=int
   19126 else
   19127   ac_cv_type_signal=void
   19128 fi
   19129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19130 fi
   19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
   19132 $as_echo "$ac_cv_type_signal" >&6; }
   19133 
   19134 cat >>confdefs.h <<_ACEOF
   19135 #define RETSIGTYPE $ac_cv_type_signal
   19136 _ACEOF
   19137 
   19138 
   19139 
   19140 
   19141 
   19142  case $host_os in
   19143 	mingw*)	unixdef="no"   ;;
   19144 	*)	unixdef="yes"  ;;
   19145  esac
   19146  # Check whether --enable-unix-transport was given.
   19147 if test "${enable_unix_transport+set}" = set; then :
   19148   enableval=$enable_unix_transport; UNIXCONN=$enableval
   19149 else
   19150   UNIXCONN=$unixdef
   19151 fi
   19152 
   19153  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   19154 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   19155  if test "$UNIXCONN" = "yes"; then
   19156 
   19157 $as_echo "#define UNIXCONN 1" >>confdefs.h
   19158 
   19159  fi
   19160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   19161 $as_echo "$UNIXCONN" >&6; }
   19162  # Check whether --enable-tcp-transport was given.
   19163 if test "${enable_tcp_transport+set}" = set; then :
   19164   enableval=$enable_tcp_transport; TCPCONN=$enableval
   19165 else
   19166   TCPCONN=yes
   19167 fi
   19168 
   19169  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   19170 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   19171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   19172 $as_echo "$TCPCONN" >&6; }
   19173  if test "$TCPCONN" = "yes"; then
   19174 
   19175 $as_echo "#define TCPCONN 1" >>confdefs.h
   19176 
   19177 
   19178  # SVR4 hides these in libraries other than libc
   19179  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   19180 $as_echo_n "checking for library containing socket... " >&6; }
   19181 if ${ac_cv_search_socket+:} false; then :
   19182   $as_echo_n "(cached) " >&6
   19183 else
   19184   ac_func_search_save_LIBS=$LIBS
   19185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19186 /* end confdefs.h.  */
   19187 
   19188 /* Override any GCC internal prototype to avoid an error.
   19189    Use char because int might match the return type of a GCC
   19190    builtin and then its argument prototype would still apply.  */
   19191 #ifdef __cplusplus
   19192 extern "C"
   19193 #endif
   19194 char socket ();
   19195 int
   19196 main ()
   19197 {
   19198 return socket ();
   19199   ;
   19200   return 0;
   19201 }
   19202 _ACEOF
   19203 for ac_lib in '' socket; do
   19204   if test -z "$ac_lib"; then
   19205     ac_res="none required"
   19206   else
   19207     ac_res=-l$ac_lib
   19208     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19209   fi
   19210   if ac_fn_c_try_link "$LINENO"; then :
   19211   ac_cv_search_socket=$ac_res
   19212 fi
   19213 rm -f core conftest.err conftest.$ac_objext \
   19214     conftest$ac_exeext
   19215   if ${ac_cv_search_socket+:} false; then :
   19216   break
   19217 fi
   19218 done
   19219 if ${ac_cv_search_socket+:} false; then :
   19220 
   19221 else
   19222   ac_cv_search_socket=no
   19223 fi
   19224 rm conftest.$ac_ext
   19225 LIBS=$ac_func_search_save_LIBS
   19226 fi
   19227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   19228 $as_echo "$ac_cv_search_socket" >&6; }
   19229 ac_res=$ac_cv_search_socket
   19230 if test "$ac_res" != no; then :
   19231   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19232 
   19233 fi
   19234 
   19235  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   19236 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   19237 if ${ac_cv_search_gethostbyname+:} false; then :
   19238   $as_echo_n "(cached) " >&6
   19239 else
   19240   ac_func_search_save_LIBS=$LIBS
   19241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19242 /* end confdefs.h.  */
   19243 
   19244 /* Override any GCC internal prototype to avoid an error.
   19245    Use char because int might match the return type of a GCC
   19246    builtin and then its argument prototype would still apply.  */
   19247 #ifdef __cplusplus
   19248 extern "C"
   19249 #endif
   19250 char gethostbyname ();
   19251 int
   19252 main ()
   19253 {
   19254 return gethostbyname ();
   19255   ;
   19256   return 0;
   19257 }
   19258 _ACEOF
   19259 for ac_lib in '' nsl; do
   19260   if test -z "$ac_lib"; then
   19261     ac_res="none required"
   19262   else
   19263     ac_res=-l$ac_lib
   19264     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19265   fi
   19266   if ac_fn_c_try_link "$LINENO"; then :
   19267   ac_cv_search_gethostbyname=$ac_res
   19268 fi
   19269 rm -f core conftest.err conftest.$ac_objext \
   19270     conftest$ac_exeext
   19271   if ${ac_cv_search_gethostbyname+:} false; then :
   19272   break
   19273 fi
   19274 done
   19275 if ${ac_cv_search_gethostbyname+:} false; then :
   19276 
   19277 else
   19278   ac_cv_search_gethostbyname=no
   19279 fi
   19280 rm conftest.$ac_ext
   19281 LIBS=$ac_func_search_save_LIBS
   19282 fi
   19283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   19284 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   19285 ac_res=$ac_cv_search_gethostbyname
   19286 if test "$ac_res" != no; then :
   19287   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19288 
   19289 fi
   19290 
   19291  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   19292    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   19293 $as_echo_n "checking for main in -lws2_32... " >&6; }
   19294 if ${ac_cv_lib_ws2_32_main+:} false; then :
   19295   $as_echo_n "(cached) " >&6
   19296 else
   19297   ac_check_lib_save_LIBS=$LIBS
   19298 LIBS="-lws2_32  $LIBS"
   19299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19300 /* end confdefs.h.  */
   19301 
   19302 
   19303 int
   19304 main ()
   19305 {
   19306 return main ();
   19307   ;
   19308   return 0;
   19309 }
   19310 _ACEOF
   19311 if ac_fn_c_try_link "$LINENO"; then :
   19312   ac_cv_lib_ws2_32_main=yes
   19313 else
   19314   ac_cv_lib_ws2_32_main=no
   19315 fi
   19316 rm -f core conftest.err conftest.$ac_objext \
   19317     conftest$ac_exeext conftest.$ac_ext
   19318 LIBS=$ac_check_lib_save_LIBS
   19319 fi
   19320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   19321 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   19322 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   19323   cat >>confdefs.h <<_ACEOF
   19324 #define HAVE_LIBWS2_32 1
   19325 _ACEOF
   19326 
   19327   LIBS="-lws2_32 $LIBS"
   19328 
   19329 fi
   19330 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   19331 
   19332  fi
   19333 
   19334  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   19335  # Check whether --enable-ipv6 was given.
   19336 if test "${enable_ipv6+set}" = set; then :
   19337   enableval=$enable_ipv6; IPV6CONN=$enableval
   19338 else
   19339   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   19340 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   19341   IPV6CONN=yes
   19342 else
   19343   IPV6CONN=no
   19344 fi
   19345 
   19346 fi
   19347 
   19348  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   19349 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   19350  if test "$IPV6CONN" = "yes"; then
   19351 
   19352 $as_echo "#define IPv6 1" >>confdefs.h
   19353 
   19354  fi
   19355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   19356 $as_echo "$IPV6CONN" >&6; }
   19357 
   19358  # 4.3BSD-Reno added a new member to struct sockaddr_in
   19359  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   19360 #include <sys/types.h>
   19361 #include <sys/socket.h>
   19362 #include <netinet/in.h>
   19363 
   19364 "
   19365 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   19366 
   19367 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   19368 
   19369 fi
   19370 
   19371 
   19372  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   19373  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   19374 $ac_includes_default
   19375 #include <sys/socket.h>
   19376 "
   19377 if test "x$ac_cv_type_socklen_t" = xyes; then :
   19378 
   19379 cat >>confdefs.h <<_ACEOF
   19380 #define HAVE_SOCKLEN_T 1
   19381 _ACEOF
   19382 
   19383 
   19384 fi
   19385 
   19386 
   19387 
   19388  fi
   19389  case $host_os in
   19390 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   19391 	*)			localdef="no"  ;;
   19392  esac
   19393  # Check whether --enable-local-transport was given.
   19394 if test "${enable_local_transport+set}" = set; then :
   19395   enableval=$enable_local_transport; LOCALCONN=$enableval
   19396 else
   19397   LOCALCONN=$localdef
   19398 fi
   19399 
   19400  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   19401 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   19402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   19403 $as_echo "$LOCALCONN" >&6; }
   19404  if test "$LOCALCONN" = "yes"; then
   19405 
   19406 $as_echo "#define LOCALCONN 1" >>confdefs.h
   19407 
   19408  fi
   19409 
   19410 
   19411 
   19412 # Secure RPC detection macro from xtrans.m4
   19413 
   19414  # Check whether --enable-secure-rpc was given.
   19415 if test "${enable_secure_rpc+set}" = set; then :
   19416   enableval=$enable_secure_rpc; SECURE_RPC=$enableval
   19417 else
   19418   SECURE_RPC="try"
   19419 fi
   19420 
   19421 
   19422  if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then
   19423 	FOUND_SECURE_RPC="no"
   19424 	for ac_func in authdes_seccreate authdes_create
   19425 do :
   19426   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   19427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   19428 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   19429   cat >>confdefs.h <<_ACEOF
   19430 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   19431 _ACEOF
   19432  FOUND_SECURE_RPC="yes"
   19433 fi
   19434 done
   19435 
   19436 	if test "x$FOUND_SECURE_RPC" = "xno" ; then
   19437 		if test "x$SECURE_RPC" = "xyes" ; then
   19438 	as_fn_error $? "Secure RPC requested, but required functions not found" "$LINENO" 5
   19439 		fi
   19440 		SECURE_RPC="no"
   19441 	else
   19442 				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getsecretkey" >&5
   19443 $as_echo_n "checking for library containing getsecretkey... " >&6; }
   19444 if ${ac_cv_search_getsecretkey+:} false; then :
   19445   $as_echo_n "(cached) " >&6
   19446 else
   19447   ac_func_search_save_LIBS=$LIBS
   19448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19449 /* end confdefs.h.  */
   19450 
   19451 /* Override any GCC internal prototype to avoid an error.
   19452    Use char because int might match the return type of a GCC
   19453    builtin and then its argument prototype would still apply.  */
   19454 #ifdef __cplusplus
   19455 extern "C"
   19456 #endif
   19457 char getsecretkey ();
   19458 int
   19459 main ()
   19460 {
   19461 return getsecretkey ();
   19462   ;
   19463   return 0;
   19464 }
   19465 _ACEOF
   19466 for ac_lib in '' rpcsvc; do
   19467   if test -z "$ac_lib"; then
   19468     ac_res="none required"
   19469   else
   19470     ac_res=-l$ac_lib
   19471     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19472   fi
   19473   if ac_fn_c_try_link "$LINENO"; then :
   19474   ac_cv_search_getsecretkey=$ac_res
   19475 fi
   19476 rm -f core conftest.err conftest.$ac_objext \
   19477     conftest$ac_exeext
   19478   if ${ac_cv_search_getsecretkey+:} false; then :
   19479   break
   19480 fi
   19481 done
   19482 if ${ac_cv_search_getsecretkey+:} false; then :
   19483 
   19484 else
   19485   ac_cv_search_getsecretkey=no
   19486 fi
   19487 rm conftest.$ac_ext
   19488 LIBS=$ac_func_search_save_LIBS
   19489 fi
   19490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getsecretkey" >&5
   19491 $as_echo "$ac_cv_search_getsecretkey" >&6; }
   19492 ac_res=$ac_cv_search_getsecretkey
   19493 if test "$ac_res" != no; then :
   19494   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19495 
   19496 fi
   19497 
   19498 		SECURE_RPC="yes"
   19499 	fi
   19500  fi
   19501  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Secure RPC authentication (\"SUN-DES-1\") should be supported" >&5
   19502 $as_echo_n "checking if Secure RPC authentication (\"SUN-DES-1\") should be supported... " >&6; }
   19503  if test "x$SECURE_RPC" = "xyes" ; then
   19504 
   19505 $as_echo "#define SECURE_RPC 1" >>confdefs.h
   19506 
   19507  fi
   19508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SECURE_RPC" >&5
   19509 $as_echo "$SECURE_RPC" >&6; }
   19510 
   19511 
   19512 # Preferred order to try transports for local connections
   19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what order to try transports in for local connections" >&5
   19514 $as_echo_n "checking what order to try transports in for local connections... " >&6; }
   19515 DEFAULT_LOCAL_TRANS=""
   19516 case $host_os in
   19517 	solaris*)
   19518 		# On Solaris 2.6 through 9, named pipes (LOCAL_TRANS) were
   19519 		# faster than Unix domain sockets, but on Solaris 10 & later,
   19520 		# Unix domain sockets are faster now.
   19521 		if test "$UNIXCONN" = "yes" ; then
   19522 			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
   19523 				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
   19524 			fi
   19525 			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}UNIX_TRANS"
   19526 		fi
   19527 		if test "$LOCALCONN" = "yes" ; then
   19528 			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
   19529 				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
   19530 			fi
   19531 			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}LOCAL_TRANS"
   19532 		fi
   19533 		if test "$TCPCONN" = "yes" ; then
   19534 			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
   19535 				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
   19536 			fi
   19537 			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}TCP_TRANS"
   19538 		fi
   19539 		;;
   19540 	linux*)
   19541 		# LOCAL_TRANS is used for abstract sockets.
   19542 		if test "$UNIXCONN" = "yes" ; then
   19543 			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
   19544 				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
   19545 			fi
   19546 			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}LOCAL_TRANS,UNIX_TRANS"
   19547 		fi
   19548 		if test "$TCPCONN" = "yes" ; then
   19549 			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
   19550 				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
   19551 			fi
   19552 			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}TCP_TRANS"
   19553 		fi
   19554 		;;
   19555 	*)
   19556 		if test "$LOCALCONN" = "yes" ; then
   19557 			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
   19558 				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
   19559 			fi
   19560 			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}LOCAL_TRANS"
   19561 		fi
   19562 		if test "$UNIXCONN" = "yes" ; then
   19563 			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
   19564 				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
   19565 			fi
   19566 			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}UNIX_TRANS"
   19567 		fi
   19568 		if test "$TCPCONN" = "yes" ; then
   19569 			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
   19570 				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
   19571 			fi
   19572 			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}TCP_TRANS"
   19573 		fi
   19574 		;;
   19575 esac
   19576 
   19577 
   19578 # Check whether --with-local-transport-order was given.
   19579 if test "${with_local_transport_order+set}" = set; then :
   19580   withval=$with_local_transport_order; LOCAL_TRANSPORT_LIST=$withval
   19581 else
   19582   LOCAL_TRANSPORT_LIST=$DEFAULT_LOCAL_TRANS
   19583 fi
   19584 
   19585 
   19586 cat >>confdefs.h <<_ACEOF
   19587 #define LOCAL_TRANSPORT_LIST $LOCAL_TRANSPORT_LIST
   19588 _ACEOF
   19589 
   19590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCAL_TRANSPORT_LIST" >&5
   19591 $as_echo "$LOCAL_TRANSPORT_LIST" >&6; }
   19592 
   19593 # Check for dlopen
   19594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if run-time linking is supported" >&5
   19595 $as_echo_n "checking if run-time linking is supported... " >&6; }
   19596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   19597 $as_echo_n "checking for library containing dlopen... " >&6; }
   19598 if ${ac_cv_search_dlopen+:} false; then :
   19599   $as_echo_n "(cached) " >&6
   19600 else
   19601   ac_func_search_save_LIBS=$LIBS
   19602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19603 /* end confdefs.h.  */
   19604 
   19605 /* Override any GCC internal prototype to avoid an error.
   19606    Use char because int might match the return type of a GCC
   19607    builtin and then its argument prototype would still apply.  */
   19608 #ifdef __cplusplus
   19609 extern "C"
   19610 #endif
   19611 char dlopen ();
   19612 int
   19613 main ()
   19614 {
   19615 return dlopen ();
   19616   ;
   19617   return 0;
   19618 }
   19619 _ACEOF
   19620 for ac_lib in '' dl svld; do
   19621   if test -z "$ac_lib"; then
   19622     ac_res="none required"
   19623   else
   19624     ac_res=-l$ac_lib
   19625     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19626   fi
   19627   if ac_fn_c_try_link "$LINENO"; then :
   19628   ac_cv_search_dlopen=$ac_res
   19629 fi
   19630 rm -f core conftest.err conftest.$ac_objext \
   19631     conftest$ac_exeext
   19632   if ${ac_cv_search_dlopen+:} false; then :
   19633   break
   19634 fi
   19635 done
   19636 if ${ac_cv_search_dlopen+:} false; then :
   19637 
   19638 else
   19639   ac_cv_search_dlopen=no
   19640 fi
   19641 rm conftest.$ac_ext
   19642 LIBS=$ac_func_search_save_LIBS
   19643 fi
   19644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   19645 $as_echo "$ac_cv_search_dlopen" >&6; }
   19646 ac_res=$ac_cv_search_dlopen
   19647 if test "$ac_res" != no; then :
   19648   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19649 
   19650 fi
   19651 
   19652 if test "x$ac_cv_search_dlopen" = xno; then
   19653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shl_load" >&5
   19654 $as_echo_n "checking for library containing shl_load... " >&6; }
   19655 if ${ac_cv_search_shl_load+:} false; then :
   19656   $as_echo_n "(cached) " >&6
   19657 else
   19658   ac_func_search_save_LIBS=$LIBS
   19659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19660 /* end confdefs.h.  */
   19661 
   19662 /* Override any GCC internal prototype to avoid an error.
   19663    Use char because int might match the return type of a GCC
   19664    builtin and then its argument prototype would still apply.  */
   19665 #ifdef __cplusplus
   19666 extern "C"
   19667 #endif
   19668 char shl_load ();
   19669 int
   19670 main ()
   19671 {
   19672 return shl_load ();
   19673   ;
   19674   return 0;
   19675 }
   19676 _ACEOF
   19677 for ac_lib in '' dld; do
   19678   if test -z "$ac_lib"; then
   19679     ac_res="none required"
   19680   else
   19681     ac_res=-l$ac_lib
   19682     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19683   fi
   19684   if ac_fn_c_try_link "$LINENO"; then :
   19685   ac_cv_search_shl_load=$ac_res
   19686 fi
   19687 rm -f core conftest.err conftest.$ac_objext \
   19688     conftest$ac_exeext
   19689   if ${ac_cv_search_shl_load+:} false; then :
   19690   break
   19691 fi
   19692 done
   19693 if ${ac_cv_search_shl_load+:} false; then :
   19694 
   19695 else
   19696   ac_cv_search_shl_load=no
   19697 fi
   19698 rm conftest.$ac_ext
   19699 LIBS=$ac_func_search_save_LIBS
   19700 fi
   19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shl_load" >&5
   19702 $as_echo "$ac_cv_search_shl_load" >&6; }
   19703 ac_res=$ac_cv_search_shl_load
   19704 if test "$ac_res" != no; then :
   19705   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19706 
   19707 fi
   19708 
   19709 	if test "x$ac_cv_search_shl_load" != xno; then
   19710 
   19711 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
   19712 
   19713 		for ac_header in dl.h
   19714 do :
   19715   ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
   19716 if test "x$ac_cv_header_dl_h" = xyes; then :
   19717   cat >>confdefs.h <<_ACEOF
   19718 #define HAVE_DL_H 1
   19719 _ACEOF
   19720 
   19721 fi
   19722 
   19723 done
   19724 
   19725 	fi
   19726 else
   19727 
   19728 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
   19729 
   19730 	for ac_header in dlfcn.h
   19731 do :
   19732   ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
   19733 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   19734   cat >>confdefs.h <<_ACEOF
   19735 #define HAVE_DLFCN_H 1
   19736 _ACEOF
   19737 
   19738 fi
   19739 
   19740 done
   19741 
   19742 fi
   19743 if test "x$ac_cv_header_dlfcn_h" = xyes -o "x$ac_cv_header_dl_h" = xyes; then
   19744 	HAVE_LOADABLE_MODULES=yes
   19745 else
   19746 	HAVE_LOADABLE_MODULES=no
   19747 fi
   19748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_LOADABLE_MODULES" >&5
   19749 $as_echo "$HAVE_LOADABLE_MODULES" >&6; }
   19750 
   19751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if loadable i18n module support should be enabled" >&5
   19752 $as_echo_n "checking if loadable i18n module support should be enabled... " >&6; }
   19753 # Check whether --enable-loadable-i18n was given.
   19754 if test "${enable_loadable_i18n+set}" = set; then :
   19755   enableval=$enable_loadable_i18n; XLIB_LOADABLE_I18N=$enableval
   19756 else
   19757   XLIB_LOADABLE_I18N="no"
   19758 fi
   19759 
   19760 if test x$XLIB_LOADABLE_I18N = xyes; then
   19761 	if test x$HAVE_LOADABLE_MODULES = xno; then
   19762 		as_fn_error $? "Loadable module support is required to enable loadable i18n module support" "$LINENO" 5
   19763 	fi
   19764 
   19765 $as_echo "#define USE_DYNAMIC_LC 1" >>confdefs.h
   19766 
   19767 	I18N_MODULE_LIBS='${top_builddir}/src/libX11.la'
   19768 
   19769 fi
   19770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_I18N" >&5
   19771 $as_echo "$XLIB_LOADABLE_I18N" >&6; }
   19772 
   19773  if test x$XLIB_LOADABLE_I18N = xyes; then
   19774   XLIB_LOADABLE_I18N_TRUE=
   19775   XLIB_LOADABLE_I18N_FALSE='#'
   19776 else
   19777   XLIB_LOADABLE_I18N_TRUE='#'
   19778   XLIB_LOADABLE_I18N_FALSE=
   19779 fi
   19780 
   19781 
   19782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if loadable Xcursor library support should be enabled" >&5
   19783 $as_echo_n "checking if loadable Xcursor library support should be enabled... " >&6; }
   19784 # Check whether --enable-loadable-xcursor was given.
   19785 if test "${enable_loadable_xcursor+set}" = set; then :
   19786   enableval=$enable_loadable_xcursor; XLIB_LOADABLE_XCURSOR=$enableval
   19787 else
   19788   XLIB_LOADABLE_XCURSOR=$HAVE_LOADABLE_MODULES
   19789 fi
   19790 
   19791 if test x$XLIB_LOADABLE_XCURSOR = xyes; then
   19792 
   19793 $as_echo "#define USE_DYNAMIC_XCURSOR 1" >>confdefs.h
   19794 
   19795 fi
   19796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_XCURSOR" >&5
   19797 $as_echo "$XLIB_LOADABLE_XCURSOR" >&6; }
   19798 
   19799 # Checks for header files.
   19800 for ac_header in sys/select.h
   19801 do :
   19802   ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
   19803 if test "x$ac_cv_header_sys_select_h" = xyes; then :
   19804   cat >>confdefs.h <<_ACEOF
   19805 #define HAVE_SYS_SELECT_H 1
   19806 _ACEOF
   19807 
   19808 fi
   19809 
   19810 done
   19811 
   19812 
   19813 # Checks for typedefs, structures, and compiler characteristics.
   19814 
   19815 # Checks for library functions.
   19816 for ac_func in strtol seteuid
   19817 do :
   19818   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   19819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   19820 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   19821   cat >>confdefs.h <<_ACEOF
   19822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   19823 _ACEOF
   19824 
   19825 fi
   19826 done
   19827 
   19828 # Used in lcFile.c (see also --enable-xlocaledir settings below)
   19829 XLOCALEDIR_IS_SAFE="no"
   19830 ac_fn_c_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" "$ac_includes_default"
   19831 if test "x$ac_cv_have_decl_issetugid" = xyes; then :
   19832 
   19833 fi
   19834 
   19835 ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid"
   19836 if test "x$ac_cv_func_issetugid" = xyes; then :
   19837 
   19838 fi
   19839 
   19840 if test "$ac_cv_have_decl_issetugid" = yes && test "$ac_cv_func_issetugid" = yes; then
   19841     XLOCALEDIR_IS_SAFE="yes"
   19842 
   19843 $as_echo "#define HASSETUGID 1" >>confdefs.h
   19844 
   19845 fi
   19846 ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
   19847 if test "x$ac_cv_func_getresuid" = xyes; then :
   19848   XLOCALEDIR_IS_SAFE="yes"
   19849 
   19850 $as_echo "#define HASGETRESUID 1" >>confdefs.h
   19851 
   19852 fi
   19853 
   19854 # Used in Font.c
   19855 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   19856 if test "x$ac_cv_func_shmat" = xyes; then :
   19857 
   19858 $as_echo "#define HAS_SHM 1" >>confdefs.h
   19859 
   19860 fi
   19861 
   19862 
   19863 # Checks for system services
   19864 # AC_PATH_XTRA
   19865 
   19866 # arch specific things
   19867 WCHAR32="1"
   19868 case $host_os in
   19869   os2*) os2="true" ; WCHAR32="0" ;;
   19870   *) ;;
   19871 esac
   19872 
   19873 
   19874  if test x$os2 = xtrue; then
   19875   OS2_TRUE=
   19876   OS2_FALSE='#'
   19877 else
   19878   OS2_TRUE='#'
   19879   OS2_FALSE=
   19880 fi
   19881 
   19882 
   19883 
   19884 # Check whether --with-launchd was given.
   19885 if test "${with_launchd+set}" = set; then :
   19886   withval=$with_launchd; LAUNCHD=$withval
   19887 else
   19888   LAUNCHD=auto
   19889 fi
   19890 
   19891 if test "x$LAUNCHD" = xauto; then
   19892 	unset LAUNCHD
   19893 	# Extract the first word of "launchd", so it can be a program name with args.
   19894 set dummy launchd; ac_word=$2
   19895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19896 $as_echo_n "checking for $ac_word... " >&6; }
   19897 if ${ac_cv_prog_LAUNCHD+:} false; then :
   19898   $as_echo_n "(cached) " >&6
   19899 else
   19900   if test -n "$LAUNCHD"; then
   19901   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   19902 else
   19903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19904 for as_dir in $PATH$PATH_SEPARATOR/sbin
   19905 do
   19906   IFS=$as_save_IFS
   19907   test -z "$as_dir" && as_dir=.
   19908     for ac_exec_ext in '' $ac_executable_extensions; do
   19909   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19910     ac_cv_prog_LAUNCHD="yes"
   19911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19912     break 2
   19913   fi
   19914 done
   19915   done
   19916 IFS=$as_save_IFS
   19917 
   19918   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   19919 fi
   19920 fi
   19921 LAUNCHD=$ac_cv_prog_LAUNCHD
   19922 if test -n "$LAUNCHD"; then
   19923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   19924 $as_echo "$LAUNCHD" >&6; }
   19925 else
   19926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19927 $as_echo "no" >&6; }
   19928 fi
   19929 
   19930 
   19931 fi
   19932 
   19933 if test "x$LAUNCHD" = xyes ; then
   19934 
   19935 $as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h
   19936 
   19937 
   19938 $as_echo "#define TRANS_REOPEN 1" >>confdefs.h
   19939 
   19940 fi
   19941 
   19942 # Check whether --enable-xthreads was given.
   19943 if test "${enable_xthreads+set}" = set; then :
   19944   enableval=$enable_xthreads; xthreads=$enableval
   19945 else
   19946   xthreads=yes
   19947 fi
   19948 
   19949 
   19950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r in -lc" >&5
   19951 $as_echo_n "checking for getpwuid_r in -lc... " >&6; }
   19952 if ${ac_cv_lib_c_getpwuid_r+:} false; then :
   19953   $as_echo_n "(cached) " >&6
   19954 else
   19955   ac_check_lib_save_LIBS=$LIBS
   19956 LIBS="-lc  $LIBS"
   19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19958 /* end confdefs.h.  */
   19959 
   19960 /* Override any GCC internal prototype to avoid an error.
   19961    Use char because int might match the return type of a GCC
   19962    builtin and then its argument prototype would still apply.  */
   19963 #ifdef __cplusplus
   19964 extern "C"
   19965 #endif
   19966 char getpwuid_r ();
   19967 int
   19968 main ()
   19969 {
   19970 return getpwuid_r ();
   19971   ;
   19972   return 0;
   19973 }
   19974 _ACEOF
   19975 if ac_fn_c_try_link "$LINENO"; then :
   19976   ac_cv_lib_c_getpwuid_r=yes
   19977 else
   19978   ac_cv_lib_c_getpwuid_r=no
   19979 fi
   19980 rm -f core conftest.err conftest.$ac_objext \
   19981     conftest$ac_exeext conftest.$ac_ext
   19982 LIBS=$ac_check_lib_save_LIBS
   19983 fi
   19984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpwuid_r" >&5
   19985 $as_echo "$ac_cv_lib_c_getpwuid_r" >&6; }
   19986 if test "x$ac_cv_lib_c_getpwuid_r" = xyes; then :
   19987   mtsafeapi="yes"
   19988 else
   19989   mtsafeapi="no"
   19990 fi
   19991 
   19992 
   19993 case x$xthreads in
   19994 xyes)
   19995 
   19996 $as_echo "#define XTHREADS 1" >>confdefs.h
   19997 
   19998 	if test x$mtsafeapi = xyes
   19999 	then
   20000 
   20001 $as_echo "#define XUSE_MTSAFE_API 1" >>confdefs.h
   20002 
   20003 	fi
   20004 	;;
   20005 *)
   20006 	;;
   20007 esac
   20008 
   20009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lc" >&5
   20010 $as_echo_n "checking for pthread_self in -lc... " >&6; }
   20011 if ${ac_cv_lib_c_pthread_self+:} false; then :
   20012   $as_echo_n "(cached) " >&6
   20013 else
   20014   ac_check_lib_save_LIBS=$LIBS
   20015 LIBS="-lc  $LIBS"
   20016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20017 /* end confdefs.h.  */
   20018 
   20019 /* Override any GCC internal prototype to avoid an error.
   20020    Use char because int might match the return type of a GCC
   20021    builtin and then its argument prototype would still apply.  */
   20022 #ifdef __cplusplus
   20023 extern "C"
   20024 #endif
   20025 char pthread_self ();
   20026 int
   20027 main ()
   20028 {
   20029 return pthread_self ();
   20030   ;
   20031   return 0;
   20032 }
   20033 _ACEOF
   20034 if ac_fn_c_try_link "$LINENO"; then :
   20035   ac_cv_lib_c_pthread_self=yes
   20036 else
   20037   ac_cv_lib_c_pthread_self=no
   20038 fi
   20039 rm -f core conftest.err conftest.$ac_objext \
   20040     conftest$ac_exeext conftest.$ac_ext
   20041 LIBS=$ac_check_lib_save_LIBS
   20042 fi
   20043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_self" >&5
   20044 $as_echo "$ac_cv_lib_c_pthread_self" >&6; }
   20045 if test "x$ac_cv_lib_c_pthread_self" = xyes; then :
   20046   thrstubs="no"
   20047 else
   20048   thrstubs="yes"
   20049 fi
   20050 
   20051  if test x$thrstubs = xyes; then
   20052   THRSTUBS_TRUE=
   20053   THRSTUBS_FALSE='#'
   20054 else
   20055   THRSTUBS_TRUE='#'
   20056   THRSTUBS_FALSE=
   20057 fi
   20058 
   20059 
   20060 # XXX incomplete, please fill this in
   20061 if test x$xthreads = xyes ; then
   20062     case $host_os in
   20063     linux*|gnu*|k*bsd*-gnu)
   20064         XTHREADLIB=-lpthread ;;
   20065     netbsd*)
   20066 	XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS"
   20067 	XTHREADLIB="-lpthread" ;;
   20068     freebsd*)
   20069         XTHREAD_CFLAGS="-D_THREAD_SAFE"
   20070         XTHREADLIB="-pthread" ;;
   20071     dragonfly*|openbsd*)
   20072         XTHREADLIB="-pthread" ;;
   20073     solaris*)
   20074 	XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
   20075     esac
   20076 fi
   20077 
   20078 
   20079 
   20080 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   20081 if test "x$ac_cv_func_poll" = xyes; then :
   20082 
   20083 $as_echo "#define USE_POLL 1" >>confdefs.h
   20084 
   20085 fi
   20086 
   20087 
   20088 #
   20089 # Find keysymdef.h
   20090 #
   20091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
   20092 $as_echo_n "checking keysym definitions... " >&6; }
   20093 
   20094 # Check whether --with-keysymdefdir was given.
   20095 if test "${with_keysymdefdir+set}" = set; then :
   20096   withval=$with_keysymdefdir; KEYSYMDEFDIR=$withval
   20097 else
   20098   KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
   20099 fi
   20100 
   20101 
   20102 if test ! -d "$KEYSYMDEFDIR"; then
   20103 	as_fn_error $? "$KEYSYMDEFDIR doesn't exist or isn't a directory" "$LINENO" 5
   20104 fi
   20105 
   20106 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
   20107 for i in $FILES; do
   20108     if test -f "$KEYSYMDEFDIR/$i"; then
   20109             KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
   20110     elif test "x$i" = "xkeysymdef.h"; then
   20111 	    as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
   20112     fi
   20113 done
   20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
   20115 $as_echo "$KEYSYMDEFS" >&6; }
   20116 
   20117 
   20118  if test xfalse = xtrue; then
   20119   UDC_TRUE=
   20120   UDC_FALSE='#'
   20121 else
   20122   UDC_TRUE='#'
   20123   UDC_FALSE=
   20124 fi
   20125 
   20126 
   20127 # Check whether --enable-xcms was given.
   20128 if test "${enable_xcms+set}" = set; then :
   20129   enableval=$enable_xcms; XCMS=$enableval
   20130 else
   20131   XCMS=yes
   20132 fi
   20133 
   20134  if test x$XCMS = xyes ; then
   20135   XCMS_TRUE=
   20136   XCMS_FALSE='#'
   20137 else
   20138   XCMS_TRUE='#'
   20139   XCMS_FALSE=
   20140 fi
   20141 
   20142 if test x"$XCMS" = "xyes"; then
   20143 
   20144 $as_echo "#define XCMS 1" >>confdefs.h
   20145 
   20146 fi
   20147 
   20148 # Check whether --enable-xlocale was given.
   20149 if test "${enable_xlocale+set}" = set; then :
   20150   enableval=$enable_xlocale; XLOCALE=$enableval
   20151 else
   20152   XLOCALE=yes
   20153 fi
   20154 
   20155 
   20156  if  test x$XLOCALE = xyes ; then
   20157   XLOCALE_TRUE=
   20158   XLOCALE_FALSE='#'
   20159 else
   20160   XLOCALE_TRUE='#'
   20161   XLOCALE_FALSE=
   20162 fi
   20163 
   20164 if test x"$XLOCALE" = "xyes"; then
   20165 
   20166 $as_echo "#define XLOCALE 1" >>confdefs.h
   20167 
   20168 fi
   20169 
   20170 # This disables XLOCALEDIR.  Set it if you're using BuildLoadableXlibI18n,
   20171 # don't have either issetugid() or getresuid(), and you need to protect
   20172 # clients that are setgid or setuid to an id other than 0.
   20173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if XLOCALEDIR support should be enabled" >&5
   20174 $as_echo_n "checking if XLOCALEDIR support should be enabled... " >&6; }
   20175 # Check whether --enable-xlocaledir was given.
   20176 if test "${enable_xlocaledir+set}" = set; then :
   20177   enableval=$enable_xlocaledir; ENABLE_XLOCALEDIR=$enableval
   20178 else
   20179   ENABLE_XLOCALEDIR=$XLOCALEDIR_IS_SAFE
   20180 fi
   20181 
   20182 if test "x$ENABLE_XLOCALEDIR" = "xno"; then
   20183 
   20184 $as_echo "#define NO_XLOCALEDIR 1" >>confdefs.h
   20185 
   20186 fi
   20187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENABLE_XLOCALEDIR" >&5
   20188 $as_echo "$ENABLE_XLOCALEDIR" >&6; }
   20189 
   20190 # Check whether --enable-xf86bigfont was given.
   20191 if test "${enable_xf86bigfont+set}" = set; then :
   20192   enableval=$enable_xf86bigfont; XF86BIGFONT=$enableval
   20193 else
   20194   XF86BIGFONT="yes"
   20195 fi
   20196 
   20197 if test "x$XF86BIGFONT" = "xyes"; then
   20198 
   20199 pkg_failed=no
   20200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BIGFONT" >&5
   20201 $as_echo_n "checking for BIGFONT... " >&6; }
   20202 
   20203 if test -n "$BIGFONT_CFLAGS"; then
   20204     pkg_cv_BIGFONT_CFLAGS="$BIGFONT_CFLAGS"
   20205  elif test -n "$PKG_CONFIG"; then
   20206     if test -n "$PKG_CONFIG" && \
   20207     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   20208   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   20209   ac_status=$?
   20210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20211   test $ac_status = 0; }; then
   20212   pkg_cv_BIGFONT_CFLAGS=`$PKG_CONFIG --cflags "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   20213 else
   20214   pkg_failed=yes
   20215 fi
   20216  else
   20217     pkg_failed=untried
   20218 fi
   20219 if test -n "$BIGFONT_LIBS"; then
   20220     pkg_cv_BIGFONT_LIBS="$BIGFONT_LIBS"
   20221  elif test -n "$PKG_CONFIG"; then
   20222     if test -n "$PKG_CONFIG" && \
   20223     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   20224   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   20225   ac_status=$?
   20226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20227   test $ac_status = 0; }; then
   20228   pkg_cv_BIGFONT_LIBS=`$PKG_CONFIG --libs "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   20229 else
   20230   pkg_failed=yes
   20231 fi
   20232  else
   20233     pkg_failed=untried
   20234 fi
   20235 
   20236 
   20237 
   20238 if test $pkg_failed = yes; then
   20239 
   20240 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20241         _pkg_short_errors_supported=yes
   20242 else
   20243         _pkg_short_errors_supported=no
   20244 fi
   20245         if test $_pkg_short_errors_supported = yes; then
   20246 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xf86bigfontproto >= 1.2.0" 2>&1`
   20247         else
   20248 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xf86bigfontproto >= 1.2.0" 2>&1`
   20249         fi
   20250 	# Put the nasty error message in config.log where it belongs
   20251 	echo "$BIGFONT_PKG_ERRORS" >&5
   20252 
   20253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20254 $as_echo "no" >&6; }
   20255                 XF86BIGFONT="no"
   20256 elif test $pkg_failed = untried; then
   20257 	XF86BIGFONT="no"
   20258 else
   20259 	BIGFONT_CFLAGS=$pkg_cv_BIGFONT_CFLAGS
   20260 	BIGFONT_LIBS=$pkg_cv_BIGFONT_LIBS
   20261         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20262 $as_echo "yes" >&6; }
   20263 
   20264 $as_echo "#define XF86BIGFONT 1" >>confdefs.h
   20265 
   20266 fi
   20267 fi
   20268 
   20269 # Check whether --enable-xkb was given.
   20270 if test "${enable_xkb+set}" = set; then :
   20271   enableval=$enable_xkb; XKB=$enableval
   20272 else
   20273   XKB=yes
   20274 fi
   20275 
   20276 
   20277  if  test x$XKB = xyes ; then
   20278   XKB_TRUE=
   20279   XKB_FALSE='#'
   20280 else
   20281   XKB_TRUE='#'
   20282   XKB_FALSE=
   20283 fi
   20284 
   20285 if test x"$XKB" = "xyes"; then
   20286    XKBPROTO_REQUIRES="kbproto"
   20287    X11_REQUIRES="${X11_REQUIRES} kbproto inputproto"
   20288 
   20289 $as_echo "#define XKB 1" >>confdefs.h
   20290 
   20291 else
   20292    XKBPROTO_REQUIRES=""
   20293 fi
   20294 
   20295 
   20296 
   20297 
   20298 
   20299   for ac_header in $ac_header_list
   20300 do :
   20301   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20302 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   20303 "
   20304 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   20305   cat >>confdefs.h <<_ACEOF
   20306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20307 _ACEOF
   20308 
   20309 fi
   20310 
   20311 done
   20312 
   20313 
   20314 
   20315 
   20316 
   20317 
   20318 
   20319 
   20320 for ac_func in getpagesize
   20321 do :
   20322   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   20323 if test "x$ac_cv_func_getpagesize" = xyes; then :
   20324   cat >>confdefs.h <<_ACEOF
   20325 #define HAVE_GETPAGESIZE 1
   20326 _ACEOF
   20327 
   20328 fi
   20329 done
   20330 
   20331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   20332 $as_echo_n "checking for working mmap... " >&6; }
   20333 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   20334   $as_echo_n "(cached) " >&6
   20335 else
   20336   if test "$cross_compiling" = yes; then :
   20337   ac_cv_func_mmap_fixed_mapped=no
   20338 else
   20339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20340 /* end confdefs.h.  */
   20341 $ac_includes_default
   20342 /* malloc might have been renamed as rpl_malloc. */
   20343 #undef malloc
   20344 
   20345 /* Thanks to Mike Haertel and Jim Avera for this test.
   20346    Here is a matrix of mmap possibilities:
   20347 	mmap private not fixed
   20348 	mmap private fixed at somewhere currently unmapped
   20349 	mmap private fixed at somewhere already mapped
   20350 	mmap shared not fixed
   20351 	mmap shared fixed at somewhere currently unmapped
   20352 	mmap shared fixed at somewhere already mapped
   20353    For private mappings, we should verify that changes cannot be read()
   20354    back from the file, nor mmap's back from the file at a different
   20355    address.  (There have been systems where private was not correctly
   20356    implemented like the infamous i386 svr4.0, and systems where the
   20357    VM page cache was not coherent with the file system buffer cache
   20358    like early versions of FreeBSD and possibly contemporary NetBSD.)
   20359    For shared mappings, we should conversely verify that changes get
   20360    propagated back to all the places they're supposed to be.
   20361 
   20362    Grep wants private fixed already mapped.
   20363    The main things grep needs to know about mmap are:
   20364    * does it exist and is it safe to write into the mmap'd area
   20365    * how to use it (BSD variants)  */
   20366 
   20367 #include <fcntl.h>
   20368 #include <sys/mman.h>
   20369 
   20370 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   20371 char *malloc ();
   20372 #endif
   20373 
   20374 /* This mess was copied from the GNU getpagesize.h.  */
   20375 #ifndef HAVE_GETPAGESIZE
   20376 # ifdef _SC_PAGESIZE
   20377 #  define getpagesize() sysconf(_SC_PAGESIZE)
   20378 # else /* no _SC_PAGESIZE */
   20379 #  ifdef HAVE_SYS_PARAM_H
   20380 #   include <sys/param.h>
   20381 #   ifdef EXEC_PAGESIZE
   20382 #    define getpagesize() EXEC_PAGESIZE
   20383 #   else /* no EXEC_PAGESIZE */
   20384 #    ifdef NBPG
   20385 #     define getpagesize() NBPG * CLSIZE
   20386 #     ifndef CLSIZE
   20387 #      define CLSIZE 1
   20388 #     endif /* no CLSIZE */
   20389 #    else /* no NBPG */
   20390 #     ifdef NBPC
   20391 #      define getpagesize() NBPC
   20392 #     else /* no NBPC */
   20393 #      ifdef PAGESIZE
   20394 #       define getpagesize() PAGESIZE
   20395 #      endif /* PAGESIZE */
   20396 #     endif /* no NBPC */
   20397 #    endif /* no NBPG */
   20398 #   endif /* no EXEC_PAGESIZE */
   20399 #  else /* no HAVE_SYS_PARAM_H */
   20400 #   define getpagesize() 8192	/* punt totally */
   20401 #  endif /* no HAVE_SYS_PARAM_H */
   20402 # endif /* no _SC_PAGESIZE */
   20403 
   20404 #endif /* no HAVE_GETPAGESIZE */
   20405 
   20406 int
   20407 main ()
   20408 {
   20409   char *data, *data2, *data3;
   20410   const char *cdata2;
   20411   int i, pagesize;
   20412   int fd, fd2;
   20413 
   20414   pagesize = getpagesize ();
   20415 
   20416   /* First, make a file with some known garbage in it. */
   20417   data = (char *) malloc (pagesize);
   20418   if (!data)
   20419     return 1;
   20420   for (i = 0; i < pagesize; ++i)
   20421     *(data + i) = rand ();
   20422   umask (0);
   20423   fd = creat ("conftest.mmap", 0600);
   20424   if (fd < 0)
   20425     return 2;
   20426   if (write (fd, data, pagesize) != pagesize)
   20427     return 3;
   20428   close (fd);
   20429 
   20430   /* Next, check that the tail of a page is zero-filled.  File must have
   20431      non-zero length, otherwise we risk SIGBUS for entire page.  */
   20432   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   20433   if (fd2 < 0)
   20434     return 4;
   20435   cdata2 = "";
   20436   if (write (fd2, cdata2, 1) != 1)
   20437     return 5;
   20438   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   20439   if (data2 == MAP_FAILED)
   20440     return 6;
   20441   for (i = 0; i < pagesize; ++i)
   20442     if (*(data2 + i))
   20443       return 7;
   20444   close (fd2);
   20445   if (munmap (data2, pagesize))
   20446     return 8;
   20447 
   20448   /* Next, try to mmap the file at a fixed address which already has
   20449      something else allocated at it.  If we can, also make sure that
   20450      we see the same garbage.  */
   20451   fd = open ("conftest.mmap", O_RDWR);
   20452   if (fd < 0)
   20453     return 9;
   20454   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   20455 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   20456     return 10;
   20457   for (i = 0; i < pagesize; ++i)
   20458     if (*(data + i) != *(data2 + i))
   20459       return 11;
   20460 
   20461   /* Finally, make sure that changes to the mapped area do not
   20462      percolate back to the file as seen by read().  (This is a bug on
   20463      some variants of i386 svr4.0.)  */
   20464   for (i = 0; i < pagesize; ++i)
   20465     *(data2 + i) = *(data2 + i) + 1;
   20466   data3 = (char *) malloc (pagesize);
   20467   if (!data3)
   20468     return 12;
   20469   if (read (fd, data3, pagesize) != pagesize)
   20470     return 13;
   20471   for (i = 0; i < pagesize; ++i)
   20472     if (*(data + i) != *(data3 + i))
   20473       return 14;
   20474   close (fd);
   20475   return 0;
   20476 }
   20477 _ACEOF
   20478 if ac_fn_c_try_run "$LINENO"; then :
   20479   ac_cv_func_mmap_fixed_mapped=yes
   20480 else
   20481   ac_cv_func_mmap_fixed_mapped=no
   20482 fi
   20483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20484   conftest.$ac_objext conftest.beam conftest.$ac_ext
   20485 fi
   20486 
   20487 fi
   20488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   20489 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   20490 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   20491 
   20492 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   20493 
   20494 fi
   20495 rm -f conftest.mmap conftest.txt
   20496 
   20497 composecache_default=$ac_cv_func_mmap_fixed_mapped
   20498 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
   20499 if test "x$ac_cv_func_nl_langinfo" = xyes; then :
   20500 
   20501 else
   20502   composecache_default=no
   20503 fi
   20504 
   20505 # Check whether --enable-composecache was given.
   20506 if test "${enable_composecache+set}" = set; then :
   20507   enableval=$enable_composecache; COMPOSECACHE=$enableval
   20508 else
   20509   COMPOSECACHE=$composecache_default
   20510 fi
   20511 
   20512 if test x"$COMPOSECACHE" = "xyes"; then
   20513 
   20514 $as_echo "#define COMPOSECACHE 1" >>confdefs.h
   20515 
   20516 fi
   20517 
   20518 # Allow checking code with lint, sparse, etc.
   20519 
   20520 
   20521 
   20522 
   20523 
   20524 # Check whether --with-lint was given.
   20525 if test "${with_lint+set}" = set; then :
   20526   withval=$with_lint; use_lint=$withval
   20527 else
   20528   use_lint=no
   20529 fi
   20530 
   20531 
   20532 # Obtain platform specific info like program name and options
   20533 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   20534 case $host_os in
   20535   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   20536 	lint_name=splint
   20537 	lint_options="-badflag"
   20538 	;;
   20539   *freebsd* | *netbsd*)
   20540 	lint_name=lint
   20541 	lint_options="-u -b"
   20542 	;;
   20543   *solaris*)
   20544 	lint_name=lint
   20545 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   20546 	;;
   20547 esac
   20548 
   20549 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   20550 if test "x$use_lint" = x"yes" ; then
   20551    # Extract the first word of "$lint_name", so it can be a program name with args.
   20552 set dummy $lint_name; ac_word=$2
   20553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20554 $as_echo_n "checking for $ac_word... " >&6; }
   20555 if ${ac_cv_path_LINT+:} false; then :
   20556   $as_echo_n "(cached) " >&6
   20557 else
   20558   case $LINT in
   20559   [\\/]* | ?:[\\/]*)
   20560   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   20561   ;;
   20562   *)
   20563   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20564 for as_dir in $PATH
   20565 do
   20566   IFS=$as_save_IFS
   20567   test -z "$as_dir" && as_dir=.
   20568     for ac_exec_ext in '' $ac_executable_extensions; do
   20569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20570     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   20571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   20572     break 2
   20573   fi
   20574 done
   20575   done
   20576 IFS=$as_save_IFS
   20577 
   20578   ;;
   20579 esac
   20580 fi
   20581 LINT=$ac_cv_path_LINT
   20582 if test -n "$LINT"; then
   20583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   20584 $as_echo "$LINT" >&6; }
   20585 else
   20586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20587 $as_echo "no" >&6; }
   20588 fi
   20589 
   20590 
   20591    if test "x$LINT" = "x"; then
   20592         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   20593    fi
   20594 elif test "x$use_lint" = x"no" ; then
   20595    if test "x$LINT" != "x"; then
   20596       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   20597 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   20598    fi
   20599 else
   20600    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   20601 fi
   20602 
   20603 # User supplied flags override default flags
   20604 if test "x$LINT_FLAGS" != "x"; then
   20605    lint_options=$LINT_FLAGS
   20606 fi
   20607 
   20608 LINT_FLAGS=$lint_options
   20609 
   20610  if test "x$LINT" != x; then
   20611   LINT_TRUE=
   20612   LINT_FALSE='#'
   20613 else
   20614   LINT_TRUE='#'
   20615   LINT_FALSE=
   20616 fi
   20617 
   20618 
   20619 
   20620 
   20621 
   20622 # Check whether --enable-lint-library was given.
   20623 if test "${enable_lint_library+set}" = set; then :
   20624   enableval=$enable_lint_library; make_lint_lib=$enableval
   20625 else
   20626   make_lint_lib=no
   20627 fi
   20628 
   20629 
   20630 if test "x$make_lint_lib" = x"yes" ; then
   20631    LINTLIB=llib-lX11.ln
   20632    if test "x$LINT" = "x"; then
   20633         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   20634    fi
   20635 elif test "x$make_lint_lib" != x"no" ; then
   20636    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   20637 fi
   20638 
   20639 
   20640  if test x$make_lint_lib != xno; then
   20641   MAKE_LINT_LIB_TRUE=
   20642   MAKE_LINT_LIB_FALSE='#'
   20643 else
   20644   MAKE_LINT_LIB_TRUE='#'
   20645   MAKE_LINT_LIB_FALSE=
   20646 fi
   20647 
   20648 
   20649 
   20650 
   20651 X11_DATADIR="${datadir}/X11"
   20652 
   20653   prefix_NONE=
   20654   exec_prefix_NONE=
   20655   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20656   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20657   eval ax_define_dir="\"$X11_DATADIR\""
   20658   eval ax_define_dir="\"$ax_define_dir\""
   20659   X11_DATADIR="$ax_define_dir"
   20660 
   20661 
   20662 cat >>confdefs.h <<_ACEOF
   20663 #define X11_DATADIR "$ax_define_dir"
   20664 _ACEOF
   20665 
   20666   test "$prefix_NONE" && prefix=NONE
   20667   test "$exec_prefix_NONE" && exec_prefix=NONE
   20668 
   20669 
   20670 
   20671 X11_LIBDIR="${libdir}/X11"
   20672 
   20673   prefix_NONE=
   20674   exec_prefix_NONE=
   20675   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20676   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20677   eval ax_define_dir="\"$X11_LIBDIR\""
   20678   eval ax_define_dir="\"$ax_define_dir\""
   20679   X11_LIBDIR="$ax_define_dir"
   20680 
   20681 
   20682 cat >>confdefs.h <<_ACEOF
   20683 #define X11_LIBDIR "$ax_define_dir"
   20684 _ACEOF
   20685 
   20686   test "$prefix_NONE" && prefix=NONE
   20687   test "$exec_prefix_NONE" && exec_prefix=NONE
   20688 
   20689 
   20690 
   20691 
   20692 pkg_failed=no
   20693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   20694 $as_echo_n "checking for X11... " >&6; }
   20695 
   20696 if test -n "$X11_CFLAGS"; then
   20697     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   20698  elif test -n "$PKG_CONFIG"; then
   20699     if test -n "$PKG_CONFIG" && \
   20700     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   20701   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   20702   ac_status=$?
   20703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20704   test $ac_status = 0; }; then
   20705   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$X11_REQUIRES" 2>/dev/null`
   20706 else
   20707   pkg_failed=yes
   20708 fi
   20709  else
   20710     pkg_failed=untried
   20711 fi
   20712 if test -n "$X11_LIBS"; then
   20713     pkg_cv_X11_LIBS="$X11_LIBS"
   20714  elif test -n "$PKG_CONFIG"; then
   20715     if test -n "$PKG_CONFIG" && \
   20716     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   20717   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   20718   ac_status=$?
   20719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20720   test $ac_status = 0; }; then
   20721   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$X11_REQUIRES" 2>/dev/null`
   20722 else
   20723   pkg_failed=yes
   20724 fi
   20725  else
   20726     pkg_failed=untried
   20727 fi
   20728 
   20729 
   20730 
   20731 if test $pkg_failed = yes; then
   20732 
   20733 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20734         _pkg_short_errors_supported=yes
   20735 else
   20736         _pkg_short_errors_supported=no
   20737 fi
   20738         if test $_pkg_short_errors_supported = yes; then
   20739 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$X11_REQUIRES" 2>&1`
   20740         else
   20741 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "$X11_REQUIRES" 2>&1`
   20742         fi
   20743 	# Put the nasty error message in config.log where it belongs
   20744 	echo "$X11_PKG_ERRORS" >&5
   20745 
   20746 	as_fn_error $? "Package requirements ($X11_REQUIRES) were not met:
   20747 
   20748 $X11_PKG_ERRORS
   20749 
   20750 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20751 installed software in a non-standard prefix.
   20752 
   20753 Alternatively, you may set the environment variables X11_CFLAGS
   20754 and X11_LIBS to avoid the need to call pkg-config.
   20755 See the pkg-config man page for more details.
   20756 " "$LINENO" 5
   20757 elif test $pkg_failed = untried; then
   20758 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20760 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20761 is in your PATH or set the PKG_CONFIG environment variable to the full
   20762 path to pkg-config.
   20763 
   20764 Alternatively, you may set the environment variables X11_CFLAGS
   20765 and X11_LIBS to avoid the need to call pkg-config.
   20766 See the pkg-config man page for more details.
   20767 
   20768 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20769 See \`config.log' for more details" "$LINENO" 5; }
   20770 else
   20771 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   20772 	X11_LIBS=$pkg_cv_X11_LIBS
   20773         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20774 $as_echo "yes" >&6; }
   20775 	:
   20776 fi
   20777 X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
   20778 
   20779 #
   20780 # Yes, it would be nice to put the locale data in
   20781 # /usr/share, but the locale stuff includes loadable
   20782 # libraries which must be located in the same directory
   20783 # as the other locale data, so for now, everything lives
   20784 # in ${libdir}
   20785 #
   20786 
   20787 X11_LOCALEDATADIR="${X11_DATADIR}/locale"
   20788 
   20789   prefix_NONE=
   20790   exec_prefix_NONE=
   20791   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20792   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20793   eval ax_define_dir="\"$X11_LOCALEDATADIR\""
   20794   eval ax_define_dir="\"$ax_define_dir\""
   20795   XLOCALEDATADIR="$ax_define_dir"
   20796 
   20797 
   20798 cat >>confdefs.h <<_ACEOF
   20799 #define XLOCALEDATADIR "$ax_define_dir"
   20800 _ACEOF
   20801 
   20802   test "$prefix_NONE" && prefix=NONE
   20803   test "$exec_prefix_NONE" && exec_prefix=NONE
   20804 
   20805 
   20806 
   20807 
   20808 # Check whether --with-locale-lib-dir was given.
   20809 if test "${with_locale_lib_dir+set}" = set; then :
   20810   withval=$with_locale_lib_dir;  X11_LOCALELIBDIR="$withval"
   20811 else
   20812    X11_LOCALELIBDIR="${X11_LIBDIR}/locale"
   20813 fi
   20814 
   20815 
   20816   prefix_NONE=
   20817   exec_prefix_NONE=
   20818   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20819   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20820   eval ax_define_dir="\"$X11_LOCALELIBDIR\""
   20821   eval ax_define_dir="\"$ax_define_dir\""
   20822   XLOCALELIBDIR="$ax_define_dir"
   20823 
   20824 
   20825 cat >>confdefs.h <<_ACEOF
   20826 #define XLOCALELIBDIR "$ax_define_dir"
   20827 _ACEOF
   20828 
   20829   test "$prefix_NONE" && prefix=NONE
   20830   test "$exec_prefix_NONE" && exec_prefix=NONE
   20831 
   20832 
   20833 
   20834 X11_LOCALEDIR="${X11_LOCALEDATADIR}"
   20835 
   20836   prefix_NONE=
   20837   exec_prefix_NONE=
   20838   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20839   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20840   eval ax_define_dir="\"$X11_LOCALEDIR\""
   20841   eval ax_define_dir="\"$ax_define_dir\""
   20842   XLOCALEDIR="$ax_define_dir"
   20843 
   20844 
   20845 cat >>confdefs.h <<_ACEOF
   20846 #define XLOCALEDIR "$ax_define_dir"
   20847 _ACEOF
   20848 
   20849   test "$prefix_NONE" && prefix=NONE
   20850   test "$exec_prefix_NONE" && exec_prefix=NONE
   20851 
   20852 
   20853 
   20854 locales="\
   20855  am_ET.UTF-8  armscii-8   C           el_GR.UTF-8  en_US.UTF-8  fi_FI.UTF-8 \
   20856  georgian-academy         georgian-ps ibm-cp1133   iscii-dev    isiri-3342 \
   20857  iso8859-1    iso8859-10  iso8859-11  iso8859-13   iso8859-14   iso8859-15 \
   20858  iso8859-2    iso8859-3   iso8859-4   iso8859-5    iso8859-6    iso8859-7 \
   20859  iso8859-8    iso8859-9   iso8859-9e  ja           ja.JIS       ja_JP.UTF-8\
   20860  ja.SJIS      ko          koi8-c      koi8-r                                  \
   20861  koi8-u       ko_KR.UTF-8 microsoft-cp1251         microsoft-cp1255 \
   20862  microsoft-cp1256         mulelao-1   nokhchi-1    pt_BR.UTF-8  ru_RU.UTF-8 \
   20863  tatar-cyr    th_TH       th_TH.UTF-8 tscii-0      vi_VN.tcvn   vi_VN.viscii \
   20864  zh_CN        zh_CN.gb18030           zh_CN.gbk    zh_CN.UTF-8  zh_HK.big5 \
   20865  zh_HK.big5hkscs          zh_HK.UTF-8 zh_TW        zh_TW.big5   zh_TW.UTF-8"
   20866 
   20867 
   20868 XKEYSYMDB="${X11_DATADIR}/XKeysymDB"
   20869 
   20870   prefix_NONE=
   20871   exec_prefix_NONE=
   20872   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20873   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20874   eval ax_define_dir="\"$XKEYSYMDB\""
   20875   eval ax_define_dir="\"$ax_define_dir\""
   20876   XKEYSYMDB="$ax_define_dir"
   20877 
   20878 
   20879 cat >>confdefs.h <<_ACEOF
   20880 #define XKEYSYMDB "$ax_define_dir"
   20881 _ACEOF
   20882 
   20883   test "$prefix_NONE" && prefix=NONE
   20884   test "$exec_prefix_NONE" && exec_prefix=NONE
   20885 
   20886 
   20887 XERRORDB="${X11_DATADIR}/XErrorDB"
   20888 
   20889   prefix_NONE=
   20890   exec_prefix_NONE=
   20891   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20892   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20893   eval ax_define_dir="\"$XERRORDB\""
   20894   eval ax_define_dir="\"$ax_define_dir\""
   20895   XERRORDB="$ax_define_dir"
   20896 
   20897 
   20898 cat >>confdefs.h <<_ACEOF
   20899 #define XERRORDB "$ax_define_dir"
   20900 _ACEOF
   20901 
   20902   test "$prefix_NONE" && prefix=NONE
   20903   test "$exec_prefix_NONE" && exec_prefix=NONE
   20904 
   20905 
   20906 
   20907 # Check whether --enable-malloc0returnsnull was given.
   20908 if test "${enable_malloc0returnsnull+set}" = set; then :
   20909   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20910 else
   20911   MALLOC_ZERO_RETURNS_NULL=auto
   20912 fi
   20913 
   20914 
   20915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   20916 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   20917 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   20918 	if test "$cross_compiling" = yes; then :
   20919   MALLOC_ZERO_RETURNS_NULL=yes
   20920 else
   20921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20922 /* end confdefs.h.  */
   20923 
   20924 #include <stdlib.h>
   20925 
   20926 int
   20927 main ()
   20928 {
   20929 
   20930     char *m0, *r0, *c0, *p;
   20931     m0 = malloc(0);
   20932     p = malloc(10);
   20933     r0 = realloc(p,0);
   20934     c0 = calloc(0,10);
   20935     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   20936 
   20937   ;
   20938   return 0;
   20939 }
   20940 _ACEOF
   20941 if ac_fn_c_try_run "$LINENO"; then :
   20942   MALLOC_ZERO_RETURNS_NULL=yes
   20943 else
   20944   MALLOC_ZERO_RETURNS_NULL=no
   20945 fi
   20946 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20947   conftest.$ac_objext conftest.beam conftest.$ac_ext
   20948 fi
   20949 
   20950 fi
   20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20952 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20953 
   20954 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   20955 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   20956 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   20957 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   20958 else
   20959 	MALLOC_ZERO_CFLAGS=""
   20960 	XMALLOC_ZERO_CFLAGS=""
   20961 	XTMALLOC_ZERO_CFLAGS=""
   20962 fi
   20963 
   20964 
   20965 
   20966 
   20967 
   20968 
   20969 ac_config_files="$ac_config_files Makefile include/Makefile man/Makefile man/xkb/Makefile src/Makefile src/util/Makefile src/xcms/Makefile src/xlibi18n/Makefile modules/Makefile modules/im/Makefile modules/im/ximcp/Makefile modules/lc/Makefile modules/lc/def/Makefile modules/lc/gen/Makefile modules/lc/Utf8/Makefile modules/lc/xlocale/Makefile modules/om/Makefile modules/om/generic/Makefile src/xkb/Makefile nls/Makefile specs/Makefile specs/i18n/Makefile specs/i18n/compose/Makefile specs/i18n/framework/Makefile specs/i18n/localedb/Makefile specs/i18n/trans/Makefile specs/libX11/Makefile specs/XIM/Makefile specs/XKB/Makefile x11.pc x11-xcb.pc"
   20970 
   20971 cat >confcache <<\_ACEOF
   20972 # This file is a shell script that caches the results of configure
   20973 # tests run on this system so they can be shared between configure
   20974 # scripts and configure runs, see configure's option --config-cache.
   20975 # It is not useful on other systems.  If it contains results you don't
   20976 # want to keep, you may remove or edit it.
   20977 #
   20978 # config.status only pays attention to the cache file if you give it
   20979 # the --recheck option to rerun configure.
   20980 #
   20981 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20982 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20983 # following values.
   20984 
   20985 _ACEOF
   20986 
   20987 # The following way of writing the cache mishandles newlines in values,
   20988 # but we know of no workaround that is simple, portable, and efficient.
   20989 # So, we kill variables containing newlines.
   20990 # Ultrix sh set writes to stderr and can't be redirected directly,
   20991 # and sets the high bit in the cache file unless we assign to the vars.
   20992 (
   20993   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20994     eval ac_val=\$$ac_var
   20995     case $ac_val in #(
   20996     *${as_nl}*)
   20997       case $ac_var in #(
   20998       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20999 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21000       esac
   21001       case $ac_var in #(
   21002       _ | IFS | as_nl) ;; #(
   21003       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21004       *) { eval $ac_var=; unset $ac_var;} ;;
   21005       esac ;;
   21006     esac
   21007   done
   21008 
   21009   (set) 2>&1 |
   21010     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21011     *${as_nl}ac_space=\ *)
   21012       # `set' does not quote correctly, so add quotes: double-quote
   21013       # substitution turns \\\\ into \\, and sed turns \\ into \.
   21014       sed -n \
   21015 	"s/'/'\\\\''/g;
   21016 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21017       ;; #(
   21018     *)
   21019       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21020       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21021       ;;
   21022     esac |
   21023     sort
   21024 ) |
   21025   sed '
   21026      /^ac_cv_env_/b end
   21027      t clear
   21028      :clear
   21029      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21030      t end
   21031      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21032      :end' >>confcache
   21033 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21034   if test -w "$cache_file"; then
   21035     if test "x$cache_file" != "x/dev/null"; then
   21036       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21037 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21038       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21039 	cat confcache >"$cache_file"
   21040       else
   21041         case $cache_file in #(
   21042         */* | ?:*)
   21043 	  mv -f confcache "$cache_file"$$ &&
   21044 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21045         *)
   21046 	  mv -f confcache "$cache_file" ;;
   21047 	esac
   21048       fi
   21049     fi
   21050   else
   21051     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21052 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21053   fi
   21054 fi
   21055 rm -f confcache
   21056 
   21057 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21058 # Let make expand exec_prefix.
   21059 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21060 
   21061 DEFS=-DHAVE_CONFIG_H
   21062 
   21063 ac_libobjs=
   21064 ac_ltlibobjs=
   21065 U=
   21066 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21067   # 1. Remove the extension, and $U if already installed.
   21068   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21069   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21070   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21071   #    will be set to the directory where LIBOBJS objects are built.
   21072   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21073   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21074 done
   21075 LIBOBJS=$ac_libobjs
   21076 
   21077 LTLIBOBJS=$ac_ltlibobjs
   21078 
   21079 
   21080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21081 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   21082    if test -n "$am_sleep_pid"; then
   21083      # Hide warnings about reused PIDs.
   21084      wait $am_sleep_pid 2>/dev/null
   21085    fi
   21086    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21087 $as_echo "done" >&6; }
   21088 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21089   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21091 fi
   21092 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21093   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21095 fi
   21096  if test -n "$EXEEXT"; then
   21097   am__EXEEXT_TRUE=
   21098   am__EXEEXT_FALSE='#'
   21099 else
   21100   am__EXEEXT_TRUE='#'
   21101   am__EXEEXT_FALSE=
   21102 fi
   21103 
   21104 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   21105   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   21106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21107 fi
   21108 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   21109   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   21110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21111 fi
   21112 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   21113   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   21114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21115 fi
   21116 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   21117   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   21118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21119 fi
   21120 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   21121   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   21122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21123 fi
   21124 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   21125   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   21126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21127 fi
   21128 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   21129   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   21130 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21131 fi
   21132 if test -z "${XLIB_LOADABLE_I18N_TRUE}" && test -z "${XLIB_LOADABLE_I18N_FALSE}"; then
   21133   as_fn_error $? "conditional \"XLIB_LOADABLE_I18N\" was never defined.
   21134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21135 fi
   21136 if test -z "${OS2_TRUE}" && test -z "${OS2_FALSE}"; then
   21137   as_fn_error $? "conditional \"OS2\" was never defined.
   21138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21139 fi
   21140 if test -z "${THRSTUBS_TRUE}" && test -z "${THRSTUBS_FALSE}"; then
   21141   as_fn_error $? "conditional \"THRSTUBS\" was never defined.
   21142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21143 fi
   21144 if test -z "${UDC_TRUE}" && test -z "${UDC_FALSE}"; then
   21145   as_fn_error $? "conditional \"UDC\" was never defined.
   21146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21147 fi
   21148 if test -z "${XCMS_TRUE}" && test -z "${XCMS_FALSE}"; then
   21149   as_fn_error $? "conditional \"XCMS\" was never defined.
   21150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21151 fi
   21152 if test -z "${XLOCALE_TRUE}" && test -z "${XLOCALE_FALSE}"; then
   21153   as_fn_error $? "conditional \"XLOCALE\" was never defined.
   21154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21155 fi
   21156 if test -z "${XKB_TRUE}" && test -z "${XKB_FALSE}"; then
   21157   as_fn_error $? "conditional \"XKB\" was never defined.
   21158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21159 fi
   21160 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   21161   as_fn_error $? "conditional \"LINT\" was never defined.
   21162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21163 fi
   21164 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   21165   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   21166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21167 fi
   21168 
   21169 : "${CONFIG_STATUS=./config.status}"
   21170 ac_write_fail=0
   21171 ac_clean_files_save=$ac_clean_files
   21172 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21173 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21174 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21175 as_write_fail=0
   21176 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   21177 #! $SHELL
   21178 # Generated by $as_me.
   21179 # Run this file to recreate the current configuration.
   21180 # Compiler output produced by configure, useful for debugging
   21181 # configure, is in config.log if it exists.
   21182 
   21183 debug=false
   21184 ac_cs_recheck=false
   21185 ac_cs_silent=false
   21186 
   21187 SHELL=\${CONFIG_SHELL-$SHELL}
   21188 export SHELL
   21189 _ASEOF
   21190 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   21191 ## -------------------- ##
   21192 ## M4sh Initialization. ##
   21193 ## -------------------- ##
   21194 
   21195 # Be more Bourne compatible
   21196 DUALCASE=1; export DUALCASE # for MKS sh
   21197 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   21198   emulate sh
   21199   NULLCMD=:
   21200   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21201   # is contrary to our usage.  Disable this feature.
   21202   alias -g '${1+"$@"}'='"$@"'
   21203   setopt NO_GLOB_SUBST
   21204 else
   21205   case `(set -o) 2>/dev/null` in #(
   21206   *posix*) :
   21207     set -o posix ;; #(
   21208   *) :
   21209      ;;
   21210 esac
   21211 fi
   21212 
   21213 
   21214 as_nl='
   21215 '
   21216 export as_nl
   21217 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   21218 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   21219 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   21220 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   21221 # Prefer a ksh shell builtin over an external printf program on Solaris,
   21222 # but without wasting forks for bash or zsh.
   21223 if test -z "$BASH_VERSION$ZSH_VERSION" \
   21224     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   21225   as_echo='print -r --'
   21226   as_echo_n='print -rn --'
   21227 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   21228   as_echo='printf %s\n'
   21229   as_echo_n='printf %s'
   21230 else
   21231   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   21232     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   21233     as_echo_n='/usr/ucb/echo -n'
   21234   else
   21235     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   21236     as_echo_n_body='eval
   21237       arg=$1;
   21238       case $arg in #(
   21239       *"$as_nl"*)
   21240 	expr "X$arg" : "X\\(.*\\)$as_nl";
   21241 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   21242       esac;
   21243       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   21244     '
   21245     export as_echo_n_body
   21246     as_echo_n='sh -c $as_echo_n_body as_echo'
   21247   fi
   21248   export as_echo_body
   21249   as_echo='sh -c $as_echo_body as_echo'
   21250 fi
   21251 
   21252 # The user is always right.
   21253 if test "${PATH_SEPARATOR+set}" != set; then
   21254   PATH_SEPARATOR=:
   21255   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21256     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21257       PATH_SEPARATOR=';'
   21258   }
   21259 fi
   21260 
   21261 
   21262 # IFS
   21263 # We need space, tab and new line, in precisely that order.  Quoting is
   21264 # there to prevent editors from complaining about space-tab.
   21265 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21266 # splitting by setting IFS to empty value.)
   21267 IFS=" ""	$as_nl"
   21268 
   21269 # Find who we are.  Look in the path if we contain no directory separator.
   21270 as_myself=
   21271 case $0 in #((
   21272   *[\\/]* ) as_myself=$0 ;;
   21273   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21274 for as_dir in $PATH
   21275 do
   21276   IFS=$as_save_IFS
   21277   test -z "$as_dir" && as_dir=.
   21278     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21279   done
   21280 IFS=$as_save_IFS
   21281 
   21282      ;;
   21283 esac
   21284 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21285 # in which case we are not to be found in the path.
   21286 if test "x$as_myself" = x; then
   21287   as_myself=$0
   21288 fi
   21289 if test ! -f "$as_myself"; then
   21290   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21291   exit 1
   21292 fi
   21293 
   21294 # Unset variables that we do not need and which cause bugs (e.g. in
   21295 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   21296 # suppresses any "Segmentation fault" message there.  '((' could
   21297 # trigger a bug in pdksh 5.2.14.
   21298 for as_var in BASH_ENV ENV MAIL MAILPATH
   21299 do eval test x\${$as_var+set} = xset \
   21300   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21301 done
   21302 PS1='$ '
   21303 PS2='> '
   21304 PS4='+ '
   21305 
   21306 # NLS nuisances.
   21307 LC_ALL=C
   21308 export LC_ALL
   21309 LANGUAGE=C
   21310 export LANGUAGE
   21311 
   21312 # CDPATH.
   21313 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21314 
   21315 
   21316 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21317 # ----------------------------------------
   21318 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21319 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21320 # script with STATUS, using 1 if that was 0.
   21321 as_fn_error ()
   21322 {
   21323   as_status=$1; test $as_status -eq 0 && as_status=1
   21324   if test "$4"; then
   21325     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21326     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21327   fi
   21328   $as_echo "$as_me: error: $2" >&2
   21329   as_fn_exit $as_status
   21330 } # as_fn_error
   21331 
   21332 
   21333 # as_fn_set_status STATUS
   21334 # -----------------------
   21335 # Set $? to STATUS, without forking.
   21336 as_fn_set_status ()
   21337 {
   21338   return $1
   21339 } # as_fn_set_status
   21340 
   21341 # as_fn_exit STATUS
   21342 # -----------------
   21343 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21344 as_fn_exit ()
   21345 {
   21346   set +e
   21347   as_fn_set_status $1
   21348   exit $1
   21349 } # as_fn_exit
   21350 
   21351 # as_fn_unset VAR
   21352 # ---------------
   21353 # Portably unset VAR.
   21354 as_fn_unset ()
   21355 {
   21356   { eval $1=; unset $1;}
   21357 }
   21358 as_unset=as_fn_unset
   21359 # as_fn_append VAR VALUE
   21360 # ----------------------
   21361 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21362 # advantage of any shell optimizations that allow amortized linear growth over
   21363 # repeated appends, instead of the typical quadratic growth present in naive
   21364 # implementations.
   21365 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   21366   eval 'as_fn_append ()
   21367   {
   21368     eval $1+=\$2
   21369   }'
   21370 else
   21371   as_fn_append ()
   21372   {
   21373     eval $1=\$$1\$2
   21374   }
   21375 fi # as_fn_append
   21376 
   21377 # as_fn_arith ARG...
   21378 # ------------------
   21379 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21380 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21381 # must be portable across $(()) and expr.
   21382 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   21383   eval 'as_fn_arith ()
   21384   {
   21385     as_val=$(( $* ))
   21386   }'
   21387 else
   21388   as_fn_arith ()
   21389   {
   21390     as_val=`expr "$@" || test $? -eq 1`
   21391   }
   21392 fi # as_fn_arith
   21393 
   21394 
   21395 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21397   as_expr=expr
   21398 else
   21399   as_expr=false
   21400 fi
   21401 
   21402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21403   as_basename=basename
   21404 else
   21405   as_basename=false
   21406 fi
   21407 
   21408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21409   as_dirname=dirname
   21410 else
   21411   as_dirname=false
   21412 fi
   21413 
   21414 as_me=`$as_basename -- "$0" ||
   21415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21416 	 X"$0" : 'X\(//\)$' \| \
   21417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21418 $as_echo X/"$0" |
   21419     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21420 	    s//\1/
   21421 	    q
   21422 	  }
   21423 	  /^X\/\(\/\/\)$/{
   21424 	    s//\1/
   21425 	    q
   21426 	  }
   21427 	  /^X\/\(\/\).*/{
   21428 	    s//\1/
   21429 	    q
   21430 	  }
   21431 	  s/.*/./; q'`
   21432 
   21433 # Avoid depending upon Character Ranges.
   21434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21437 as_cr_digits='0123456789'
   21438 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21439 
   21440 ECHO_C= ECHO_N= ECHO_T=
   21441 case `echo -n x` in #(((((
   21442 -n*)
   21443   case `echo 'xy\c'` in
   21444   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21445   xy)  ECHO_C='\c';;
   21446   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21447        ECHO_T='	';;
   21448   esac;;
   21449 *)
   21450   ECHO_N='-n';;
   21451 esac
   21452 
   21453 rm -f conf$$ conf$$.exe conf$$.file
   21454 if test -d conf$$.dir; then
   21455   rm -f conf$$.dir/conf$$.file
   21456 else
   21457   rm -f conf$$.dir
   21458   mkdir conf$$.dir 2>/dev/null
   21459 fi
   21460 if (echo >conf$$.file) 2>/dev/null; then
   21461   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21462     as_ln_s='ln -s'
   21463     # ... but there are two gotchas:
   21464     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21465     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21466     # In both cases, we have to default to `cp -p'.
   21467     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21468       as_ln_s='cp -p'
   21469   elif ln conf$$.file conf$$ 2>/dev/null; then
   21470     as_ln_s=ln
   21471   else
   21472     as_ln_s='cp -p'
   21473   fi
   21474 else
   21475   as_ln_s='cp -p'
   21476 fi
   21477 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21478 rmdir conf$$.dir 2>/dev/null
   21479 
   21480 
   21481 # as_fn_mkdir_p
   21482 # -------------
   21483 # Create "$as_dir" as a directory, including parents if necessary.
   21484 as_fn_mkdir_p ()
   21485 {
   21486 
   21487   case $as_dir in #(
   21488   -*) as_dir=./$as_dir;;
   21489   esac
   21490   test -d "$as_dir" || eval $as_mkdir_p || {
   21491     as_dirs=
   21492     while :; do
   21493       case $as_dir in #(
   21494       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21495       *) as_qdir=$as_dir;;
   21496       esac
   21497       as_dirs="'$as_qdir' $as_dirs"
   21498       as_dir=`$as_dirname -- "$as_dir" ||
   21499 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21500 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21501 	 X"$as_dir" : 'X\(//\)$' \| \
   21502 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21503 $as_echo X"$as_dir" |
   21504     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21505 	    s//\1/
   21506 	    q
   21507 	  }
   21508 	  /^X\(\/\/\)[^/].*/{
   21509 	    s//\1/
   21510 	    q
   21511 	  }
   21512 	  /^X\(\/\/\)$/{
   21513 	    s//\1/
   21514 	    q
   21515 	  }
   21516 	  /^X\(\/\).*/{
   21517 	    s//\1/
   21518 	    q
   21519 	  }
   21520 	  s/.*/./; q'`
   21521       test -d "$as_dir" && break
   21522     done
   21523     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21524   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21525 
   21526 
   21527 } # as_fn_mkdir_p
   21528 if mkdir -p . 2>/dev/null; then
   21529   as_mkdir_p='mkdir -p "$as_dir"'
   21530 else
   21531   test -d ./-p && rmdir ./-p
   21532   as_mkdir_p=false
   21533 fi
   21534 
   21535 if test -x / >/dev/null 2>&1; then
   21536   as_test_x='test -x'
   21537 else
   21538   if ls -dL / >/dev/null 2>&1; then
   21539     as_ls_L_option=L
   21540   else
   21541     as_ls_L_option=
   21542   fi
   21543   as_test_x='
   21544     eval sh -c '\''
   21545       if test -d "$1"; then
   21546 	test -d "$1/.";
   21547       else
   21548 	case $1 in #(
   21549 	-*)set "./$1";;
   21550 	esac;
   21551 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   21552 	???[sx]*):;;*)false;;esac;fi
   21553     '\'' sh
   21554   '
   21555 fi
   21556 as_executable_p=$as_test_x
   21557 
   21558 # Sed expression to map a string onto a valid CPP name.
   21559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21560 
   21561 # Sed expression to map a string onto a valid variable name.
   21562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21563 
   21564 
   21565 exec 6>&1
   21566 ## ----------------------------------- ##
   21567 ## Main body of $CONFIG_STATUS script. ##
   21568 ## ----------------------------------- ##
   21569 _ASEOF
   21570 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21571 
   21572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21573 # Save the log message, to keep $0 and so on meaningful, and to
   21574 # report actual input values of CONFIG_FILES etc. instead of their
   21575 # values after options handling.
   21576 ac_log="
   21577 This file was extended by libX11 $as_me 1.6.0, which was
   21578 generated by GNU Autoconf 2.68.  Invocation command line was
   21579 
   21580   CONFIG_FILES    = $CONFIG_FILES
   21581   CONFIG_HEADERS  = $CONFIG_HEADERS
   21582   CONFIG_LINKS    = $CONFIG_LINKS
   21583   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21584   $ $0 $@
   21585 
   21586 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21587 "
   21588 
   21589 _ACEOF
   21590 
   21591 case $ac_config_files in *"
   21592 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21593 esac
   21594 
   21595 case $ac_config_headers in *"
   21596 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21597 esac
   21598 
   21599 
   21600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21601 # Files that config.status was made for.
   21602 config_files="$ac_config_files"
   21603 config_headers="$ac_config_headers"
   21604 config_commands="$ac_config_commands"
   21605 
   21606 _ACEOF
   21607 
   21608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21609 ac_cs_usage="\
   21610 \`$as_me' instantiates files and other configuration actions
   21611 from templates according to the current configuration.  Unless the files
   21612 and actions are specified as TAGs, all are instantiated by default.
   21613 
   21614 Usage: $0 [OPTION]... [TAG]...
   21615 
   21616   -h, --help       print this help, then exit
   21617   -V, --version    print version number and configuration settings, then exit
   21618       --config     print configuration, then exit
   21619   -q, --quiet, --silent
   21620                    do not print progress messages
   21621   -d, --debug      don't remove temporary files
   21622       --recheck    update $as_me by reconfiguring in the same conditions
   21623       --file=FILE[:TEMPLATE]
   21624                    instantiate the configuration file FILE
   21625       --header=FILE[:TEMPLATE]
   21626                    instantiate the configuration header FILE
   21627 
   21628 Configuration files:
   21629 $config_files
   21630 
   21631 Configuration headers:
   21632 $config_headers
   21633 
   21634 Configuration commands:
   21635 $config_commands
   21636 
   21637 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   21638 
   21639 _ACEOF
   21640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21641 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   21642 ac_cs_version="\\
   21643 libX11 config.status 1.6.0
   21644 configured by $0, generated by GNU Autoconf 2.68,
   21645   with options \\"\$ac_cs_config\\"
   21646 
   21647 Copyright (C) 2010 Free Software Foundation, Inc.
   21648 This config.status script is free software; the Free Software Foundation
   21649 gives unlimited permission to copy, distribute and modify it."
   21650 
   21651 ac_pwd='$ac_pwd'
   21652 srcdir='$srcdir'
   21653 INSTALL='$INSTALL'
   21654 MKDIR_P='$MKDIR_P'
   21655 AWK='$AWK'
   21656 test -n "\$AWK" || AWK=awk
   21657 _ACEOF
   21658 
   21659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21660 # The default lists apply if the user does not specify any file.
   21661 ac_need_defaults=:
   21662 while test $# != 0
   21663 do
   21664   case $1 in
   21665   --*=?*)
   21666     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21667     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21668     ac_shift=:
   21669     ;;
   21670   --*=)
   21671     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21672     ac_optarg=
   21673     ac_shift=:
   21674     ;;
   21675   *)
   21676     ac_option=$1
   21677     ac_optarg=$2
   21678     ac_shift=shift
   21679     ;;
   21680   esac
   21681 
   21682   case $ac_option in
   21683   # Handling of the options.
   21684   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21685     ac_cs_recheck=: ;;
   21686   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21687     $as_echo "$ac_cs_version"; exit ;;
   21688   --config | --confi | --conf | --con | --co | --c )
   21689     $as_echo "$ac_cs_config"; exit ;;
   21690   --debug | --debu | --deb | --de | --d | -d )
   21691     debug=: ;;
   21692   --file | --fil | --fi | --f )
   21693     $ac_shift
   21694     case $ac_optarg in
   21695     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21696     '') as_fn_error $? "missing file argument" ;;
   21697     esac
   21698     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21699     ac_need_defaults=false;;
   21700   --header | --heade | --head | --hea )
   21701     $ac_shift
   21702     case $ac_optarg in
   21703     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21704     esac
   21705     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21706     ac_need_defaults=false;;
   21707   --he | --h)
   21708     # Conflict between --help and --header
   21709     as_fn_error $? "ambiguous option: \`$1'
   21710 Try \`$0 --help' for more information.";;
   21711   --help | --hel | -h )
   21712     $as_echo "$ac_cs_usage"; exit ;;
   21713   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21714   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21715     ac_cs_silent=: ;;
   21716 
   21717   # This is an error.
   21718   -*) as_fn_error $? "unrecognized option: \`$1'
   21719 Try \`$0 --help' for more information." ;;
   21720 
   21721   *) as_fn_append ac_config_targets " $1"
   21722      ac_need_defaults=false ;;
   21723 
   21724   esac
   21725   shift
   21726 done
   21727 
   21728 ac_configure_extra_args=
   21729 
   21730 if $ac_cs_silent; then
   21731   exec 6>/dev/null
   21732   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21733 fi
   21734 
   21735 _ACEOF
   21736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21737 if \$ac_cs_recheck; then
   21738   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21739   shift
   21740   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   21741   CONFIG_SHELL='$SHELL'
   21742   export CONFIG_SHELL
   21743   exec "\$@"
   21744 fi
   21745 
   21746 _ACEOF
   21747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21748 exec 5>>config.log
   21749 {
   21750   echo
   21751   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21752 ## Running $as_me. ##
   21753 _ASBOX
   21754   $as_echo "$ac_log"
   21755 } >&5
   21756 
   21757 _ACEOF
   21758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21759 #
   21760 # INIT-COMMANDS
   21761 #
   21762 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21763 
   21764 
   21765 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21766 # if CDPATH is set.
   21767 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21768 
   21769 sed_quote_subst='$sed_quote_subst'
   21770 double_quote_subst='$double_quote_subst'
   21771 delay_variable_subst='$delay_variable_subst'
   21772 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21773 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21774 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21775 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21776 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21777 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21778 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21779 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21780 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21781 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21782 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21783 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21784 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21785 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21786 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21787 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21788 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21789 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21790 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21791 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21792 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21793 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21794 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21795 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21796 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21797 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21798 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21799 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21800 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21801 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21802 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21803 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21804 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21805 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21806 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21807 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21808 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21809 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21810 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21811 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21812 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21813 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21814 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21815 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21816 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21817 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21818 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21819 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21820 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21821 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21822 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21823 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21824 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21825 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21826 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21827 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21828 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"`'
   21829 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21830 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21831 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21832 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21833 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21834 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21835 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21836 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21837 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21838 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21839 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21840 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21841 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21842 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21843 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21844 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21845 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21846 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21847 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21848 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21849 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21850 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21851 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21852 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21853 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21854 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21855 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21856 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21857 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21858 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21859 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21860 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21861 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21862 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21863 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21864 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21865 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21866 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21867 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21868 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21869 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21870 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21871 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21872 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21873 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21874 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21875 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21876 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21877 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21878 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21879 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21880 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21881 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21882 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21883 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21884 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21885 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21886 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21887 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21888 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21889 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21890 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21891 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21892 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21893 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21894 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21895 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   21896 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21897 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21898 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21899 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21900 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21901 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21902 
   21903 LTCC='$LTCC'
   21904 LTCFLAGS='$LTCFLAGS'
   21905 compiler='$compiler_DEFAULT'
   21906 
   21907 # A function that is used when there is no print builtin or printf.
   21908 func_fallback_echo ()
   21909 {
   21910   eval 'cat <<_LTECHO_EOF
   21911 \$1
   21912 _LTECHO_EOF'
   21913 }
   21914 
   21915 # Quote evaled strings.
   21916 for var in SHELL \
   21917 ECHO \
   21918 PATH_SEPARATOR \
   21919 SED \
   21920 GREP \
   21921 EGREP \
   21922 FGREP \
   21923 LD \
   21924 NM \
   21925 LN_S \
   21926 lt_SP2NL \
   21927 lt_NL2SP \
   21928 reload_flag \
   21929 OBJDUMP \
   21930 deplibs_check_method \
   21931 file_magic_cmd \
   21932 file_magic_glob \
   21933 want_nocaseglob \
   21934 DLLTOOL \
   21935 sharedlib_from_linklib_cmd \
   21936 AR \
   21937 AR_FLAGS \
   21938 archiver_list_spec \
   21939 STRIP \
   21940 RANLIB \
   21941 CC \
   21942 CFLAGS \
   21943 compiler \
   21944 lt_cv_sys_global_symbol_pipe \
   21945 lt_cv_sys_global_symbol_to_cdecl \
   21946 lt_cv_sys_global_symbol_to_c_name_address \
   21947 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21948 nm_file_list_spec \
   21949 lt_prog_compiler_no_builtin_flag \
   21950 lt_prog_compiler_pic \
   21951 lt_prog_compiler_wl \
   21952 lt_prog_compiler_static \
   21953 lt_cv_prog_compiler_c_o \
   21954 need_locks \
   21955 MANIFEST_TOOL \
   21956 DSYMUTIL \
   21957 NMEDIT \
   21958 LIPO \
   21959 OTOOL \
   21960 OTOOL64 \
   21961 shrext_cmds \
   21962 export_dynamic_flag_spec \
   21963 whole_archive_flag_spec \
   21964 compiler_needs_object \
   21965 with_gnu_ld \
   21966 allow_undefined_flag \
   21967 no_undefined_flag \
   21968 hardcode_libdir_flag_spec \
   21969 hardcode_libdir_separator \
   21970 exclude_expsyms \
   21971 include_expsyms \
   21972 file_list_spec \
   21973 variables_saved_for_relink \
   21974 libname_spec \
   21975 library_names_spec \
   21976 soname_spec \
   21977 install_override_mode \
   21978 finish_eval \
   21979 old_striplib \
   21980 striplib; do
   21981     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21982     *[\\\\\\\`\\"\\\$]*)
   21983       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   21984       ;;
   21985     *)
   21986       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21987       ;;
   21988     esac
   21989 done
   21990 
   21991 # Double-quote double-evaled strings.
   21992 for var in reload_cmds \
   21993 old_postinstall_cmds \
   21994 old_postuninstall_cmds \
   21995 old_archive_cmds \
   21996 extract_expsyms_cmds \
   21997 old_archive_from_new_cmds \
   21998 old_archive_from_expsyms_cmds \
   21999 archive_cmds \
   22000 archive_expsym_cmds \
   22001 module_cmds \
   22002 module_expsym_cmds \
   22003 export_symbols_cmds \
   22004 prelink_cmds \
   22005 postlink_cmds \
   22006 postinstall_cmds \
   22007 postuninstall_cmds \
   22008 finish_cmds \
   22009 sys_lib_search_path_spec \
   22010 sys_lib_dlsearch_path_spec; do
   22011     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22012     *[\\\\\\\`\\"\\\$]*)
   22013       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   22014       ;;
   22015     *)
   22016       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22017       ;;
   22018     esac
   22019 done
   22020 
   22021 ac_aux_dir='$ac_aux_dir'
   22022 xsi_shell='$xsi_shell'
   22023 lt_shell_append='$lt_shell_append'
   22024 
   22025 # See if we are running on zsh, and set the options which allow our
   22026 # commands through without removal of \ escapes INIT.
   22027 if test -n "\${ZSH_VERSION+set}" ; then
   22028    setopt NO_GLOB_SUBST
   22029 fi
   22030 
   22031 
   22032     PACKAGE='$PACKAGE'
   22033     VERSION='$VERSION'
   22034     TIMESTAMP='$TIMESTAMP'
   22035     RM='$RM'
   22036     ofile='$ofile'
   22037 
   22038 
   22039 
   22040 
   22041 _ACEOF
   22042 
   22043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22044 
   22045 # Handling of arguments.
   22046 for ac_config_target in $ac_config_targets
   22047 do
   22048   case $ac_config_target in
   22049     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   22050     "include/X11/XlibConf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/XlibConf.h" ;;
   22051     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22052     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   22053     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22054     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   22055     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22056     "man/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES man/xkb/Makefile" ;;
   22057     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22058     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   22059     "src/xcms/Makefile") CONFIG_FILES="$CONFIG_FILES src/xcms/Makefile" ;;
   22060     "src/xlibi18n/Makefile") CONFIG_FILES="$CONFIG_FILES src/xlibi18n/Makefile" ;;
   22061     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
   22062     "modules/im/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/Makefile" ;;
   22063     "modules/im/ximcp/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/ximcp/Makefile" ;;
   22064     "modules/lc/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Makefile" ;;
   22065     "modules/lc/def/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/def/Makefile" ;;
   22066     "modules/lc/gen/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/gen/Makefile" ;;
   22067     "modules/lc/Utf8/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Utf8/Makefile" ;;
   22068     "modules/lc/xlocale/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/xlocale/Makefile" ;;
   22069     "modules/om/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/Makefile" ;;
   22070     "modules/om/generic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/generic/Makefile" ;;
   22071     "src/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES src/xkb/Makefile" ;;
   22072     "nls/Makefile") CONFIG_FILES="$CONFIG_FILES nls/Makefile" ;;
   22073     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   22074     "specs/i18n/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/Makefile" ;;
   22075     "specs/i18n/compose/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/compose/Makefile" ;;
   22076     "specs/i18n/framework/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/framework/Makefile" ;;
   22077     "specs/i18n/localedb/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/localedb/Makefile" ;;
   22078     "specs/i18n/trans/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/trans/Makefile" ;;
   22079     "specs/libX11/Makefile") CONFIG_FILES="$CONFIG_FILES specs/libX11/Makefile" ;;
   22080     "specs/XIM/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XIM/Makefile" ;;
   22081     "specs/XKB/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XKB/Makefile" ;;
   22082     "x11.pc") CONFIG_FILES="$CONFIG_FILES x11.pc" ;;
   22083     "x11-xcb.pc") CONFIG_FILES="$CONFIG_FILES x11-xcb.pc" ;;
   22084 
   22085   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   22086   esac
   22087 done
   22088 
   22089 
   22090 # If the user did not use the arguments to specify the items to instantiate,
   22091 # then the envvar interface is used.  Set only those that are not.
   22092 # We use the long form for the default assignment because of an extremely
   22093 # bizarre bug on SunOS 4.1.3.
   22094 if $ac_need_defaults; then
   22095   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22096   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22097   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22098 fi
   22099 
   22100 # Have a temporary directory for convenience.  Make it in the build tree
   22101 # simply because there is no reason against having it here, and in addition,
   22102 # creating and moving files from /tmp can sometimes cause problems.
   22103 # Hook for its removal unless debugging.
   22104 # Note that there is a small window in which the directory will not be cleaned:
   22105 # after its creation but before its name has been assigned to `$tmp'.
   22106 $debug ||
   22107 {
   22108   tmp= ac_tmp=
   22109   trap 'exit_status=$?
   22110   : "${ac_tmp:=$tmp}"
   22111   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22112 ' 0
   22113   trap 'as_fn_exit 1' 1 2 13 15
   22114 }
   22115 # Create a (secure) tmp directory for tmp files.
   22116 
   22117 {
   22118   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22119   test -d "$tmp"
   22120 }  ||
   22121 {
   22122   tmp=./conf$$-$RANDOM
   22123   (umask 077 && mkdir "$tmp")
   22124 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22125 ac_tmp=$tmp
   22126 
   22127 # Set up the scripts for CONFIG_FILES section.
   22128 # No need to generate them if there are no CONFIG_FILES.
   22129 # This happens for instance with `./config.status config.h'.
   22130 if test -n "$CONFIG_FILES"; then
   22131 
   22132 
   22133 ac_cr=`echo X | tr X '\015'`
   22134 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22135 # But we know of no other shell where ac_cr would be empty at this
   22136 # point, so we can use a bashism as a fallback.
   22137 if test "x$ac_cr" = x; then
   22138   eval ac_cr=\$\'\\r\'
   22139 fi
   22140 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22141 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22142   ac_cs_awk_cr='\\r'
   22143 else
   22144   ac_cs_awk_cr=$ac_cr
   22145 fi
   22146 
   22147 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22148 _ACEOF
   22149 
   22150 
   22151 {
   22152   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22153   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22154   echo "_ACEOF"
   22155 } >conf$$subs.sh ||
   22156   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22157 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22158 ac_delim='%!_!# '
   22159 for ac_last_try in false false false false false :; do
   22160   . ./conf$$subs.sh ||
   22161     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22162 
   22163   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22164   if test $ac_delim_n = $ac_delim_num; then
   22165     break
   22166   elif $ac_last_try; then
   22167     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22168   else
   22169     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22170   fi
   22171 done
   22172 rm -f conf$$subs.sh
   22173 
   22174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22175 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22176 _ACEOF
   22177 sed -n '
   22178 h
   22179 s/^/S["/; s/!.*/"]=/
   22180 p
   22181 g
   22182 s/^[^!]*!//
   22183 :repl
   22184 t repl
   22185 s/'"$ac_delim"'$//
   22186 t delim
   22187 :nl
   22188 h
   22189 s/\(.\{148\}\)..*/\1/
   22190 t more1
   22191 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22192 p
   22193 n
   22194 b repl
   22195 :more1
   22196 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22197 p
   22198 g
   22199 s/.\{148\}//
   22200 t nl
   22201 :delim
   22202 h
   22203 s/\(.\{148\}\)..*/\1/
   22204 t more2
   22205 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22206 p
   22207 b
   22208 :more2
   22209 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22210 p
   22211 g
   22212 s/.\{148\}//
   22213 t delim
   22214 ' <conf$$subs.awk | sed '
   22215 /^[^""]/{
   22216   N
   22217   s/\n//
   22218 }
   22219 ' >>$CONFIG_STATUS || ac_write_fail=1
   22220 rm -f conf$$subs.awk
   22221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22222 _ACAWK
   22223 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22224   for (key in S) S_is_set[key] = 1
   22225   FS = ""
   22226 
   22227 }
   22228 {
   22229   line = $ 0
   22230   nfields = split(line, field, "@")
   22231   substed = 0
   22232   len = length(field[1])
   22233   for (i = 2; i < nfields; i++) {
   22234     key = field[i]
   22235     keylen = length(key)
   22236     if (S_is_set[key]) {
   22237       value = S[key]
   22238       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22239       len += length(value) + length(field[++i])
   22240       substed = 1
   22241     } else
   22242       len += 1 + keylen
   22243   }
   22244 
   22245   print line
   22246 }
   22247 
   22248 _ACAWK
   22249 _ACEOF
   22250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22251 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22252   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22253 else
   22254   cat
   22255 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22256   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22257 _ACEOF
   22258 
   22259 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22260 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22261 # trailing colons and then remove the whole line if VPATH becomes empty
   22262 # (actually we leave an empty line to preserve line numbers).
   22263 if test "x$srcdir" = x.; then
   22264   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22265 h
   22266 s///
   22267 s/^/:/
   22268 s/[	 ]*$/:/
   22269 s/:\$(srcdir):/:/g
   22270 s/:\${srcdir}:/:/g
   22271 s/:@srcdir@:/:/g
   22272 s/^:*//
   22273 s/:*$//
   22274 x
   22275 s/\(=[	 ]*\).*/\1/
   22276 G
   22277 s/\n//
   22278 s/^[^=]*=[	 ]*$//
   22279 }'
   22280 fi
   22281 
   22282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22283 fi # test -n "$CONFIG_FILES"
   22284 
   22285 # Set up the scripts for CONFIG_HEADERS section.
   22286 # No need to generate them if there are no CONFIG_HEADERS.
   22287 # This happens for instance with `./config.status Makefile'.
   22288 if test -n "$CONFIG_HEADERS"; then
   22289 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22290 BEGIN {
   22291 _ACEOF
   22292 
   22293 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22294 # here-document in config.status, that substitutes the proper values into
   22295 # config.h.in to produce config.h.
   22296 
   22297 # Create a delimiter string that does not exist in confdefs.h, to ease
   22298 # handling of long lines.
   22299 ac_delim='%!_!# '
   22300 for ac_last_try in false false :; do
   22301   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22302   if test -z "$ac_tt"; then
   22303     break
   22304   elif $ac_last_try; then
   22305     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22306   else
   22307     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22308   fi
   22309 done
   22310 
   22311 # For the awk script, D is an array of macro values keyed by name,
   22312 # likewise P contains macro parameters if any.  Preserve backslash
   22313 # newline sequences.
   22314 
   22315 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22316 sed -n '
   22317 s/.\{148\}/&'"$ac_delim"'/g
   22318 t rset
   22319 :rset
   22320 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22321 t def
   22322 d
   22323 :def
   22324 s/\\$//
   22325 t bsnl
   22326 s/["\\]/\\&/g
   22327 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22328 D["\1"]=" \3"/p
   22329 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22330 d
   22331 :bsnl
   22332 s/["\\]/\\&/g
   22333 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22334 D["\1"]=" \3\\\\\\n"\\/p
   22335 t cont
   22336 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22337 t cont
   22338 d
   22339 :cont
   22340 n
   22341 s/.\{148\}/&'"$ac_delim"'/g
   22342 t clear
   22343 :clear
   22344 s/\\$//
   22345 t bsnlc
   22346 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22347 d
   22348 :bsnlc
   22349 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22350 b cont
   22351 ' <confdefs.h | sed '
   22352 s/'"$ac_delim"'/"\\\
   22353 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22354 
   22355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22356   for (key in D) D_is_set[key] = 1
   22357   FS = ""
   22358 }
   22359 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22360   line = \$ 0
   22361   split(line, arg, " ")
   22362   if (arg[1] == "#") {
   22363     defundef = arg[2]
   22364     mac1 = arg[3]
   22365   } else {
   22366     defundef = substr(arg[1], 2)
   22367     mac1 = arg[2]
   22368   }
   22369   split(mac1, mac2, "(") #)
   22370   macro = mac2[1]
   22371   prefix = substr(line, 1, index(line, defundef) - 1)
   22372   if (D_is_set[macro]) {
   22373     # Preserve the white space surrounding the "#".
   22374     print prefix "define", macro P[macro] D[macro]
   22375     next
   22376   } else {
   22377     # Replace #undef with comments.  This is necessary, for example,
   22378     # in the case of _POSIX_SOURCE, which is predefined and required
   22379     # on some systems where configure will not decide to define it.
   22380     if (defundef == "undef") {
   22381       print "/*", prefix defundef, macro, "*/"
   22382       next
   22383     }
   22384   }
   22385 }
   22386 { print }
   22387 _ACAWK
   22388 _ACEOF
   22389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22390   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22391 fi # test -n "$CONFIG_HEADERS"
   22392 
   22393 
   22394 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22395 shift
   22396 for ac_tag
   22397 do
   22398   case $ac_tag in
   22399   :[FHLC]) ac_mode=$ac_tag; continue;;
   22400   esac
   22401   case $ac_mode$ac_tag in
   22402   :[FHL]*:*);;
   22403   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   22404   :[FH]-) ac_tag=-:-;;
   22405   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22406   esac
   22407   ac_save_IFS=$IFS
   22408   IFS=:
   22409   set x $ac_tag
   22410   IFS=$ac_save_IFS
   22411   shift
   22412   ac_file=$1
   22413   shift
   22414 
   22415   case $ac_mode in
   22416   :L) ac_source=$1;;
   22417   :[FH])
   22418     ac_file_inputs=
   22419     for ac_f
   22420     do
   22421       case $ac_f in
   22422       -) ac_f="$ac_tmp/stdin";;
   22423       *) # Look for the file first in the build tree, then in the source tree
   22424 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22425 	 # because $ac_f cannot contain `:'.
   22426 	 test -f "$ac_f" ||
   22427 	   case $ac_f in
   22428 	   [\\/$]*) false;;
   22429 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22430 	   esac ||
   22431 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   22432       esac
   22433       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22434       as_fn_append ac_file_inputs " '$ac_f'"
   22435     done
   22436 
   22437     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22438     # use $as_me), people would be surprised to read:
   22439     #    /* config.h.  Generated by config.status.  */
   22440     configure_input='Generated from '`
   22441 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22442 	`' by configure.'
   22443     if test x"$ac_file" != x-; then
   22444       configure_input="$ac_file.  $configure_input"
   22445       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22446 $as_echo "$as_me: creating $ac_file" >&6;}
   22447     fi
   22448     # Neutralize special characters interpreted by sed in replacement strings.
   22449     case $configure_input in #(
   22450     *\&* | *\|* | *\\* )
   22451        ac_sed_conf_input=`$as_echo "$configure_input" |
   22452        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22453     *) ac_sed_conf_input=$configure_input;;
   22454     esac
   22455 
   22456     case $ac_tag in
   22457     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22458       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22459     esac
   22460     ;;
   22461   esac
   22462 
   22463   ac_dir=`$as_dirname -- "$ac_file" ||
   22464 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22465 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22466 	 X"$ac_file" : 'X\(//\)$' \| \
   22467 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22468 $as_echo X"$ac_file" |
   22469     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22470 	    s//\1/
   22471 	    q
   22472 	  }
   22473 	  /^X\(\/\/\)[^/].*/{
   22474 	    s//\1/
   22475 	    q
   22476 	  }
   22477 	  /^X\(\/\/\)$/{
   22478 	    s//\1/
   22479 	    q
   22480 	  }
   22481 	  /^X\(\/\).*/{
   22482 	    s//\1/
   22483 	    q
   22484 	  }
   22485 	  s/.*/./; q'`
   22486   as_dir="$ac_dir"; as_fn_mkdir_p
   22487   ac_builddir=.
   22488 
   22489 case "$ac_dir" in
   22490 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22491 *)
   22492   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   22493   # A ".." for each directory in $ac_dir_suffix.
   22494   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22495   case $ac_top_builddir_sub in
   22496   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22497   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22498   esac ;;
   22499 esac
   22500 ac_abs_top_builddir=$ac_pwd
   22501 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22502 # for backward compatibility:
   22503 ac_top_builddir=$ac_top_build_prefix
   22504 
   22505 case $srcdir in
   22506   .)  # We are building in place.
   22507     ac_srcdir=.
   22508     ac_top_srcdir=$ac_top_builddir_sub
   22509     ac_abs_top_srcdir=$ac_pwd ;;
   22510   [\\/]* | ?:[\\/]* )  # Absolute name.
   22511     ac_srcdir=$srcdir$ac_dir_suffix;
   22512     ac_top_srcdir=$srcdir
   22513     ac_abs_top_srcdir=$srcdir ;;
   22514   *) # Relative name.
   22515     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22516     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22517     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22518 esac
   22519 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22520 
   22521 
   22522   case $ac_mode in
   22523   :F)
   22524   #
   22525   # CONFIG_FILE
   22526   #
   22527 
   22528   case $INSTALL in
   22529   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22530   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22531   esac
   22532   ac_MKDIR_P=$MKDIR_P
   22533   case $MKDIR_P in
   22534   [\\/$]* | ?:[\\/]* ) ;;
   22535   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22536   esac
   22537 _ACEOF
   22538 
   22539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22540 # If the template does not know about datarootdir, expand it.
   22541 # FIXME: This hack should be removed a few years after 2.60.
   22542 ac_datarootdir_hack=; ac_datarootdir_seen=
   22543 ac_sed_dataroot='
   22544 /datarootdir/ {
   22545   p
   22546   q
   22547 }
   22548 /@datadir@/p
   22549 /@docdir@/p
   22550 /@infodir@/p
   22551 /@localedir@/p
   22552 /@mandir@/p'
   22553 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22554 *datarootdir*) ac_datarootdir_seen=yes;;
   22555 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22556   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22557 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22558 _ACEOF
   22559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22560   ac_datarootdir_hack='
   22561   s&@datadir@&$datadir&g
   22562   s&@docdir@&$docdir&g
   22563   s&@infodir@&$infodir&g
   22564   s&@localedir@&$localedir&g
   22565   s&@mandir@&$mandir&g
   22566   s&\\\${datarootdir}&$datarootdir&g' ;;
   22567 esac
   22568 _ACEOF
   22569 
   22570 # Neutralize VPATH when `$srcdir' = `.'.
   22571 # Shell code in configure.ac might set extrasub.
   22572 # FIXME: do we really want to maintain this feature?
   22573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22574 ac_sed_extra="$ac_vpsub
   22575 $extrasub
   22576 _ACEOF
   22577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22578 :t
   22579 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22580 s|@configure_input@|$ac_sed_conf_input|;t t
   22581 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22582 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22583 s&@srcdir@&$ac_srcdir&;t t
   22584 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22585 s&@top_srcdir@&$ac_top_srcdir&;t t
   22586 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22587 s&@builddir@&$ac_builddir&;t t
   22588 s&@abs_builddir@&$ac_abs_builddir&;t t
   22589 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22590 s&@INSTALL@&$ac_INSTALL&;t t
   22591 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22592 $ac_datarootdir_hack
   22593 "
   22594 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22595   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22596 
   22597 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22598   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22599   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22600       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22601   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22602 which seems to be undefined.  Please make sure it is defined" >&5
   22603 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22604 which seems to be undefined.  Please make sure it is defined" >&2;}
   22605 
   22606   rm -f "$ac_tmp/stdin"
   22607   case $ac_file in
   22608   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22609   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22610   esac \
   22611   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22612  ;;
   22613   :H)
   22614   #
   22615   # CONFIG_HEADER
   22616   #
   22617   if test x"$ac_file" != x-; then
   22618     {
   22619       $as_echo "/* $configure_input  */" \
   22620       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22621     } >"$ac_tmp/config.h" \
   22622       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22623     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22624       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22625 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   22626     else
   22627       rm -f "$ac_file"
   22628       mv "$ac_tmp/config.h" "$ac_file" \
   22629 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22630     fi
   22631   else
   22632     $as_echo "/* $configure_input  */" \
   22633       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22634       || as_fn_error $? "could not create -" "$LINENO" 5
   22635   fi
   22636 # Compute "$ac_file"'s index in $config_headers.
   22637 _am_arg="$ac_file"
   22638 _am_stamp_count=1
   22639 for _am_header in $config_headers :; do
   22640   case $_am_header in
   22641     $_am_arg | $_am_arg:* )
   22642       break ;;
   22643     * )
   22644       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22645   esac
   22646 done
   22647 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22648 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22649 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22650 	 X"$_am_arg" : 'X\(//\)$' \| \
   22651 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22652 $as_echo X"$_am_arg" |
   22653     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22654 	    s//\1/
   22655 	    q
   22656 	  }
   22657 	  /^X\(\/\/\)[^/].*/{
   22658 	    s//\1/
   22659 	    q
   22660 	  }
   22661 	  /^X\(\/\/\)$/{
   22662 	    s//\1/
   22663 	    q
   22664 	  }
   22665 	  /^X\(\/\).*/{
   22666 	    s//\1/
   22667 	    q
   22668 	  }
   22669 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22670  ;;
   22671 
   22672   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22673 $as_echo "$as_me: executing $ac_file commands" >&6;}
   22674  ;;
   22675   esac
   22676 
   22677 
   22678   case $ac_file$ac_mode in
   22679     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22680   # Older Autoconf quotes --file arguments for eval, but not when files
   22681   # are listed without --file.  Let's play safe and only enable the eval
   22682   # if we detect the quoting.
   22683   case $CONFIG_FILES in
   22684   *\'*) eval set x "$CONFIG_FILES" ;;
   22685   *)   set x $CONFIG_FILES ;;
   22686   esac
   22687   shift
   22688   for mf
   22689   do
   22690     # Strip MF so we end up with the name of the file.
   22691     mf=`echo "$mf" | sed -e 's/:.*$//'`
   22692     # Check whether this is an Automake generated Makefile or not.
   22693     # We used to match only the files named 'Makefile.in', but
   22694     # some people rename them; so instead we look at the file content.
   22695     # Grep'ing the first line is not enough: some people post-process
   22696     # each Makefile.in and add a new line on top of each file to say so.
   22697     # Grep'ing the whole file is not good either: AIX grep has a line
   22698     # limit of 2048, but all sed's we know have understand at least 4000.
   22699     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   22700       dirpart=`$as_dirname -- "$mf" ||
   22701 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22702 	 X"$mf" : 'X\(//\)[^/]' \| \
   22703 	 X"$mf" : 'X\(//\)$' \| \
   22704 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22705 $as_echo X"$mf" |
   22706     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22707 	    s//\1/
   22708 	    q
   22709 	  }
   22710 	  /^X\(\/\/\)[^/].*/{
   22711 	    s//\1/
   22712 	    q
   22713 	  }
   22714 	  /^X\(\/\/\)$/{
   22715 	    s//\1/
   22716 	    q
   22717 	  }
   22718 	  /^X\(\/\).*/{
   22719 	    s//\1/
   22720 	    q
   22721 	  }
   22722 	  s/.*/./; q'`
   22723     else
   22724       continue
   22725     fi
   22726     # Extract the definition of DEPDIR, am__include, and am__quote
   22727     # from the Makefile without running 'make'.
   22728     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22729     test -z "$DEPDIR" && continue
   22730     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22731     test -z "$am__include" && continue
   22732     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22733     # Find all dependency output files, they are included files with
   22734     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22735     # simplest approach to changing $(DEPDIR) to its actual value in the
   22736     # expansion.
   22737     for file in `sed -n "
   22738       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22739 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   22740       # Make sure the directory exists.
   22741       test -f "$dirpart/$file" && continue
   22742       fdir=`$as_dirname -- "$file" ||
   22743 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22744 	 X"$file" : 'X\(//\)[^/]' \| \
   22745 	 X"$file" : 'X\(//\)$' \| \
   22746 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22747 $as_echo X"$file" |
   22748     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22749 	    s//\1/
   22750 	    q
   22751 	  }
   22752 	  /^X\(\/\/\)[^/].*/{
   22753 	    s//\1/
   22754 	    q
   22755 	  }
   22756 	  /^X\(\/\/\)$/{
   22757 	    s//\1/
   22758 	    q
   22759 	  }
   22760 	  /^X\(\/\).*/{
   22761 	    s//\1/
   22762 	    q
   22763 	  }
   22764 	  s/.*/./; q'`
   22765       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   22766       # echo "creating $dirpart/$file"
   22767       echo '# dummy' > "$dirpart/$file"
   22768     done
   22769   done
   22770 }
   22771  ;;
   22772     "libtool":C)
   22773 
   22774     # See if we are running on zsh, and set the options which allow our
   22775     # commands through without removal of \ escapes.
   22776     if test -n "${ZSH_VERSION+set}" ; then
   22777       setopt NO_GLOB_SUBST
   22778     fi
   22779 
   22780     cfgfile="${ofile}T"
   22781     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22782     $RM "$cfgfile"
   22783 
   22784     cat <<_LT_EOF >> "$cfgfile"
   22785 #! $SHELL
   22786 
   22787 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   22788 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   22789 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22790 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22791 #
   22792 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   22793 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   22794 #                 Foundation, Inc.
   22795 #   Written by Gordon Matzigkeit, 1996
   22796 #
   22797 #   This file is part of GNU Libtool.
   22798 #
   22799 # GNU Libtool is free software; you can redistribute it and/or
   22800 # modify it under the terms of the GNU General Public License as
   22801 # published by the Free Software Foundation; either version 2 of
   22802 # the License, or (at your option) any later version.
   22803 #
   22804 # As a special exception to the GNU General Public License,
   22805 # if you distribute this file as part of a program or library that
   22806 # is built using GNU Libtool, you may include this file under the
   22807 # same distribution terms that you use for the rest of that program.
   22808 #
   22809 # GNU Libtool is distributed in the hope that it will be useful,
   22810 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   22811 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22812 # GNU General Public License for more details.
   22813 #
   22814 # You should have received a copy of the GNU General Public License
   22815 # along with GNU Libtool; see the file COPYING.  If not, a copy
   22816 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   22817 # obtained by writing to the Free Software Foundation, Inc.,
   22818 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   22819 
   22820 
   22821 # The names of the tagged configurations supported by this script.
   22822 available_tags=""
   22823 
   22824 # ### BEGIN LIBTOOL CONFIG
   22825 
   22826 # Which release of libtool.m4 was used?
   22827 macro_version=$macro_version
   22828 macro_revision=$macro_revision
   22829 
   22830 # Whether or not to build shared libraries.
   22831 build_libtool_libs=$enable_shared
   22832 
   22833 # Whether or not to build static libraries.
   22834 build_old_libs=$enable_static
   22835 
   22836 # What type of objects to build.
   22837 pic_mode=$pic_mode
   22838 
   22839 # Whether or not to optimize for fast installation.
   22840 fast_install=$enable_fast_install
   22841 
   22842 # Shell to use when invoking shell scripts.
   22843 SHELL=$lt_SHELL
   22844 
   22845 # An echo program that protects backslashes.
   22846 ECHO=$lt_ECHO
   22847 
   22848 # The PATH separator for the build system.
   22849 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22850 
   22851 # The host system.
   22852 host_alias=$host_alias
   22853 host=$host
   22854 host_os=$host_os
   22855 
   22856 # The build system.
   22857 build_alias=$build_alias
   22858 build=$build
   22859 build_os=$build_os
   22860 
   22861 # A sed program that does not truncate output.
   22862 SED=$lt_SED
   22863 
   22864 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22865 Xsed="\$SED -e 1s/^X//"
   22866 
   22867 # A grep program that handles long lines.
   22868 GREP=$lt_GREP
   22869 
   22870 # An ERE matcher.
   22871 EGREP=$lt_EGREP
   22872 
   22873 # A literal string matcher.
   22874 FGREP=$lt_FGREP
   22875 
   22876 # A BSD- or MS-compatible name lister.
   22877 NM=$lt_NM
   22878 
   22879 # Whether we need soft or hard links.
   22880 LN_S=$lt_LN_S
   22881 
   22882 # What is the maximum length of a command?
   22883 max_cmd_len=$max_cmd_len
   22884 
   22885 # Object file suffix (normally "o").
   22886 objext=$ac_objext
   22887 
   22888 # Executable file suffix (normally "").
   22889 exeext=$exeext
   22890 
   22891 # whether the shell understands "unset".
   22892 lt_unset=$lt_unset
   22893 
   22894 # turn spaces into newlines.
   22895 SP2NL=$lt_lt_SP2NL
   22896 
   22897 # turn newlines into spaces.
   22898 NL2SP=$lt_lt_NL2SP
   22899 
   22900 # convert \$build file names to \$host format.
   22901 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22902 
   22903 # convert \$build files to toolchain format.
   22904 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22905 
   22906 # An object symbol dumper.
   22907 OBJDUMP=$lt_OBJDUMP
   22908 
   22909 # Method to check whether dependent libraries are shared objects.
   22910 deplibs_check_method=$lt_deplibs_check_method
   22911 
   22912 # Command to use when deplibs_check_method = "file_magic".
   22913 file_magic_cmd=$lt_file_magic_cmd
   22914 
   22915 # How to find potential files when deplibs_check_method = "file_magic".
   22916 file_magic_glob=$lt_file_magic_glob
   22917 
   22918 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22919 want_nocaseglob=$lt_want_nocaseglob
   22920 
   22921 # DLL creation program.
   22922 DLLTOOL=$lt_DLLTOOL
   22923 
   22924 # Command to associate shared and link libraries.
   22925 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22926 
   22927 # The archiver.
   22928 AR=$lt_AR
   22929 
   22930 # Flags to create an archive.
   22931 AR_FLAGS=$lt_AR_FLAGS
   22932 
   22933 # How to feed a file listing to the archiver.
   22934 archiver_list_spec=$lt_archiver_list_spec
   22935 
   22936 # A symbol stripping program.
   22937 STRIP=$lt_STRIP
   22938 
   22939 # Commands used to install an old-style archive.
   22940 RANLIB=$lt_RANLIB
   22941 old_postinstall_cmds=$lt_old_postinstall_cmds
   22942 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22943 
   22944 # Whether to use a lock for old archive extraction.
   22945 lock_old_archive_extraction=$lock_old_archive_extraction
   22946 
   22947 # A C compiler.
   22948 LTCC=$lt_CC
   22949 
   22950 # LTCC compiler flags.
   22951 LTCFLAGS=$lt_CFLAGS
   22952 
   22953 # Take the output of nm and produce a listing of raw symbols and C names.
   22954 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22955 
   22956 # Transform the output of nm in a proper C declaration.
   22957 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22958 
   22959 # Transform the output of nm in a C name address pair.
   22960 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22961 
   22962 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22963 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22964 
   22965 # Specify filename containing input files for \$NM.
   22966 nm_file_list_spec=$lt_nm_file_list_spec
   22967 
   22968 # The root where to search for dependent libraries,and in which our libraries should be installed.
   22969 lt_sysroot=$lt_sysroot
   22970 
   22971 # The name of the directory that contains temporary libtool files.
   22972 objdir=$objdir
   22973 
   22974 # Used to examine libraries when file_magic_cmd begins with "file".
   22975 MAGIC_CMD=$MAGIC_CMD
   22976 
   22977 # Must we lock files when doing compilation?
   22978 need_locks=$lt_need_locks
   22979 
   22980 # Manifest tool.
   22981 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22982 
   22983 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22984 DSYMUTIL=$lt_DSYMUTIL
   22985 
   22986 # Tool to change global to local symbols on Mac OS X.
   22987 NMEDIT=$lt_NMEDIT
   22988 
   22989 # Tool to manipulate fat objects and archives on Mac OS X.
   22990 LIPO=$lt_LIPO
   22991 
   22992 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22993 OTOOL=$lt_OTOOL
   22994 
   22995 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22996 OTOOL64=$lt_OTOOL64
   22997 
   22998 # Old archive suffix (normally "a").
   22999 libext=$libext
   23000 
   23001 # Shared library suffix (normally ".so").
   23002 shrext_cmds=$lt_shrext_cmds
   23003 
   23004 # The commands to extract the exported symbol list from a shared archive.
   23005 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   23006 
   23007 # Variables whose values should be saved in libtool wrapper scripts and
   23008 # restored at link time.
   23009 variables_saved_for_relink=$lt_variables_saved_for_relink
   23010 
   23011 # Do we need the "lib" prefix for modules?
   23012 need_lib_prefix=$need_lib_prefix
   23013 
   23014 # Do we need a version for libraries?
   23015 need_version=$need_version
   23016 
   23017 # Library versioning type.
   23018 version_type=$version_type
   23019 
   23020 # Shared library runtime path variable.
   23021 runpath_var=$runpath_var
   23022 
   23023 # Shared library path variable.
   23024 shlibpath_var=$shlibpath_var
   23025 
   23026 # Is shlibpath searched before the hard-coded library search path?
   23027 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   23028 
   23029 # Format of library name prefix.
   23030 libname_spec=$lt_libname_spec
   23031 
   23032 # List of archive names.  First name is the real one, the rest are links.
   23033 # The last name is the one that the linker finds with -lNAME
   23034 library_names_spec=$lt_library_names_spec
   23035 
   23036 # The coded name of the library, if different from the real name.
   23037 soname_spec=$lt_soname_spec
   23038 
   23039 # Permission mode override for installation of shared libraries.
   23040 install_override_mode=$lt_install_override_mode
   23041 
   23042 # Command to use after installation of a shared archive.
   23043 postinstall_cmds=$lt_postinstall_cmds
   23044 
   23045 # Command to use after uninstallation of a shared archive.
   23046 postuninstall_cmds=$lt_postuninstall_cmds
   23047 
   23048 # Commands used to finish a libtool library installation in a directory.
   23049 finish_cmds=$lt_finish_cmds
   23050 
   23051 # As "finish_cmds", except a single script fragment to be evaled but
   23052 # not shown.
   23053 finish_eval=$lt_finish_eval
   23054 
   23055 # Whether we should hardcode library paths into libraries.
   23056 hardcode_into_libs=$hardcode_into_libs
   23057 
   23058 # Compile-time system search path for libraries.
   23059 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23060 
   23061 # Run-time system search path for libraries.
   23062 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   23063 
   23064 # Whether dlopen is supported.
   23065 dlopen_support=$enable_dlopen
   23066 
   23067 # Whether dlopen of programs is supported.
   23068 dlopen_self=$enable_dlopen_self
   23069 
   23070 # Whether dlopen of statically linked programs is supported.
   23071 dlopen_self_static=$enable_dlopen_self_static
   23072 
   23073 # Commands to strip libraries.
   23074 old_striplib=$lt_old_striplib
   23075 striplib=$lt_striplib
   23076 
   23077 
   23078 # The linker used to build libraries.
   23079 LD=$lt_LD
   23080 
   23081 # How to create reloadable object files.
   23082 reload_flag=$lt_reload_flag
   23083 reload_cmds=$lt_reload_cmds
   23084 
   23085 # Commands used to build an old-style archive.
   23086 old_archive_cmds=$lt_old_archive_cmds
   23087 
   23088 # A language specific compiler.
   23089 CC=$lt_compiler
   23090 
   23091 # Is the compiler the GNU compiler?
   23092 with_gcc=$GCC
   23093 
   23094 # Compiler flag to turn off builtin functions.
   23095 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23096 
   23097 # Additional compiler flags for building library objects.
   23098 pic_flag=$lt_lt_prog_compiler_pic
   23099 
   23100 # How to pass a linker flag through the compiler.
   23101 wl=$lt_lt_prog_compiler_wl
   23102 
   23103 # Compiler flag to prevent dynamic linking.
   23104 link_static_flag=$lt_lt_prog_compiler_static
   23105 
   23106 # Does compiler simultaneously support -c and -o options?
   23107 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23108 
   23109 # Whether or not to add -lc for building shared libraries.
   23110 build_libtool_need_lc=$archive_cmds_need_lc
   23111 
   23112 # Whether or not to disallow shared libs when runtime libs are static.
   23113 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23114 
   23115 # Compiler flag to allow reflexive dlopens.
   23116 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23117 
   23118 # Compiler flag to generate shared objects directly from archives.
   23119 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23120 
   23121 # Whether the compiler copes with passing no objects directly.
   23122 compiler_needs_object=$lt_compiler_needs_object
   23123 
   23124 # Create an old-style archive from a shared archive.
   23125 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23126 
   23127 # Create a temporary old-style archive to link instead of a shared archive.
   23128 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23129 
   23130 # Commands used to build a shared archive.
   23131 archive_cmds=$lt_archive_cmds
   23132 archive_expsym_cmds=$lt_archive_expsym_cmds
   23133 
   23134 # Commands used to build a loadable module if different from building
   23135 # a shared archive.
   23136 module_cmds=$lt_module_cmds
   23137 module_expsym_cmds=$lt_module_expsym_cmds
   23138 
   23139 # Whether we are building with GNU ld or not.
   23140 with_gnu_ld=$lt_with_gnu_ld
   23141 
   23142 # Flag that allows shared libraries with undefined symbols to be built.
   23143 allow_undefined_flag=$lt_allow_undefined_flag
   23144 
   23145 # Flag that enforces no undefined symbols.
   23146 no_undefined_flag=$lt_no_undefined_flag
   23147 
   23148 # Flag to hardcode \$libdir into a binary during linking.
   23149 # This must work even if \$libdir does not exist
   23150 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23151 
   23152 # Whether we need a single "-rpath" flag with a separated argument.
   23153 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23154 
   23155 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   23156 # DIR into the resulting binary.
   23157 hardcode_direct=$hardcode_direct
   23158 
   23159 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   23160 # DIR into the resulting binary and the resulting library dependency is
   23161 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   23162 # library is relocated.
   23163 hardcode_direct_absolute=$hardcode_direct_absolute
   23164 
   23165 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23166 # into the resulting binary.
   23167 hardcode_minus_L=$hardcode_minus_L
   23168 
   23169 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23170 # into the resulting binary.
   23171 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23172 
   23173 # Set to "yes" if building a shared library automatically hardcodes DIR
   23174 # into the library and all subsequent libraries and executables linked
   23175 # against it.
   23176 hardcode_automatic=$hardcode_automatic
   23177 
   23178 # Set to yes if linker adds runtime paths of dependent libraries
   23179 # to runtime path list.
   23180 inherit_rpath=$inherit_rpath
   23181 
   23182 # Whether libtool must link a program against all its dependency libraries.
   23183 link_all_deplibs=$link_all_deplibs
   23184 
   23185 # Set to "yes" if exported symbols are required.
   23186 always_export_symbols=$always_export_symbols
   23187 
   23188 # The commands to list exported symbols.
   23189 export_symbols_cmds=$lt_export_symbols_cmds
   23190 
   23191 # Symbols that should not be listed in the preloaded symbols.
   23192 exclude_expsyms=$lt_exclude_expsyms
   23193 
   23194 # Symbols that must always be exported.
   23195 include_expsyms=$lt_include_expsyms
   23196 
   23197 # Commands necessary for linking programs (against libraries) with templates.
   23198 prelink_cmds=$lt_prelink_cmds
   23199 
   23200 # Commands necessary for finishing linking programs.
   23201 postlink_cmds=$lt_postlink_cmds
   23202 
   23203 # Specify filename containing input files.
   23204 file_list_spec=$lt_file_list_spec
   23205 
   23206 # How to hardcode a shared library path into an executable.
   23207 hardcode_action=$hardcode_action
   23208 
   23209 # ### END LIBTOOL CONFIG
   23210 
   23211 _LT_EOF
   23212 
   23213   case $host_os in
   23214   aix3*)
   23215     cat <<\_LT_EOF >> "$cfgfile"
   23216 # AIX sometimes has problems with the GCC collect2 program.  For some
   23217 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23218 # vanish in a puff of smoke.
   23219 if test "X${COLLECT_NAMES+set}" != Xset; then
   23220   COLLECT_NAMES=
   23221   export COLLECT_NAMES
   23222 fi
   23223 _LT_EOF
   23224     ;;
   23225   esac
   23226 
   23227 
   23228 ltmain="$ac_aux_dir/ltmain.sh"
   23229 
   23230 
   23231   # We use sed instead of cat because bash on DJGPP gets confused if
   23232   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23233   # text mode, it properly converts lines to CR/LF.  This bash problem
   23234   # is reportedly fixed, but why not run on old versions too?
   23235   sed '$q' "$ltmain" >> "$cfgfile" \
   23236      || (rm -f "$cfgfile"; exit 1)
   23237 
   23238   if test x"$xsi_shell" = xyes; then
   23239   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   23240 func_dirname ()\
   23241 {\
   23242 \    case ${1} in\
   23243 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   23244 \      *  ) func_dirname_result="${3}" ;;\
   23245 \    esac\
   23246 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   23247   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23248     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23249 test 0 -eq $? || _lt_function_replace_fail=:
   23250 
   23251 
   23252   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   23253 func_basename ()\
   23254 {\
   23255 \    func_basename_result="${1##*/}"\
   23256 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   23257   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23258     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23259 test 0 -eq $? || _lt_function_replace_fail=:
   23260 
   23261 
   23262   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   23263 func_dirname_and_basename ()\
   23264 {\
   23265 \    case ${1} in\
   23266 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   23267 \      *  ) func_dirname_result="${3}" ;;\
   23268 \    esac\
   23269 \    func_basename_result="${1##*/}"\
   23270 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   23271   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23272     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23273 test 0 -eq $? || _lt_function_replace_fail=:
   23274 
   23275 
   23276   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   23277 func_stripname ()\
   23278 {\
   23279 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   23280 \    # positional parameters, so assign one to ordinary parameter first.\
   23281 \    func_stripname_result=${3}\
   23282 \    func_stripname_result=${func_stripname_result#"${1}"}\
   23283 \    func_stripname_result=${func_stripname_result%"${2}"}\
   23284 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   23285   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23286     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23287 test 0 -eq $? || _lt_function_replace_fail=:
   23288 
   23289 
   23290   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   23291 func_split_long_opt ()\
   23292 {\
   23293 \    func_split_long_opt_name=${1%%=*}\
   23294 \    func_split_long_opt_arg=${1#*=}\
   23295 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   23296   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23297     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23298 test 0 -eq $? || _lt_function_replace_fail=:
   23299 
   23300 
   23301   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   23302 func_split_short_opt ()\
   23303 {\
   23304 \    func_split_short_opt_arg=${1#??}\
   23305 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   23306 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   23307   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23308     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23309 test 0 -eq $? || _lt_function_replace_fail=:
   23310 
   23311 
   23312   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   23313 func_lo2o ()\
   23314 {\
   23315 \    case ${1} in\
   23316 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   23317 \      *)    func_lo2o_result=${1} ;;\
   23318 \    esac\
   23319 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   23320   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23321     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23322 test 0 -eq $? || _lt_function_replace_fail=:
   23323 
   23324 
   23325   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   23326 func_xform ()\
   23327 {\
   23328     func_xform_result=${1%.*}.lo\
   23329 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   23330   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23331     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23332 test 0 -eq $? || _lt_function_replace_fail=:
   23333 
   23334 
   23335   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   23336 func_arith ()\
   23337 {\
   23338     func_arith_result=$(( $* ))\
   23339 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   23340   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23341     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23342 test 0 -eq $? || _lt_function_replace_fail=:
   23343 
   23344 
   23345   sed -e '/^func_len ()$/,/^} # func_len /c\
   23346 func_len ()\
   23347 {\
   23348     func_len_result=${#1}\
   23349 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   23350   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23351     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23352 test 0 -eq $? || _lt_function_replace_fail=:
   23353 
   23354 fi
   23355 
   23356 if test x"$lt_shell_append" = xyes; then
   23357   sed -e '/^func_append ()$/,/^} # func_append /c\
   23358 func_append ()\
   23359 {\
   23360     eval "${1}+=\\${2}"\
   23361 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   23362   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23363     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23364 test 0 -eq $? || _lt_function_replace_fail=:
   23365 
   23366 
   23367   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   23368 func_append_quoted ()\
   23369 {\
   23370 \    func_quote_for_eval "${2}"\
   23371 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   23372 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   23373   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23374     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23375 test 0 -eq $? || _lt_function_replace_fail=:
   23376 
   23377 
   23378   # Save a `func_append' function call where possible by direct use of '+='
   23379   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   23380     && mv -f "$cfgfile.tmp" "$cfgfile" \
   23381       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23382   test 0 -eq $? || _lt_function_replace_fail=:
   23383 else
   23384   # Save a `func_append' function call even when '+=' is not available
   23385   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   23386     && mv -f "$cfgfile.tmp" "$cfgfile" \
   23387       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23388   test 0 -eq $? || _lt_function_replace_fail=:
   23389 fi
   23390 
   23391 if test x"$_lt_function_replace_fail" = x":"; then
   23392   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   23393 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   23394 fi
   23395 
   23396 
   23397    mv -f "$cfgfile" "$ofile" ||
   23398     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23399   chmod +x "$ofile"
   23400 
   23401  ;;
   23402 
   23403   esac
   23404 done # for ac_tag
   23405 
   23406 
   23407 as_fn_exit 0
   23408 _ACEOF
   23409 ac_clean_files=$ac_clean_files_save
   23410 
   23411 test $ac_write_fail = 0 ||
   23412   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23413 
   23414 
   23415 # configure is writing to config.log, and then calls config.status.
   23416 # config.status does its own redirection, appending to config.log.
   23417 # Unfortunately, on DOS this fails, as config.log is still kept open
   23418 # by configure, so config.status won't be able to write to it; its
   23419 # output is simply discarded.  So we exec the FD to /dev/null,
   23420 # effectively closing config.log, so it can be properly (re)opened and
   23421 # appended to by config.status.  When coming back to configure, we
   23422 # need to make the FD available again.
   23423 if test "$no_create" != yes; then
   23424   ac_cs_success=:
   23425   ac_config_status_args=
   23426   test "$silent" = yes &&
   23427     ac_config_status_args="$ac_config_status_args --quiet"
   23428   exec 5>/dev/null
   23429   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23430   exec 5>>config.log
   23431   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23432   # would make configure fail if this is the last instruction.
   23433   $ac_cs_success || as_fn_exit 1
   23434 fi
   23435 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23436   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23437 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23438 fi
   23439 
   23440 
   23441 echo ""
   23442 echo "X11 will be built with the following settings:"
   23443 echo " Loadable i18n module support:            "$XLIB_LOADABLE_I18N
   23444 echo " Loadable xcursor library support:        "$XLIB_LOADABLE_XCURSOR
   23445 echo " Threading support:                       "$xthreads
   23446 echo " Use Threads safe API:                    "$mtsafeapi
   23447 echo " Threads stubs in libX11:                 "$thrstubs
   23448 echo " XCMS:                                    "$XCMS
   23449 echo " Internationalization support:            "$XLOCALE
   23450 echo " XF86BigFont support:                     "$XF86BIGFONT
   23451 echo " XKB support:                             "$XKB
   23452 echo " XLOCALEDIR environment variable support: "$ENABLE_XLOCALEDIR
   23453 echo " Compose table cache enabled:             "$COMPOSECACHE
   23454 echo " Functional specs building enabled:       "$build_specs
   23455 echo ""
   23456