Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.15
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libX11 1.6.4.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 as_awk_strverscmp='
    571   # Use only awk features that work with 7th edition Unix awk (1978).
    572   # My, what an old awk you have, Mr. Solaris!
    573   END {
    574     while (length(v1) && length(v2)) {
    575       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    576       # Normally this is a single character, but if v1 and v2 contain digits,
    577       # compare them as integers and fractions as strverscmp does.
    578       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    579 	# Split v1 and v2 into their leading digit string components d1 and d2,
    580 	# and advance v1 and v2 past the leading digit strings.
    581 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    582 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    583 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    584 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    585 	if (d1 ~ /^0/) {
    586 	  if (d2 ~ /^0/) {
    587 	    # Compare two fractions.
    588 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    589 	      d1 = substr(d1, 2); len1--
    590 	      d2 = substr(d2, 2); len2--
    591 	    }
    592 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    593 	      # The two components differ in length, and the common prefix
    594 	      # contains only leading zeros.  Consider the longer to be less.
    595 	      d1 = -len1
    596 	      d2 = -len2
    597 	    } else {
    598 	      # Otherwise, compare as strings.
    599 	      d1 = "x" d1
    600 	      d2 = "x" d2
    601 	    }
    602 	  } else {
    603 	    # A fraction is less than an integer.
    604 	    exit 1
    605 	  }
    606 	} else {
    607 	  if (d2 ~ /^0/) {
    608 	    # An integer is greater than a fraction.
    609 	    exit 2
    610 	  } else {
    611 	    # Compare two integers.
    612 	    d1 += 0
    613 	    d2 += 0
    614 	  }
    615 	}
    616       } else {
    617 	# The normal case, without worrying about digits.
    618 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    619 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    620       }
    621       if (d1 < d2) exit 1
    622       if (d1 > d2) exit 2
    623     }
    624     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    625     # which mishandles some comparisons of empty strings to integers.
    626     if (length(v2)) exit 1
    627     if (length(v1)) exit 2
    628   }
    629 '
    630 
    631 test -n "$DJDIR" || exec 7<&0 </dev/null
    632 exec 6>&1
    633 
    634 # Name of the host.
    635 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    636 # so uname gets run too.
    637 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    638 
    639 #
    640 # Initializations.
    641 #
    642 ac_default_prefix=/usr/local
    643 ac_clean_files=
    644 ac_config_libobj_dir=.
    645 LIBOBJS=
    646 cross_compiling=no
    647 subdirs=
    648 MFLAGS=
    649 MAKEFLAGS=
    650 
    651 # Identity of this package.
    652 PACKAGE_NAME='libX11'
    653 PACKAGE_TARNAME='libX11'
    654 PACKAGE_VERSION='1.6.4'
    655 PACKAGE_STRING='libX11 1.6.4'
    656 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    657 PACKAGE_URL=''
    658 
    659 ac_unique_file="Makefile.am"
    660 # Factoring default headers for most tests.
    661 ac_includes_default="\
    662 #include <stdio.h>
    663 #ifdef HAVE_SYS_TYPES_H
    664 # include <sys/types.h>
    665 #endif
    666 #ifdef HAVE_SYS_STAT_H
    667 # include <sys/stat.h>
    668 #endif
    669 #ifdef STDC_HEADERS
    670 # include <stdlib.h>
    671 # include <stddef.h>
    672 #else
    673 # ifdef HAVE_STDLIB_H
    674 #  include <stdlib.h>
    675 # endif
    676 #endif
    677 #ifdef HAVE_STRING_H
    678 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    679 #  include <memory.h>
    680 # endif
    681 # include <string.h>
    682 #endif
    683 #ifdef HAVE_STRINGS_H
    684 # include <strings.h>
    685 #endif
    686 #ifdef HAVE_INTTYPES_H
    687 # include <inttypes.h>
    688 #endif
    689 #ifdef HAVE_STDINT_H
    690 # include <stdint.h>
    691 #endif
    692 #ifdef HAVE_UNISTD_H
    693 # include <unistd.h>
    694 #endif"
    695 
    696 ac_header_list=
    697 ac_subst_vars='am__EXEEXT_FALSE
    698 am__EXEEXT_TRUE
    699 LTLIBOBJS
    700 LIBOBJS
    701 XTMALLOC_ZERO_CFLAGS
    702 XMALLOC_ZERO_CFLAGS
    703 MALLOC_ZERO_CFLAGS
    704 XERRORDB
    705 XKEYSYMDB
    706 locales
    707 X11_LOCALEDIR
    708 XLOCALEDIR
    709 X11_LOCALELIBDIR
    710 XLOCALELIBDIR
    711 X11_LOCALEDATADIR
    712 XLOCALEDATADIR
    713 X11_LIBS
    714 X11_CFLAGS
    715 X11_LIBDIR
    716 X11_DATADIR
    717 MAKE_LINT_LIB_FALSE
    718 MAKE_LINT_LIB_TRUE
    719 LINTLIB
    720 LINT_FALSE
    721 LINT_TRUE
    722 LINT_FLAGS
    723 LINT
    724 XKBPROTO_REQUIRES
    725 XKB_FALSE
    726 XKB_TRUE
    727 BIGFONT_LIBS
    728 BIGFONT_CFLAGS
    729 XLOCALE_FALSE
    730 XLOCALE_TRUE
    731 XCMS_FALSE
    732 XCMS_TRUE
    733 KEYSYMDEFS
    734 XTHREAD_CFLAGS
    735 XTHREADLIB
    736 THRSTUBS_FALSE
    737 THRSTUBS_TRUE
    738 LAUNCHD
    739 OS2_FALSE
    740 OS2_TRUE
    741 WCHAR32
    742 XLIB_LOADABLE_I18N_FALSE
    743 XLIB_LOADABLE_I18N_TRUE
    744 I18N_MODULE_LIBS
    745 X11_EXTRA_DEPS
    746 LDFLAGS_FOR_BUILD
    747 CFLAGS_FOR_BUILD
    748 CPPFLAGS_FOR_BUILD
    749 CC_FOR_BUILD
    750 HAVE_PERL_FALSE
    751 HAVE_PERL_TRUE
    752 PERL
    753 TRADITIONALCPPFLAGS
    754 RAWCPPFLAGS
    755 RAWCPP
    756 HAVE_STYLESHEETS_FALSE
    757 HAVE_STYLESHEETS_TRUE
    758 XSL_STYLESHEET
    759 STYLESHEET_SRCDIR
    760 XORG_SGML_PATH
    761 HAVE_XSLTPROC_FALSE
    762 HAVE_XSLTPROC_TRUE
    763 XSLTPROC
    764 HAVE_FOP_FALSE
    765 HAVE_FOP_TRUE
    766 FOP
    767 HAVE_XMLTO_FALSE
    768 HAVE_XMLTO_TRUE
    769 HAVE_XMLTO_TEXT_FALSE
    770 HAVE_XMLTO_TEXT_TRUE
    771 XMLTO
    772 ENABLE_SPECS_FALSE
    773 ENABLE_SPECS_TRUE
    774 MAN_SUBSTS
    775 XORG_MAN_PAGE
    776 ADMIN_MAN_DIR
    777 DRIVER_MAN_DIR
    778 MISC_MAN_DIR
    779 FILE_MAN_DIR
    780 LIB_MAN_DIR
    781 APP_MAN_DIR
    782 ADMIN_MAN_SUFFIX
    783 DRIVER_MAN_SUFFIX
    784 MISC_MAN_SUFFIX
    785 FILE_MAN_SUFFIX
    786 LIB_MAN_SUFFIX
    787 APP_MAN_SUFFIX
    788 INSTALL_CMD
    789 PKG_CONFIG_LIBDIR
    790 PKG_CONFIG_PATH
    791 PKG_CONFIG
    792 CHANGELOG_CMD
    793 STRICT_CFLAGS
    794 CWARNFLAGS
    795 BASE_CFLAGS
    796 OTOOL64
    797 OTOOL
    798 LIPO
    799 NMEDIT
    800 DSYMUTIL
    801 MANIFEST_TOOL
    802 RANLIB
    803 ac_ct_AR
    804 AR
    805 DLLTOOL
    806 OBJDUMP
    807 LN_S
    808 NM
    809 ac_ct_DUMPBIN
    810 DUMPBIN
    811 LD
    812 FGREP
    813 SED
    814 LIBTOOL
    815 AM_BACKSLASH
    816 AM_DEFAULT_VERBOSITY
    817 AM_DEFAULT_V
    818 AM_V
    819 am__fastdepCC_FALSE
    820 am__fastdepCC_TRUE
    821 CCDEPMODE
    822 am__nodep
    823 AMDEPBACKSLASH
    824 AMDEP_FALSE
    825 AMDEP_TRUE
    826 am__quote
    827 am__include
    828 DEPDIR
    829 am__untar
    830 am__tar
    831 AMTAR
    832 am__leading_dot
    833 SET_MAKE
    834 AWK
    835 mkdir_p
    836 MKDIR_P
    837 INSTALL_STRIP_PROGRAM
    838 STRIP
    839 install_sh
    840 MAKEINFO
    841 AUTOHEADER
    842 AUTOMAKE
    843 AUTOCONF
    844 ACLOCAL
    845 VERSION
    846 PACKAGE
    847 CYGPATH_W
    848 am__isrc
    849 INSTALL_DATA
    850 INSTALL_SCRIPT
    851 INSTALL_PROGRAM
    852 EGREP
    853 GREP
    854 CPP
    855 OBJEXT
    856 EXEEXT
    857 ac_ct_CC
    858 CPPFLAGS
    859 LDFLAGS
    860 CFLAGS
    861 CC
    862 host_os
    863 host_vendor
    864 host_cpu
    865 host
    866 build_os
    867 build_vendor
    868 build_cpu
    869 build
    870 target_alias
    871 host_alias
    872 build_alias
    873 LIBS
    874 ECHO_T
    875 ECHO_N
    876 ECHO_C
    877 DEFS
    878 mandir
    879 localedir
    880 libdir
    881 psdir
    882 pdfdir
    883 dvidir
    884 htmldir
    885 infodir
    886 docdir
    887 oldincludedir
    888 includedir
    889 localstatedir
    890 sharedstatedir
    891 sysconfdir
    892 datadir
    893 datarootdir
    894 libexecdir
    895 sbindir
    896 bindir
    897 program_transform_name
    898 prefix
    899 exec_prefix
    900 PACKAGE_URL
    901 PACKAGE_BUGREPORT
    902 PACKAGE_STRING
    903 PACKAGE_VERSION
    904 PACKAGE_TARNAME
    905 PACKAGE_NAME
    906 PATH_SEPARATOR
    907 SHELL'
    908 ac_subst_files=''
    909 ac_user_opts='
    910 enable_option_checking
    911 enable_dependency_tracking
    912 enable_silent_rules
    913 enable_shared
    914 enable_static
    915 with_pic
    916 enable_fast_install
    917 with_gnu_ld
    918 with_sysroot
    919 enable_libtool_lock
    920 enable_selective_werror
    921 enable_strict_compilation
    922 enable_specs
    923 with_xmlto
    924 with_fop
    925 with_xsltproc
    926 with_perl
    927 enable_unix_transport
    928 enable_tcp_transport
    929 enable_ipv6
    930 enable_local_transport
    931 enable_loadable_i18n
    932 enable_loadable_xcursor
    933 with_launchd
    934 enable_xthreads
    935 with_keysymdefdir
    936 enable_xcms
    937 enable_xlocale
    938 enable_xlocaledir
    939 enable_xf86bigfont
    940 enable_xkb
    941 enable_composecache
    942 with_lint
    943 enable_lint_library
    944 with_locale_lib_dir
    945 enable_malloc0returnsnull
    946 '
    947       ac_precious_vars='build_alias
    948 host_alias
    949 target_alias
    950 CC
    951 CFLAGS
    952 LDFLAGS
    953 LIBS
    954 CPPFLAGS
    955 CPP
    956 PKG_CONFIG
    957 PKG_CONFIG_PATH
    958 PKG_CONFIG_LIBDIR
    959 XMLTO
    960 FOP
    961 XSLTPROC
    962 PERL
    963 BIGFONT_CFLAGS
    964 BIGFONT_LIBS
    965 LINT
    966 LINT_FLAGS
    967 X11_CFLAGS
    968 X11_LIBS'
    969 
    970 
    971 # Initialize some variables set by options.
    972 ac_init_help=
    973 ac_init_version=false
    974 ac_unrecognized_opts=
    975 ac_unrecognized_sep=
    976 # The variables have the same names as the options, with
    977 # dashes changed to underlines.
    978 cache_file=/dev/null
    979 exec_prefix=NONE
    980 no_create=
    981 no_recursion=
    982 prefix=NONE
    983 program_prefix=NONE
    984 program_suffix=NONE
    985 program_transform_name=s,x,x,
    986 silent=
    987 site=
    988 srcdir=
    989 verbose=
    990 x_includes=NONE
    991 x_libraries=NONE
    992 
    993 # Installation directory options.
    994 # These are left unexpanded so users can "make install exec_prefix=/foo"
    995 # and all the variables that are supposed to be based on exec_prefix
    996 # by default will actually change.
    997 # Use braces instead of parens because sh, perl, etc. also accept them.
    998 # (The list follows the same order as the GNU Coding Standards.)
    999 bindir='${exec_prefix}/bin'
   1000 sbindir='${exec_prefix}/sbin'
   1001 libexecdir='${exec_prefix}/libexec'
   1002 datarootdir='${prefix}/share'
   1003 datadir='${datarootdir}'
   1004 sysconfdir='${prefix}/etc'
   1005 sharedstatedir='${prefix}/com'
   1006 localstatedir='${prefix}/var'
   1007 includedir='${prefix}/include'
   1008 oldincludedir='/usr/include'
   1009 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1010 infodir='${datarootdir}/info'
   1011 htmldir='${docdir}'
   1012 dvidir='${docdir}'
   1013 pdfdir='${docdir}'
   1014 psdir='${docdir}'
   1015 libdir='${exec_prefix}/lib'
   1016 localedir='${datarootdir}/locale'
   1017 mandir='${datarootdir}/man'
   1018 
   1019 ac_prev=
   1020 ac_dashdash=
   1021 for ac_option
   1022 do
   1023   # If the previous option needs an argument, assign it.
   1024   if test -n "$ac_prev"; then
   1025     eval $ac_prev=\$ac_option
   1026     ac_prev=
   1027     continue
   1028   fi
   1029 
   1030   case $ac_option in
   1031   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1032   *=)   ac_optarg= ;;
   1033   *)    ac_optarg=yes ;;
   1034   esac
   1035 
   1036   # Accept the important Cygnus configure options, so we can diagnose typos.
   1037 
   1038   case $ac_dashdash$ac_option in
   1039   --)
   1040     ac_dashdash=yes ;;
   1041 
   1042   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1043     ac_prev=bindir ;;
   1044   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1045     bindir=$ac_optarg ;;
   1046 
   1047   -build | --build | --buil | --bui | --bu)
   1048     ac_prev=build_alias ;;
   1049   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1050     build_alias=$ac_optarg ;;
   1051 
   1052   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1053   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1054     ac_prev=cache_file ;;
   1055   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1056   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1057     cache_file=$ac_optarg ;;
   1058 
   1059   --config-cache | -C)
   1060     cache_file=config.cache ;;
   1061 
   1062   -datadir | --datadir | --datadi | --datad)
   1063     ac_prev=datadir ;;
   1064   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1065     datadir=$ac_optarg ;;
   1066 
   1067   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1068   | --dataroo | --dataro | --datar)
   1069     ac_prev=datarootdir ;;
   1070   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1071   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1072     datarootdir=$ac_optarg ;;
   1073 
   1074   -disable-* | --disable-*)
   1075     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1076     # Reject names that are not valid shell variable names.
   1077     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1078       as_fn_error $? "invalid feature name: $ac_useropt"
   1079     ac_useropt_orig=$ac_useropt
   1080     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1081     case $ac_user_opts in
   1082       *"
   1083 "enable_$ac_useropt"
   1084 "*) ;;
   1085       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1086 	 ac_unrecognized_sep=', ';;
   1087     esac
   1088     eval enable_$ac_useropt=no ;;
   1089 
   1090   -docdir | --docdir | --docdi | --doc | --do)
   1091     ac_prev=docdir ;;
   1092   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1093     docdir=$ac_optarg ;;
   1094 
   1095   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1096     ac_prev=dvidir ;;
   1097   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1098     dvidir=$ac_optarg ;;
   1099 
   1100   -enable-* | --enable-*)
   1101     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1102     # Reject names that are not valid shell variable names.
   1103     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1104       as_fn_error $? "invalid feature name: $ac_useropt"
   1105     ac_useropt_orig=$ac_useropt
   1106     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1107     case $ac_user_opts in
   1108       *"
   1109 "enable_$ac_useropt"
   1110 "*) ;;
   1111       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1112 	 ac_unrecognized_sep=', ';;
   1113     esac
   1114     eval enable_$ac_useropt=\$ac_optarg ;;
   1115 
   1116   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1117   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1118   | --exec | --exe | --ex)
   1119     ac_prev=exec_prefix ;;
   1120   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1121   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1122   | --exec=* | --exe=* | --ex=*)
   1123     exec_prefix=$ac_optarg ;;
   1124 
   1125   -gas | --gas | --ga | --g)
   1126     # Obsolete; use --with-gas.
   1127     with_gas=yes ;;
   1128 
   1129   -help | --help | --hel | --he | -h)
   1130     ac_init_help=long ;;
   1131   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1132     ac_init_help=recursive ;;
   1133   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1134     ac_init_help=short ;;
   1135 
   1136   -host | --host | --hos | --ho)
   1137     ac_prev=host_alias ;;
   1138   -host=* | --host=* | --hos=* | --ho=*)
   1139     host_alias=$ac_optarg ;;
   1140 
   1141   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1142     ac_prev=htmldir ;;
   1143   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1144   | --ht=*)
   1145     htmldir=$ac_optarg ;;
   1146 
   1147   -includedir | --includedir | --includedi | --included | --include \
   1148   | --includ | --inclu | --incl | --inc)
   1149     ac_prev=includedir ;;
   1150   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1151   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1152     includedir=$ac_optarg ;;
   1153 
   1154   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1155     ac_prev=infodir ;;
   1156   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1157     infodir=$ac_optarg ;;
   1158 
   1159   -libdir | --libdir | --libdi | --libd)
   1160     ac_prev=libdir ;;
   1161   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1162     libdir=$ac_optarg ;;
   1163 
   1164   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1165   | --libexe | --libex | --libe)
   1166     ac_prev=libexecdir ;;
   1167   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1168   | --libexe=* | --libex=* | --libe=*)
   1169     libexecdir=$ac_optarg ;;
   1170 
   1171   -localedir | --localedir | --localedi | --localed | --locale)
   1172     ac_prev=localedir ;;
   1173   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1174     localedir=$ac_optarg ;;
   1175 
   1176   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1177   | --localstate | --localstat | --localsta | --localst | --locals)
   1178     ac_prev=localstatedir ;;
   1179   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1180   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1181     localstatedir=$ac_optarg ;;
   1182 
   1183   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1184     ac_prev=mandir ;;
   1185   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1186     mandir=$ac_optarg ;;
   1187 
   1188   -nfp | --nfp | --nf)
   1189     # Obsolete; use --without-fp.
   1190     with_fp=no ;;
   1191 
   1192   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1193   | --no-cr | --no-c | -n)
   1194     no_create=yes ;;
   1195 
   1196   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1197   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1198     no_recursion=yes ;;
   1199 
   1200   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1201   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1202   | --oldin | --oldi | --old | --ol | --o)
   1203     ac_prev=oldincludedir ;;
   1204   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1205   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1206   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1207     oldincludedir=$ac_optarg ;;
   1208 
   1209   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1210     ac_prev=prefix ;;
   1211   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1212     prefix=$ac_optarg ;;
   1213 
   1214   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1215   | --program-pre | --program-pr | --program-p)
   1216     ac_prev=program_prefix ;;
   1217   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1218   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1219     program_prefix=$ac_optarg ;;
   1220 
   1221   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1222   | --program-suf | --program-su | --program-s)
   1223     ac_prev=program_suffix ;;
   1224   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1225   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1226     program_suffix=$ac_optarg ;;
   1227 
   1228   -program-transform-name | --program-transform-name \
   1229   | --program-transform-nam | --program-transform-na \
   1230   | --program-transform-n | --program-transform- \
   1231   | --program-transform | --program-transfor \
   1232   | --program-transfo | --program-transf \
   1233   | --program-trans | --program-tran \
   1234   | --progr-tra | --program-tr | --program-t)
   1235     ac_prev=program_transform_name ;;
   1236   -program-transform-name=* | --program-transform-name=* \
   1237   | --program-transform-nam=* | --program-transform-na=* \
   1238   | --program-transform-n=* | --program-transform-=* \
   1239   | --program-transform=* | --program-transfor=* \
   1240   | --program-transfo=* | --program-transf=* \
   1241   | --program-trans=* | --program-tran=* \
   1242   | --progr-tra=* | --program-tr=* | --program-t=*)
   1243     program_transform_name=$ac_optarg ;;
   1244 
   1245   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1246     ac_prev=pdfdir ;;
   1247   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1248     pdfdir=$ac_optarg ;;
   1249 
   1250   -psdir | --psdir | --psdi | --psd | --ps)
   1251     ac_prev=psdir ;;
   1252   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1253     psdir=$ac_optarg ;;
   1254 
   1255   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1256   | -silent | --silent | --silen | --sile | --sil)
   1257     silent=yes ;;
   1258 
   1259   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1260     ac_prev=sbindir ;;
   1261   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1262   | --sbi=* | --sb=*)
   1263     sbindir=$ac_optarg ;;
   1264 
   1265   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1266   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1267   | --sharedst | --shareds | --shared | --share | --shar \
   1268   | --sha | --sh)
   1269     ac_prev=sharedstatedir ;;
   1270   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1271   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1272   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1273   | --sha=* | --sh=*)
   1274     sharedstatedir=$ac_optarg ;;
   1275 
   1276   -site | --site | --sit)
   1277     ac_prev=site ;;
   1278   -site=* | --site=* | --sit=*)
   1279     site=$ac_optarg ;;
   1280 
   1281   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1282     ac_prev=srcdir ;;
   1283   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1284     srcdir=$ac_optarg ;;
   1285 
   1286   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1287   | --syscon | --sysco | --sysc | --sys | --sy)
   1288     ac_prev=sysconfdir ;;
   1289   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1290   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1291     sysconfdir=$ac_optarg ;;
   1292 
   1293   -target | --target | --targe | --targ | --tar | --ta | --t)
   1294     ac_prev=target_alias ;;
   1295   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1296     target_alias=$ac_optarg ;;
   1297 
   1298   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1299     verbose=yes ;;
   1300 
   1301   -version | --version | --versio | --versi | --vers | -V)
   1302     ac_init_version=: ;;
   1303 
   1304   -with-* | --with-*)
   1305     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1306     # Reject names that are not valid shell variable names.
   1307     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1308       as_fn_error $? "invalid package name: $ac_useropt"
   1309     ac_useropt_orig=$ac_useropt
   1310     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1311     case $ac_user_opts in
   1312       *"
   1313 "with_$ac_useropt"
   1314 "*) ;;
   1315       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1316 	 ac_unrecognized_sep=', ';;
   1317     esac
   1318     eval with_$ac_useropt=\$ac_optarg ;;
   1319 
   1320   -without-* | --without-*)
   1321     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1322     # Reject names that are not valid shell variable names.
   1323     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1324       as_fn_error $? "invalid package name: $ac_useropt"
   1325     ac_useropt_orig=$ac_useropt
   1326     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1327     case $ac_user_opts in
   1328       *"
   1329 "with_$ac_useropt"
   1330 "*) ;;
   1331       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1332 	 ac_unrecognized_sep=', ';;
   1333     esac
   1334     eval with_$ac_useropt=no ;;
   1335 
   1336   --x)
   1337     # Obsolete; use --with-x.
   1338     with_x=yes ;;
   1339 
   1340   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1341   | --x-incl | --x-inc | --x-in | --x-i)
   1342     ac_prev=x_includes ;;
   1343   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1344   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1345     x_includes=$ac_optarg ;;
   1346 
   1347   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1348   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1349     ac_prev=x_libraries ;;
   1350   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1351   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1352     x_libraries=$ac_optarg ;;
   1353 
   1354   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1355 Try \`$0 --help' for more information"
   1356     ;;
   1357 
   1358   *=*)
   1359     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1360     # Reject names that are not valid shell variable names.
   1361     case $ac_envvar in #(
   1362       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1363       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1364     esac
   1365     eval $ac_envvar=\$ac_optarg
   1366     export $ac_envvar ;;
   1367 
   1368   *)
   1369     # FIXME: should be removed in autoconf 3.0.
   1370     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1371     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1372       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1373     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1374     ;;
   1375 
   1376   esac
   1377 done
   1378 
   1379 if test -n "$ac_prev"; then
   1380   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1381   as_fn_error $? "missing argument to $ac_option"
   1382 fi
   1383 
   1384 if test -n "$ac_unrecognized_opts"; then
   1385   case $enable_option_checking in
   1386     no) ;;
   1387     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1388     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1389   esac
   1390 fi
   1391 
   1392 # Check all directory arguments for consistency.
   1393 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1394 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1395 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1396 		libdir localedir mandir
   1397 do
   1398   eval ac_val=\$$ac_var
   1399   # Remove trailing slashes.
   1400   case $ac_val in
   1401     */ )
   1402       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1403       eval $ac_var=\$ac_val;;
   1404   esac
   1405   # Be sure to have absolute directory names.
   1406   case $ac_val in
   1407     [\\/$]* | ?:[\\/]* )  continue;;
   1408     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1409   esac
   1410   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1411 done
   1412 
   1413 # There might be people who depend on the old broken behavior: `$host'
   1414 # used to hold the argument of --host etc.
   1415 # FIXME: To remove some day.
   1416 build=$build_alias
   1417 host=$host_alias
   1418 target=$target_alias
   1419 
   1420 # FIXME: To remove some day.
   1421 if test "x$host_alias" != x; then
   1422   if test "x$build_alias" = x; then
   1423     cross_compiling=maybe
   1424   elif test "x$build_alias" != "x$host_alias"; then
   1425     cross_compiling=yes
   1426   fi
   1427 fi
   1428 
   1429 ac_tool_prefix=
   1430 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1431 
   1432 test "$silent" = yes && exec 6>/dev/null
   1433 
   1434 
   1435 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1436 ac_ls_di=`ls -di .` &&
   1437 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1438   as_fn_error $? "working directory cannot be determined"
   1439 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1440   as_fn_error $? "pwd does not report name of working directory"
   1441 
   1442 
   1443 # Find the source files, if location was not specified.
   1444 if test -z "$srcdir"; then
   1445   ac_srcdir_defaulted=yes
   1446   # Try the directory containing this script, then the parent directory.
   1447   ac_confdir=`$as_dirname -- "$as_myself" ||
   1448 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1449 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1450 	 X"$as_myself" : 'X\(//\)$' \| \
   1451 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1452 $as_echo X"$as_myself" |
   1453     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1454 	    s//\1/
   1455 	    q
   1456 	  }
   1457 	  /^X\(\/\/\)[^/].*/{
   1458 	    s//\1/
   1459 	    q
   1460 	  }
   1461 	  /^X\(\/\/\)$/{
   1462 	    s//\1/
   1463 	    q
   1464 	  }
   1465 	  /^X\(\/\).*/{
   1466 	    s//\1/
   1467 	    q
   1468 	  }
   1469 	  s/.*/./; q'`
   1470   srcdir=$ac_confdir
   1471   if test ! -r "$srcdir/$ac_unique_file"; then
   1472     srcdir=..
   1473   fi
   1474 else
   1475   ac_srcdir_defaulted=no
   1476 fi
   1477 if test ! -r "$srcdir/$ac_unique_file"; then
   1478   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1479   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1480 fi
   1481 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1482 ac_abs_confdir=`(
   1483 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1484 	pwd)`
   1485 # When building in place, set srcdir=.
   1486 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1487   srcdir=.
   1488 fi
   1489 # Remove unnecessary trailing slashes from srcdir.
   1490 # Double slashes in file names in object file debugging info
   1491 # mess up M-x gdb in Emacs.
   1492 case $srcdir in
   1493 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1494 esac
   1495 for ac_var in $ac_precious_vars; do
   1496   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1497   eval ac_env_${ac_var}_value=\$${ac_var}
   1498   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1499   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1500 done
   1501 
   1502 #
   1503 # Report the --help message.
   1504 #
   1505 if test "$ac_init_help" = "long"; then
   1506   # Omit some internal or obsolete options to make the list less imposing.
   1507   # This message is too long to be a string in the A/UX 3.1 sh.
   1508   cat <<_ACEOF
   1509 \`configure' configures libX11 1.6.4 to adapt to many kinds of systems.
   1510 
   1511 Usage: $0 [OPTION]... [VAR=VALUE]...
   1512 
   1513 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1514 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1515 
   1516 Defaults for the options are specified in brackets.
   1517 
   1518 Configuration:
   1519   -h, --help              display this help and exit
   1520       --help=short        display options specific to this package
   1521       --help=recursive    display the short help of all the included packages
   1522   -V, --version           display version information and exit
   1523   -q, --quiet, --silent   do not print \`checking ...' messages
   1524       --cache-file=FILE   cache test results in FILE [disabled]
   1525   -C, --config-cache      alias for \`--cache-file=config.cache'
   1526   -n, --no-create         do not create output files
   1527       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1528 
   1529 Installation directories:
   1530   --prefix=PREFIX         install architecture-independent files in PREFIX
   1531                           [$ac_default_prefix]
   1532   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1533                           [PREFIX]
   1534 
   1535 By default, \`make install' will install all the files in
   1536 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1537 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1538 for instance \`--prefix=\$HOME'.
   1539 
   1540 For better control, use the options below.
   1541 
   1542 Fine tuning of the installation directories:
   1543   --bindir=DIR            user executables [EPREFIX/bin]
   1544   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1545   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1546   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1547   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1548   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1549   --libdir=DIR            object code libraries [EPREFIX/lib]
   1550   --includedir=DIR        C header files [PREFIX/include]
   1551   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1552   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1553   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1554   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1555   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1556   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1557   --docdir=DIR            documentation root [DATAROOTDIR/doc/libX11]
   1558   --htmldir=DIR           html documentation [DOCDIR]
   1559   --dvidir=DIR            dvi documentation [DOCDIR]
   1560   --pdfdir=DIR            pdf documentation [DOCDIR]
   1561   --psdir=DIR             ps documentation [DOCDIR]
   1562 _ACEOF
   1563 
   1564   cat <<\_ACEOF
   1565 
   1566 Program names:
   1567   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1568   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1569   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1570 
   1571 System types:
   1572   --build=BUILD     configure for building on BUILD [guessed]
   1573   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1574 _ACEOF
   1575 fi
   1576 
   1577 if test -n "$ac_init_help"; then
   1578   case $ac_init_help in
   1579      short | recursive ) echo "Configuration of libX11 1.6.4:";;
   1580    esac
   1581   cat <<\_ACEOF
   1582 
   1583 Optional Features:
   1584   --disable-option-checking  ignore unrecognized --enable/--with options
   1585   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1586   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1587   --enable-dependency-tracking
   1588                           do not reject slow dependency extractors
   1589   --disable-dependency-tracking
   1590                           speeds up one-time build
   1591   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1592   --disable-silent-rules  verbose build output (undo: "make V=0")
   1593   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1594   --enable-static[=PKGS]  build static libraries [default=yes]
   1595   --enable-fast-install[=PKGS]
   1596                           optimize for fast installation [default=yes]
   1597   --disable-libtool-lock  avoid locking (might break parallel builds)
   1598   --disable-selective-werror
   1599                           Turn off selective compiler errors. (default:
   1600                           enabled)
   1601   --enable-strict-compilation
   1602                           Enable all warnings from compiler and make them
   1603                           errors (default: disabled)
   1604   --enable-specs          Enable building the specs (default: yes)
   1605   --enable-unix-transport Enable UNIX domain socket transport
   1606   --enable-tcp-transport  Enable TCP socket transport
   1607   --enable-ipv6           Enable IPv6 support
   1608   --enable-local-transport
   1609                           Enable os-specific local transport
   1610   --enable-loadable-i18n  Controls loadable i18n module support
   1611   --disable-loadable-xcursor
   1612                           Controls loadable xcursor library support
   1613   --disable-xthreads      Disable Xlib support for Multithreading
   1614   --disable-xcms          Disable Xlib support for CMS *EXPERIMENTAL*
   1615   --disable-xlocale       Disable Xlib locale implementation *EXPERIMENTAL*
   1616   --enable-xlocaledir     Enable XLOCALEDIR environment variable support
   1617   --disable-xf86bigfont   Disable XF86BigFont extension support
   1618   --disable-xkb           Disable XKB support *EXPERIMENTAL*
   1619   --disable-composecache  Disable compose table cache support
   1620   --enable-lint-library   Create lint library (default: disabled)
   1621   --enable-malloc0returnsnull
   1622                           malloc(0) returns NULL (default: auto)
   1623 
   1624 Optional Packages:
   1625   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1626   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1627   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1628                           both]
   1629   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1630   --with-sysroot=DIR Search for dependent libraries within DIR
   1631                         (or the compiler's sysroot if not specified).
   1632   --with-xmlto            Use xmlto to regenerate documentation (default:
   1633                           auto)
   1634   --with-fop              Use fop to regenerate documentation (default: no)
   1635   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1636                           (default: auto)
   1637   --with-perl             Use perl for extracting information from files
   1638                           (default: auto)
   1639   --with-launchd          Build with support for Apple's launchd (default:
   1640                           auto)
   1641   --with-keysymdefdir=DIR The location of keysymdef.h (defaults to xproto
   1642                           include dir)
   1643   --with-lint             Use a lint-style source code checker (default:
   1644                           disabled)
   1645   --with-locale-lib-dir=DIR
   1646                           Directory where locale libraries files are installed
   1647                           (default: $libdir/X11/locale)
   1648 
   1649 Some influential environment variables:
   1650   CC          C compiler command
   1651   CFLAGS      C compiler flags
   1652   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1653               nonstandard directory <lib dir>
   1654   LIBS        libraries to pass to the linker, e.g. -l<library>
   1655   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1656               you have headers in a nonstandard directory <include dir>
   1657   CPP         C preprocessor
   1658   PKG_CONFIG  path to pkg-config utility
   1659   PKG_CONFIG_PATH
   1660               directories to add to pkg-config's search path
   1661   PKG_CONFIG_LIBDIR
   1662               path overriding pkg-config's built-in search path
   1663   XMLTO       Path to xmlto command
   1664   FOP         Path to fop command
   1665   XSLTPROC    Path to xsltproc command
   1666   PERL        Path to perl command
   1667   BIGFONT_CFLAGS
   1668               C compiler flags for BIGFONT, overriding pkg-config
   1669   BIGFONT_LIBS
   1670               linker flags for BIGFONT, overriding pkg-config
   1671   LINT        Path to a lint-style command
   1672   LINT_FLAGS  Flags for the lint-style command
   1673   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1674   X11_LIBS    linker flags for X11, overriding pkg-config
   1675 
   1676 Use these variables to override the choices made by `configure' or to help
   1677 it to find libraries and programs with nonstandard names/locations.
   1678 
   1679 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1680 _ACEOF
   1681 ac_status=$?
   1682 fi
   1683 
   1684 if test "$ac_init_help" = "recursive"; then
   1685   # If there are subdirs, report their specific --help.
   1686   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1687     test -d "$ac_dir" ||
   1688       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1689       continue
   1690     ac_builddir=.
   1691 
   1692 case "$ac_dir" in
   1693 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1694 *)
   1695   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1696   # A ".." for each directory in $ac_dir_suffix.
   1697   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1698   case $ac_top_builddir_sub in
   1699   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1700   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1701   esac ;;
   1702 esac
   1703 ac_abs_top_builddir=$ac_pwd
   1704 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1705 # for backward compatibility:
   1706 ac_top_builddir=$ac_top_build_prefix
   1707 
   1708 case $srcdir in
   1709   .)  # We are building in place.
   1710     ac_srcdir=.
   1711     ac_top_srcdir=$ac_top_builddir_sub
   1712     ac_abs_top_srcdir=$ac_pwd ;;
   1713   [\\/]* | ?:[\\/]* )  # Absolute name.
   1714     ac_srcdir=$srcdir$ac_dir_suffix;
   1715     ac_top_srcdir=$srcdir
   1716     ac_abs_top_srcdir=$srcdir ;;
   1717   *) # Relative name.
   1718     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1719     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1720     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1721 esac
   1722 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1723 
   1724     cd "$ac_dir" || { ac_status=$?; continue; }
   1725     # Check for guested configure.
   1726     if test -f "$ac_srcdir/configure.gnu"; then
   1727       echo &&
   1728       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1729     elif test -f "$ac_srcdir/configure"; then
   1730       echo &&
   1731       $SHELL "$ac_srcdir/configure" --help=recursive
   1732     else
   1733       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1734     fi || ac_status=$?
   1735     cd "$ac_pwd" || { ac_status=$?; break; }
   1736   done
   1737 fi
   1738 
   1739 test -n "$ac_init_help" && exit $ac_status
   1740 if $ac_init_version; then
   1741   cat <<\_ACEOF
   1742 libX11 configure 1.6.4
   1743 generated by GNU Autoconf 2.69
   1744 
   1745 Copyright (C) 2012 Free Software Foundation, Inc.
   1746 This configure script is free software; the Free Software Foundation
   1747 gives unlimited permission to copy, distribute and modify it.
   1748 _ACEOF
   1749   exit
   1750 fi
   1751 
   1752 ## ------------------------ ##
   1753 ## Autoconf initialization. ##
   1754 ## ------------------------ ##
   1755 
   1756 # ac_fn_c_try_compile LINENO
   1757 # --------------------------
   1758 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1759 ac_fn_c_try_compile ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   rm -f conftest.$ac_objext
   1763   if { { ac_try="$ac_compile"
   1764 case "(($ac_try" in
   1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1766   *) ac_try_echo=$ac_try;;
   1767 esac
   1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1769 $as_echo "$ac_try_echo"; } >&5
   1770   (eval "$ac_compile") 2>conftest.err
   1771   ac_status=$?
   1772   if test -s conftest.err; then
   1773     grep -v '^ *+' conftest.err >conftest.er1
   1774     cat conftest.er1 >&5
   1775     mv -f conftest.er1 conftest.err
   1776   fi
   1777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1778   test $ac_status = 0; } && {
   1779 	 test -z "$ac_c_werror_flag" ||
   1780 	 test ! -s conftest.err
   1781        } && test -s conftest.$ac_objext; then :
   1782   ac_retval=0
   1783 else
   1784   $as_echo "$as_me: failed program was:" >&5
   1785 sed 's/^/| /' conftest.$ac_ext >&5
   1786 
   1787 	ac_retval=1
   1788 fi
   1789   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1790   as_fn_set_status $ac_retval
   1791 
   1792 } # ac_fn_c_try_compile
   1793 
   1794 # ac_fn_c_try_cpp LINENO
   1795 # ----------------------
   1796 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1797 ac_fn_c_try_cpp ()
   1798 {
   1799   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1800   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1801 case "(($ac_try" in
   1802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1803   *) ac_try_echo=$ac_try;;
   1804 esac
   1805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1806 $as_echo "$ac_try_echo"; } >&5
   1807   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1808   ac_status=$?
   1809   if test -s conftest.err; then
   1810     grep -v '^ *+' conftest.err >conftest.er1
   1811     cat conftest.er1 >&5
   1812     mv -f conftest.er1 conftest.err
   1813   fi
   1814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1815   test $ac_status = 0; } > conftest.i && {
   1816 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1817 	 test ! -s conftest.err
   1818        }; then :
   1819   ac_retval=0
   1820 else
   1821   $as_echo "$as_me: failed program was:" >&5
   1822 sed 's/^/| /' conftest.$ac_ext >&5
   1823 
   1824     ac_retval=1
   1825 fi
   1826   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1827   as_fn_set_status $ac_retval
   1828 
   1829 } # ac_fn_c_try_cpp
   1830 
   1831 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1832 # -------------------------------------------------------
   1833 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1834 # the include files in INCLUDES and setting the cache variable VAR
   1835 # accordingly.
   1836 ac_fn_c_check_header_mongrel ()
   1837 {
   1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1839   if eval \${$3+:} false; then :
   1840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1841 $as_echo_n "checking for $2... " >&6; }
   1842 if eval \${$3+:} false; then :
   1843   $as_echo_n "(cached) " >&6
   1844 fi
   1845 eval ac_res=\$$3
   1846 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1847 $as_echo "$ac_res" >&6; }
   1848 else
   1849   # Is the header compilable?
   1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1851 $as_echo_n "checking $2 usability... " >&6; }
   1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1853 /* end confdefs.h.  */
   1854 $4
   1855 #include <$2>
   1856 _ACEOF
   1857 if ac_fn_c_try_compile "$LINENO"; then :
   1858   ac_header_compiler=yes
   1859 else
   1860   ac_header_compiler=no
   1861 fi
   1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1864 $as_echo "$ac_header_compiler" >&6; }
   1865 
   1866 # Is the header present?
   1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1868 $as_echo_n "checking $2 presence... " >&6; }
   1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1870 /* end confdefs.h.  */
   1871 #include <$2>
   1872 _ACEOF
   1873 if ac_fn_c_try_cpp "$LINENO"; then :
   1874   ac_header_preproc=yes
   1875 else
   1876   ac_header_preproc=no
   1877 fi
   1878 rm -f conftest.err conftest.i conftest.$ac_ext
   1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1880 $as_echo "$ac_header_preproc" >&6; }
   1881 
   1882 # So?  What about this header?
   1883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1884   yes:no: )
   1885     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1886 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1887     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1888 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1889     ;;
   1890   no:yes:* )
   1891     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1892 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1893     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1894 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1895     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1896 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1897     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1898 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1899     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1900 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1901 ( $as_echo "## ---------------------------------------------------------------------- ##
   1902 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1903 ## ---------------------------------------------------------------------- ##"
   1904      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1905     ;;
   1906 esac
   1907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1908 $as_echo_n "checking for $2... " >&6; }
   1909 if eval \${$3+:} false; then :
   1910   $as_echo_n "(cached) " >&6
   1911 else
   1912   eval "$3=\$ac_header_compiler"
   1913 fi
   1914 eval ac_res=\$$3
   1915 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1916 $as_echo "$ac_res" >&6; }
   1917 fi
   1918   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1919 
   1920 } # ac_fn_c_check_header_mongrel
   1921 
   1922 # ac_fn_c_try_run LINENO
   1923 # ----------------------
   1924 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1925 # that executables *can* be run.
   1926 ac_fn_c_try_run ()
   1927 {
   1928   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1929   if { { ac_try="$ac_link"
   1930 case "(($ac_try" in
   1931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1932   *) ac_try_echo=$ac_try;;
   1933 esac
   1934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1935 $as_echo "$ac_try_echo"; } >&5
   1936   (eval "$ac_link") 2>&5
   1937   ac_status=$?
   1938   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1939   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1940   { { case "(($ac_try" in
   1941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1942   *) ac_try_echo=$ac_try;;
   1943 esac
   1944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1945 $as_echo "$ac_try_echo"; } >&5
   1946   (eval "$ac_try") 2>&5
   1947   ac_status=$?
   1948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1949   test $ac_status = 0; }; }; then :
   1950   ac_retval=0
   1951 else
   1952   $as_echo "$as_me: program exited with status $ac_status" >&5
   1953        $as_echo "$as_me: failed program was:" >&5
   1954 sed 's/^/| /' conftest.$ac_ext >&5
   1955 
   1956        ac_retval=$ac_status
   1957 fi
   1958   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1959   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1960   as_fn_set_status $ac_retval
   1961 
   1962 } # ac_fn_c_try_run
   1963 
   1964 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1965 # -------------------------------------------------------
   1966 # Tests whether HEADER exists and can be compiled using the include files in
   1967 # INCLUDES, setting the cache variable VAR accordingly.
   1968 ac_fn_c_check_header_compile ()
   1969 {
   1970   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1972 $as_echo_n "checking for $2... " >&6; }
   1973 if eval \${$3+:} false; then :
   1974   $as_echo_n "(cached) " >&6
   1975 else
   1976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1977 /* end confdefs.h.  */
   1978 $4
   1979 #include <$2>
   1980 _ACEOF
   1981 if ac_fn_c_try_compile "$LINENO"; then :
   1982   eval "$3=yes"
   1983 else
   1984   eval "$3=no"
   1985 fi
   1986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1987 fi
   1988 eval ac_res=\$$3
   1989 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1990 $as_echo "$ac_res" >&6; }
   1991   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1992 
   1993 } # ac_fn_c_check_header_compile
   1994 
   1995 # ac_fn_c_try_link LINENO
   1996 # -----------------------
   1997 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1998 ac_fn_c_try_link ()
   1999 {
   2000   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2001   rm -f conftest.$ac_objext conftest$ac_exeext
   2002   if { { ac_try="$ac_link"
   2003 case "(($ac_try" in
   2004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2005   *) ac_try_echo=$ac_try;;
   2006 esac
   2007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2008 $as_echo "$ac_try_echo"; } >&5
   2009   (eval "$ac_link") 2>conftest.err
   2010   ac_status=$?
   2011   if test -s conftest.err; then
   2012     grep -v '^ *+' conftest.err >conftest.er1
   2013     cat conftest.er1 >&5
   2014     mv -f conftest.er1 conftest.err
   2015   fi
   2016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2017   test $ac_status = 0; } && {
   2018 	 test -z "$ac_c_werror_flag" ||
   2019 	 test ! -s conftest.err
   2020        } && test -s conftest$ac_exeext && {
   2021 	 test "$cross_compiling" = yes ||
   2022 	 test -x conftest$ac_exeext
   2023        }; then :
   2024   ac_retval=0
   2025 else
   2026   $as_echo "$as_me: failed program was:" >&5
   2027 sed 's/^/| /' conftest.$ac_ext >&5
   2028 
   2029 	ac_retval=1
   2030 fi
   2031   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2032   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2033   # interfere with the next link command; also delete a directory that is
   2034   # left behind by Apple's compiler.  We do this before executing the actions.
   2035   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2036   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2037   as_fn_set_status $ac_retval
   2038 
   2039 } # ac_fn_c_try_link
   2040 
   2041 # ac_fn_c_check_func LINENO FUNC VAR
   2042 # ----------------------------------
   2043 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2044 ac_fn_c_check_func ()
   2045 {
   2046   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2048 $as_echo_n "checking for $2... " >&6; }
   2049 if eval \${$3+:} false; then :
   2050   $as_echo_n "(cached) " >&6
   2051 else
   2052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2053 /* end confdefs.h.  */
   2054 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2055    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2056 #define $2 innocuous_$2
   2057 
   2058 /* System header to define __stub macros and hopefully few prototypes,
   2059     which can conflict with char $2 (); below.
   2060     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2061     <limits.h> exists even on freestanding compilers.  */
   2062 
   2063 #ifdef __STDC__
   2064 # include <limits.h>
   2065 #else
   2066 # include <assert.h>
   2067 #endif
   2068 
   2069 #undef $2
   2070 
   2071 /* Override any GCC internal prototype to avoid an error.
   2072    Use char because int might match the return type of a GCC
   2073    builtin and then its argument prototype would still apply.  */
   2074 #ifdef __cplusplus
   2075 extern "C"
   2076 #endif
   2077 char $2 ();
   2078 /* The GNU C library defines this for functions which it implements
   2079     to always fail with ENOSYS.  Some functions are actually named
   2080     something starting with __ and the normal name is an alias.  */
   2081 #if defined __stub_$2 || defined __stub___$2
   2082 choke me
   2083 #endif
   2084 
   2085 int
   2086 main ()
   2087 {
   2088 return $2 ();
   2089   ;
   2090   return 0;
   2091 }
   2092 _ACEOF
   2093 if ac_fn_c_try_link "$LINENO"; then :
   2094   eval "$3=yes"
   2095 else
   2096   eval "$3=no"
   2097 fi
   2098 rm -f core conftest.err conftest.$ac_objext \
   2099     conftest$ac_exeext conftest.$ac_ext
   2100 fi
   2101 eval ac_res=\$$3
   2102 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2103 $as_echo "$ac_res" >&6; }
   2104   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2105 
   2106 } # ac_fn_c_check_func
   2107 
   2108 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2109 # ---------------------------------------------
   2110 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2111 # accordingly.
   2112 ac_fn_c_check_decl ()
   2113 {
   2114   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2115   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2116   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2118 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2119 if eval \${$3+:} false; then :
   2120   $as_echo_n "(cached) " >&6
   2121 else
   2122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2123 /* end confdefs.h.  */
   2124 $4
   2125 int
   2126 main ()
   2127 {
   2128 #ifndef $as_decl_name
   2129 #ifdef __cplusplus
   2130   (void) $as_decl_use;
   2131 #else
   2132   (void) $as_decl_name;
   2133 #endif
   2134 #endif
   2135 
   2136   ;
   2137   return 0;
   2138 }
   2139 _ACEOF
   2140 if ac_fn_c_try_compile "$LINENO"; then :
   2141   eval "$3=yes"
   2142 else
   2143   eval "$3=no"
   2144 fi
   2145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2146 fi
   2147 eval ac_res=\$$3
   2148 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2149 $as_echo "$ac_res" >&6; }
   2150   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2151 
   2152 } # ac_fn_c_check_decl
   2153 
   2154 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2155 # ----------------------------------------------------
   2156 # Tries to find if the field MEMBER exists in type AGGR, after including
   2157 # INCLUDES, setting cache variable VAR accordingly.
   2158 ac_fn_c_check_member ()
   2159 {
   2160   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2162 $as_echo_n "checking for $2.$3... " >&6; }
   2163 if eval \${$4+:} false; then :
   2164   $as_echo_n "(cached) " >&6
   2165 else
   2166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2167 /* end confdefs.h.  */
   2168 $5
   2169 int
   2170 main ()
   2171 {
   2172 static $2 ac_aggr;
   2173 if (ac_aggr.$3)
   2174 return 0;
   2175   ;
   2176   return 0;
   2177 }
   2178 _ACEOF
   2179 if ac_fn_c_try_compile "$LINENO"; then :
   2180   eval "$4=yes"
   2181 else
   2182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2183 /* end confdefs.h.  */
   2184 $5
   2185 int
   2186 main ()
   2187 {
   2188 static $2 ac_aggr;
   2189 if (sizeof ac_aggr.$3)
   2190 return 0;
   2191   ;
   2192   return 0;
   2193 }
   2194 _ACEOF
   2195 if ac_fn_c_try_compile "$LINENO"; then :
   2196   eval "$4=yes"
   2197 else
   2198   eval "$4=no"
   2199 fi
   2200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2201 fi
   2202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2203 fi
   2204 eval ac_res=\$$4
   2205 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2206 $as_echo "$ac_res" >&6; }
   2207   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2208 
   2209 } # ac_fn_c_check_member
   2210 
   2211 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2212 # -------------------------------------------
   2213 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2214 # variable VAR accordingly.
   2215 ac_fn_c_check_type ()
   2216 {
   2217   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2219 $as_echo_n "checking for $2... " >&6; }
   2220 if eval \${$3+:} false; then :
   2221   $as_echo_n "(cached) " >&6
   2222 else
   2223   eval "$3=no"
   2224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2225 /* end confdefs.h.  */
   2226 $4
   2227 int
   2228 main ()
   2229 {
   2230 if (sizeof ($2))
   2231 	 return 0;
   2232   ;
   2233   return 0;
   2234 }
   2235 _ACEOF
   2236 if ac_fn_c_try_compile "$LINENO"; then :
   2237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2238 /* end confdefs.h.  */
   2239 $4
   2240 int
   2241 main ()
   2242 {
   2243 if (sizeof (($2)))
   2244 	    return 0;
   2245   ;
   2246   return 0;
   2247 }
   2248 _ACEOF
   2249 if ac_fn_c_try_compile "$LINENO"; then :
   2250 
   2251 else
   2252   eval "$3=yes"
   2253 fi
   2254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2255 fi
   2256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2257 fi
   2258 eval ac_res=\$$3
   2259 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2260 $as_echo "$ac_res" >&6; }
   2261   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2262 
   2263 } # ac_fn_c_check_type
   2264 cat >config.log <<_ACEOF
   2265 This file contains any messages produced by compilers while
   2266 running configure, to aid debugging if configure makes a mistake.
   2267 
   2268 It was created by libX11 $as_me 1.6.4, which was
   2269 generated by GNU Autoconf 2.69.  Invocation command line was
   2270 
   2271   $ $0 $@
   2272 
   2273 _ACEOF
   2274 exec 5>>config.log
   2275 {
   2276 cat <<_ASUNAME
   2277 ## --------- ##
   2278 ## Platform. ##
   2279 ## --------- ##
   2280 
   2281 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2282 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2283 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2284 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2285 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2286 
   2287 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2288 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2289 
   2290 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2291 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2292 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2293 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2294 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2295 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2296 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2297 
   2298 _ASUNAME
   2299 
   2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2301 for as_dir in $PATH
   2302 do
   2303   IFS=$as_save_IFS
   2304   test -z "$as_dir" && as_dir=.
   2305     $as_echo "PATH: $as_dir"
   2306   done
   2307 IFS=$as_save_IFS
   2308 
   2309 } >&5
   2310 
   2311 cat >&5 <<_ACEOF
   2312 
   2313 
   2314 ## ----------- ##
   2315 ## Core tests. ##
   2316 ## ----------- ##
   2317 
   2318 _ACEOF
   2319 
   2320 
   2321 # Keep a trace of the command line.
   2322 # Strip out --no-create and --no-recursion so they do not pile up.
   2323 # Strip out --silent because we don't want to record it for future runs.
   2324 # Also quote any args containing shell meta-characters.
   2325 # Make two passes to allow for proper duplicate-argument suppression.
   2326 ac_configure_args=
   2327 ac_configure_args0=
   2328 ac_configure_args1=
   2329 ac_must_keep_next=false
   2330 for ac_pass in 1 2
   2331 do
   2332   for ac_arg
   2333   do
   2334     case $ac_arg in
   2335     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2336     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2337     | -silent | --silent | --silen | --sile | --sil)
   2338       continue ;;
   2339     *\'*)
   2340       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2341     esac
   2342     case $ac_pass in
   2343     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2344     2)
   2345       as_fn_append ac_configure_args1 " '$ac_arg'"
   2346       if test $ac_must_keep_next = true; then
   2347 	ac_must_keep_next=false # Got value, back to normal.
   2348       else
   2349 	case $ac_arg in
   2350 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2351 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2352 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2353 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2354 	    case "$ac_configure_args0 " in
   2355 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2356 	    esac
   2357 	    ;;
   2358 	  -* ) ac_must_keep_next=true ;;
   2359 	esac
   2360       fi
   2361       as_fn_append ac_configure_args " '$ac_arg'"
   2362       ;;
   2363     esac
   2364   done
   2365 done
   2366 { ac_configure_args0=; unset ac_configure_args0;}
   2367 { ac_configure_args1=; unset ac_configure_args1;}
   2368 
   2369 # When interrupted or exit'd, cleanup temporary files, and complete
   2370 # config.log.  We remove comments because anyway the quotes in there
   2371 # would cause problems or look ugly.
   2372 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2373 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2374 trap 'exit_status=$?
   2375   # Save into config.log some information that might help in debugging.
   2376   {
   2377     echo
   2378 
   2379     $as_echo "## ---------------- ##
   2380 ## Cache variables. ##
   2381 ## ---------------- ##"
   2382     echo
   2383     # The following way of writing the cache mishandles newlines in values,
   2384 (
   2385   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2386     eval ac_val=\$$ac_var
   2387     case $ac_val in #(
   2388     *${as_nl}*)
   2389       case $ac_var in #(
   2390       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2391 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2392       esac
   2393       case $ac_var in #(
   2394       _ | IFS | as_nl) ;; #(
   2395       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2396       *) { eval $ac_var=; unset $ac_var;} ;;
   2397       esac ;;
   2398     esac
   2399   done
   2400   (set) 2>&1 |
   2401     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2402     *${as_nl}ac_space=\ *)
   2403       sed -n \
   2404 	"s/'\''/'\''\\\\'\'''\''/g;
   2405 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2406       ;; #(
   2407     *)
   2408       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2409       ;;
   2410     esac |
   2411     sort
   2412 )
   2413     echo
   2414 
   2415     $as_echo "## ----------------- ##
   2416 ## Output variables. ##
   2417 ## ----------------- ##"
   2418     echo
   2419     for ac_var in $ac_subst_vars
   2420     do
   2421       eval ac_val=\$$ac_var
   2422       case $ac_val in
   2423       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2424       esac
   2425       $as_echo "$ac_var='\''$ac_val'\''"
   2426     done | sort
   2427     echo
   2428 
   2429     if test -n "$ac_subst_files"; then
   2430       $as_echo "## ------------------- ##
   2431 ## File substitutions. ##
   2432 ## ------------------- ##"
   2433       echo
   2434       for ac_var in $ac_subst_files
   2435       do
   2436 	eval ac_val=\$$ac_var
   2437 	case $ac_val in
   2438 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2439 	esac
   2440 	$as_echo "$ac_var='\''$ac_val'\''"
   2441       done | sort
   2442       echo
   2443     fi
   2444 
   2445     if test -s confdefs.h; then
   2446       $as_echo "## ----------- ##
   2447 ## confdefs.h. ##
   2448 ## ----------- ##"
   2449       echo
   2450       cat confdefs.h
   2451       echo
   2452     fi
   2453     test "$ac_signal" != 0 &&
   2454       $as_echo "$as_me: caught signal $ac_signal"
   2455     $as_echo "$as_me: exit $exit_status"
   2456   } >&5
   2457   rm -f core *.core core.conftest.* &&
   2458     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2459     exit $exit_status
   2460 ' 0
   2461 for ac_signal in 1 2 13 15; do
   2462   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2463 done
   2464 ac_signal=0
   2465 
   2466 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2467 rm -f -r conftest* confdefs.h
   2468 
   2469 $as_echo "/* confdefs.h */" > confdefs.h
   2470 
   2471 # Predefined preprocessor variables.
   2472 
   2473 cat >>confdefs.h <<_ACEOF
   2474 #define PACKAGE_NAME "$PACKAGE_NAME"
   2475 _ACEOF
   2476 
   2477 cat >>confdefs.h <<_ACEOF
   2478 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2479 _ACEOF
   2480 
   2481 cat >>confdefs.h <<_ACEOF
   2482 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2483 _ACEOF
   2484 
   2485 cat >>confdefs.h <<_ACEOF
   2486 #define PACKAGE_STRING "$PACKAGE_STRING"
   2487 _ACEOF
   2488 
   2489 cat >>confdefs.h <<_ACEOF
   2490 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2491 _ACEOF
   2492 
   2493 cat >>confdefs.h <<_ACEOF
   2494 #define PACKAGE_URL "$PACKAGE_URL"
   2495 _ACEOF
   2496 
   2497 
   2498 # Let the site file select an alternate cache file if it wants to.
   2499 # Prefer an explicitly selected file to automatically selected ones.
   2500 ac_site_file1=NONE
   2501 ac_site_file2=NONE
   2502 if test -n "$CONFIG_SITE"; then
   2503   # We do not want a PATH search for config.site.
   2504   case $CONFIG_SITE in #((
   2505     -*)  ac_site_file1=./$CONFIG_SITE;;
   2506     */*) ac_site_file1=$CONFIG_SITE;;
   2507     *)   ac_site_file1=./$CONFIG_SITE;;
   2508   esac
   2509 elif test "x$prefix" != xNONE; then
   2510   ac_site_file1=$prefix/share/config.site
   2511   ac_site_file2=$prefix/etc/config.site
   2512 else
   2513   ac_site_file1=$ac_default_prefix/share/config.site
   2514   ac_site_file2=$ac_default_prefix/etc/config.site
   2515 fi
   2516 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2517 do
   2518   test "x$ac_site_file" = xNONE && continue
   2519   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2520     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2521 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2522     sed 's/^/| /' "$ac_site_file" >&5
   2523     . "$ac_site_file" \
   2524       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2526 as_fn_error $? "failed to load site script $ac_site_file
   2527 See \`config.log' for more details" "$LINENO" 5; }
   2528   fi
   2529 done
   2530 
   2531 if test -r "$cache_file"; then
   2532   # Some versions of bash will fail to source /dev/null (special files
   2533   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2534   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2535     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2536 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2537     case $cache_file in
   2538       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2539       *)                      . "./$cache_file";;
   2540     esac
   2541   fi
   2542 else
   2543   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2544 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2545   >$cache_file
   2546 fi
   2547 
   2548 as_fn_append ac_header_list " stdlib.h"
   2549 as_fn_append ac_header_list " unistd.h"
   2550 as_fn_append ac_header_list " sys/param.h"
   2551 # Check that the precious variables saved in the cache have kept the same
   2552 # value.
   2553 ac_cache_corrupted=false
   2554 for ac_var in $ac_precious_vars; do
   2555   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2556   eval ac_new_set=\$ac_env_${ac_var}_set
   2557   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2558   eval ac_new_val=\$ac_env_${ac_var}_value
   2559   case $ac_old_set,$ac_new_set in
   2560     set,)
   2561       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2562 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2563       ac_cache_corrupted=: ;;
   2564     ,set)
   2565       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2566 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2567       ac_cache_corrupted=: ;;
   2568     ,);;
   2569     *)
   2570       if test "x$ac_old_val" != "x$ac_new_val"; then
   2571 	# differences in whitespace do not lead to failure.
   2572 	ac_old_val_w=`echo x $ac_old_val`
   2573 	ac_new_val_w=`echo x $ac_new_val`
   2574 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2575 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2576 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2577 	  ac_cache_corrupted=:
   2578 	else
   2579 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2580 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2581 	  eval $ac_var=\$ac_old_val
   2582 	fi
   2583 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2584 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2585 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2586 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2587       fi;;
   2588   esac
   2589   # Pass precious variables to config.status.
   2590   if test "$ac_new_set" = set; then
   2591     case $ac_new_val in
   2592     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2593     *) ac_arg=$ac_var=$ac_new_val ;;
   2594     esac
   2595     case " $ac_configure_args " in
   2596       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2597       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2598     esac
   2599   fi
   2600 done
   2601 if $ac_cache_corrupted; then
   2602   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2604   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2605 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2606   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2607 fi
   2608 ## -------------------- ##
   2609 ## Main body of script. ##
   2610 ## -------------------- ##
   2611 
   2612 ac_ext=c
   2613 ac_cpp='$CPP $CPPFLAGS'
   2614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2617 
   2618 
   2619 
   2620 ac_config_headers="$ac_config_headers src/config.h include/X11/XlibConf.h"
   2621 
   2622 
   2623 ac_aux_dir=
   2624 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2625   if test -f "$ac_dir/install-sh"; then
   2626     ac_aux_dir=$ac_dir
   2627     ac_install_sh="$ac_aux_dir/install-sh -c"
   2628     break
   2629   elif test -f "$ac_dir/install.sh"; then
   2630     ac_aux_dir=$ac_dir
   2631     ac_install_sh="$ac_aux_dir/install.sh -c"
   2632     break
   2633   elif test -f "$ac_dir/shtool"; then
   2634     ac_aux_dir=$ac_dir
   2635     ac_install_sh="$ac_aux_dir/shtool install -c"
   2636     break
   2637   fi
   2638 done
   2639 if test -z "$ac_aux_dir"; then
   2640   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2641 fi
   2642 
   2643 # These three variables are undocumented and unsupported,
   2644 # and are intended to be withdrawn in a future Autoconf release.
   2645 # They can cause serious problems if a builder's source tree is in a directory
   2646 # whose full name contains unusual characters.
   2647 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2648 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2649 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2650 
   2651 
   2652 # Make sure we can run config.sub.
   2653 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2654   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2655 
   2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2657 $as_echo_n "checking build system type... " >&6; }
   2658 if ${ac_cv_build+:} false; then :
   2659   $as_echo_n "(cached) " >&6
   2660 else
   2661   ac_build_alias=$build_alias
   2662 test "x$ac_build_alias" = x &&
   2663   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2664 test "x$ac_build_alias" = x &&
   2665   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2666 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2667   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2668 
   2669 fi
   2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2671 $as_echo "$ac_cv_build" >&6; }
   2672 case $ac_cv_build in
   2673 *-*-*) ;;
   2674 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2675 esac
   2676 build=$ac_cv_build
   2677 ac_save_IFS=$IFS; IFS='-'
   2678 set x $ac_cv_build
   2679 shift
   2680 build_cpu=$1
   2681 build_vendor=$2
   2682 shift; shift
   2683 # Remember, the first character of IFS is used to create $*,
   2684 # except with old shells:
   2685 build_os=$*
   2686 IFS=$ac_save_IFS
   2687 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2688 
   2689 
   2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2691 $as_echo_n "checking host system type... " >&6; }
   2692 if ${ac_cv_host+:} false; then :
   2693   $as_echo_n "(cached) " >&6
   2694 else
   2695   if test "x$host_alias" = x; then
   2696   ac_cv_host=$ac_cv_build
   2697 else
   2698   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2699     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2700 fi
   2701 
   2702 fi
   2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2704 $as_echo "$ac_cv_host" >&6; }
   2705 case $ac_cv_host in
   2706 *-*-*) ;;
   2707 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2708 esac
   2709 host=$ac_cv_host
   2710 ac_save_IFS=$IFS; IFS='-'
   2711 set x $ac_cv_host
   2712 shift
   2713 host_cpu=$1
   2714 host_vendor=$2
   2715 shift; shift
   2716 # Remember, the first character of IFS is used to create $*,
   2717 # except with old shells:
   2718 host_os=$*
   2719 IFS=$ac_save_IFS
   2720 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2721 
   2722 
   2723 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2724 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   2725 # to avoid autoconf errors.
   2726 # expand $ac_aux_dir to an absolute path
   2727 am_aux_dir=`cd $ac_aux_dir && pwd`
   2728 
   2729 ac_ext=c
   2730 ac_cpp='$CPP $CPPFLAGS'
   2731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2734 if test -n "$ac_tool_prefix"; then
   2735   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2736 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2738 $as_echo_n "checking for $ac_word... " >&6; }
   2739 if ${ac_cv_prog_CC+:} false; then :
   2740   $as_echo_n "(cached) " >&6
   2741 else
   2742   if test -n "$CC"; then
   2743   ac_cv_prog_CC="$CC" # Let the user override the test.
   2744 else
   2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2746 for as_dir in $PATH
   2747 do
   2748   IFS=$as_save_IFS
   2749   test -z "$as_dir" && as_dir=.
   2750     for ac_exec_ext in '' $ac_executable_extensions; do
   2751   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2752     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2754     break 2
   2755   fi
   2756 done
   2757   done
   2758 IFS=$as_save_IFS
   2759 
   2760 fi
   2761 fi
   2762 CC=$ac_cv_prog_CC
   2763 if test -n "$CC"; then
   2764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2765 $as_echo "$CC" >&6; }
   2766 else
   2767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2768 $as_echo "no" >&6; }
   2769 fi
   2770 
   2771 
   2772 fi
   2773 if test -z "$ac_cv_prog_CC"; then
   2774   ac_ct_CC=$CC
   2775   # Extract the first word of "gcc", so it can be a program name with args.
   2776 set dummy gcc; ac_word=$2
   2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2778 $as_echo_n "checking for $ac_word... " >&6; }
   2779 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2780   $as_echo_n "(cached) " >&6
   2781 else
   2782   if test -n "$ac_ct_CC"; then
   2783   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2784 else
   2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2786 for as_dir in $PATH
   2787 do
   2788   IFS=$as_save_IFS
   2789   test -z "$as_dir" && as_dir=.
   2790     for ac_exec_ext in '' $ac_executable_extensions; do
   2791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2792     ac_cv_prog_ac_ct_CC="gcc"
   2793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2794     break 2
   2795   fi
   2796 done
   2797   done
   2798 IFS=$as_save_IFS
   2799 
   2800 fi
   2801 fi
   2802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2803 if test -n "$ac_ct_CC"; then
   2804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2805 $as_echo "$ac_ct_CC" >&6; }
   2806 else
   2807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2808 $as_echo "no" >&6; }
   2809 fi
   2810 
   2811   if test "x$ac_ct_CC" = x; then
   2812     CC=""
   2813   else
   2814     case $cross_compiling:$ac_tool_warned in
   2815 yes:)
   2816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2818 ac_tool_warned=yes ;;
   2819 esac
   2820     CC=$ac_ct_CC
   2821   fi
   2822 else
   2823   CC="$ac_cv_prog_CC"
   2824 fi
   2825 
   2826 if test -z "$CC"; then
   2827           if test -n "$ac_tool_prefix"; then
   2828     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2829 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2831 $as_echo_n "checking for $ac_word... " >&6; }
   2832 if ${ac_cv_prog_CC+:} false; then :
   2833   $as_echo_n "(cached) " >&6
   2834 else
   2835   if test -n "$CC"; then
   2836   ac_cv_prog_CC="$CC" # Let the user override the test.
   2837 else
   2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2839 for as_dir in $PATH
   2840 do
   2841   IFS=$as_save_IFS
   2842   test -z "$as_dir" && as_dir=.
   2843     for ac_exec_ext in '' $ac_executable_extensions; do
   2844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2845     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2847     break 2
   2848   fi
   2849 done
   2850   done
   2851 IFS=$as_save_IFS
   2852 
   2853 fi
   2854 fi
   2855 CC=$ac_cv_prog_CC
   2856 if test -n "$CC"; then
   2857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2858 $as_echo "$CC" >&6; }
   2859 else
   2860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2861 $as_echo "no" >&6; }
   2862 fi
   2863 
   2864 
   2865   fi
   2866 fi
   2867 if test -z "$CC"; then
   2868   # Extract the first word of "cc", so it can be a program name with args.
   2869 set dummy cc; ac_word=$2
   2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2871 $as_echo_n "checking for $ac_word... " >&6; }
   2872 if ${ac_cv_prog_CC+:} false; then :
   2873   $as_echo_n "(cached) " >&6
   2874 else
   2875   if test -n "$CC"; then
   2876   ac_cv_prog_CC="$CC" # Let the user override the test.
   2877 else
   2878   ac_prog_rejected=no
   2879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2880 for as_dir in $PATH
   2881 do
   2882   IFS=$as_save_IFS
   2883   test -z "$as_dir" && as_dir=.
   2884     for ac_exec_ext in '' $ac_executable_extensions; do
   2885   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2886     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2887        ac_prog_rejected=yes
   2888        continue
   2889      fi
   2890     ac_cv_prog_CC="cc"
   2891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2892     break 2
   2893   fi
   2894 done
   2895   done
   2896 IFS=$as_save_IFS
   2897 
   2898 if test $ac_prog_rejected = yes; then
   2899   # We found a bogon in the path, so make sure we never use it.
   2900   set dummy $ac_cv_prog_CC
   2901   shift
   2902   if test $# != 0; then
   2903     # We chose a different compiler from the bogus one.
   2904     # However, it has the same basename, so the bogon will be chosen
   2905     # first if we set CC to just the basename; use the full file name.
   2906     shift
   2907     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2908   fi
   2909 fi
   2910 fi
   2911 fi
   2912 CC=$ac_cv_prog_CC
   2913 if test -n "$CC"; then
   2914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2915 $as_echo "$CC" >&6; }
   2916 else
   2917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2918 $as_echo "no" >&6; }
   2919 fi
   2920 
   2921 
   2922 fi
   2923 if test -z "$CC"; then
   2924   if test -n "$ac_tool_prefix"; then
   2925   for ac_prog in cl.exe
   2926   do
   2927     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2928 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2930 $as_echo_n "checking for $ac_word... " >&6; }
   2931 if ${ac_cv_prog_CC+:} false; then :
   2932   $as_echo_n "(cached) " >&6
   2933 else
   2934   if test -n "$CC"; then
   2935   ac_cv_prog_CC="$CC" # Let the user override the test.
   2936 else
   2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2938 for as_dir in $PATH
   2939 do
   2940   IFS=$as_save_IFS
   2941   test -z "$as_dir" && as_dir=.
   2942     for ac_exec_ext in '' $ac_executable_extensions; do
   2943   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2944     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2946     break 2
   2947   fi
   2948 done
   2949   done
   2950 IFS=$as_save_IFS
   2951 
   2952 fi
   2953 fi
   2954 CC=$ac_cv_prog_CC
   2955 if test -n "$CC"; then
   2956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2957 $as_echo "$CC" >&6; }
   2958 else
   2959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2960 $as_echo "no" >&6; }
   2961 fi
   2962 
   2963 
   2964     test -n "$CC" && break
   2965   done
   2966 fi
   2967 if test -z "$CC"; then
   2968   ac_ct_CC=$CC
   2969   for ac_prog in cl.exe
   2970 do
   2971   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2972 set dummy $ac_prog; ac_word=$2
   2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2974 $as_echo_n "checking for $ac_word... " >&6; }
   2975 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2976   $as_echo_n "(cached) " >&6
   2977 else
   2978   if test -n "$ac_ct_CC"; then
   2979   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2980 else
   2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2982 for as_dir in $PATH
   2983 do
   2984   IFS=$as_save_IFS
   2985   test -z "$as_dir" && as_dir=.
   2986     for ac_exec_ext in '' $ac_executable_extensions; do
   2987   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2988     ac_cv_prog_ac_ct_CC="$ac_prog"
   2989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2990     break 2
   2991   fi
   2992 done
   2993   done
   2994 IFS=$as_save_IFS
   2995 
   2996 fi
   2997 fi
   2998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2999 if test -n "$ac_ct_CC"; then
   3000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3001 $as_echo "$ac_ct_CC" >&6; }
   3002 else
   3003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3004 $as_echo "no" >&6; }
   3005 fi
   3006 
   3007 
   3008   test -n "$ac_ct_CC" && break
   3009 done
   3010 
   3011   if test "x$ac_ct_CC" = x; then
   3012     CC=""
   3013   else
   3014     case $cross_compiling:$ac_tool_warned in
   3015 yes:)
   3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3018 ac_tool_warned=yes ;;
   3019 esac
   3020     CC=$ac_ct_CC
   3021   fi
   3022 fi
   3023 
   3024 fi
   3025 
   3026 
   3027 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3029 as_fn_error $? "no acceptable C compiler found in \$PATH
   3030 See \`config.log' for more details" "$LINENO" 5; }
   3031 
   3032 # Provide some information about the compiler.
   3033 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3034 set X $ac_compile
   3035 ac_compiler=$2
   3036 for ac_option in --version -v -V -qversion; do
   3037   { { ac_try="$ac_compiler $ac_option >&5"
   3038 case "(($ac_try" in
   3039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3040   *) ac_try_echo=$ac_try;;
   3041 esac
   3042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3043 $as_echo "$ac_try_echo"; } >&5
   3044   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3045   ac_status=$?
   3046   if test -s conftest.err; then
   3047     sed '10a\
   3048 ... rest of stderr output deleted ...
   3049          10q' conftest.err >conftest.er1
   3050     cat conftest.er1 >&5
   3051   fi
   3052   rm -f conftest.er1 conftest.err
   3053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3054   test $ac_status = 0; }
   3055 done
   3056 
   3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3058 /* end confdefs.h.  */
   3059 
   3060 int
   3061 main ()
   3062 {
   3063 
   3064   ;
   3065   return 0;
   3066 }
   3067 _ACEOF
   3068 ac_clean_files_save=$ac_clean_files
   3069 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3070 # Try to create an executable without -o first, disregard a.out.
   3071 # It will help us diagnose broken compilers, and finding out an intuition
   3072 # of exeext.
   3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3074 $as_echo_n "checking whether the C compiler works... " >&6; }
   3075 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3076 
   3077 # The possible output files:
   3078 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3079 
   3080 ac_rmfiles=
   3081 for ac_file in $ac_files
   3082 do
   3083   case $ac_file in
   3084     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3085     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3086   esac
   3087 done
   3088 rm -f $ac_rmfiles
   3089 
   3090 if { { ac_try="$ac_link_default"
   3091 case "(($ac_try" in
   3092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3093   *) ac_try_echo=$ac_try;;
   3094 esac
   3095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3096 $as_echo "$ac_try_echo"; } >&5
   3097   (eval "$ac_link_default") 2>&5
   3098   ac_status=$?
   3099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3100   test $ac_status = 0; }; then :
   3101   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3102 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3103 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3104 # so that the user can short-circuit this test for compilers unknown to
   3105 # Autoconf.
   3106 for ac_file in $ac_files ''
   3107 do
   3108   test -f "$ac_file" || continue
   3109   case $ac_file in
   3110     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3111 	;;
   3112     [ab].out )
   3113 	# We found the default executable, but exeext='' is most
   3114 	# certainly right.
   3115 	break;;
   3116     *.* )
   3117 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3118 	then :; else
   3119 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3120 	fi
   3121 	# We set ac_cv_exeext here because the later test for it is not
   3122 	# safe: cross compilers may not add the suffix if given an `-o'
   3123 	# argument, so we may need to know it at that point already.
   3124 	# Even if this section looks crufty: it has the advantage of
   3125 	# actually working.
   3126 	break;;
   3127     * )
   3128 	break;;
   3129   esac
   3130 done
   3131 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3132 
   3133 else
   3134   ac_file=''
   3135 fi
   3136 if test -z "$ac_file"; then :
   3137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3138 $as_echo "no" >&6; }
   3139 $as_echo "$as_me: failed program was:" >&5
   3140 sed 's/^/| /' conftest.$ac_ext >&5
   3141 
   3142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3144 as_fn_error 77 "C compiler cannot create executables
   3145 See \`config.log' for more details" "$LINENO" 5; }
   3146 else
   3147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3148 $as_echo "yes" >&6; }
   3149 fi
   3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3151 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3153 $as_echo "$ac_file" >&6; }
   3154 ac_exeext=$ac_cv_exeext
   3155 
   3156 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3157 ac_clean_files=$ac_clean_files_save
   3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3159 $as_echo_n "checking for suffix of executables... " >&6; }
   3160 if { { ac_try="$ac_link"
   3161 case "(($ac_try" in
   3162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3163   *) ac_try_echo=$ac_try;;
   3164 esac
   3165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3166 $as_echo "$ac_try_echo"; } >&5
   3167   (eval "$ac_link") 2>&5
   3168   ac_status=$?
   3169   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3170   test $ac_status = 0; }; then :
   3171   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3172 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3173 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3174 # `rm'.
   3175 for ac_file in conftest.exe conftest conftest.*; do
   3176   test -f "$ac_file" || continue
   3177   case $ac_file in
   3178     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3179     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3180 	  break;;
   3181     * ) break;;
   3182   esac
   3183 done
   3184 else
   3185   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3187 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3188 See \`config.log' for more details" "$LINENO" 5; }
   3189 fi
   3190 rm -f conftest conftest$ac_cv_exeext
   3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3192 $as_echo "$ac_cv_exeext" >&6; }
   3193 
   3194 rm -f conftest.$ac_ext
   3195 EXEEXT=$ac_cv_exeext
   3196 ac_exeext=$EXEEXT
   3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3198 /* end confdefs.h.  */
   3199 #include <stdio.h>
   3200 int
   3201 main ()
   3202 {
   3203 FILE *f = fopen ("conftest.out", "w");
   3204  return ferror (f) || fclose (f) != 0;
   3205 
   3206   ;
   3207   return 0;
   3208 }
   3209 _ACEOF
   3210 ac_clean_files="$ac_clean_files conftest.out"
   3211 # Check that the compiler produces executables we can run.  If not, either
   3212 # the compiler is broken, or we cross compile.
   3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3214 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3215 if test "$cross_compiling" != yes; then
   3216   { { ac_try="$ac_link"
   3217 case "(($ac_try" in
   3218   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3219   *) ac_try_echo=$ac_try;;
   3220 esac
   3221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3222 $as_echo "$ac_try_echo"; } >&5
   3223   (eval "$ac_link") 2>&5
   3224   ac_status=$?
   3225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3226   test $ac_status = 0; }
   3227   if { ac_try='./conftest$ac_cv_exeext'
   3228   { { case "(($ac_try" in
   3229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3230   *) ac_try_echo=$ac_try;;
   3231 esac
   3232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3233 $as_echo "$ac_try_echo"; } >&5
   3234   (eval "$ac_try") 2>&5
   3235   ac_status=$?
   3236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3237   test $ac_status = 0; }; }; then
   3238     cross_compiling=no
   3239   else
   3240     if test "$cross_compiling" = maybe; then
   3241 	cross_compiling=yes
   3242     else
   3243 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3245 as_fn_error $? "cannot run C compiled programs.
   3246 If you meant to cross compile, use \`--host'.
   3247 See \`config.log' for more details" "$LINENO" 5; }
   3248     fi
   3249   fi
   3250 fi
   3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3252 $as_echo "$cross_compiling" >&6; }
   3253 
   3254 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3255 ac_clean_files=$ac_clean_files_save
   3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3257 $as_echo_n "checking for suffix of object files... " >&6; }
   3258 if ${ac_cv_objext+:} false; then :
   3259   $as_echo_n "(cached) " >&6
   3260 else
   3261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3262 /* end confdefs.h.  */
   3263 
   3264 int
   3265 main ()
   3266 {
   3267 
   3268   ;
   3269   return 0;
   3270 }
   3271 _ACEOF
   3272 rm -f conftest.o conftest.obj
   3273 if { { ac_try="$ac_compile"
   3274 case "(($ac_try" in
   3275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3276   *) ac_try_echo=$ac_try;;
   3277 esac
   3278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3279 $as_echo "$ac_try_echo"; } >&5
   3280   (eval "$ac_compile") 2>&5
   3281   ac_status=$?
   3282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3283   test $ac_status = 0; }; then :
   3284   for ac_file in conftest.o conftest.obj conftest.*; do
   3285   test -f "$ac_file" || continue;
   3286   case $ac_file in
   3287     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3288     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3289        break;;
   3290   esac
   3291 done
   3292 else
   3293   $as_echo "$as_me: failed program was:" >&5
   3294 sed 's/^/| /' conftest.$ac_ext >&5
   3295 
   3296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3298 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3299 See \`config.log' for more details" "$LINENO" 5; }
   3300 fi
   3301 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3302 fi
   3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3304 $as_echo "$ac_cv_objext" >&6; }
   3305 OBJEXT=$ac_cv_objext
   3306 ac_objext=$OBJEXT
   3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3308 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3309 if ${ac_cv_c_compiler_gnu+:} false; then :
   3310   $as_echo_n "(cached) " >&6
   3311 else
   3312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3313 /* end confdefs.h.  */
   3314 
   3315 int
   3316 main ()
   3317 {
   3318 #ifndef __GNUC__
   3319        choke me
   3320 #endif
   3321 
   3322   ;
   3323   return 0;
   3324 }
   3325 _ACEOF
   3326 if ac_fn_c_try_compile "$LINENO"; then :
   3327   ac_compiler_gnu=yes
   3328 else
   3329   ac_compiler_gnu=no
   3330 fi
   3331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3332 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3333 
   3334 fi
   3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3336 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3337 if test $ac_compiler_gnu = yes; then
   3338   GCC=yes
   3339 else
   3340   GCC=
   3341 fi
   3342 ac_test_CFLAGS=${CFLAGS+set}
   3343 ac_save_CFLAGS=$CFLAGS
   3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3345 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3346 if ${ac_cv_prog_cc_g+:} false; then :
   3347   $as_echo_n "(cached) " >&6
   3348 else
   3349   ac_save_c_werror_flag=$ac_c_werror_flag
   3350    ac_c_werror_flag=yes
   3351    ac_cv_prog_cc_g=no
   3352    CFLAGS="-g"
   3353    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3354 /* end confdefs.h.  */
   3355 
   3356 int
   3357 main ()
   3358 {
   3359 
   3360   ;
   3361   return 0;
   3362 }
   3363 _ACEOF
   3364 if ac_fn_c_try_compile "$LINENO"; then :
   3365   ac_cv_prog_cc_g=yes
   3366 else
   3367   CFLAGS=""
   3368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3369 /* end confdefs.h.  */
   3370 
   3371 int
   3372 main ()
   3373 {
   3374 
   3375   ;
   3376   return 0;
   3377 }
   3378 _ACEOF
   3379 if ac_fn_c_try_compile "$LINENO"; then :
   3380 
   3381 else
   3382   ac_c_werror_flag=$ac_save_c_werror_flag
   3383 	 CFLAGS="-g"
   3384 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3385 /* end confdefs.h.  */
   3386 
   3387 int
   3388 main ()
   3389 {
   3390 
   3391   ;
   3392   return 0;
   3393 }
   3394 _ACEOF
   3395 if ac_fn_c_try_compile "$LINENO"; then :
   3396   ac_cv_prog_cc_g=yes
   3397 fi
   3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3399 fi
   3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3401 fi
   3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3403    ac_c_werror_flag=$ac_save_c_werror_flag
   3404 fi
   3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3406 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3407 if test "$ac_test_CFLAGS" = set; then
   3408   CFLAGS=$ac_save_CFLAGS
   3409 elif test $ac_cv_prog_cc_g = yes; then
   3410   if test "$GCC" = yes; then
   3411     CFLAGS="-g -O2"
   3412   else
   3413     CFLAGS="-g"
   3414   fi
   3415 else
   3416   if test "$GCC" = yes; then
   3417     CFLAGS="-O2"
   3418   else
   3419     CFLAGS=
   3420   fi
   3421 fi
   3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3423 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3424 if ${ac_cv_prog_cc_c89+:} false; then :
   3425   $as_echo_n "(cached) " >&6
   3426 else
   3427   ac_cv_prog_cc_c89=no
   3428 ac_save_CC=$CC
   3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3430 /* end confdefs.h.  */
   3431 #include <stdarg.h>
   3432 #include <stdio.h>
   3433 struct stat;
   3434 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3435 struct buf { int x; };
   3436 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3437 static char *e (p, i)
   3438      char **p;
   3439      int i;
   3440 {
   3441   return p[i];
   3442 }
   3443 static char *f (char * (*g) (char **, int), char **p, ...)
   3444 {
   3445   char *s;
   3446   va_list v;
   3447   va_start (v,p);
   3448   s = g (p, va_arg (v,int));
   3449   va_end (v);
   3450   return s;
   3451 }
   3452 
   3453 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3454    function prototypes and stuff, but not '\xHH' hex character constants.
   3455    These don't provoke an error unfortunately, instead are silently treated
   3456    as 'x'.  The following induces an error, until -std is added to get
   3457    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3458    array size at least.  It's necessary to write '\x00'==0 to get something
   3459    that's true only with -std.  */
   3460 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3461 
   3462 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3463    inside strings and character constants.  */
   3464 #define FOO(x) 'x'
   3465 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3466 
   3467 int test (int i, double x);
   3468 struct s1 {int (*f) (int a);};
   3469 struct s2 {int (*f) (double a);};
   3470 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3471 int argc;
   3472 char **argv;
   3473 int
   3474 main ()
   3475 {
   3476 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3477   ;
   3478   return 0;
   3479 }
   3480 _ACEOF
   3481 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3482 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3483 do
   3484   CC="$ac_save_CC $ac_arg"
   3485   if ac_fn_c_try_compile "$LINENO"; then :
   3486   ac_cv_prog_cc_c89=$ac_arg
   3487 fi
   3488 rm -f core conftest.err conftest.$ac_objext
   3489   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3490 done
   3491 rm -f conftest.$ac_ext
   3492 CC=$ac_save_CC
   3493 
   3494 fi
   3495 # AC_CACHE_VAL
   3496 case "x$ac_cv_prog_cc_c89" in
   3497   x)
   3498     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3499 $as_echo "none needed" >&6; } ;;
   3500   xno)
   3501     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3502 $as_echo "unsupported" >&6; } ;;
   3503   *)
   3504     CC="$CC $ac_cv_prog_cc_c89"
   3505     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3506 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3507 esac
   3508 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3509 
   3510 fi
   3511 
   3512 ac_ext=c
   3513 ac_cpp='$CPP $CPPFLAGS'
   3514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3517 
   3518 ac_ext=c
   3519 ac_cpp='$CPP $CPPFLAGS'
   3520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3524 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3525 if ${am_cv_prog_cc_c_o+:} false; then :
   3526   $as_echo_n "(cached) " >&6
   3527 else
   3528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3529 /* end confdefs.h.  */
   3530 
   3531 int
   3532 main ()
   3533 {
   3534 
   3535   ;
   3536   return 0;
   3537 }
   3538 _ACEOF
   3539   # Make sure it works both with $CC and with simple cc.
   3540   # Following AC_PROG_CC_C_O, we do the test twice because some
   3541   # compilers refuse to overwrite an existing .o file with -o,
   3542   # though they will create one.
   3543   am_cv_prog_cc_c_o=yes
   3544   for am_i in 1 2; do
   3545     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3546    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3547    ac_status=$?
   3548    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3549    (exit $ac_status); } \
   3550          && test -f conftest2.$ac_objext; then
   3551       : OK
   3552     else
   3553       am_cv_prog_cc_c_o=no
   3554       break
   3555     fi
   3556   done
   3557   rm -f core conftest*
   3558   unset am_i
   3559 fi
   3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3561 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3562 if test "$am_cv_prog_cc_c_o" != yes; then
   3563    # Losing compiler, so override with the script.
   3564    # FIXME: It is wrong to rewrite CC.
   3565    # But if we don't then we get into trouble of one sort or another.
   3566    # A longer-term fix would be to have automake use am__CC in this case,
   3567    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3568    CC="$am_aux_dir/compile $CC"
   3569 fi
   3570 ac_ext=c
   3571 ac_cpp='$CPP $CPPFLAGS'
   3572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3575 
   3576 
   3577 
   3578 ac_ext=c
   3579 ac_cpp='$CPP $CPPFLAGS'
   3580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3584 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3585 # On Suns, sometimes $CPP names a directory.
   3586 if test -n "$CPP" && test -d "$CPP"; then
   3587   CPP=
   3588 fi
   3589 if test -z "$CPP"; then
   3590   if ${ac_cv_prog_CPP+:} false; then :
   3591   $as_echo_n "(cached) " >&6
   3592 else
   3593       # Double quotes because CPP needs to be expanded
   3594     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3595     do
   3596       ac_preproc_ok=false
   3597 for ac_c_preproc_warn_flag in '' yes
   3598 do
   3599   # Use a header file that comes with gcc, so configuring glibc
   3600   # with a fresh cross-compiler works.
   3601   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3602   # <limits.h> exists even on freestanding compilers.
   3603   # On the NeXT, cc -E runs the code through the compiler's parser,
   3604   # not just through cpp. "Syntax error" is here to catch this case.
   3605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3606 /* end confdefs.h.  */
   3607 #ifdef __STDC__
   3608 # include <limits.h>
   3609 #else
   3610 # include <assert.h>
   3611 #endif
   3612 		     Syntax error
   3613 _ACEOF
   3614 if ac_fn_c_try_cpp "$LINENO"; then :
   3615 
   3616 else
   3617   # Broken: fails on valid input.
   3618 continue
   3619 fi
   3620 rm -f conftest.err conftest.i conftest.$ac_ext
   3621 
   3622   # OK, works on sane cases.  Now check whether nonexistent headers
   3623   # can be detected and how.
   3624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3625 /* end confdefs.h.  */
   3626 #include <ac_nonexistent.h>
   3627 _ACEOF
   3628 if ac_fn_c_try_cpp "$LINENO"; then :
   3629   # Broken: success on invalid input.
   3630 continue
   3631 else
   3632   # Passes both tests.
   3633 ac_preproc_ok=:
   3634 break
   3635 fi
   3636 rm -f conftest.err conftest.i conftest.$ac_ext
   3637 
   3638 done
   3639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3640 rm -f conftest.i conftest.err conftest.$ac_ext
   3641 if $ac_preproc_ok; then :
   3642   break
   3643 fi
   3644 
   3645     done
   3646     ac_cv_prog_CPP=$CPP
   3647 
   3648 fi
   3649   CPP=$ac_cv_prog_CPP
   3650 else
   3651   ac_cv_prog_CPP=$CPP
   3652 fi
   3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3654 $as_echo "$CPP" >&6; }
   3655 ac_preproc_ok=false
   3656 for ac_c_preproc_warn_flag in '' yes
   3657 do
   3658   # Use a header file that comes with gcc, so configuring glibc
   3659   # with a fresh cross-compiler works.
   3660   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3661   # <limits.h> exists even on freestanding compilers.
   3662   # On the NeXT, cc -E runs the code through the compiler's parser,
   3663   # not just through cpp. "Syntax error" is here to catch this case.
   3664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3665 /* end confdefs.h.  */
   3666 #ifdef __STDC__
   3667 # include <limits.h>
   3668 #else
   3669 # include <assert.h>
   3670 #endif
   3671 		     Syntax error
   3672 _ACEOF
   3673 if ac_fn_c_try_cpp "$LINENO"; then :
   3674 
   3675 else
   3676   # Broken: fails on valid input.
   3677 continue
   3678 fi
   3679 rm -f conftest.err conftest.i conftest.$ac_ext
   3680 
   3681   # OK, works on sane cases.  Now check whether nonexistent headers
   3682   # can be detected and how.
   3683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3684 /* end confdefs.h.  */
   3685 #include <ac_nonexistent.h>
   3686 _ACEOF
   3687 if ac_fn_c_try_cpp "$LINENO"; then :
   3688   # Broken: success on invalid input.
   3689 continue
   3690 else
   3691   # Passes both tests.
   3692 ac_preproc_ok=:
   3693 break
   3694 fi
   3695 rm -f conftest.err conftest.i conftest.$ac_ext
   3696 
   3697 done
   3698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3699 rm -f conftest.i conftest.err conftest.$ac_ext
   3700 if $ac_preproc_ok; then :
   3701 
   3702 else
   3703   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3705 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3706 See \`config.log' for more details" "$LINENO" 5; }
   3707 fi
   3708 
   3709 ac_ext=c
   3710 ac_cpp='$CPP $CPPFLAGS'
   3711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3714 
   3715 
   3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3717 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3718 if ${ac_cv_path_GREP+:} false; then :
   3719   $as_echo_n "(cached) " >&6
   3720 else
   3721   if test -z "$GREP"; then
   3722   ac_path_GREP_found=false
   3723   # Loop through the user's path and test for each of PROGNAME-LIST
   3724   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3725 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3726 do
   3727   IFS=$as_save_IFS
   3728   test -z "$as_dir" && as_dir=.
   3729     for ac_prog in grep ggrep; do
   3730     for ac_exec_ext in '' $ac_executable_extensions; do
   3731       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3732       as_fn_executable_p "$ac_path_GREP" || continue
   3733 # Check for GNU ac_path_GREP and select it if it is found.
   3734   # Check for GNU $ac_path_GREP
   3735 case `"$ac_path_GREP" --version 2>&1` in
   3736 *GNU*)
   3737   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3738 *)
   3739   ac_count=0
   3740   $as_echo_n 0123456789 >"conftest.in"
   3741   while :
   3742   do
   3743     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3744     mv "conftest.tmp" "conftest.in"
   3745     cp "conftest.in" "conftest.nl"
   3746     $as_echo 'GREP' >> "conftest.nl"
   3747     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3748     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3749     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3750     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3751       # Best one so far, save it but keep looking for a better one
   3752       ac_cv_path_GREP="$ac_path_GREP"
   3753       ac_path_GREP_max=$ac_count
   3754     fi
   3755     # 10*(2^10) chars as input seems more than enough
   3756     test $ac_count -gt 10 && break
   3757   done
   3758   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3759 esac
   3760 
   3761       $ac_path_GREP_found && break 3
   3762     done
   3763   done
   3764   done
   3765 IFS=$as_save_IFS
   3766   if test -z "$ac_cv_path_GREP"; then
   3767     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3768   fi
   3769 else
   3770   ac_cv_path_GREP=$GREP
   3771 fi
   3772 
   3773 fi
   3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3775 $as_echo "$ac_cv_path_GREP" >&6; }
   3776  GREP="$ac_cv_path_GREP"
   3777 
   3778 
   3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3780 $as_echo_n "checking for egrep... " >&6; }
   3781 if ${ac_cv_path_EGREP+:} false; then :
   3782   $as_echo_n "(cached) " >&6
   3783 else
   3784   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3785    then ac_cv_path_EGREP="$GREP -E"
   3786    else
   3787      if test -z "$EGREP"; then
   3788   ac_path_EGREP_found=false
   3789   # Loop through the user's path and test for each of PROGNAME-LIST
   3790   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3791 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3792 do
   3793   IFS=$as_save_IFS
   3794   test -z "$as_dir" && as_dir=.
   3795     for ac_prog in egrep; do
   3796     for ac_exec_ext in '' $ac_executable_extensions; do
   3797       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3798       as_fn_executable_p "$ac_path_EGREP" || continue
   3799 # Check for GNU ac_path_EGREP and select it if it is found.
   3800   # Check for GNU $ac_path_EGREP
   3801 case `"$ac_path_EGREP" --version 2>&1` in
   3802 *GNU*)
   3803   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3804 *)
   3805   ac_count=0
   3806   $as_echo_n 0123456789 >"conftest.in"
   3807   while :
   3808   do
   3809     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3810     mv "conftest.tmp" "conftest.in"
   3811     cp "conftest.in" "conftest.nl"
   3812     $as_echo 'EGREP' >> "conftest.nl"
   3813     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3814     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3815     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3816     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3817       # Best one so far, save it but keep looking for a better one
   3818       ac_cv_path_EGREP="$ac_path_EGREP"
   3819       ac_path_EGREP_max=$ac_count
   3820     fi
   3821     # 10*(2^10) chars as input seems more than enough
   3822     test $ac_count -gt 10 && break
   3823   done
   3824   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3825 esac
   3826 
   3827       $ac_path_EGREP_found && break 3
   3828     done
   3829   done
   3830   done
   3831 IFS=$as_save_IFS
   3832   if test -z "$ac_cv_path_EGREP"; then
   3833     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3834   fi
   3835 else
   3836   ac_cv_path_EGREP=$EGREP
   3837 fi
   3838 
   3839    fi
   3840 fi
   3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3842 $as_echo "$ac_cv_path_EGREP" >&6; }
   3843  EGREP="$ac_cv_path_EGREP"
   3844 
   3845 
   3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3847 $as_echo_n "checking for ANSI C header files... " >&6; }
   3848 if ${ac_cv_header_stdc+:} false; then :
   3849   $as_echo_n "(cached) " >&6
   3850 else
   3851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3852 /* end confdefs.h.  */
   3853 #include <stdlib.h>
   3854 #include <stdarg.h>
   3855 #include <string.h>
   3856 #include <float.h>
   3857 
   3858 int
   3859 main ()
   3860 {
   3861 
   3862   ;
   3863   return 0;
   3864 }
   3865 _ACEOF
   3866 if ac_fn_c_try_compile "$LINENO"; then :
   3867   ac_cv_header_stdc=yes
   3868 else
   3869   ac_cv_header_stdc=no
   3870 fi
   3871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3872 
   3873 if test $ac_cv_header_stdc = yes; then
   3874   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3876 /* end confdefs.h.  */
   3877 #include <string.h>
   3878 
   3879 _ACEOF
   3880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3881   $EGREP "memchr" >/dev/null 2>&1; then :
   3882 
   3883 else
   3884   ac_cv_header_stdc=no
   3885 fi
   3886 rm -f conftest*
   3887 
   3888 fi
   3889 
   3890 if test $ac_cv_header_stdc = yes; then
   3891   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3893 /* end confdefs.h.  */
   3894 #include <stdlib.h>
   3895 
   3896 _ACEOF
   3897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3898   $EGREP "free" >/dev/null 2>&1; then :
   3899 
   3900 else
   3901   ac_cv_header_stdc=no
   3902 fi
   3903 rm -f conftest*
   3904 
   3905 fi
   3906 
   3907 if test $ac_cv_header_stdc = yes; then
   3908   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3909   if test "$cross_compiling" = yes; then :
   3910   :
   3911 else
   3912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3913 /* end confdefs.h.  */
   3914 #include <ctype.h>
   3915 #include <stdlib.h>
   3916 #if ((' ' & 0x0FF) == 0x020)
   3917 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3918 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3919 #else
   3920 # define ISLOWER(c) \
   3921 		   (('a' <= (c) && (c) <= 'i') \
   3922 		     || ('j' <= (c) && (c) <= 'r') \
   3923 		     || ('s' <= (c) && (c) <= 'z'))
   3924 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3925 #endif
   3926 
   3927 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3928 int
   3929 main ()
   3930 {
   3931   int i;
   3932   for (i = 0; i < 256; i++)
   3933     if (XOR (islower (i), ISLOWER (i))
   3934 	|| toupper (i) != TOUPPER (i))
   3935       return 2;
   3936   return 0;
   3937 }
   3938 _ACEOF
   3939 if ac_fn_c_try_run "$LINENO"; then :
   3940 
   3941 else
   3942   ac_cv_header_stdc=no
   3943 fi
   3944 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3945   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3946 fi
   3947 
   3948 fi
   3949 fi
   3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3951 $as_echo "$ac_cv_header_stdc" >&6; }
   3952 if test $ac_cv_header_stdc = yes; then
   3953 
   3954 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3955 
   3956 fi
   3957 
   3958 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3959 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3960 		  inttypes.h stdint.h unistd.h
   3961 do :
   3962   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3963 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3964 "
   3965 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3966   cat >>confdefs.h <<_ACEOF
   3967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3968 _ACEOF
   3969 
   3970 fi
   3971 
   3972 done
   3973 
   3974 
   3975 
   3976   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3977 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3978   MINIX=yes
   3979 else
   3980   MINIX=
   3981 fi
   3982 
   3983 
   3984   if test "$MINIX" = yes; then
   3985 
   3986 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3987 
   3988 
   3989 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3990 
   3991 
   3992 $as_echo "#define _MINIX 1" >>confdefs.h
   3993 
   3994   fi
   3995 
   3996 
   3997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3998 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3999 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4000   $as_echo_n "(cached) " >&6
   4001 else
   4002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4003 /* end confdefs.h.  */
   4004 
   4005 #         define __EXTENSIONS__ 1
   4006           $ac_includes_default
   4007 int
   4008 main ()
   4009 {
   4010 
   4011   ;
   4012   return 0;
   4013 }
   4014 _ACEOF
   4015 if ac_fn_c_try_compile "$LINENO"; then :
   4016   ac_cv_safe_to_define___extensions__=yes
   4017 else
   4018   ac_cv_safe_to_define___extensions__=no
   4019 fi
   4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4021 fi
   4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4023 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4024   test $ac_cv_safe_to_define___extensions__ = yes &&
   4025     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4026 
   4027   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4028 
   4029   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4030 
   4031   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4032 
   4033   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4034 
   4035 
   4036 
   4037 # Initialize Automake
   4038 am__api_version='1.14'
   4039 
   4040 # Find a good install program.  We prefer a C program (faster),
   4041 # so one script is as good as another.  But avoid the broken or
   4042 # incompatible versions:
   4043 # SysV /etc/install, /usr/sbin/install
   4044 # SunOS /usr/etc/install
   4045 # IRIX /sbin/install
   4046 # AIX /bin/install
   4047 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4048 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4049 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4050 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4051 # OS/2's system install, which has a completely different semantic
   4052 # ./install, which can be erroneously created by make from ./install.sh.
   4053 # Reject install programs that cannot install multiple files.
   4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4055 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   4056 if test -z "$INSTALL"; then
   4057 if ${ac_cv_path_install+:} false; then :
   4058   $as_echo_n "(cached) " >&6
   4059 else
   4060   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4061 for as_dir in $PATH
   4062 do
   4063   IFS=$as_save_IFS
   4064   test -z "$as_dir" && as_dir=.
   4065     # Account for people who put trailing slashes in PATH elements.
   4066 case $as_dir/ in #((
   4067   ./ | .// | /[cC]/* | \
   4068   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4069   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4070   /usr/ucb/* ) ;;
   4071   *)
   4072     # OSF1 and SCO ODT 3.0 have their own names for install.
   4073     # Don't use installbsd from OSF since it installs stuff as root
   4074     # by default.
   4075     for ac_prog in ginstall scoinst install; do
   4076       for ac_exec_ext in '' $ac_executable_extensions; do
   4077 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   4078 	  if test $ac_prog = install &&
   4079 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4080 	    # AIX install.  It has an incompatible calling convention.
   4081 	    :
   4082 	  elif test $ac_prog = install &&
   4083 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4084 	    # program-specific install script used by HP pwplus--don't use.
   4085 	    :
   4086 	  else
   4087 	    rm -rf conftest.one conftest.two conftest.dir
   4088 	    echo one > conftest.one
   4089 	    echo two > conftest.two
   4090 	    mkdir conftest.dir
   4091 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   4092 	      test -s conftest.one && test -s conftest.two &&
   4093 	      test -s conftest.dir/conftest.one &&
   4094 	      test -s conftest.dir/conftest.two
   4095 	    then
   4096 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4097 	      break 3
   4098 	    fi
   4099 	  fi
   4100 	fi
   4101       done
   4102     done
   4103     ;;
   4104 esac
   4105 
   4106   done
   4107 IFS=$as_save_IFS
   4108 
   4109 rm -rf conftest.one conftest.two conftest.dir
   4110 
   4111 fi
   4112   if test "${ac_cv_path_install+set}" = set; then
   4113     INSTALL=$ac_cv_path_install
   4114   else
   4115     # As a last resort, use the slow shell script.  Don't cache a
   4116     # value for INSTALL within a source directory, because that will
   4117     # break other packages using the cache if that directory is
   4118     # removed, or if the value is a relative name.
   4119     INSTALL=$ac_install_sh
   4120   fi
   4121 fi
   4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4123 $as_echo "$INSTALL" >&6; }
   4124 
   4125 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4126 # It thinks the first close brace ends the variable substitution.
   4127 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4128 
   4129 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4130 
   4131 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4132 
   4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4134 $as_echo_n "checking whether build environment is sane... " >&6; }
   4135 # Reject unsafe characters in $srcdir or the absolute working directory
   4136 # name.  Accept space and tab only in the latter.
   4137 am_lf='
   4138 '
   4139 case `pwd` in
   4140   *[\\\"\#\$\&\'\`$am_lf]*)
   4141     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4142 esac
   4143 case $srcdir in
   4144   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4145     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4146 esac
   4147 
   4148 # Do 'set' in a subshell so we don't clobber the current shell's
   4149 # arguments.  Must try -L first in case configure is actually a
   4150 # symlink; some systems play weird games with the mod time of symlinks
   4151 # (eg FreeBSD returns the mod time of the symlink's containing
   4152 # directory).
   4153 if (
   4154    am_has_slept=no
   4155    for am_try in 1 2; do
   4156      echo "timestamp, slept: $am_has_slept" > conftest.file
   4157      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4158      if test "$*" = "X"; then
   4159 	# -L didn't work.
   4160 	set X `ls -t "$srcdir/configure" conftest.file`
   4161      fi
   4162      if test "$*" != "X $srcdir/configure conftest.file" \
   4163 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4164 
   4165 	# If neither matched, then we have a broken ls.  This can happen
   4166 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4167 	# broken ls alias from the environment.  This has actually
   4168 	# happened.  Such a system could not be considered "sane".
   4169 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4170   alias in your environment" "$LINENO" 5
   4171      fi
   4172      if test "$2" = conftest.file || test $am_try -eq 2; then
   4173        break
   4174      fi
   4175      # Just in case.
   4176      sleep 1
   4177      am_has_slept=yes
   4178    done
   4179    test "$2" = conftest.file
   4180    )
   4181 then
   4182    # Ok.
   4183    :
   4184 else
   4185    as_fn_error $? "newly created file is older than distributed files!
   4186 Check your system clock" "$LINENO" 5
   4187 fi
   4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4189 $as_echo "yes" >&6; }
   4190 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4191 # generated files are strictly newer.
   4192 am_sleep_pid=
   4193 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4194   ( sleep 1 ) &
   4195   am_sleep_pid=$!
   4196 fi
   4197 
   4198 rm -f conftest.file
   4199 
   4200 test "$program_prefix" != NONE &&
   4201   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4202 # Use a double $ so make ignores it.
   4203 test "$program_suffix" != NONE &&
   4204   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4205 # Double any \ or $.
   4206 # By default was `s,x,x', remove it if useless.
   4207 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4208 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   4209 
   4210 if test x"${MISSING+set}" != xset; then
   4211   case $am_aux_dir in
   4212   *\ * | *\	*)
   4213     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   4214   *)
   4215     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   4216   esac
   4217 fi
   4218 # Use eval to expand $SHELL
   4219 if eval "$MISSING --is-lightweight"; then
   4220   am_missing_run="$MISSING "
   4221 else
   4222   am_missing_run=
   4223   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4224 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4225 fi
   4226 
   4227 if test x"${install_sh}" != xset; then
   4228   case $am_aux_dir in
   4229   *\ * | *\	*)
   4230     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4231   *)
   4232     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4233   esac
   4234 fi
   4235 
   4236 # Installed binaries are usually stripped using 'strip' when the user
   4237 # run "make install-strip".  However 'strip' might not be the right
   4238 # tool to use in cross-compilation environments, therefore Automake
   4239 # will honor the 'STRIP' environment variable to overrule this program.
   4240 if test "$cross_compiling" != no; then
   4241   if test -n "$ac_tool_prefix"; then
   4242   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4243 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4245 $as_echo_n "checking for $ac_word... " >&6; }
   4246 if ${ac_cv_prog_STRIP+:} false; then :
   4247   $as_echo_n "(cached) " >&6
   4248 else
   4249   if test -n "$STRIP"; then
   4250   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4251 else
   4252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4253 for as_dir in $PATH
   4254 do
   4255   IFS=$as_save_IFS
   4256   test -z "$as_dir" && as_dir=.
   4257     for ac_exec_ext in '' $ac_executable_extensions; do
   4258   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4259     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4260     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4261     break 2
   4262   fi
   4263 done
   4264   done
   4265 IFS=$as_save_IFS
   4266 
   4267 fi
   4268 fi
   4269 STRIP=$ac_cv_prog_STRIP
   4270 if test -n "$STRIP"; then
   4271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4272 $as_echo "$STRIP" >&6; }
   4273 else
   4274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4275 $as_echo "no" >&6; }
   4276 fi
   4277 
   4278 
   4279 fi
   4280 if test -z "$ac_cv_prog_STRIP"; then
   4281   ac_ct_STRIP=$STRIP
   4282   # Extract the first word of "strip", so it can be a program name with args.
   4283 set dummy strip; ac_word=$2
   4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4285 $as_echo_n "checking for $ac_word... " >&6; }
   4286 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   4287   $as_echo_n "(cached) " >&6
   4288 else
   4289   if test -n "$ac_ct_STRIP"; then
   4290   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4291 else
   4292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4293 for as_dir in $PATH
   4294 do
   4295   IFS=$as_save_IFS
   4296   test -z "$as_dir" && as_dir=.
   4297     for ac_exec_ext in '' $ac_executable_extensions; do
   4298   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4299     ac_cv_prog_ac_ct_STRIP="strip"
   4300     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4301     break 2
   4302   fi
   4303 done
   4304   done
   4305 IFS=$as_save_IFS
   4306 
   4307 fi
   4308 fi
   4309 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4310 if test -n "$ac_ct_STRIP"; then
   4311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4312 $as_echo "$ac_ct_STRIP" >&6; }
   4313 else
   4314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4315 $as_echo "no" >&6; }
   4316 fi
   4317 
   4318   if test "x$ac_ct_STRIP" = x; then
   4319     STRIP=":"
   4320   else
   4321     case $cross_compiling:$ac_tool_warned in
   4322 yes:)
   4323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4325 ac_tool_warned=yes ;;
   4326 esac
   4327     STRIP=$ac_ct_STRIP
   4328   fi
   4329 else
   4330   STRIP="$ac_cv_prog_STRIP"
   4331 fi
   4332 
   4333 fi
   4334 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4335 
   4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4337 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4338 if test -z "$MKDIR_P"; then
   4339   if ${ac_cv_path_mkdir+:} false; then :
   4340   $as_echo_n "(cached) " >&6
   4341 else
   4342   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4343 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4344 do
   4345   IFS=$as_save_IFS
   4346   test -z "$as_dir" && as_dir=.
   4347     for ac_prog in mkdir gmkdir; do
   4348 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4349 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   4350 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4351 	     'mkdir (GNU coreutils) '* | \
   4352 	     'mkdir (coreutils) '* | \
   4353 	     'mkdir (fileutils) '4.1*)
   4354 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4355 	       break 3;;
   4356 	   esac
   4357 	 done
   4358        done
   4359   done
   4360 IFS=$as_save_IFS
   4361 
   4362 fi
   4363 
   4364   test -d ./--version && rmdir ./--version
   4365   if test "${ac_cv_path_mkdir+set}" = set; then
   4366     MKDIR_P="$ac_cv_path_mkdir -p"
   4367   else
   4368     # As a last resort, use the slow shell script.  Don't cache a
   4369     # value for MKDIR_P within a source directory, because that will
   4370     # break other packages using the cache if that directory is
   4371     # removed, or if the value is a relative name.
   4372     MKDIR_P="$ac_install_sh -d"
   4373   fi
   4374 fi
   4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4376 $as_echo "$MKDIR_P" >&6; }
   4377 
   4378 for ac_prog in gawk mawk nawk awk
   4379 do
   4380   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4381 set dummy $ac_prog; ac_word=$2
   4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4383 $as_echo_n "checking for $ac_word... " >&6; }
   4384 if ${ac_cv_prog_AWK+:} false; then :
   4385   $as_echo_n "(cached) " >&6
   4386 else
   4387   if test -n "$AWK"; then
   4388   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4389 else
   4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4391 for as_dir in $PATH
   4392 do
   4393   IFS=$as_save_IFS
   4394   test -z "$as_dir" && as_dir=.
   4395     for ac_exec_ext in '' $ac_executable_extensions; do
   4396   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4397     ac_cv_prog_AWK="$ac_prog"
   4398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4399     break 2
   4400   fi
   4401 done
   4402   done
   4403 IFS=$as_save_IFS
   4404 
   4405 fi
   4406 fi
   4407 AWK=$ac_cv_prog_AWK
   4408 if test -n "$AWK"; then
   4409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4410 $as_echo "$AWK" >&6; }
   4411 else
   4412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4413 $as_echo "no" >&6; }
   4414 fi
   4415 
   4416 
   4417   test -n "$AWK" && break
   4418 done
   4419 
   4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4421 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4422 set x ${MAKE-make}
   4423 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4424 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4425   $as_echo_n "(cached) " >&6
   4426 else
   4427   cat >conftest.make <<\_ACEOF
   4428 SHELL = /bin/sh
   4429 all:
   4430 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4431 _ACEOF
   4432 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4433 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4434   *@@@%%%=?*=@@@%%%*)
   4435     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4436   *)
   4437     eval ac_cv_prog_make_${ac_make}_set=no;;
   4438 esac
   4439 rm -f conftest.make
   4440 fi
   4441 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4443 $as_echo "yes" >&6; }
   4444   SET_MAKE=
   4445 else
   4446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4447 $as_echo "no" >&6; }
   4448   SET_MAKE="MAKE=${MAKE-make}"
   4449 fi
   4450 
   4451 rm -rf .tst 2>/dev/null
   4452 mkdir .tst 2>/dev/null
   4453 if test -d .tst; then
   4454   am__leading_dot=.
   4455 else
   4456   am__leading_dot=_
   4457 fi
   4458 rmdir .tst 2>/dev/null
   4459 
   4460 DEPDIR="${am__leading_dot}deps"
   4461 
   4462 ac_config_commands="$ac_config_commands depfiles"
   4463 
   4464 
   4465 am_make=${MAKE-make}
   4466 cat > confinc << 'END'
   4467 am__doit:
   4468 	@echo this is the am__doit target
   4469 .PHONY: am__doit
   4470 END
   4471 # If we don't find an include directive, just comment out the code.
   4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4473 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4474 am__include="#"
   4475 am__quote=
   4476 _am_result=none
   4477 # First try GNU make style include.
   4478 echo "include confinc" > confmf
   4479 # Ignore all kinds of additional output from 'make'.
   4480 case `$am_make -s -f confmf 2> /dev/null` in #(
   4481 *the\ am__doit\ target*)
   4482   am__include=include
   4483   am__quote=
   4484   _am_result=GNU
   4485   ;;
   4486 esac
   4487 # Now try BSD make style include.
   4488 if test "$am__include" = "#"; then
   4489    echo '.include "confinc"' > confmf
   4490    case `$am_make -s -f confmf 2> /dev/null` in #(
   4491    *the\ am__doit\ target*)
   4492      am__include=.include
   4493      am__quote="\""
   4494      _am_result=BSD
   4495      ;;
   4496    esac
   4497 fi
   4498 
   4499 
   4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4501 $as_echo "$_am_result" >&6; }
   4502 rm -f confinc confmf
   4503 
   4504 # Check whether --enable-dependency-tracking was given.
   4505 if test "${enable_dependency_tracking+set}" = set; then :
   4506   enableval=$enable_dependency_tracking;
   4507 fi
   4508 
   4509 if test "x$enable_dependency_tracking" != xno; then
   4510   am_depcomp="$ac_aux_dir/depcomp"
   4511   AMDEPBACKSLASH='\'
   4512   am__nodep='_no'
   4513 fi
   4514  if test "x$enable_dependency_tracking" != xno; then
   4515   AMDEP_TRUE=
   4516   AMDEP_FALSE='#'
   4517 else
   4518   AMDEP_TRUE='#'
   4519   AMDEP_FALSE=
   4520 fi
   4521 
   4522 
   4523 # Check whether --enable-silent-rules was given.
   4524 if test "${enable_silent_rules+set}" = set; then :
   4525   enableval=$enable_silent_rules;
   4526 fi
   4527 
   4528 case $enable_silent_rules in # (((
   4529   yes) AM_DEFAULT_VERBOSITY=0;;
   4530    no) AM_DEFAULT_VERBOSITY=1;;
   4531     *) AM_DEFAULT_VERBOSITY=1;;
   4532 esac
   4533 am_make=${MAKE-make}
   4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4535 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4536 if ${am_cv_make_support_nested_variables+:} false; then :
   4537   $as_echo_n "(cached) " >&6
   4538 else
   4539   if $as_echo 'TRUE=$(BAR$(V))
   4540 BAR0=false
   4541 BAR1=true
   4542 V=1
   4543 am__doit:
   4544 	@$(TRUE)
   4545 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4546   am_cv_make_support_nested_variables=yes
   4547 else
   4548   am_cv_make_support_nested_variables=no
   4549 fi
   4550 fi
   4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4552 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4553 if test $am_cv_make_support_nested_variables = yes; then
   4554     AM_V='$(V)'
   4555   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4556 else
   4557   AM_V=$AM_DEFAULT_VERBOSITY
   4558   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4559 fi
   4560 AM_BACKSLASH='\'
   4561 
   4562 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4563   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4564   # is not polluted with repeated "-I."
   4565   am__isrc=' -I$(srcdir)'
   4566   # test to see if srcdir already configured
   4567   if test -f $srcdir/config.status; then
   4568     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4569   fi
   4570 fi
   4571 
   4572 # test whether we have cygpath
   4573 if test -z "$CYGPATH_W"; then
   4574   if (cygpath --version) >/dev/null 2>/dev/null; then
   4575     CYGPATH_W='cygpath -w'
   4576   else
   4577     CYGPATH_W=echo
   4578   fi
   4579 fi
   4580 
   4581 
   4582 # Define the identity of the package.
   4583  PACKAGE='libX11'
   4584  VERSION='1.6.4'
   4585 
   4586 
   4587 cat >>confdefs.h <<_ACEOF
   4588 #define PACKAGE "$PACKAGE"
   4589 _ACEOF
   4590 
   4591 
   4592 cat >>confdefs.h <<_ACEOF
   4593 #define VERSION "$VERSION"
   4594 _ACEOF
   4595 
   4596 # Some tools Automake needs.
   4597 
   4598 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4599 
   4600 
   4601 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4602 
   4603 
   4604 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4605 
   4606 
   4607 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4608 
   4609 
   4610 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4611 
   4612 # For better backward compatibility.  To be removed once Automake 1.9.x
   4613 # dies out for good.  For more background, see:
   4614 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4615 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4616 mkdir_p='$(MKDIR_P)'
   4617 
   4618 # We need awk for the "check" target.  The system "awk" is bad on
   4619 # some platforms.
   4620 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4621 # in the wild :-(  We should find a proper way to deprecate it ...
   4622 AMTAR='$${TAR-tar}'
   4623 
   4624 
   4625 # We'll loop over all known methods to create a tar archive until one works.
   4626 _am_tools='gnutar  pax cpio none'
   4627 
   4628 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4629 
   4630 
   4631 
   4632 
   4633 
   4634 depcc="$CC"   am_compiler_list=
   4635 
   4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4637 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4638 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4639   $as_echo_n "(cached) " >&6
   4640 else
   4641   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4642   # We make a subdir and do the tests there.  Otherwise we can end up
   4643   # making bogus files that we don't know about and never remove.  For
   4644   # instance it was reported that on HP-UX the gcc test will end up
   4645   # making a dummy file named 'D' -- because '-MD' means "put the output
   4646   # in D".
   4647   rm -rf conftest.dir
   4648   mkdir conftest.dir
   4649   # Copy depcomp to subdir because otherwise we won't find it if we're
   4650   # using a relative directory.
   4651   cp "$am_depcomp" conftest.dir
   4652   cd conftest.dir
   4653   # We will build objects and dependencies in a subdirectory because
   4654   # it helps to detect inapplicable dependency modes.  For instance
   4655   # both Tru64's cc and ICC support -MD to output dependencies as a
   4656   # side effect of compilation, but ICC will put the dependencies in
   4657   # the current directory while Tru64 will put them in the object
   4658   # directory.
   4659   mkdir sub
   4660 
   4661   am_cv_CC_dependencies_compiler_type=none
   4662   if test "$am_compiler_list" = ""; then
   4663      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4664   fi
   4665   am__universal=false
   4666   case " $depcc " in #(
   4667      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4668      esac
   4669 
   4670   for depmode in $am_compiler_list; do
   4671     # Setup a source with many dependencies, because some compilers
   4672     # like to wrap large dependency lists on column 80 (with \), and
   4673     # we should not choose a depcomp mode which is confused by this.
   4674     #
   4675     # We need to recreate these files for each test, as the compiler may
   4676     # overwrite some of them when testing with obscure command lines.
   4677     # This happens at least with the AIX C compiler.
   4678     : > sub/conftest.c
   4679     for i in 1 2 3 4 5 6; do
   4680       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4681       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4682       # Solaris 10 /bin/sh.
   4683       echo '/* dummy */' > sub/conftst$i.h
   4684     done
   4685     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4686 
   4687     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4688     # mode.  It turns out that the SunPro C++ compiler does not properly
   4689     # handle '-M -o', and we need to detect this.  Also, some Intel
   4690     # versions had trouble with output in subdirs.
   4691     am__obj=sub/conftest.${OBJEXT-o}
   4692     am__minus_obj="-o $am__obj"
   4693     case $depmode in
   4694     gcc)
   4695       # This depmode causes a compiler race in universal mode.
   4696       test "$am__universal" = false || continue
   4697       ;;
   4698     nosideeffect)
   4699       # After this tag, mechanisms are not by side-effect, so they'll
   4700       # only be used when explicitly requested.
   4701       if test "x$enable_dependency_tracking" = xyes; then
   4702 	continue
   4703       else
   4704 	break
   4705       fi
   4706       ;;
   4707     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4708       # This compiler won't grok '-c -o', but also, the minuso test has
   4709       # not run yet.  These depmodes are late enough in the game, and
   4710       # so weak that their functioning should not be impacted.
   4711       am__obj=conftest.${OBJEXT-o}
   4712       am__minus_obj=
   4713       ;;
   4714     none) break ;;
   4715     esac
   4716     if depmode=$depmode \
   4717        source=sub/conftest.c object=$am__obj \
   4718        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4719        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4720          >/dev/null 2>conftest.err &&
   4721        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4722        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4723        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4724        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4725       # icc doesn't choke on unknown options, it will just issue warnings
   4726       # or remarks (even with -Werror).  So we grep stderr for any message
   4727       # that says an option was ignored or not supported.
   4728       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4729       #   icc: Command line warning: ignoring option '-M'; no argument required
   4730       # The diagnosis changed in icc 8.0:
   4731       #   icc: Command line remark: option '-MP' not supported
   4732       if (grep 'ignoring option' conftest.err ||
   4733           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4734         am_cv_CC_dependencies_compiler_type=$depmode
   4735         break
   4736       fi
   4737     fi
   4738   done
   4739 
   4740   cd ..
   4741   rm -rf conftest.dir
   4742 else
   4743   am_cv_CC_dependencies_compiler_type=none
   4744 fi
   4745 
   4746 fi
   4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4748 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4749 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4750 
   4751  if
   4752   test "x$enable_dependency_tracking" != xno \
   4753   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4754   am__fastdepCC_TRUE=
   4755   am__fastdepCC_FALSE='#'
   4756 else
   4757   am__fastdepCC_TRUE='#'
   4758   am__fastdepCC_FALSE=
   4759 fi
   4760 
   4761 
   4762 
   4763 # POSIX will say in a future version that running "rm -f" with no argument
   4764 # is OK; and we want to be able to make that assumption in our Makefile
   4765 # recipes.  So use an aggressive probe to check that the usage we want is
   4766 # actually supported "in the wild" to an acceptable degree.
   4767 # See automake bug#10828.
   4768 # To make any issue more visible, cause the running configure to be aborted
   4769 # by default if the 'rm' program in use doesn't match our expectations; the
   4770 # user can still override this though.
   4771 if rm -f && rm -fr && rm -rf; then : OK; else
   4772   cat >&2 <<'END'
   4773 Oops!
   4774 
   4775 Your 'rm' program seems unable to run without file operands specified
   4776 on the command line, even when the '-f' option is present.  This is contrary
   4777 to the behaviour of most rm programs out there, and not conforming with
   4778 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4779 
   4780 Please tell bug-automake@gnu.org about your system, including the value
   4781 of your $PATH and any error possibly output before this message.  This
   4782 can help us improve future automake versions.
   4783 
   4784 END
   4785   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4786     echo 'Configuration will proceed anyway, since you have set the' >&2
   4787     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4788     echo >&2
   4789   else
   4790     cat >&2 <<'END'
   4791 Aborting the configuration process, to ensure you take notice of the issue.
   4792 
   4793 You can download and install GNU coreutils to get an 'rm' implementation
   4794 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4795 
   4796 If you want to complete the configuration process using your problematic
   4797 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4798 to "yes", and re-run configure.
   4799 
   4800 END
   4801     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4802   fi
   4803 fi
   4804 
   4805 # Initialize libtool
   4806 case `pwd` in
   4807   *\ * | *\	*)
   4808     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4809 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4810 esac
   4811 
   4812 
   4813 
   4814 macro_version='2.4.2'
   4815 macro_revision='1.3337'
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 ltmain="$ac_aux_dir/ltmain.sh"
   4830 
   4831 # Backslashify metacharacters that are still active within
   4832 # double-quoted strings.
   4833 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4834 
   4835 # Same as above, but do not quote variable references.
   4836 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4837 
   4838 # Sed substitution to delay expansion of an escaped shell variable in a
   4839 # double_quote_subst'ed string.
   4840 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4841 
   4842 # Sed substitution to delay expansion of an escaped single quote.
   4843 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4844 
   4845 # Sed substitution to avoid accidental globbing in evaled expressions
   4846 no_glob_subst='s/\*/\\\*/g'
   4847 
   4848 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4849 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4850 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4851 
   4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4853 $as_echo_n "checking how to print strings... " >&6; }
   4854 # Test print first, because it will be a builtin if present.
   4855 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4856    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4857   ECHO='print -r --'
   4858 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4859   ECHO='printf %s\n'
   4860 else
   4861   # Use this function as a fallback that always works.
   4862   func_fallback_echo ()
   4863   {
   4864     eval 'cat <<_LTECHO_EOF
   4865 $1
   4866 _LTECHO_EOF'
   4867   }
   4868   ECHO='func_fallback_echo'
   4869 fi
   4870 
   4871 # func_echo_all arg...
   4872 # Invoke $ECHO with all args, space-separated.
   4873 func_echo_all ()
   4874 {
   4875     $ECHO ""
   4876 }
   4877 
   4878 case "$ECHO" in
   4879   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4880 $as_echo "printf" >&6; } ;;
   4881   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4882 $as_echo "print -r" >&6; } ;;
   4883   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4884 $as_echo "cat" >&6; } ;;
   4885 esac
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4901 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4902 if ${ac_cv_path_SED+:} false; then :
   4903   $as_echo_n "(cached) " >&6
   4904 else
   4905             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4906      for ac_i in 1 2 3 4 5 6 7; do
   4907        ac_script="$ac_script$as_nl$ac_script"
   4908      done
   4909      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4910      { ac_script=; unset ac_script;}
   4911      if test -z "$SED"; then
   4912   ac_path_SED_found=false
   4913   # Loop through the user's path and test for each of PROGNAME-LIST
   4914   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4915 for as_dir in $PATH
   4916 do
   4917   IFS=$as_save_IFS
   4918   test -z "$as_dir" && as_dir=.
   4919     for ac_prog in sed gsed; do
   4920     for ac_exec_ext in '' $ac_executable_extensions; do
   4921       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4922       as_fn_executable_p "$ac_path_SED" || continue
   4923 # Check for GNU ac_path_SED and select it if it is found.
   4924   # Check for GNU $ac_path_SED
   4925 case `"$ac_path_SED" --version 2>&1` in
   4926 *GNU*)
   4927   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4928 *)
   4929   ac_count=0
   4930   $as_echo_n 0123456789 >"conftest.in"
   4931   while :
   4932   do
   4933     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4934     mv "conftest.tmp" "conftest.in"
   4935     cp "conftest.in" "conftest.nl"
   4936     $as_echo '' >> "conftest.nl"
   4937     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4938     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4939     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4940     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4941       # Best one so far, save it but keep looking for a better one
   4942       ac_cv_path_SED="$ac_path_SED"
   4943       ac_path_SED_max=$ac_count
   4944     fi
   4945     # 10*(2^10) chars as input seems more than enough
   4946     test $ac_count -gt 10 && break
   4947   done
   4948   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4949 esac
   4950 
   4951       $ac_path_SED_found && break 3
   4952     done
   4953   done
   4954   done
   4955 IFS=$as_save_IFS
   4956   if test -z "$ac_cv_path_SED"; then
   4957     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4958   fi
   4959 else
   4960   ac_cv_path_SED=$SED
   4961 fi
   4962 
   4963 fi
   4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4965 $as_echo "$ac_cv_path_SED" >&6; }
   4966  SED="$ac_cv_path_SED"
   4967   rm -f conftest.sed
   4968 
   4969 test -z "$SED" && SED=sed
   4970 Xsed="$SED -e 1s/^X//"
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4983 $as_echo_n "checking for fgrep... " >&6; }
   4984 if ${ac_cv_path_FGREP+:} false; then :
   4985   $as_echo_n "(cached) " >&6
   4986 else
   4987   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4988    then ac_cv_path_FGREP="$GREP -F"
   4989    else
   4990      if test -z "$FGREP"; then
   4991   ac_path_FGREP_found=false
   4992   # Loop through the user's path and test for each of PROGNAME-LIST
   4993   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4994 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4995 do
   4996   IFS=$as_save_IFS
   4997   test -z "$as_dir" && as_dir=.
   4998     for ac_prog in fgrep; do
   4999     for ac_exec_ext in '' $ac_executable_extensions; do
   5000       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5001       as_fn_executable_p "$ac_path_FGREP" || continue
   5002 # Check for GNU ac_path_FGREP and select it if it is found.
   5003   # Check for GNU $ac_path_FGREP
   5004 case `"$ac_path_FGREP" --version 2>&1` in
   5005 *GNU*)
   5006   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5007 *)
   5008   ac_count=0
   5009   $as_echo_n 0123456789 >"conftest.in"
   5010   while :
   5011   do
   5012     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5013     mv "conftest.tmp" "conftest.in"
   5014     cp "conftest.in" "conftest.nl"
   5015     $as_echo 'FGREP' >> "conftest.nl"
   5016     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5017     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5018     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5019     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5020       # Best one so far, save it but keep looking for a better one
   5021       ac_cv_path_FGREP="$ac_path_FGREP"
   5022       ac_path_FGREP_max=$ac_count
   5023     fi
   5024     # 10*(2^10) chars as input seems more than enough
   5025     test $ac_count -gt 10 && break
   5026   done
   5027   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5028 esac
   5029 
   5030       $ac_path_FGREP_found && break 3
   5031     done
   5032   done
   5033   done
   5034 IFS=$as_save_IFS
   5035   if test -z "$ac_cv_path_FGREP"; then
   5036     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5037   fi
   5038 else
   5039   ac_cv_path_FGREP=$FGREP
   5040 fi
   5041 
   5042    fi
   5043 fi
   5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5045 $as_echo "$ac_cv_path_FGREP" >&6; }
   5046  FGREP="$ac_cv_path_FGREP"
   5047 
   5048 
   5049 test -z "$GREP" && GREP=grep
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 # Check whether --with-gnu-ld was given.
   5070 if test "${with_gnu_ld+set}" = set; then :
   5071   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5072 else
   5073   with_gnu_ld=no
   5074 fi
   5075 
   5076 ac_prog=ld
   5077 if test "$GCC" = yes; then
   5078   # Check if gcc -print-prog-name=ld gives a path.
   5079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5080 $as_echo_n "checking for ld used by $CC... " >&6; }
   5081   case $host in
   5082   *-*-mingw*)
   5083     # gcc leaves a trailing carriage return which upsets mingw
   5084     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5085   *)
   5086     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5087   esac
   5088   case $ac_prog in
   5089     # Accept absolute paths.
   5090     [\\/]* | ?:[\\/]*)
   5091       re_direlt='/[^/][^/]*/\.\./'
   5092       # Canonicalize the pathname of ld
   5093       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5094       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5095 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5096       done
   5097       test -z "$LD" && LD="$ac_prog"
   5098       ;;
   5099   "")
   5100     # If it fails, then pretend we aren't using GCC.
   5101     ac_prog=ld
   5102     ;;
   5103   *)
   5104     # If it is relative, then search for the first ld in PATH.
   5105     with_gnu_ld=unknown
   5106     ;;
   5107   esac
   5108 elif test "$with_gnu_ld" = yes; then
   5109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5110 $as_echo_n "checking for GNU ld... " >&6; }
   5111 else
   5112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5113 $as_echo_n "checking for non-GNU ld... " >&6; }
   5114 fi
   5115 if ${lt_cv_path_LD+:} false; then :
   5116   $as_echo_n "(cached) " >&6
   5117 else
   5118   if test -z "$LD"; then
   5119   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5120   for ac_dir in $PATH; do
   5121     IFS="$lt_save_ifs"
   5122     test -z "$ac_dir" && ac_dir=.
   5123     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5124       lt_cv_path_LD="$ac_dir/$ac_prog"
   5125       # Check to see if the program is GNU ld.  I'd rather use --version,
   5126       # but apparently some variants of GNU ld only accept -v.
   5127       # Break only if it was the GNU/non-GNU ld that we prefer.
   5128       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5129       *GNU* | *'with BFD'*)
   5130 	test "$with_gnu_ld" != no && break
   5131 	;;
   5132       *)
   5133 	test "$with_gnu_ld" != yes && break
   5134 	;;
   5135       esac
   5136     fi
   5137   done
   5138   IFS="$lt_save_ifs"
   5139 else
   5140   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5141 fi
   5142 fi
   5143 
   5144 LD="$lt_cv_path_LD"
   5145 if test -n "$LD"; then
   5146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5147 $as_echo "$LD" >&6; }
   5148 else
   5149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5150 $as_echo "no" >&6; }
   5151 fi
   5152 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5154 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5155 if ${lt_cv_prog_gnu_ld+:} false; then :
   5156   $as_echo_n "(cached) " >&6
   5157 else
   5158   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5159 case `$LD -v 2>&1 </dev/null` in
   5160 *GNU* | *'with BFD'*)
   5161   lt_cv_prog_gnu_ld=yes
   5162   ;;
   5163 *)
   5164   lt_cv_prog_gnu_ld=no
   5165   ;;
   5166 esac
   5167 fi
   5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5169 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5170 with_gnu_ld=$lt_cv_prog_gnu_ld
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5181 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5182 if ${lt_cv_path_NM+:} false; then :
   5183   $as_echo_n "(cached) " >&6
   5184 else
   5185   if test -n "$NM"; then
   5186   # Let the user override the test.
   5187   lt_cv_path_NM="$NM"
   5188 else
   5189   lt_nm_to_check="${ac_tool_prefix}nm"
   5190   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5191     lt_nm_to_check="$lt_nm_to_check nm"
   5192   fi
   5193   for lt_tmp_nm in $lt_nm_to_check; do
   5194     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5195     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5196       IFS="$lt_save_ifs"
   5197       test -z "$ac_dir" && ac_dir=.
   5198       tmp_nm="$ac_dir/$lt_tmp_nm"
   5199       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5200 	# Check to see if the nm accepts a BSD-compat flag.
   5201 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5202 	#   nm: unknown option "B" ignored
   5203 	# Tru64's nm complains that /dev/null is an invalid object file
   5204 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5205 	*/dev/null* | *'Invalid file or object type'*)
   5206 	  lt_cv_path_NM="$tmp_nm -B"
   5207 	  break
   5208 	  ;;
   5209 	*)
   5210 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5211 	  */dev/null*)
   5212 	    lt_cv_path_NM="$tmp_nm -p"
   5213 	    break
   5214 	    ;;
   5215 	  *)
   5216 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5217 	    continue # so that we can try to find one that supports BSD flags
   5218 	    ;;
   5219 	  esac
   5220 	  ;;
   5221 	esac
   5222       fi
   5223     done
   5224     IFS="$lt_save_ifs"
   5225   done
   5226   : ${lt_cv_path_NM=no}
   5227 fi
   5228 fi
   5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5230 $as_echo "$lt_cv_path_NM" >&6; }
   5231 if test "$lt_cv_path_NM" != "no"; then
   5232   NM="$lt_cv_path_NM"
   5233 else
   5234   # Didn't find any BSD compatible name lister, look for dumpbin.
   5235   if test -n "$DUMPBIN"; then :
   5236     # Let the user override the test.
   5237   else
   5238     if test -n "$ac_tool_prefix"; then
   5239   for ac_prog in dumpbin "link -dump"
   5240   do
   5241     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5244 $as_echo_n "checking for $ac_word... " >&6; }
   5245 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5246   $as_echo_n "(cached) " >&6
   5247 else
   5248   if test -n "$DUMPBIN"; then
   5249   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5250 else
   5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5252 for as_dir in $PATH
   5253 do
   5254   IFS=$as_save_IFS
   5255   test -z "$as_dir" && as_dir=.
   5256     for ac_exec_ext in '' $ac_executable_extensions; do
   5257   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5258     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5260     break 2
   5261   fi
   5262 done
   5263   done
   5264 IFS=$as_save_IFS
   5265 
   5266 fi
   5267 fi
   5268 DUMPBIN=$ac_cv_prog_DUMPBIN
   5269 if test -n "$DUMPBIN"; then
   5270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5271 $as_echo "$DUMPBIN" >&6; }
   5272 else
   5273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5274 $as_echo "no" >&6; }
   5275 fi
   5276 
   5277 
   5278     test -n "$DUMPBIN" && break
   5279   done
   5280 fi
   5281 if test -z "$DUMPBIN"; then
   5282   ac_ct_DUMPBIN=$DUMPBIN
   5283   for ac_prog in dumpbin "link -dump"
   5284 do
   5285   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5286 set dummy $ac_prog; ac_word=$2
   5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5288 $as_echo_n "checking for $ac_word... " >&6; }
   5289 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5290   $as_echo_n "(cached) " >&6
   5291 else
   5292   if test -n "$ac_ct_DUMPBIN"; then
   5293   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5294 else
   5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5296 for as_dir in $PATH
   5297 do
   5298   IFS=$as_save_IFS
   5299   test -z "$as_dir" && as_dir=.
   5300     for ac_exec_ext in '' $ac_executable_extensions; do
   5301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5302     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5304     break 2
   5305   fi
   5306 done
   5307   done
   5308 IFS=$as_save_IFS
   5309 
   5310 fi
   5311 fi
   5312 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5313 if test -n "$ac_ct_DUMPBIN"; then
   5314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5315 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5316 else
   5317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5318 $as_echo "no" >&6; }
   5319 fi
   5320 
   5321 
   5322   test -n "$ac_ct_DUMPBIN" && break
   5323 done
   5324 
   5325   if test "x$ac_ct_DUMPBIN" = x; then
   5326     DUMPBIN=":"
   5327   else
   5328     case $cross_compiling:$ac_tool_warned in
   5329 yes:)
   5330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5332 ac_tool_warned=yes ;;
   5333 esac
   5334     DUMPBIN=$ac_ct_DUMPBIN
   5335   fi
   5336 fi
   5337 
   5338     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5339     *COFF*)
   5340       DUMPBIN="$DUMPBIN -symbols"
   5341       ;;
   5342     *)
   5343       DUMPBIN=:
   5344       ;;
   5345     esac
   5346   fi
   5347 
   5348   if test "$DUMPBIN" != ":"; then
   5349     NM="$DUMPBIN"
   5350   fi
   5351 fi
   5352 test -z "$NM" && NM=nm
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5360 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5361 if ${lt_cv_nm_interface+:} false; then :
   5362   $as_echo_n "(cached) " >&6
   5363 else
   5364   lt_cv_nm_interface="BSD nm"
   5365   echo "int some_variable = 0;" > conftest.$ac_ext
   5366   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5367   (eval "$ac_compile" 2>conftest.err)
   5368   cat conftest.err >&5
   5369   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5370   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5371   cat conftest.err >&5
   5372   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5373   cat conftest.out >&5
   5374   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5375     lt_cv_nm_interface="MS dumpbin"
   5376   fi
   5377   rm -f conftest*
   5378 fi
   5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5380 $as_echo "$lt_cv_nm_interface" >&6; }
   5381 
   5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5383 $as_echo_n "checking whether ln -s works... " >&6; }
   5384 LN_S=$as_ln_s
   5385 if test "$LN_S" = "ln -s"; then
   5386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5387 $as_echo "yes" >&6; }
   5388 else
   5389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5390 $as_echo "no, using $LN_S" >&6; }
   5391 fi
   5392 
   5393 # find the maximum length of command line arguments
   5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5395 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5396 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5397   $as_echo_n "(cached) " >&6
   5398 else
   5399     i=0
   5400   teststring="ABCD"
   5401 
   5402   case $build_os in
   5403   msdosdjgpp*)
   5404     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5405     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5406     # during glob expansion).  Even if it were fixed, the result of this
   5407     # check would be larger than it should be.
   5408     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5409     ;;
   5410 
   5411   gnu*)
   5412     # Under GNU Hurd, this test is not required because there is
   5413     # no limit to the length of command line arguments.
   5414     # Libtool will interpret -1 as no limit whatsoever
   5415     lt_cv_sys_max_cmd_len=-1;
   5416     ;;
   5417 
   5418   cygwin* | mingw* | cegcc*)
   5419     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5420     # about 5 minutes as the teststring grows exponentially.
   5421     # Worse, since 9x/ME are not pre-emptively multitasking,
   5422     # you end up with a "frozen" computer, even though with patience
   5423     # the test eventually succeeds (with a max line length of 256k).
   5424     # Instead, let's just punt: use the minimum linelength reported by
   5425     # all of the supported platforms: 8192 (on NT/2K/XP).
   5426     lt_cv_sys_max_cmd_len=8192;
   5427     ;;
   5428 
   5429   mint*)
   5430     # On MiNT this can take a long time and run out of memory.
   5431     lt_cv_sys_max_cmd_len=8192;
   5432     ;;
   5433 
   5434   amigaos*)
   5435     # On AmigaOS with pdksh, this test takes hours, literally.
   5436     # So we just punt and use a minimum line length of 8192.
   5437     lt_cv_sys_max_cmd_len=8192;
   5438     ;;
   5439 
   5440   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5441     # This has been around since 386BSD, at least.  Likely further.
   5442     if test -x /sbin/sysctl; then
   5443       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5444     elif test -x /usr/sbin/sysctl; then
   5445       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5446     else
   5447       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5448     fi
   5449     # And add a safety zone
   5450     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5451     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5452     ;;
   5453 
   5454   interix*)
   5455     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5456     lt_cv_sys_max_cmd_len=196608
   5457     ;;
   5458 
   5459   os2*)
   5460     # The test takes a long time on OS/2.
   5461     lt_cv_sys_max_cmd_len=8192
   5462     ;;
   5463 
   5464   osf*)
   5465     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5466     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5467     # nice to cause kernel panics so lets avoid the loop below.
   5468     # First set a reasonable default.
   5469     lt_cv_sys_max_cmd_len=16384
   5470     #
   5471     if test -x /sbin/sysconfig; then
   5472       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5473         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5474       esac
   5475     fi
   5476     ;;
   5477   sco3.2v5*)
   5478     lt_cv_sys_max_cmd_len=102400
   5479     ;;
   5480   sysv5* | sco5v6* | sysv4.2uw2*)
   5481     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5482     if test -n "$kargmax"; then
   5483       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5484     else
   5485       lt_cv_sys_max_cmd_len=32768
   5486     fi
   5487     ;;
   5488   *)
   5489     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5490     if test -n "$lt_cv_sys_max_cmd_len" && \
   5491 	test undefined != "$lt_cv_sys_max_cmd_len"; then
   5492       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5493       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5494     else
   5495       # Make teststring a little bigger before we do anything with it.
   5496       # a 1K string should be a reasonable start.
   5497       for i in 1 2 3 4 5 6 7 8 ; do
   5498         teststring=$teststring$teststring
   5499       done
   5500       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5501       # If test is not a shell built-in, we'll probably end up computing a
   5502       # maximum length that is only half of the actual maximum length, but
   5503       # we can't tell.
   5504       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   5505 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5506 	      test $i != 17 # 1/2 MB should be enough
   5507       do
   5508         i=`expr $i + 1`
   5509         teststring=$teststring$teststring
   5510       done
   5511       # Only check the string length outside the loop.
   5512       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5513       teststring=
   5514       # Add a significant safety factor because C++ compilers can tack on
   5515       # massive amounts of additional arguments before passing them to the
   5516       # linker.  It appears as though 1/2 is a usable value.
   5517       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5518     fi
   5519     ;;
   5520   esac
   5521 
   5522 fi
   5523 
   5524 if test -n $lt_cv_sys_max_cmd_len ; then
   5525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5526 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5527 else
   5528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5529 $as_echo "none" >&6; }
   5530 fi
   5531 max_cmd_len=$lt_cv_sys_max_cmd_len
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 : ${CP="cp -f"}
   5539 : ${MV="mv -f"}
   5540 : ${RM="rm -f"}
   5541 
   5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5543 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5544 # Try some XSI features
   5545 xsi_shell=no
   5546 ( _lt_dummy="a/b/c"
   5547   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5548       = c,a/b,b/c, \
   5549     && eval 'test $(( 1 + 1 )) -eq 2 \
   5550     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5551   && xsi_shell=yes
   5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5553 $as_echo "$xsi_shell" >&6; }
   5554 
   5555 
   5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5557 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5558 lt_shell_append=no
   5559 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5560     >/dev/null 2>&1 \
   5561   && lt_shell_append=yes
   5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5563 $as_echo "$lt_shell_append" >&6; }
   5564 
   5565 
   5566 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5567   lt_unset=unset
   5568 else
   5569   lt_unset=false
   5570 fi
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 # test EBCDIC or ASCII
   5577 case `echo X|tr X '\101'` in
   5578  A) # ASCII based system
   5579     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5580   lt_SP2NL='tr \040 \012'
   5581   lt_NL2SP='tr \015\012 \040\040'
   5582   ;;
   5583  *) # EBCDIC based system
   5584   lt_SP2NL='tr \100 \n'
   5585   lt_NL2SP='tr \r\n \100\100'
   5586   ;;
   5587 esac
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5598 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5599 if ${lt_cv_to_host_file_cmd+:} false; then :
   5600   $as_echo_n "(cached) " >&6
   5601 else
   5602   case $host in
   5603   *-*-mingw* )
   5604     case $build in
   5605       *-*-mingw* ) # actually msys
   5606         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5607         ;;
   5608       *-*-cygwin* )
   5609         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5610         ;;
   5611       * ) # otherwise, assume *nix
   5612         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5613         ;;
   5614     esac
   5615     ;;
   5616   *-*-cygwin* )
   5617     case $build in
   5618       *-*-mingw* ) # actually msys
   5619         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5620         ;;
   5621       *-*-cygwin* )
   5622         lt_cv_to_host_file_cmd=func_convert_file_noop
   5623         ;;
   5624       * ) # otherwise, assume *nix
   5625         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5626         ;;
   5627     esac
   5628     ;;
   5629   * ) # unhandled hosts (and "normal" native builds)
   5630     lt_cv_to_host_file_cmd=func_convert_file_noop
   5631     ;;
   5632 esac
   5633 
   5634 fi
   5635 
   5636 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5638 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5645 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5646 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5647   $as_echo_n "(cached) " >&6
   5648 else
   5649   #assume ordinary cross tools, or native build.
   5650 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5651 case $host in
   5652   *-*-mingw* )
   5653     case $build in
   5654       *-*-mingw* ) # actually msys
   5655         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5656         ;;
   5657     esac
   5658     ;;
   5659 esac
   5660 
   5661 fi
   5662 
   5663 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5665 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5672 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5673 if ${lt_cv_ld_reload_flag+:} false; then :
   5674   $as_echo_n "(cached) " >&6
   5675 else
   5676   lt_cv_ld_reload_flag='-r'
   5677 fi
   5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5679 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5680 reload_flag=$lt_cv_ld_reload_flag
   5681 case $reload_flag in
   5682 "" | " "*) ;;
   5683 *) reload_flag=" $reload_flag" ;;
   5684 esac
   5685 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5686 case $host_os in
   5687   cygwin* | mingw* | pw32* | cegcc*)
   5688     if test "$GCC" != yes; then
   5689       reload_cmds=false
   5690     fi
   5691     ;;
   5692   darwin*)
   5693     if test "$GCC" = yes; then
   5694       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5695     else
   5696       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5697     fi
   5698     ;;
   5699 esac
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 if test -n "$ac_tool_prefix"; then
   5710   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5711 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5713 $as_echo_n "checking for $ac_word... " >&6; }
   5714 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5715   $as_echo_n "(cached) " >&6
   5716 else
   5717   if test -n "$OBJDUMP"; then
   5718   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5719 else
   5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5721 for as_dir in $PATH
   5722 do
   5723   IFS=$as_save_IFS
   5724   test -z "$as_dir" && as_dir=.
   5725     for ac_exec_ext in '' $ac_executable_extensions; do
   5726   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5727     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5729     break 2
   5730   fi
   5731 done
   5732   done
   5733 IFS=$as_save_IFS
   5734 
   5735 fi
   5736 fi
   5737 OBJDUMP=$ac_cv_prog_OBJDUMP
   5738 if test -n "$OBJDUMP"; then
   5739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5740 $as_echo "$OBJDUMP" >&6; }
   5741 else
   5742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5743 $as_echo "no" >&6; }
   5744 fi
   5745 
   5746 
   5747 fi
   5748 if test -z "$ac_cv_prog_OBJDUMP"; then
   5749   ac_ct_OBJDUMP=$OBJDUMP
   5750   # Extract the first word of "objdump", so it can be a program name with args.
   5751 set dummy objdump; ac_word=$2
   5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5753 $as_echo_n "checking for $ac_word... " >&6; }
   5754 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5755   $as_echo_n "(cached) " >&6
   5756 else
   5757   if test -n "$ac_ct_OBJDUMP"; then
   5758   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5759 else
   5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5761 for as_dir in $PATH
   5762 do
   5763   IFS=$as_save_IFS
   5764   test -z "$as_dir" && as_dir=.
   5765     for ac_exec_ext in '' $ac_executable_extensions; do
   5766   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5767     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5769     break 2
   5770   fi
   5771 done
   5772   done
   5773 IFS=$as_save_IFS
   5774 
   5775 fi
   5776 fi
   5777 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5778 if test -n "$ac_ct_OBJDUMP"; then
   5779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5780 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5781 else
   5782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5783 $as_echo "no" >&6; }
   5784 fi
   5785 
   5786   if test "x$ac_ct_OBJDUMP" = x; then
   5787     OBJDUMP="false"
   5788   else
   5789     case $cross_compiling:$ac_tool_warned in
   5790 yes:)
   5791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5793 ac_tool_warned=yes ;;
   5794 esac
   5795     OBJDUMP=$ac_ct_OBJDUMP
   5796   fi
   5797 else
   5798   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5799 fi
   5800 
   5801 test -z "$OBJDUMP" && OBJDUMP=objdump
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5812 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5813 if ${lt_cv_deplibs_check_method+:} false; then :
   5814   $as_echo_n "(cached) " >&6
   5815 else
   5816   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5817 lt_cv_file_magic_test_file=
   5818 lt_cv_deplibs_check_method='unknown'
   5819 # Need to set the preceding variable on all platforms that support
   5820 # interlibrary dependencies.
   5821 # 'none' -- dependencies not supported.
   5822 # `unknown' -- same as none, but documents that we really don't know.
   5823 # 'pass_all' -- all dependencies passed with no checks.
   5824 # 'test_compile' -- check by making test program.
   5825 # 'file_magic [[regex]]' -- check by looking for files in library path
   5826 # which responds to the $file_magic_cmd with a given extended regex.
   5827 # If you have `file' or equivalent on your system and you're not sure
   5828 # whether `pass_all' will *always* work, you probably want this one.
   5829 
   5830 case $host_os in
   5831 aix[4-9]*)
   5832   lt_cv_deplibs_check_method=pass_all
   5833   ;;
   5834 
   5835 beos*)
   5836   lt_cv_deplibs_check_method=pass_all
   5837   ;;
   5838 
   5839 bsdi[45]*)
   5840   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5841   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5842   lt_cv_file_magic_test_file=/shlib/libc.so
   5843   ;;
   5844 
   5845 cygwin*)
   5846   # func_win32_libid is a shell function defined in ltmain.sh
   5847   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5848   lt_cv_file_magic_cmd='func_win32_libid'
   5849   ;;
   5850 
   5851 mingw* | pw32*)
   5852   # Base MSYS/MinGW do not provide the 'file' command needed by
   5853   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5854   # unless we find 'file', for example because we are cross-compiling.
   5855   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5856   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5857     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5858     lt_cv_file_magic_cmd='func_win32_libid'
   5859   else
   5860     # Keep this pattern in sync with the one in func_win32_libid.
   5861     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5862     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5863   fi
   5864   ;;
   5865 
   5866 cegcc*)
   5867   # use the weaker test based on 'objdump'. See mingw*.
   5868   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5869   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5870   ;;
   5871 
   5872 darwin* | rhapsody*)
   5873   lt_cv_deplibs_check_method=pass_all
   5874   ;;
   5875 
   5876 freebsd* | dragonfly*)
   5877   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5878     case $host_cpu in
   5879     i*86 )
   5880       # Not sure whether the presence of OpenBSD here was a mistake.
   5881       # Let's accept both of them until this is cleared up.
   5882       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5883       lt_cv_file_magic_cmd=/usr/bin/file
   5884       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5885       ;;
   5886     esac
   5887   else
   5888     lt_cv_deplibs_check_method=pass_all
   5889   fi
   5890   ;;
   5891 
   5892 haiku*)
   5893   lt_cv_deplibs_check_method=pass_all
   5894   ;;
   5895 
   5896 hpux10.20* | hpux11*)
   5897   lt_cv_file_magic_cmd=/usr/bin/file
   5898   case $host_cpu in
   5899   ia64*)
   5900     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5901     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5902     ;;
   5903   hppa*64*)
   5904     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]'
   5905     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5906     ;;
   5907   *)
   5908     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5909     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5910     ;;
   5911   esac
   5912   ;;
   5913 
   5914 interix[3-9]*)
   5915   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5916   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5917   ;;
   5918 
   5919 irix5* | irix6* | nonstopux*)
   5920   case $LD in
   5921   *-32|*"-32 ") libmagic=32-bit;;
   5922   *-n32|*"-n32 ") libmagic=N32;;
   5923   *-64|*"-64 ") libmagic=64-bit;;
   5924   *) libmagic=never-match;;
   5925   esac
   5926   lt_cv_deplibs_check_method=pass_all
   5927   ;;
   5928 
   5929 # This must be glibc/ELF.
   5930 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5931   lt_cv_deplibs_check_method=pass_all
   5932   ;;
   5933 
   5934 netbsd* | netbsdelf*-gnu)
   5935   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5936     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5937   else
   5938     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5939   fi
   5940   ;;
   5941 
   5942 newos6*)
   5943   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5944   lt_cv_file_magic_cmd=/usr/bin/file
   5945   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5946   ;;
   5947 
   5948 *nto* | *qnx*)
   5949   lt_cv_deplibs_check_method=pass_all
   5950   ;;
   5951 
   5952 openbsd*)
   5953   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5954     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5955   else
   5956     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5957   fi
   5958   ;;
   5959 
   5960 osf3* | osf4* | osf5*)
   5961   lt_cv_deplibs_check_method=pass_all
   5962   ;;
   5963 
   5964 rdos*)
   5965   lt_cv_deplibs_check_method=pass_all
   5966   ;;
   5967 
   5968 solaris*)
   5969   lt_cv_deplibs_check_method=pass_all
   5970   ;;
   5971 
   5972 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5973   lt_cv_deplibs_check_method=pass_all
   5974   ;;
   5975 
   5976 sysv4 | sysv4.3*)
   5977   case $host_vendor in
   5978   motorola)
   5979     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]'
   5980     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5981     ;;
   5982   ncr)
   5983     lt_cv_deplibs_check_method=pass_all
   5984     ;;
   5985   sequent)
   5986     lt_cv_file_magic_cmd='/bin/file'
   5987     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5988     ;;
   5989   sni)
   5990     lt_cv_file_magic_cmd='/bin/file'
   5991     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5992     lt_cv_file_magic_test_file=/lib/libc.so
   5993     ;;
   5994   siemens)
   5995     lt_cv_deplibs_check_method=pass_all
   5996     ;;
   5997   pc)
   5998     lt_cv_deplibs_check_method=pass_all
   5999     ;;
   6000   esac
   6001   ;;
   6002 
   6003 tpf*)
   6004   lt_cv_deplibs_check_method=pass_all
   6005   ;;
   6006 esac
   6007 
   6008 fi
   6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6010 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6011 
   6012 file_magic_glob=
   6013 want_nocaseglob=no
   6014 if test "$build" = "$host"; then
   6015   case $host_os in
   6016   mingw* | pw32*)
   6017     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6018       want_nocaseglob=yes
   6019     else
   6020       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6021     fi
   6022     ;;
   6023   esac
   6024 fi
   6025 
   6026 file_magic_cmd=$lt_cv_file_magic_cmd
   6027 deplibs_check_method=$lt_cv_deplibs_check_method
   6028 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 if test -n "$ac_tool_prefix"; then
   6052   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6053 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6055 $as_echo_n "checking for $ac_word... " >&6; }
   6056 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6057   $as_echo_n "(cached) " >&6
   6058 else
   6059   if test -n "$DLLTOOL"; then
   6060   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6061 else
   6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6063 for as_dir in $PATH
   6064 do
   6065   IFS=$as_save_IFS
   6066   test -z "$as_dir" && as_dir=.
   6067     for ac_exec_ext in '' $ac_executable_extensions; do
   6068   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6069     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6071     break 2
   6072   fi
   6073 done
   6074   done
   6075 IFS=$as_save_IFS
   6076 
   6077 fi
   6078 fi
   6079 DLLTOOL=$ac_cv_prog_DLLTOOL
   6080 if test -n "$DLLTOOL"; then
   6081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6082 $as_echo "$DLLTOOL" >&6; }
   6083 else
   6084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6085 $as_echo "no" >&6; }
   6086 fi
   6087 
   6088 
   6089 fi
   6090 if test -z "$ac_cv_prog_DLLTOOL"; then
   6091   ac_ct_DLLTOOL=$DLLTOOL
   6092   # Extract the first word of "dlltool", so it can be a program name with args.
   6093 set dummy dlltool; ac_word=$2
   6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6095 $as_echo_n "checking for $ac_word... " >&6; }
   6096 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6097   $as_echo_n "(cached) " >&6
   6098 else
   6099   if test -n "$ac_ct_DLLTOOL"; then
   6100   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6101 else
   6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6103 for as_dir in $PATH
   6104 do
   6105   IFS=$as_save_IFS
   6106   test -z "$as_dir" && as_dir=.
   6107     for ac_exec_ext in '' $ac_executable_extensions; do
   6108   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6109     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6111     break 2
   6112   fi
   6113 done
   6114   done
   6115 IFS=$as_save_IFS
   6116 
   6117 fi
   6118 fi
   6119 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6120 if test -n "$ac_ct_DLLTOOL"; then
   6121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6122 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6123 else
   6124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6125 $as_echo "no" >&6; }
   6126 fi
   6127 
   6128   if test "x$ac_ct_DLLTOOL" = x; then
   6129     DLLTOOL="false"
   6130   else
   6131     case $cross_compiling:$ac_tool_warned in
   6132 yes:)
   6133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6135 ac_tool_warned=yes ;;
   6136 esac
   6137     DLLTOOL=$ac_ct_DLLTOOL
   6138   fi
   6139 else
   6140   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6141 fi
   6142 
   6143 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6155 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6156 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6157   $as_echo_n "(cached) " >&6
   6158 else
   6159   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6160 
   6161 case $host_os in
   6162 cygwin* | mingw* | pw32* | cegcc*)
   6163   # two different shell functions defined in ltmain.sh
   6164   # decide which to use based on capabilities of $DLLTOOL
   6165   case `$DLLTOOL --help 2>&1` in
   6166   *--identify-strict*)
   6167     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6168     ;;
   6169   *)
   6170     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6171     ;;
   6172   esac
   6173   ;;
   6174 *)
   6175   # fallback: assume linklib IS sharedlib
   6176   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   6177   ;;
   6178 esac
   6179 
   6180 fi
   6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6182 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6183 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6184 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 if test -n "$ac_tool_prefix"; then
   6193   for ac_prog in ar
   6194   do
   6195     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6196 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6198 $as_echo_n "checking for $ac_word... " >&6; }
   6199 if ${ac_cv_prog_AR+:} false; then :
   6200   $as_echo_n "(cached) " >&6
   6201 else
   6202   if test -n "$AR"; then
   6203   ac_cv_prog_AR="$AR" # Let the user override the test.
   6204 else
   6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6206 for as_dir in $PATH
   6207 do
   6208   IFS=$as_save_IFS
   6209   test -z "$as_dir" && as_dir=.
   6210     for ac_exec_ext in '' $ac_executable_extensions; do
   6211   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6212     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6214     break 2
   6215   fi
   6216 done
   6217   done
   6218 IFS=$as_save_IFS
   6219 
   6220 fi
   6221 fi
   6222 AR=$ac_cv_prog_AR
   6223 if test -n "$AR"; then
   6224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6225 $as_echo "$AR" >&6; }
   6226 else
   6227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6228 $as_echo "no" >&6; }
   6229 fi
   6230 
   6231 
   6232     test -n "$AR" && break
   6233   done
   6234 fi
   6235 if test -z "$AR"; then
   6236   ac_ct_AR=$AR
   6237   for ac_prog in ar
   6238 do
   6239   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6240 set dummy $ac_prog; ac_word=$2
   6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6242 $as_echo_n "checking for $ac_word... " >&6; }
   6243 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6244   $as_echo_n "(cached) " >&6
   6245 else
   6246   if test -n "$ac_ct_AR"; then
   6247   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6248 else
   6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6250 for as_dir in $PATH
   6251 do
   6252   IFS=$as_save_IFS
   6253   test -z "$as_dir" && as_dir=.
   6254     for ac_exec_ext in '' $ac_executable_extensions; do
   6255   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6256     ac_cv_prog_ac_ct_AR="$ac_prog"
   6257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6258     break 2
   6259   fi
   6260 done
   6261   done
   6262 IFS=$as_save_IFS
   6263 
   6264 fi
   6265 fi
   6266 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6267 if test -n "$ac_ct_AR"; then
   6268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6269 $as_echo "$ac_ct_AR" >&6; }
   6270 else
   6271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6272 $as_echo "no" >&6; }
   6273 fi
   6274 
   6275 
   6276   test -n "$ac_ct_AR" && break
   6277 done
   6278 
   6279   if test "x$ac_ct_AR" = x; then
   6280     AR="false"
   6281   else
   6282     case $cross_compiling:$ac_tool_warned in
   6283 yes:)
   6284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6286 ac_tool_warned=yes ;;
   6287 esac
   6288     AR=$ac_ct_AR
   6289   fi
   6290 fi
   6291 
   6292 : ${AR=ar}
   6293 : ${AR_FLAGS=cru}
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6306 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6307 if ${lt_cv_ar_at_file+:} false; then :
   6308   $as_echo_n "(cached) " >&6
   6309 else
   6310   lt_cv_ar_at_file=no
   6311    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6312 /* end confdefs.h.  */
   6313 
   6314 int
   6315 main ()
   6316 {
   6317 
   6318   ;
   6319   return 0;
   6320 }
   6321 _ACEOF
   6322 if ac_fn_c_try_compile "$LINENO"; then :
   6323   echo conftest.$ac_objext > conftest.lst
   6324       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6325       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6326   (eval $lt_ar_try) 2>&5
   6327   ac_status=$?
   6328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6329   test $ac_status = 0; }
   6330       if test "$ac_status" -eq 0; then
   6331 	# Ensure the archiver fails upon bogus file names.
   6332 	rm -f conftest.$ac_objext libconftest.a
   6333 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6334   (eval $lt_ar_try) 2>&5
   6335   ac_status=$?
   6336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6337   test $ac_status = 0; }
   6338 	if test "$ac_status" -ne 0; then
   6339           lt_cv_ar_at_file=@
   6340         fi
   6341       fi
   6342       rm -f conftest.* libconftest.a
   6343 
   6344 fi
   6345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6346 
   6347 fi
   6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6349 $as_echo "$lt_cv_ar_at_file" >&6; }
   6350 
   6351 if test "x$lt_cv_ar_at_file" = xno; then
   6352   archiver_list_spec=
   6353 else
   6354   archiver_list_spec=$lt_cv_ar_at_file
   6355 fi
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 if test -n "$ac_tool_prefix"; then
   6364   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6365 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6367 $as_echo_n "checking for $ac_word... " >&6; }
   6368 if ${ac_cv_prog_STRIP+:} false; then :
   6369   $as_echo_n "(cached) " >&6
   6370 else
   6371   if test -n "$STRIP"; then
   6372   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6373 else
   6374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6375 for as_dir in $PATH
   6376 do
   6377   IFS=$as_save_IFS
   6378   test -z "$as_dir" && as_dir=.
   6379     for ac_exec_ext in '' $ac_executable_extensions; do
   6380   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6381     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6383     break 2
   6384   fi
   6385 done
   6386   done
   6387 IFS=$as_save_IFS
   6388 
   6389 fi
   6390 fi
   6391 STRIP=$ac_cv_prog_STRIP
   6392 if test -n "$STRIP"; then
   6393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6394 $as_echo "$STRIP" >&6; }
   6395 else
   6396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6397 $as_echo "no" >&6; }
   6398 fi
   6399 
   6400 
   6401 fi
   6402 if test -z "$ac_cv_prog_STRIP"; then
   6403   ac_ct_STRIP=$STRIP
   6404   # Extract the first word of "strip", so it can be a program name with args.
   6405 set dummy strip; ac_word=$2
   6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6407 $as_echo_n "checking for $ac_word... " >&6; }
   6408 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6409   $as_echo_n "(cached) " >&6
   6410 else
   6411   if test -n "$ac_ct_STRIP"; then
   6412   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6413 else
   6414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6415 for as_dir in $PATH
   6416 do
   6417   IFS=$as_save_IFS
   6418   test -z "$as_dir" && as_dir=.
   6419     for ac_exec_ext in '' $ac_executable_extensions; do
   6420   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6421     ac_cv_prog_ac_ct_STRIP="strip"
   6422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6423     break 2
   6424   fi
   6425 done
   6426   done
   6427 IFS=$as_save_IFS
   6428 
   6429 fi
   6430 fi
   6431 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6432 if test -n "$ac_ct_STRIP"; then
   6433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6434 $as_echo "$ac_ct_STRIP" >&6; }
   6435 else
   6436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6437 $as_echo "no" >&6; }
   6438 fi
   6439 
   6440   if test "x$ac_ct_STRIP" = x; then
   6441     STRIP=":"
   6442   else
   6443     case $cross_compiling:$ac_tool_warned in
   6444 yes:)
   6445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6447 ac_tool_warned=yes ;;
   6448 esac
   6449     STRIP=$ac_ct_STRIP
   6450   fi
   6451 else
   6452   STRIP="$ac_cv_prog_STRIP"
   6453 fi
   6454 
   6455 test -z "$STRIP" && STRIP=:
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 if test -n "$ac_tool_prefix"; then
   6463   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6464 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6466 $as_echo_n "checking for $ac_word... " >&6; }
   6467 if ${ac_cv_prog_RANLIB+:} false; then :
   6468   $as_echo_n "(cached) " >&6
   6469 else
   6470   if test -n "$RANLIB"; then
   6471   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6472 else
   6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6474 for as_dir in $PATH
   6475 do
   6476   IFS=$as_save_IFS
   6477   test -z "$as_dir" && as_dir=.
   6478     for ac_exec_ext in '' $ac_executable_extensions; do
   6479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6480     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6482     break 2
   6483   fi
   6484 done
   6485   done
   6486 IFS=$as_save_IFS
   6487 
   6488 fi
   6489 fi
   6490 RANLIB=$ac_cv_prog_RANLIB
   6491 if test -n "$RANLIB"; then
   6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6493 $as_echo "$RANLIB" >&6; }
   6494 else
   6495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6496 $as_echo "no" >&6; }
   6497 fi
   6498 
   6499 
   6500 fi
   6501 if test -z "$ac_cv_prog_RANLIB"; then
   6502   ac_ct_RANLIB=$RANLIB
   6503   # Extract the first word of "ranlib", so it can be a program name with args.
   6504 set dummy ranlib; ac_word=$2
   6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6506 $as_echo_n "checking for $ac_word... " >&6; }
   6507 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6508   $as_echo_n "(cached) " >&6
   6509 else
   6510   if test -n "$ac_ct_RANLIB"; then
   6511   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6512 else
   6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6514 for as_dir in $PATH
   6515 do
   6516   IFS=$as_save_IFS
   6517   test -z "$as_dir" && as_dir=.
   6518     for ac_exec_ext in '' $ac_executable_extensions; do
   6519   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6520     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6522     break 2
   6523   fi
   6524 done
   6525   done
   6526 IFS=$as_save_IFS
   6527 
   6528 fi
   6529 fi
   6530 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6531 if test -n "$ac_ct_RANLIB"; then
   6532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6533 $as_echo "$ac_ct_RANLIB" >&6; }
   6534 else
   6535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6536 $as_echo "no" >&6; }
   6537 fi
   6538 
   6539   if test "x$ac_ct_RANLIB" = x; then
   6540     RANLIB=":"
   6541   else
   6542     case $cross_compiling:$ac_tool_warned in
   6543 yes:)
   6544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6546 ac_tool_warned=yes ;;
   6547 esac
   6548     RANLIB=$ac_ct_RANLIB
   6549   fi
   6550 else
   6551   RANLIB="$ac_cv_prog_RANLIB"
   6552 fi
   6553 
   6554 test -z "$RANLIB" && RANLIB=:
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 # Determine commands to create old-style static archives.
   6562 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6563 old_postinstall_cmds='chmod 644 $oldlib'
   6564 old_postuninstall_cmds=
   6565 
   6566 if test -n "$RANLIB"; then
   6567   case $host_os in
   6568   openbsd*)
   6569     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6570     ;;
   6571   *)
   6572     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6573     ;;
   6574   esac
   6575   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6576 fi
   6577 
   6578 case $host_os in
   6579   darwin*)
   6580     lock_old_archive_extraction=yes ;;
   6581   *)
   6582     lock_old_archive_extraction=no ;;
   6583 esac
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 # If no C compiler was specified, use CC.
   6624 LTCC=${LTCC-"$CC"}
   6625 
   6626 # If no C compiler flags were specified, use CFLAGS.
   6627 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6628 
   6629 # Allow CC to be a program name with arguments.
   6630 compiler=$CC
   6631 
   6632 
   6633 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6635 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6636 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6637   $as_echo_n "(cached) " >&6
   6638 else
   6639 
   6640 # These are sane defaults that work on at least a few old systems.
   6641 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6642 
   6643 # Character class describing NM global symbol codes.
   6644 symcode='[BCDEGRST]'
   6645 
   6646 # Regexp to match symbols that can be accessed directly from C.
   6647 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6648 
   6649 # Define system-specific variables.
   6650 case $host_os in
   6651 aix*)
   6652   symcode='[BCDT]'
   6653   ;;
   6654 cygwin* | mingw* | pw32* | cegcc*)
   6655   symcode='[ABCDGISTW]'
   6656   ;;
   6657 hpux*)
   6658   if test "$host_cpu" = ia64; then
   6659     symcode='[ABCDEGRST]'
   6660   fi
   6661   ;;
   6662 irix* | nonstopux*)
   6663   symcode='[BCDEGRST]'
   6664   ;;
   6665 osf*)
   6666   symcode='[BCDEGQRST]'
   6667   ;;
   6668 solaris*)
   6669   symcode='[BDRT]'
   6670   ;;
   6671 sco3.2v5*)
   6672   symcode='[DT]'
   6673   ;;
   6674 sysv4.2uw2*)
   6675   symcode='[DT]'
   6676   ;;
   6677 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6678   symcode='[ABDT]'
   6679   ;;
   6680 sysv4)
   6681   symcode='[DFNSTU]'
   6682   ;;
   6683 esac
   6684 
   6685 # If we're using GNU nm, then use its standard symbol codes.
   6686 case `$NM -V 2>&1` in
   6687 *GNU* | *'with BFD'*)
   6688   symcode='[ABCDGIRSTW]' ;;
   6689 esac
   6690 
   6691 # Transform an extracted symbol line into a proper C declaration.
   6692 # Some systems (esp. on ia64) link data and code symbols differently,
   6693 # so use this general approach.
   6694 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6695 
   6696 # Transform an extracted symbol line into symbol name and symbol address
   6697 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6698 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'"
   6699 
   6700 # Handle CRLF in mingw tool chain
   6701 opt_cr=
   6702 case $build_os in
   6703 mingw*)
   6704   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6705   ;;
   6706 esac
   6707 
   6708 # Try without a prefix underscore, then with it.
   6709 for ac_symprfx in "" "_"; do
   6710 
   6711   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6712   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6713 
   6714   # Write the raw and C identifiers.
   6715   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6716     # Fake it for dumpbin and say T for any non-static function
   6717     # and D for any global variable.
   6718     # Also find C++ and __fastcall symbols from MSVC++,
   6719     # which start with @ or ?.
   6720     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6721 "     {last_section=section; section=\$ 3};"\
   6722 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6723 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6724 "     \$ 0!~/External *\|/{next};"\
   6725 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6726 "     {if(hide[section]) next};"\
   6727 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6728 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6729 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6730 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6731 "     ' prfx=^$ac_symprfx"
   6732   else
   6733     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6734   fi
   6735   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6736 
   6737   # Check to see that the pipe works correctly.
   6738   pipe_works=no
   6739 
   6740   rm -f conftest*
   6741   cat > conftest.$ac_ext <<_LT_EOF
   6742 #ifdef __cplusplus
   6743 extern "C" {
   6744 #endif
   6745 char nm_test_var;
   6746 void nm_test_func(void);
   6747 void nm_test_func(void){}
   6748 #ifdef __cplusplus
   6749 }
   6750 #endif
   6751 int main(){nm_test_var='a';nm_test_func();return(0);}
   6752 _LT_EOF
   6753 
   6754   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6755   (eval $ac_compile) 2>&5
   6756   ac_status=$?
   6757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6758   test $ac_status = 0; }; then
   6759     # Now try to grab the symbols.
   6760     nlist=conftest.nm
   6761     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6762   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6763   ac_status=$?
   6764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6765   test $ac_status = 0; } && test -s "$nlist"; then
   6766       # Try sorting and uniquifying the output.
   6767       if sort "$nlist" | uniq > "$nlist"T; then
   6768 	mv -f "$nlist"T "$nlist"
   6769       else
   6770 	rm -f "$nlist"T
   6771       fi
   6772 
   6773       # Make sure that we snagged all the symbols we need.
   6774       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6775 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6776 	  cat <<_LT_EOF > conftest.$ac_ext
   6777 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6778 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6779 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6780    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6781 # define LT_DLSYM_CONST
   6782 #elif defined(__osf__)
   6783 /* This system does not cope well with relocations in const data.  */
   6784 # define LT_DLSYM_CONST
   6785 #else
   6786 # define LT_DLSYM_CONST const
   6787 #endif
   6788 
   6789 #ifdef __cplusplus
   6790 extern "C" {
   6791 #endif
   6792 
   6793 _LT_EOF
   6794 	  # Now generate the symbol file.
   6795 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6796 
   6797 	  cat <<_LT_EOF >> conftest.$ac_ext
   6798 
   6799 /* The mapping between symbol names and symbols.  */
   6800 LT_DLSYM_CONST struct {
   6801   const char *name;
   6802   void       *address;
   6803 }
   6804 lt__PROGRAM__LTX_preloaded_symbols[] =
   6805 {
   6806   { "@PROGRAM@", (void *) 0 },
   6807 _LT_EOF
   6808 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6809 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6810   {0, (void *) 0}
   6811 };
   6812 
   6813 /* This works around a problem in FreeBSD linker */
   6814 #ifdef FREEBSD_WORKAROUND
   6815 static const void *lt_preloaded_setup() {
   6816   return lt__PROGRAM__LTX_preloaded_symbols;
   6817 }
   6818 #endif
   6819 
   6820 #ifdef __cplusplus
   6821 }
   6822 #endif
   6823 _LT_EOF
   6824 	  # Now try linking the two files.
   6825 	  mv conftest.$ac_objext conftstm.$ac_objext
   6826 	  lt_globsym_save_LIBS=$LIBS
   6827 	  lt_globsym_save_CFLAGS=$CFLAGS
   6828 	  LIBS="conftstm.$ac_objext"
   6829 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6830 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6831   (eval $ac_link) 2>&5
   6832   ac_status=$?
   6833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6834   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6835 	    pipe_works=yes
   6836 	  fi
   6837 	  LIBS=$lt_globsym_save_LIBS
   6838 	  CFLAGS=$lt_globsym_save_CFLAGS
   6839 	else
   6840 	  echo "cannot find nm_test_func in $nlist" >&5
   6841 	fi
   6842       else
   6843 	echo "cannot find nm_test_var in $nlist" >&5
   6844       fi
   6845     else
   6846       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6847     fi
   6848   else
   6849     echo "$progname: failed program was:" >&5
   6850     cat conftest.$ac_ext >&5
   6851   fi
   6852   rm -rf conftest* conftst*
   6853 
   6854   # Do not use the global_symbol_pipe unless it works.
   6855   if test "$pipe_works" = yes; then
   6856     break
   6857   else
   6858     lt_cv_sys_global_symbol_pipe=
   6859   fi
   6860 done
   6861 
   6862 fi
   6863 
   6864 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6865   lt_cv_sys_global_symbol_to_cdecl=
   6866 fi
   6867 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6869 $as_echo "failed" >&6; }
   6870 else
   6871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6872 $as_echo "ok" >&6; }
   6873 fi
   6874 
   6875 # Response file support.
   6876 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6877   nm_file_list_spec='@'
   6878 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6879   nm_file_list_spec='@'
   6880 fi
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6909 $as_echo_n "checking for sysroot... " >&6; }
   6910 
   6911 # Check whether --with-sysroot was given.
   6912 if test "${with_sysroot+set}" = set; then :
   6913   withval=$with_sysroot;
   6914 else
   6915   with_sysroot=no
   6916 fi
   6917 
   6918 
   6919 lt_sysroot=
   6920 case ${with_sysroot} in #(
   6921  yes)
   6922    if test "$GCC" = yes; then
   6923      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6924    fi
   6925    ;; #(
   6926  /*)
   6927    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6928    ;; #(
   6929  no|'')
   6930    ;; #(
   6931  *)
   6932    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6933 $as_echo "${with_sysroot}" >&6; }
   6934    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6935    ;;
   6936 esac
   6937 
   6938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6939 $as_echo "${lt_sysroot:-no}" >&6; }
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 # Check whether --enable-libtool-lock was given.
   6946 if test "${enable_libtool_lock+set}" = set; then :
   6947   enableval=$enable_libtool_lock;
   6948 fi
   6949 
   6950 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6951 
   6952 # Some flags need to be propagated to the compiler or linker for good
   6953 # libtool support.
   6954 case $host in
   6955 ia64-*-hpux*)
   6956   # Find out which ABI we are using.
   6957   echo 'int i;' > conftest.$ac_ext
   6958   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6959   (eval $ac_compile) 2>&5
   6960   ac_status=$?
   6961   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6962   test $ac_status = 0; }; then
   6963     case `/usr/bin/file conftest.$ac_objext` in
   6964       *ELF-32*)
   6965 	HPUX_IA64_MODE="32"
   6966 	;;
   6967       *ELF-64*)
   6968 	HPUX_IA64_MODE="64"
   6969 	;;
   6970     esac
   6971   fi
   6972   rm -rf conftest*
   6973   ;;
   6974 *-*-irix6*)
   6975   # Find out which ABI we are using.
   6976   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6977   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6978   (eval $ac_compile) 2>&5
   6979   ac_status=$?
   6980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6981   test $ac_status = 0; }; then
   6982     if test "$lt_cv_prog_gnu_ld" = yes; then
   6983       case `/usr/bin/file conftest.$ac_objext` in
   6984 	*32-bit*)
   6985 	  LD="${LD-ld} -melf32bsmip"
   6986 	  ;;
   6987 	*N32*)
   6988 	  LD="${LD-ld} -melf32bmipn32"
   6989 	  ;;
   6990 	*64-bit*)
   6991 	  LD="${LD-ld} -melf64bmip"
   6992 	;;
   6993       esac
   6994     else
   6995       case `/usr/bin/file conftest.$ac_objext` in
   6996 	*32-bit*)
   6997 	  LD="${LD-ld} -32"
   6998 	  ;;
   6999 	*N32*)
   7000 	  LD="${LD-ld} -n32"
   7001 	  ;;
   7002 	*64-bit*)
   7003 	  LD="${LD-ld} -64"
   7004 	  ;;
   7005       esac
   7006     fi
   7007   fi
   7008   rm -rf conftest*
   7009   ;;
   7010 
   7011 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7012 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7013   # Find out which ABI we are using.
   7014   echo 'int i;' > conftest.$ac_ext
   7015   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7016   (eval $ac_compile) 2>&5
   7017   ac_status=$?
   7018   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7019   test $ac_status = 0; }; then
   7020     case `/usr/bin/file conftest.o` in
   7021       *32-bit*)
   7022 	case $host in
   7023 	  x86_64-*kfreebsd*-gnu)
   7024 	    LD="${LD-ld} -m elf_i386_fbsd"
   7025 	    ;;
   7026 	  x86_64-*linux*)
   7027 	    case `/usr/bin/file conftest.o` in
   7028 	      *x86-64*)
   7029 		LD="${LD-ld} -m elf32_x86_64"
   7030 		;;
   7031 	      *)
   7032 		LD="${LD-ld} -m elf_i386"
   7033 		;;
   7034 	    esac
   7035 	    ;;
   7036 	  powerpc64le-*)
   7037 	    LD="${LD-ld} -m elf32lppclinux"
   7038 	    ;;
   7039 	  powerpc64-*)
   7040 	    LD="${LD-ld} -m elf32ppclinux"
   7041 	    ;;
   7042 	  s390x-*linux*)
   7043 	    LD="${LD-ld} -m elf_s390"
   7044 	    ;;
   7045 	  sparc64-*linux*)
   7046 	    LD="${LD-ld} -m elf32_sparc"
   7047 	    ;;
   7048 	esac
   7049 	;;
   7050       *64-bit*)
   7051 	case $host in
   7052 	  x86_64-*kfreebsd*-gnu)
   7053 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7054 	    ;;
   7055 	  x86_64-*linux*)
   7056 	    LD="${LD-ld} -m elf_x86_64"
   7057 	    ;;
   7058 	  powerpcle-*)
   7059 	    LD="${LD-ld} -m elf64lppc"
   7060 	    ;;
   7061 	  powerpc-*)
   7062 	    LD="${LD-ld} -m elf64ppc"
   7063 	    ;;
   7064 	  s390*-*linux*|s390*-*tpf*)
   7065 	    LD="${LD-ld} -m elf64_s390"
   7066 	    ;;
   7067 	  sparc*-*linux*)
   7068 	    LD="${LD-ld} -m elf64_sparc"
   7069 	    ;;
   7070 	esac
   7071 	;;
   7072     esac
   7073   fi
   7074   rm -rf conftest*
   7075   ;;
   7076 
   7077 *-*-sco3.2v5*)
   7078   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7079   SAVE_CFLAGS="$CFLAGS"
   7080   CFLAGS="$CFLAGS -belf"
   7081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7082 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7083 if ${lt_cv_cc_needs_belf+:} false; then :
   7084   $as_echo_n "(cached) " >&6
   7085 else
   7086   ac_ext=c
   7087 ac_cpp='$CPP $CPPFLAGS'
   7088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7091 
   7092      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7093 /* end confdefs.h.  */
   7094 
   7095 int
   7096 main ()
   7097 {
   7098 
   7099   ;
   7100   return 0;
   7101 }
   7102 _ACEOF
   7103 if ac_fn_c_try_link "$LINENO"; then :
   7104   lt_cv_cc_needs_belf=yes
   7105 else
   7106   lt_cv_cc_needs_belf=no
   7107 fi
   7108 rm -f core conftest.err conftest.$ac_objext \
   7109     conftest$ac_exeext conftest.$ac_ext
   7110      ac_ext=c
   7111 ac_cpp='$CPP $CPPFLAGS'
   7112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7115 
   7116 fi
   7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7118 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7119   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7120     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7121     CFLAGS="$SAVE_CFLAGS"
   7122   fi
   7123   ;;
   7124 *-*solaris*)
   7125   # Find out which ABI we are using.
   7126   echo 'int i;' > conftest.$ac_ext
   7127   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7128   (eval $ac_compile) 2>&5
   7129   ac_status=$?
   7130   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7131   test $ac_status = 0; }; then
   7132     case `/usr/bin/file conftest.o` in
   7133     *64-bit*)
   7134       case $lt_cv_prog_gnu_ld in
   7135       yes*)
   7136         case $host in
   7137         i?86-*-solaris*)
   7138           LD="${LD-ld} -m elf_x86_64"
   7139           ;;
   7140         sparc*-*-solaris*)
   7141           LD="${LD-ld} -m elf64_sparc"
   7142           ;;
   7143         esac
   7144         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7145         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7146           LD="${LD-ld}_sol2"
   7147         fi
   7148         ;;
   7149       *)
   7150 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7151 	  LD="${LD-ld} -64"
   7152 	fi
   7153 	;;
   7154       esac
   7155       ;;
   7156     esac
   7157   fi
   7158   rm -rf conftest*
   7159   ;;
   7160 esac
   7161 
   7162 need_locks="$enable_libtool_lock"
   7163 
   7164 if test -n "$ac_tool_prefix"; then
   7165   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7166 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7168 $as_echo_n "checking for $ac_word... " >&6; }
   7169 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7170   $as_echo_n "(cached) " >&6
   7171 else
   7172   if test -n "$MANIFEST_TOOL"; then
   7173   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7174 else
   7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7176 for as_dir in $PATH
   7177 do
   7178   IFS=$as_save_IFS
   7179   test -z "$as_dir" && as_dir=.
   7180     for ac_exec_ext in '' $ac_executable_extensions; do
   7181   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7182     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7184     break 2
   7185   fi
   7186 done
   7187   done
   7188 IFS=$as_save_IFS
   7189 
   7190 fi
   7191 fi
   7192 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7193 if test -n "$MANIFEST_TOOL"; then
   7194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7195 $as_echo "$MANIFEST_TOOL" >&6; }
   7196 else
   7197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7198 $as_echo "no" >&6; }
   7199 fi
   7200 
   7201 
   7202 fi
   7203 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7204   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7205   # Extract the first word of "mt", so it can be a program name with args.
   7206 set dummy mt; ac_word=$2
   7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7208 $as_echo_n "checking for $ac_word... " >&6; }
   7209 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7210   $as_echo_n "(cached) " >&6
   7211 else
   7212   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7213   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7214 else
   7215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7216 for as_dir in $PATH
   7217 do
   7218   IFS=$as_save_IFS
   7219   test -z "$as_dir" && as_dir=.
   7220     for ac_exec_ext in '' $ac_executable_extensions; do
   7221   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7222     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7223     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7224     break 2
   7225   fi
   7226 done
   7227   done
   7228 IFS=$as_save_IFS
   7229 
   7230 fi
   7231 fi
   7232 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7233 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7235 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7236 else
   7237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7238 $as_echo "no" >&6; }
   7239 fi
   7240 
   7241   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7242     MANIFEST_TOOL=":"
   7243   else
   7244     case $cross_compiling:$ac_tool_warned in
   7245 yes:)
   7246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7248 ac_tool_warned=yes ;;
   7249 esac
   7250     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7251   fi
   7252 else
   7253   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7254 fi
   7255 
   7256 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7258 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7259 if ${lt_cv_path_mainfest_tool+:} false; then :
   7260   $as_echo_n "(cached) " >&6
   7261 else
   7262   lt_cv_path_mainfest_tool=no
   7263   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7264   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7265   cat conftest.err >&5
   7266   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7267     lt_cv_path_mainfest_tool=yes
   7268   fi
   7269   rm -f conftest*
   7270 fi
   7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7272 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7273 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   7274   MANIFEST_TOOL=:
   7275 fi
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 
   7282   case $host_os in
   7283     rhapsody* | darwin*)
   7284     if test -n "$ac_tool_prefix"; then
   7285   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7286 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7288 $as_echo_n "checking for $ac_word... " >&6; }
   7289 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7290   $as_echo_n "(cached) " >&6
   7291 else
   7292   if test -n "$DSYMUTIL"; then
   7293   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7294 else
   7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7296 for as_dir in $PATH
   7297 do
   7298   IFS=$as_save_IFS
   7299   test -z "$as_dir" && as_dir=.
   7300     for ac_exec_ext in '' $ac_executable_extensions; do
   7301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7302     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7304     break 2
   7305   fi
   7306 done
   7307   done
   7308 IFS=$as_save_IFS
   7309 
   7310 fi
   7311 fi
   7312 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7313 if test -n "$DSYMUTIL"; then
   7314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7315 $as_echo "$DSYMUTIL" >&6; }
   7316 else
   7317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7318 $as_echo "no" >&6; }
   7319 fi
   7320 
   7321 
   7322 fi
   7323 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7324   ac_ct_DSYMUTIL=$DSYMUTIL
   7325   # Extract the first word of "dsymutil", so it can be a program name with args.
   7326 set dummy dsymutil; ac_word=$2
   7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7328 $as_echo_n "checking for $ac_word... " >&6; }
   7329 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7330   $as_echo_n "(cached) " >&6
   7331 else
   7332   if test -n "$ac_ct_DSYMUTIL"; then
   7333   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7334 else
   7335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7336 for as_dir in $PATH
   7337 do
   7338   IFS=$as_save_IFS
   7339   test -z "$as_dir" && as_dir=.
   7340     for ac_exec_ext in '' $ac_executable_extensions; do
   7341   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7342     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7344     break 2
   7345   fi
   7346 done
   7347   done
   7348 IFS=$as_save_IFS
   7349 
   7350 fi
   7351 fi
   7352 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7353 if test -n "$ac_ct_DSYMUTIL"; then
   7354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7355 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7356 else
   7357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7358 $as_echo "no" >&6; }
   7359 fi
   7360 
   7361   if test "x$ac_ct_DSYMUTIL" = x; then
   7362     DSYMUTIL=":"
   7363   else
   7364     case $cross_compiling:$ac_tool_warned in
   7365 yes:)
   7366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7368 ac_tool_warned=yes ;;
   7369 esac
   7370     DSYMUTIL=$ac_ct_DSYMUTIL
   7371   fi
   7372 else
   7373   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7374 fi
   7375 
   7376     if test -n "$ac_tool_prefix"; then
   7377   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7378 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7380 $as_echo_n "checking for $ac_word... " >&6; }
   7381 if ${ac_cv_prog_NMEDIT+:} false; then :
   7382   $as_echo_n "(cached) " >&6
   7383 else
   7384   if test -n "$NMEDIT"; then
   7385   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7386 else
   7387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7388 for as_dir in $PATH
   7389 do
   7390   IFS=$as_save_IFS
   7391   test -z "$as_dir" && as_dir=.
   7392     for ac_exec_ext in '' $ac_executable_extensions; do
   7393   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7394     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7396     break 2
   7397   fi
   7398 done
   7399   done
   7400 IFS=$as_save_IFS
   7401 
   7402 fi
   7403 fi
   7404 NMEDIT=$ac_cv_prog_NMEDIT
   7405 if test -n "$NMEDIT"; then
   7406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7407 $as_echo "$NMEDIT" >&6; }
   7408 else
   7409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7410 $as_echo "no" >&6; }
   7411 fi
   7412 
   7413 
   7414 fi
   7415 if test -z "$ac_cv_prog_NMEDIT"; then
   7416   ac_ct_NMEDIT=$NMEDIT
   7417   # Extract the first word of "nmedit", so it can be a program name with args.
   7418 set dummy nmedit; ac_word=$2
   7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7420 $as_echo_n "checking for $ac_word... " >&6; }
   7421 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7422   $as_echo_n "(cached) " >&6
   7423 else
   7424   if test -n "$ac_ct_NMEDIT"; then
   7425   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7426 else
   7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7428 for as_dir in $PATH
   7429 do
   7430   IFS=$as_save_IFS
   7431   test -z "$as_dir" && as_dir=.
   7432     for ac_exec_ext in '' $ac_executable_extensions; do
   7433   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7434     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7436     break 2
   7437   fi
   7438 done
   7439   done
   7440 IFS=$as_save_IFS
   7441 
   7442 fi
   7443 fi
   7444 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7445 if test -n "$ac_ct_NMEDIT"; then
   7446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7447 $as_echo "$ac_ct_NMEDIT" >&6; }
   7448 else
   7449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7450 $as_echo "no" >&6; }
   7451 fi
   7452 
   7453   if test "x$ac_ct_NMEDIT" = x; then
   7454     NMEDIT=":"
   7455   else
   7456     case $cross_compiling:$ac_tool_warned in
   7457 yes:)
   7458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7460 ac_tool_warned=yes ;;
   7461 esac
   7462     NMEDIT=$ac_ct_NMEDIT
   7463   fi
   7464 else
   7465   NMEDIT="$ac_cv_prog_NMEDIT"
   7466 fi
   7467 
   7468     if test -n "$ac_tool_prefix"; then
   7469   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7470 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7472 $as_echo_n "checking for $ac_word... " >&6; }
   7473 if ${ac_cv_prog_LIPO+:} false; then :
   7474   $as_echo_n "(cached) " >&6
   7475 else
   7476   if test -n "$LIPO"; then
   7477   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7478 else
   7479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7480 for as_dir in $PATH
   7481 do
   7482   IFS=$as_save_IFS
   7483   test -z "$as_dir" && as_dir=.
   7484     for ac_exec_ext in '' $ac_executable_extensions; do
   7485   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7486     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7488     break 2
   7489   fi
   7490 done
   7491   done
   7492 IFS=$as_save_IFS
   7493 
   7494 fi
   7495 fi
   7496 LIPO=$ac_cv_prog_LIPO
   7497 if test -n "$LIPO"; then
   7498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7499 $as_echo "$LIPO" >&6; }
   7500 else
   7501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7502 $as_echo "no" >&6; }
   7503 fi
   7504 
   7505 
   7506 fi
   7507 if test -z "$ac_cv_prog_LIPO"; then
   7508   ac_ct_LIPO=$LIPO
   7509   # Extract the first word of "lipo", so it can be a program name with args.
   7510 set dummy lipo; ac_word=$2
   7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7512 $as_echo_n "checking for $ac_word... " >&6; }
   7513 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7514   $as_echo_n "(cached) " >&6
   7515 else
   7516   if test -n "$ac_ct_LIPO"; then
   7517   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7518 else
   7519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7520 for as_dir in $PATH
   7521 do
   7522   IFS=$as_save_IFS
   7523   test -z "$as_dir" && as_dir=.
   7524     for ac_exec_ext in '' $ac_executable_extensions; do
   7525   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7526     ac_cv_prog_ac_ct_LIPO="lipo"
   7527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7528     break 2
   7529   fi
   7530 done
   7531   done
   7532 IFS=$as_save_IFS
   7533 
   7534 fi
   7535 fi
   7536 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7537 if test -n "$ac_ct_LIPO"; then
   7538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7539 $as_echo "$ac_ct_LIPO" >&6; }
   7540 else
   7541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7542 $as_echo "no" >&6; }
   7543 fi
   7544 
   7545   if test "x$ac_ct_LIPO" = x; then
   7546     LIPO=":"
   7547   else
   7548     case $cross_compiling:$ac_tool_warned in
   7549 yes:)
   7550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7552 ac_tool_warned=yes ;;
   7553 esac
   7554     LIPO=$ac_ct_LIPO
   7555   fi
   7556 else
   7557   LIPO="$ac_cv_prog_LIPO"
   7558 fi
   7559 
   7560     if test -n "$ac_tool_prefix"; then
   7561   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7562 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7564 $as_echo_n "checking for $ac_word... " >&6; }
   7565 if ${ac_cv_prog_OTOOL+:} false; then :
   7566   $as_echo_n "(cached) " >&6
   7567 else
   7568   if test -n "$OTOOL"; then
   7569   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7570 else
   7571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7572 for as_dir in $PATH
   7573 do
   7574   IFS=$as_save_IFS
   7575   test -z "$as_dir" && as_dir=.
   7576     for ac_exec_ext in '' $ac_executable_extensions; do
   7577   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7578     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7580     break 2
   7581   fi
   7582 done
   7583   done
   7584 IFS=$as_save_IFS
   7585 
   7586 fi
   7587 fi
   7588 OTOOL=$ac_cv_prog_OTOOL
   7589 if test -n "$OTOOL"; then
   7590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7591 $as_echo "$OTOOL" >&6; }
   7592 else
   7593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7594 $as_echo "no" >&6; }
   7595 fi
   7596 
   7597 
   7598 fi
   7599 if test -z "$ac_cv_prog_OTOOL"; then
   7600   ac_ct_OTOOL=$OTOOL
   7601   # Extract the first word of "otool", so it can be a program name with args.
   7602 set dummy otool; ac_word=$2
   7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7604 $as_echo_n "checking for $ac_word... " >&6; }
   7605 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7606   $as_echo_n "(cached) " >&6
   7607 else
   7608   if test -n "$ac_ct_OTOOL"; then
   7609   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7610 else
   7611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7612 for as_dir in $PATH
   7613 do
   7614   IFS=$as_save_IFS
   7615   test -z "$as_dir" && as_dir=.
   7616     for ac_exec_ext in '' $ac_executable_extensions; do
   7617   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7618     ac_cv_prog_ac_ct_OTOOL="otool"
   7619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7620     break 2
   7621   fi
   7622 done
   7623   done
   7624 IFS=$as_save_IFS
   7625 
   7626 fi
   7627 fi
   7628 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7629 if test -n "$ac_ct_OTOOL"; then
   7630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7631 $as_echo "$ac_ct_OTOOL" >&6; }
   7632 else
   7633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7634 $as_echo "no" >&6; }
   7635 fi
   7636 
   7637   if test "x$ac_ct_OTOOL" = x; then
   7638     OTOOL=":"
   7639   else
   7640     case $cross_compiling:$ac_tool_warned in
   7641 yes:)
   7642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7644 ac_tool_warned=yes ;;
   7645 esac
   7646     OTOOL=$ac_ct_OTOOL
   7647   fi
   7648 else
   7649   OTOOL="$ac_cv_prog_OTOOL"
   7650 fi
   7651 
   7652     if test -n "$ac_tool_prefix"; then
   7653   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7654 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7656 $as_echo_n "checking for $ac_word... " >&6; }
   7657 if ${ac_cv_prog_OTOOL64+:} false; then :
   7658   $as_echo_n "(cached) " >&6
   7659 else
   7660   if test -n "$OTOOL64"; then
   7661   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7662 else
   7663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7664 for as_dir in $PATH
   7665 do
   7666   IFS=$as_save_IFS
   7667   test -z "$as_dir" && as_dir=.
   7668     for ac_exec_ext in '' $ac_executable_extensions; do
   7669   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7670     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7672     break 2
   7673   fi
   7674 done
   7675   done
   7676 IFS=$as_save_IFS
   7677 
   7678 fi
   7679 fi
   7680 OTOOL64=$ac_cv_prog_OTOOL64
   7681 if test -n "$OTOOL64"; then
   7682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7683 $as_echo "$OTOOL64" >&6; }
   7684 else
   7685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7686 $as_echo "no" >&6; }
   7687 fi
   7688 
   7689 
   7690 fi
   7691 if test -z "$ac_cv_prog_OTOOL64"; then
   7692   ac_ct_OTOOL64=$OTOOL64
   7693   # Extract the first word of "otool64", so it can be a program name with args.
   7694 set dummy otool64; ac_word=$2
   7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7696 $as_echo_n "checking for $ac_word... " >&6; }
   7697 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7698   $as_echo_n "(cached) " >&6
   7699 else
   7700   if test -n "$ac_ct_OTOOL64"; then
   7701   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7702 else
   7703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7704 for as_dir in $PATH
   7705 do
   7706   IFS=$as_save_IFS
   7707   test -z "$as_dir" && as_dir=.
   7708     for ac_exec_ext in '' $ac_executable_extensions; do
   7709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7710     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7712     break 2
   7713   fi
   7714 done
   7715   done
   7716 IFS=$as_save_IFS
   7717 
   7718 fi
   7719 fi
   7720 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7721 if test -n "$ac_ct_OTOOL64"; then
   7722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7723 $as_echo "$ac_ct_OTOOL64" >&6; }
   7724 else
   7725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7726 $as_echo "no" >&6; }
   7727 fi
   7728 
   7729   if test "x$ac_ct_OTOOL64" = x; then
   7730     OTOOL64=":"
   7731   else
   7732     case $cross_compiling:$ac_tool_warned in
   7733 yes:)
   7734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7736 ac_tool_warned=yes ;;
   7737 esac
   7738     OTOOL64=$ac_ct_OTOOL64
   7739   fi
   7740 else
   7741   OTOOL64="$ac_cv_prog_OTOOL64"
   7742 fi
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7771 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7772 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7773   $as_echo_n "(cached) " >&6
   7774 else
   7775   lt_cv_apple_cc_single_mod=no
   7776       if test -z "${LT_MULTI_MODULE}"; then
   7777 	# By default we will add the -single_module flag. You can override
   7778 	# by either setting the environment variable LT_MULTI_MODULE
   7779 	# non-empty at configure time, or by adding -multi_module to the
   7780 	# link flags.
   7781 	rm -rf libconftest.dylib*
   7782 	echo "int foo(void){return 1;}" > conftest.c
   7783 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7784 -dynamiclib -Wl,-single_module conftest.c" >&5
   7785 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7786 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7787         _lt_result=$?
   7788 	# If there is a non-empty error log, and "single_module"
   7789 	# appears in it, assume the flag caused a linker warning
   7790         if test -s conftest.err && $GREP single_module conftest.err; then
   7791 	  cat conftest.err >&5
   7792 	# Otherwise, if the output was created with a 0 exit code from
   7793 	# the compiler, it worked.
   7794 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7795 	  lt_cv_apple_cc_single_mod=yes
   7796 	else
   7797 	  cat conftest.err >&5
   7798 	fi
   7799 	rm -rf libconftest.dylib*
   7800 	rm -f conftest.*
   7801       fi
   7802 fi
   7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7804 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7805 
   7806     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7807 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7808 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7809   $as_echo_n "(cached) " >&6
   7810 else
   7811   lt_cv_ld_exported_symbols_list=no
   7812       save_LDFLAGS=$LDFLAGS
   7813       echo "_main" > conftest.sym
   7814       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7816 /* end confdefs.h.  */
   7817 
   7818 int
   7819 main ()
   7820 {
   7821 
   7822   ;
   7823   return 0;
   7824 }
   7825 _ACEOF
   7826 if ac_fn_c_try_link "$LINENO"; then :
   7827   lt_cv_ld_exported_symbols_list=yes
   7828 else
   7829   lt_cv_ld_exported_symbols_list=no
   7830 fi
   7831 rm -f core conftest.err conftest.$ac_objext \
   7832     conftest$ac_exeext conftest.$ac_ext
   7833 	LDFLAGS="$save_LDFLAGS"
   7834 
   7835 fi
   7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7837 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7838 
   7839     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7840 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7841 if ${lt_cv_ld_force_load+:} false; then :
   7842   $as_echo_n "(cached) " >&6
   7843 else
   7844   lt_cv_ld_force_load=no
   7845       cat > conftest.c << _LT_EOF
   7846 int forced_loaded() { return 2;}
   7847 _LT_EOF
   7848       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7849       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7850       echo "$AR cru libconftest.a conftest.o" >&5
   7851       $AR cru libconftest.a conftest.o 2>&5
   7852       echo "$RANLIB libconftest.a" >&5
   7853       $RANLIB libconftest.a 2>&5
   7854       cat > conftest.c << _LT_EOF
   7855 int main() { return 0;}
   7856 _LT_EOF
   7857       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7858       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7859       _lt_result=$?
   7860       if test -s conftest.err && $GREP force_load conftest.err; then
   7861 	cat conftest.err >&5
   7862       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7863 	lt_cv_ld_force_load=yes
   7864       else
   7865 	cat conftest.err >&5
   7866       fi
   7867         rm -f conftest.err libconftest.a conftest conftest.c
   7868         rm -rf conftest.dSYM
   7869 
   7870 fi
   7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7872 $as_echo "$lt_cv_ld_force_load" >&6; }
   7873     case $host_os in
   7874     rhapsody* | darwin1.[012])
   7875       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7876     darwin1.*)
   7877       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7878     darwin*) # darwin 5.x on
   7879       # if running on 10.5 or later, the deployment target defaults
   7880       # to the OS version, if on x86, and 10.4, the deployment
   7881       # target defaults to 10.4. Don't you love it?
   7882       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7883 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7884 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7885 	10.[012]*)
   7886 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7887 	10.*)
   7888 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7889       esac
   7890     ;;
   7891   esac
   7892     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7893       _lt_dar_single_mod='$single_module'
   7894     fi
   7895     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7896       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7897     else
   7898       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7899     fi
   7900     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7901       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7902     else
   7903       _lt_dsymutil=
   7904     fi
   7905     ;;
   7906   esac
   7907 
   7908 for ac_header in dlfcn.h
   7909 do :
   7910   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7911 "
   7912 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7913   cat >>confdefs.h <<_ACEOF
   7914 #define HAVE_DLFCN_H 1
   7915 _ACEOF
   7916 
   7917 fi
   7918 
   7919 done
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 # Set options
   7926 
   7927 
   7928 
   7929         enable_dlopen=no
   7930 
   7931 
   7932   enable_win32_dll=no
   7933 
   7934 
   7935             # Check whether --enable-shared was given.
   7936 if test "${enable_shared+set}" = set; then :
   7937   enableval=$enable_shared; p=${PACKAGE-default}
   7938     case $enableval in
   7939     yes) enable_shared=yes ;;
   7940     no) enable_shared=no ;;
   7941     *)
   7942       enable_shared=no
   7943       # Look at the argument we got.  We use all the common list separators.
   7944       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7945       for pkg in $enableval; do
   7946 	IFS="$lt_save_ifs"
   7947 	if test "X$pkg" = "X$p"; then
   7948 	  enable_shared=yes
   7949 	fi
   7950       done
   7951       IFS="$lt_save_ifs"
   7952       ;;
   7953     esac
   7954 else
   7955   enable_shared=yes
   7956 fi
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966   # Check whether --enable-static was given.
   7967 if test "${enable_static+set}" = set; then :
   7968   enableval=$enable_static; p=${PACKAGE-default}
   7969     case $enableval in
   7970     yes) enable_static=yes ;;
   7971     no) enable_static=no ;;
   7972     *)
   7973      enable_static=no
   7974       # Look at the argument we got.  We use all the common list separators.
   7975       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7976       for pkg in $enableval; do
   7977 	IFS="$lt_save_ifs"
   7978 	if test "X$pkg" = "X$p"; then
   7979 	  enable_static=yes
   7980 	fi
   7981       done
   7982       IFS="$lt_save_ifs"
   7983       ;;
   7984     esac
   7985 else
   7986   enable_static=yes
   7987 fi
   7988 
   7989 
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 # Check whether --with-pic was given.
   7999 if test "${with_pic+set}" = set; then :
   8000   withval=$with_pic; lt_p=${PACKAGE-default}
   8001     case $withval in
   8002     yes|no) pic_mode=$withval ;;
   8003     *)
   8004       pic_mode=default
   8005       # Look at the argument we got.  We use all the common list separators.
   8006       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8007       for lt_pkg in $withval; do
   8008 	IFS="$lt_save_ifs"
   8009 	if test "X$lt_pkg" = "X$lt_p"; then
   8010 	  pic_mode=yes
   8011 	fi
   8012       done
   8013       IFS="$lt_save_ifs"
   8014       ;;
   8015     esac
   8016 else
   8017   pic_mode=default
   8018 fi
   8019 
   8020 
   8021 test -z "$pic_mode" && pic_mode=default
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029   # Check whether --enable-fast-install was given.
   8030 if test "${enable_fast_install+set}" = set; then :
   8031   enableval=$enable_fast_install; p=${PACKAGE-default}
   8032     case $enableval in
   8033     yes) enable_fast_install=yes ;;
   8034     no) enable_fast_install=no ;;
   8035     *)
   8036       enable_fast_install=no
   8037       # Look at the argument we got.  We use all the common list separators.
   8038       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8039       for pkg in $enableval; do
   8040 	IFS="$lt_save_ifs"
   8041 	if test "X$pkg" = "X$p"; then
   8042 	  enable_fast_install=yes
   8043 	fi
   8044       done
   8045       IFS="$lt_save_ifs"
   8046       ;;
   8047     esac
   8048 else
   8049   enable_fast_install=yes
   8050 fi
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 # This can be used to rebuild libtool when needed
   8063 LIBTOOL_DEPS="$ltmain"
   8064 
   8065 # Always use our own libtool.
   8066 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 test -z "$LN_S" && LN_S="ln -s"
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 if test -n "${ZSH_VERSION+set}" ; then
   8113    setopt NO_GLOB_SUBST
   8114 fi
   8115 
   8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8117 $as_echo_n "checking for objdir... " >&6; }
   8118 if ${lt_cv_objdir+:} false; then :
   8119   $as_echo_n "(cached) " >&6
   8120 else
   8121   rm -f .libs 2>/dev/null
   8122 mkdir .libs 2>/dev/null
   8123 if test -d .libs; then
   8124   lt_cv_objdir=.libs
   8125 else
   8126   # MS-DOS does not allow filenames that begin with a dot.
   8127   lt_cv_objdir=_libs
   8128 fi
   8129 rmdir .libs 2>/dev/null
   8130 fi
   8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8132 $as_echo "$lt_cv_objdir" >&6; }
   8133 objdir=$lt_cv_objdir
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 cat >>confdefs.h <<_ACEOF
   8140 #define LT_OBJDIR "$lt_cv_objdir/"
   8141 _ACEOF
   8142 
   8143 
   8144 
   8145 
   8146 case $host_os in
   8147 aix3*)
   8148   # AIX sometimes has problems with the GCC collect2 program.  For some
   8149   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8150   # vanish in a puff of smoke.
   8151   if test "X${COLLECT_NAMES+set}" != Xset; then
   8152     COLLECT_NAMES=
   8153     export COLLECT_NAMES
   8154   fi
   8155   ;;
   8156 esac
   8157 
   8158 # Global variables:
   8159 ofile=libtool
   8160 can_build_shared=yes
   8161 
   8162 # All known linkers require a `.a' archive for static linking (except MSVC,
   8163 # which needs '.lib').
   8164 libext=a
   8165 
   8166 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8167 
   8168 old_CC="$CC"
   8169 old_CFLAGS="$CFLAGS"
   8170 
   8171 # Set sane defaults for various variables
   8172 test -z "$CC" && CC=cc
   8173 test -z "$LTCC" && LTCC=$CC
   8174 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8175 test -z "$LD" && LD=ld
   8176 test -z "$ac_objext" && ac_objext=o
   8177 
   8178 for cc_temp in $compiler""; do
   8179   case $cc_temp in
   8180     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8181     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8182     \-*) ;;
   8183     *) break;;
   8184   esac
   8185 done
   8186 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8187 
   8188 
   8189 # Only perform the check for file, if the check method requires it
   8190 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8191 case $deplibs_check_method in
   8192 file_magic*)
   8193   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8194     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8195 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8196 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8197   $as_echo_n "(cached) " >&6
   8198 else
   8199   case $MAGIC_CMD in
   8200 [\\/*] |  ?:[\\/]*)
   8201   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8202   ;;
   8203 *)
   8204   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8205   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8206   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8207   for ac_dir in $ac_dummy; do
   8208     IFS="$lt_save_ifs"
   8209     test -z "$ac_dir" && ac_dir=.
   8210     if test -f $ac_dir/${ac_tool_prefix}file; then
   8211       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8212       if test -n "$file_magic_test_file"; then
   8213 	case $deplibs_check_method in
   8214 	"file_magic "*)
   8215 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8216 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8217 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8218 	    $EGREP "$file_magic_regex" > /dev/null; then
   8219 	    :
   8220 	  else
   8221 	    cat <<_LT_EOF 1>&2
   8222 
   8223 *** Warning: the command libtool uses to detect shared libraries,
   8224 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8225 *** The result is that libtool may fail to recognize shared libraries
   8226 *** as such.  This will affect the creation of libtool libraries that
   8227 *** depend on shared libraries, but programs linked with such libtool
   8228 *** libraries will work regardless of this problem.  Nevertheless, you
   8229 *** may want to report the problem to your system manager and/or to
   8230 *** bug-libtool@gnu.org
   8231 
   8232 _LT_EOF
   8233 	  fi ;;
   8234 	esac
   8235       fi
   8236       break
   8237     fi
   8238   done
   8239   IFS="$lt_save_ifs"
   8240   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8241   ;;
   8242 esac
   8243 fi
   8244 
   8245 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8246 if test -n "$MAGIC_CMD"; then
   8247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8248 $as_echo "$MAGIC_CMD" >&6; }
   8249 else
   8250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8251 $as_echo "no" >&6; }
   8252 fi
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8259   if test -n "$ac_tool_prefix"; then
   8260     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8261 $as_echo_n "checking for file... " >&6; }
   8262 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8263   $as_echo_n "(cached) " >&6
   8264 else
   8265   case $MAGIC_CMD in
   8266 [\\/*] |  ?:[\\/]*)
   8267   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8268   ;;
   8269 *)
   8270   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8271   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8272   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8273   for ac_dir in $ac_dummy; do
   8274     IFS="$lt_save_ifs"
   8275     test -z "$ac_dir" && ac_dir=.
   8276     if test -f $ac_dir/file; then
   8277       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8278       if test -n "$file_magic_test_file"; then
   8279 	case $deplibs_check_method in
   8280 	"file_magic "*)
   8281 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8282 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8283 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8284 	    $EGREP "$file_magic_regex" > /dev/null; then
   8285 	    :
   8286 	  else
   8287 	    cat <<_LT_EOF 1>&2
   8288 
   8289 *** Warning: the command libtool uses to detect shared libraries,
   8290 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8291 *** The result is that libtool may fail to recognize shared libraries
   8292 *** as such.  This will affect the creation of libtool libraries that
   8293 *** depend on shared libraries, but programs linked with such libtool
   8294 *** libraries will work regardless of this problem.  Nevertheless, you
   8295 *** may want to report the problem to your system manager and/or to
   8296 *** bug-libtool@gnu.org
   8297 
   8298 _LT_EOF
   8299 	  fi ;;
   8300 	esac
   8301       fi
   8302       break
   8303     fi
   8304   done
   8305   IFS="$lt_save_ifs"
   8306   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8307   ;;
   8308 esac
   8309 fi
   8310 
   8311 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8312 if test -n "$MAGIC_CMD"; then
   8313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8314 $as_echo "$MAGIC_CMD" >&6; }
   8315 else
   8316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8317 $as_echo "no" >&6; }
   8318 fi
   8319 
   8320 
   8321   else
   8322     MAGIC_CMD=:
   8323   fi
   8324 fi
   8325 
   8326   fi
   8327   ;;
   8328 esac
   8329 
   8330 # Use C for the default configuration in the libtool script
   8331 
   8332 lt_save_CC="$CC"
   8333 ac_ext=c
   8334 ac_cpp='$CPP $CPPFLAGS'
   8335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8338 
   8339 
   8340 # Source file extension for C test sources.
   8341 ac_ext=c
   8342 
   8343 # Object file extension for compiled C test sources.
   8344 objext=o
   8345 objext=$objext
   8346 
   8347 # Code to be used in simple compile tests
   8348 lt_simple_compile_test_code="int some_variable = 0;"
   8349 
   8350 # Code to be used in simple link tests
   8351 lt_simple_link_test_code='int main(){return(0);}'
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 
   8359 # If no C compiler was specified, use CC.
   8360 LTCC=${LTCC-"$CC"}
   8361 
   8362 # If no C compiler flags were specified, use CFLAGS.
   8363 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8364 
   8365 # Allow CC to be a program name with arguments.
   8366 compiler=$CC
   8367 
   8368 # Save the default compiler, since it gets overwritten when the other
   8369 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8370 compiler_DEFAULT=$CC
   8371 
   8372 # save warnings/boilerplate of simple test code
   8373 ac_outfile=conftest.$ac_objext
   8374 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8375 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8376 _lt_compiler_boilerplate=`cat conftest.err`
   8377 $RM conftest*
   8378 
   8379 ac_outfile=conftest.$ac_objext
   8380 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8381 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8382 _lt_linker_boilerplate=`cat conftest.err`
   8383 $RM -r conftest*
   8384 
   8385 
   8386 ## CAVEAT EMPTOR:
   8387 ## There is no encapsulation within the following macros, do not change
   8388 ## the running order or otherwise move them around unless you know exactly
   8389 ## what you are doing...
   8390 if test -n "$compiler"; then
   8391 
   8392 lt_prog_compiler_no_builtin_flag=
   8393 
   8394 if test "$GCC" = yes; then
   8395   case $cc_basename in
   8396   nvcc*)
   8397     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8398   *)
   8399     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8400   esac
   8401 
   8402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8403 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8404 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8405   $as_echo_n "(cached) " >&6
   8406 else
   8407   lt_cv_prog_compiler_rtti_exceptions=no
   8408    ac_outfile=conftest.$ac_objext
   8409    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8410    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8411    # Insert the option either (1) after the last *FLAGS variable, or
   8412    # (2) before a word containing "conftest.", or (3) at the end.
   8413    # Note that $ac_compile itself does not contain backslashes and begins
   8414    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8415    # The option is referenced via a variable to avoid confusing sed.
   8416    lt_compile=`echo "$ac_compile" | $SED \
   8417    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8418    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8419    -e 's:$: $lt_compiler_flag:'`
   8420    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8421    (eval "$lt_compile" 2>conftest.err)
   8422    ac_status=$?
   8423    cat conftest.err >&5
   8424    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8425    if (exit $ac_status) && test -s "$ac_outfile"; then
   8426      # The compiler can only warn and ignore the option if not recognized
   8427      # So say no if there are warnings other than the usual output.
   8428      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8429      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8430      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8431        lt_cv_prog_compiler_rtti_exceptions=yes
   8432      fi
   8433    fi
   8434    $RM conftest*
   8435 
   8436 fi
   8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8438 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8439 
   8440 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8441     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8442 else
   8443     :
   8444 fi
   8445 
   8446 fi
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453   lt_prog_compiler_wl=
   8454 lt_prog_compiler_pic=
   8455 lt_prog_compiler_static=
   8456 
   8457 
   8458   if test "$GCC" = yes; then
   8459     lt_prog_compiler_wl='-Wl,'
   8460     lt_prog_compiler_static='-static'
   8461 
   8462     case $host_os in
   8463       aix*)
   8464       # All AIX code is PIC.
   8465       if test "$host_cpu" = ia64; then
   8466 	# AIX 5 now supports IA64 processor
   8467 	lt_prog_compiler_static='-Bstatic'
   8468       fi
   8469       ;;
   8470 
   8471     amigaos*)
   8472       case $host_cpu in
   8473       powerpc)
   8474             # see comment about AmigaOS4 .so support
   8475             lt_prog_compiler_pic='-fPIC'
   8476         ;;
   8477       m68k)
   8478             # FIXME: we need at least 68020 code to build shared libraries, but
   8479             # adding the `-m68020' flag to GCC prevents building anything better,
   8480             # like `-m68040'.
   8481             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8482         ;;
   8483       esac
   8484       ;;
   8485 
   8486     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8487       # PIC is the default for these OSes.
   8488       ;;
   8489 
   8490     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8491       # This hack is so that the source file can tell whether it is being
   8492       # built for inclusion in a dll (and should export symbols for example).
   8493       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8494       # (--disable-auto-import) libraries
   8495       lt_prog_compiler_pic='-DDLL_EXPORT'
   8496       ;;
   8497 
   8498     darwin* | rhapsody*)
   8499       # PIC is the default on this platform
   8500       # Common symbols not allowed in MH_DYLIB files
   8501       lt_prog_compiler_pic='-fno-common'
   8502       ;;
   8503 
   8504     haiku*)
   8505       # PIC is the default for Haiku.
   8506       # The "-static" flag exists, but is broken.
   8507       lt_prog_compiler_static=
   8508       ;;
   8509 
   8510     hpux*)
   8511       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8512       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8513       # sets the default TLS model and affects inlining.
   8514       case $host_cpu in
   8515       hppa*64*)
   8516 	# +Z the default
   8517 	;;
   8518       *)
   8519 	lt_prog_compiler_pic='-fPIC'
   8520 	;;
   8521       esac
   8522       ;;
   8523 
   8524     interix[3-9]*)
   8525       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8526       # Instead, we relocate shared libraries at runtime.
   8527       ;;
   8528 
   8529     msdosdjgpp*)
   8530       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8531       # on systems that don't support them.
   8532       lt_prog_compiler_can_build_shared=no
   8533       enable_shared=no
   8534       ;;
   8535 
   8536     *nto* | *qnx*)
   8537       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8538       # it will coredump.
   8539       lt_prog_compiler_pic='-fPIC -shared'
   8540       ;;
   8541 
   8542     sysv4*MP*)
   8543       if test -d /usr/nec; then
   8544 	lt_prog_compiler_pic=-Kconform_pic
   8545       fi
   8546       ;;
   8547 
   8548     *)
   8549       lt_prog_compiler_pic='-fPIC'
   8550       ;;
   8551     esac
   8552 
   8553     case $cc_basename in
   8554     nvcc*) # Cuda Compiler Driver 2.2
   8555       lt_prog_compiler_wl='-Xlinker '
   8556       if test -n "$lt_prog_compiler_pic"; then
   8557         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8558       fi
   8559       ;;
   8560     esac
   8561   else
   8562     # PORTME Check for flag to pass linker flags through the system compiler.
   8563     case $host_os in
   8564     aix*)
   8565       lt_prog_compiler_wl='-Wl,'
   8566       if test "$host_cpu" = ia64; then
   8567 	# AIX 5 now supports IA64 processor
   8568 	lt_prog_compiler_static='-Bstatic'
   8569       else
   8570 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8571       fi
   8572       ;;
   8573 
   8574     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8575       # This hack is so that the source file can tell whether it is being
   8576       # built for inclusion in a dll (and should export symbols for example).
   8577       lt_prog_compiler_pic='-DDLL_EXPORT'
   8578       ;;
   8579 
   8580     hpux9* | hpux10* | hpux11*)
   8581       lt_prog_compiler_wl='-Wl,'
   8582       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8583       # not for PA HP-UX.
   8584       case $host_cpu in
   8585       hppa*64*|ia64*)
   8586 	# +Z the default
   8587 	;;
   8588       *)
   8589 	lt_prog_compiler_pic='+Z'
   8590 	;;
   8591       esac
   8592       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8593       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8594       ;;
   8595 
   8596     irix5* | irix6* | nonstopux*)
   8597       lt_prog_compiler_wl='-Wl,'
   8598       # PIC (with -KPIC) is the default.
   8599       lt_prog_compiler_static='-non_shared'
   8600       ;;
   8601 
   8602     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8603       case $cc_basename in
   8604       # old Intel for x86_64 which still supported -KPIC.
   8605       ecc*)
   8606 	lt_prog_compiler_wl='-Wl,'
   8607 	lt_prog_compiler_pic='-KPIC'
   8608 	lt_prog_compiler_static='-static'
   8609         ;;
   8610       # icc used to be incompatible with GCC.
   8611       # ICC 10 doesn't accept -KPIC any more.
   8612       icc* | ifort*)
   8613 	lt_prog_compiler_wl='-Wl,'
   8614 	lt_prog_compiler_pic='-fPIC'
   8615 	lt_prog_compiler_static='-static'
   8616         ;;
   8617       # Lahey Fortran 8.1.
   8618       lf95*)
   8619 	lt_prog_compiler_wl='-Wl,'
   8620 	lt_prog_compiler_pic='--shared'
   8621 	lt_prog_compiler_static='--static'
   8622 	;;
   8623       nagfor*)
   8624 	# NAG Fortran compiler
   8625 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8626 	lt_prog_compiler_pic='-PIC'
   8627 	lt_prog_compiler_static='-Bstatic'
   8628 	;;
   8629       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8630         # Portland Group compilers (*not* the Pentium gcc compiler,
   8631 	# which looks to be a dead project)
   8632 	lt_prog_compiler_wl='-Wl,'
   8633 	lt_prog_compiler_pic='-fpic'
   8634 	lt_prog_compiler_static='-Bstatic'
   8635         ;;
   8636       ccc*)
   8637         lt_prog_compiler_wl='-Wl,'
   8638         # All Alpha code is PIC.
   8639         lt_prog_compiler_static='-non_shared'
   8640         ;;
   8641       xl* | bgxl* | bgf* | mpixl*)
   8642 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8643 	lt_prog_compiler_wl='-Wl,'
   8644 	lt_prog_compiler_pic='-qpic'
   8645 	lt_prog_compiler_static='-qstaticlink'
   8646 	;;
   8647       *)
   8648 	case `$CC -V 2>&1 | sed 5q` in
   8649 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8650 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8651 	  lt_prog_compiler_pic='-KPIC'
   8652 	  lt_prog_compiler_static='-Bstatic'
   8653 	  lt_prog_compiler_wl=''
   8654 	  ;;
   8655 	*Sun\ F* | *Sun*Fortran*)
   8656 	  lt_prog_compiler_pic='-KPIC'
   8657 	  lt_prog_compiler_static='-Bstatic'
   8658 	  lt_prog_compiler_wl='-Qoption ld '
   8659 	  ;;
   8660 	*Sun\ C*)
   8661 	  # Sun C 5.9
   8662 	  lt_prog_compiler_pic='-KPIC'
   8663 	  lt_prog_compiler_static='-Bstatic'
   8664 	  lt_prog_compiler_wl='-Wl,'
   8665 	  ;;
   8666         *Intel*\ [CF]*Compiler*)
   8667 	  lt_prog_compiler_wl='-Wl,'
   8668 	  lt_prog_compiler_pic='-fPIC'
   8669 	  lt_prog_compiler_static='-static'
   8670 	  ;;
   8671 	*Portland\ Group*)
   8672 	  lt_prog_compiler_wl='-Wl,'
   8673 	  lt_prog_compiler_pic='-fpic'
   8674 	  lt_prog_compiler_static='-Bstatic'
   8675 	  ;;
   8676 	esac
   8677 	;;
   8678       esac
   8679       ;;
   8680 
   8681     newsos6)
   8682       lt_prog_compiler_pic='-KPIC'
   8683       lt_prog_compiler_static='-Bstatic'
   8684       ;;
   8685 
   8686     *nto* | *qnx*)
   8687       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8688       # it will coredump.
   8689       lt_prog_compiler_pic='-fPIC -shared'
   8690       ;;
   8691 
   8692     osf3* | osf4* | osf5*)
   8693       lt_prog_compiler_wl='-Wl,'
   8694       # All OSF/1 code is PIC.
   8695       lt_prog_compiler_static='-non_shared'
   8696       ;;
   8697 
   8698     rdos*)
   8699       lt_prog_compiler_static='-non_shared'
   8700       ;;
   8701 
   8702     solaris*)
   8703       lt_prog_compiler_pic='-KPIC'
   8704       lt_prog_compiler_static='-Bstatic'
   8705       case $cc_basename in
   8706       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8707 	lt_prog_compiler_wl='-Qoption ld ';;
   8708       *)
   8709 	lt_prog_compiler_wl='-Wl,';;
   8710       esac
   8711       ;;
   8712 
   8713     sunos4*)
   8714       lt_prog_compiler_wl='-Qoption ld '
   8715       lt_prog_compiler_pic='-PIC'
   8716       lt_prog_compiler_static='-Bstatic'
   8717       ;;
   8718 
   8719     sysv4 | sysv4.2uw2* | sysv4.3*)
   8720       lt_prog_compiler_wl='-Wl,'
   8721       lt_prog_compiler_pic='-KPIC'
   8722       lt_prog_compiler_static='-Bstatic'
   8723       ;;
   8724 
   8725     sysv4*MP*)
   8726       if test -d /usr/nec ;then
   8727 	lt_prog_compiler_pic='-Kconform_pic'
   8728 	lt_prog_compiler_static='-Bstatic'
   8729       fi
   8730       ;;
   8731 
   8732     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8733       lt_prog_compiler_wl='-Wl,'
   8734       lt_prog_compiler_pic='-KPIC'
   8735       lt_prog_compiler_static='-Bstatic'
   8736       ;;
   8737 
   8738     unicos*)
   8739       lt_prog_compiler_wl='-Wl,'
   8740       lt_prog_compiler_can_build_shared=no
   8741       ;;
   8742 
   8743     uts4*)
   8744       lt_prog_compiler_pic='-pic'
   8745       lt_prog_compiler_static='-Bstatic'
   8746       ;;
   8747 
   8748     *)
   8749       lt_prog_compiler_can_build_shared=no
   8750       ;;
   8751     esac
   8752   fi
   8753 
   8754 case $host_os in
   8755   # For platforms which do not support PIC, -DPIC is meaningless:
   8756   *djgpp*)
   8757     lt_prog_compiler_pic=
   8758     ;;
   8759   *)
   8760     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8761     ;;
   8762 esac
   8763 
   8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8765 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8766 if ${lt_cv_prog_compiler_pic+:} false; then :
   8767   $as_echo_n "(cached) " >&6
   8768 else
   8769   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8770 fi
   8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8772 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8773 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8774 
   8775 #
   8776 # Check to make sure the PIC flag actually works.
   8777 #
   8778 if test -n "$lt_prog_compiler_pic"; then
   8779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8780 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8781 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8782   $as_echo_n "(cached) " >&6
   8783 else
   8784   lt_cv_prog_compiler_pic_works=no
   8785    ac_outfile=conftest.$ac_objext
   8786    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8787    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8788    # Insert the option either (1) after the last *FLAGS variable, or
   8789    # (2) before a word containing "conftest.", or (3) at the end.
   8790    # Note that $ac_compile itself does not contain backslashes and begins
   8791    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8792    # The option is referenced via a variable to avoid confusing sed.
   8793    lt_compile=`echo "$ac_compile" | $SED \
   8794    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8795    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8796    -e 's:$: $lt_compiler_flag:'`
   8797    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8798    (eval "$lt_compile" 2>conftest.err)
   8799    ac_status=$?
   8800    cat conftest.err >&5
   8801    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8802    if (exit $ac_status) && test -s "$ac_outfile"; then
   8803      # The compiler can only warn and ignore the option if not recognized
   8804      # So say no if there are warnings other than the usual output.
   8805      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8806      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8807      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8808        lt_cv_prog_compiler_pic_works=yes
   8809      fi
   8810    fi
   8811    $RM conftest*
   8812 
   8813 fi
   8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8815 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8816 
   8817 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8818     case $lt_prog_compiler_pic in
   8819      "" | " "*) ;;
   8820      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8821      esac
   8822 else
   8823     lt_prog_compiler_pic=
   8824      lt_prog_compiler_can_build_shared=no
   8825 fi
   8826 
   8827 fi
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 #
   8840 # Check to make sure the static flag actually works.
   8841 #
   8842 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8844 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8845 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8846   $as_echo_n "(cached) " >&6
   8847 else
   8848   lt_cv_prog_compiler_static_works=no
   8849    save_LDFLAGS="$LDFLAGS"
   8850    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8851    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8852    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8853      # The linker can only warn and ignore the option if not recognized
   8854      # So say no if there are warnings
   8855      if test -s conftest.err; then
   8856        # Append any errors to the config.log.
   8857        cat conftest.err 1>&5
   8858        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8859        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8860        if diff conftest.exp conftest.er2 >/dev/null; then
   8861          lt_cv_prog_compiler_static_works=yes
   8862        fi
   8863      else
   8864        lt_cv_prog_compiler_static_works=yes
   8865      fi
   8866    fi
   8867    $RM -r conftest*
   8868    LDFLAGS="$save_LDFLAGS"
   8869 
   8870 fi
   8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8872 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8873 
   8874 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8875     :
   8876 else
   8877     lt_prog_compiler_static=
   8878 fi
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8887 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8888 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8889   $as_echo_n "(cached) " >&6
   8890 else
   8891   lt_cv_prog_compiler_c_o=no
   8892    $RM -r conftest 2>/dev/null
   8893    mkdir conftest
   8894    cd conftest
   8895    mkdir out
   8896    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8897 
   8898    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8899    # Insert the option either (1) after the last *FLAGS variable, or
   8900    # (2) before a word containing "conftest.", or (3) at the end.
   8901    # Note that $ac_compile itself does not contain backslashes and begins
   8902    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8903    lt_compile=`echo "$ac_compile" | $SED \
   8904    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8905    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8906    -e 's:$: $lt_compiler_flag:'`
   8907    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8908    (eval "$lt_compile" 2>out/conftest.err)
   8909    ac_status=$?
   8910    cat out/conftest.err >&5
   8911    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8912    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8913    then
   8914      # The compiler can only warn and ignore the option if not recognized
   8915      # So say no if there are warnings
   8916      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8917      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8918      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8919        lt_cv_prog_compiler_c_o=yes
   8920      fi
   8921    fi
   8922    chmod u+w . 2>&5
   8923    $RM conftest*
   8924    # SGI C++ compiler will create directory out/ii_files/ for
   8925    # template instantiation
   8926    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8927    $RM out/* && rmdir out
   8928    cd ..
   8929    $RM -r conftest
   8930    $RM conftest*
   8931 
   8932 fi
   8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8934 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8943 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8944   $as_echo_n "(cached) " >&6
   8945 else
   8946   lt_cv_prog_compiler_c_o=no
   8947    $RM -r conftest 2>/dev/null
   8948    mkdir conftest
   8949    cd conftest
   8950    mkdir out
   8951    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8952 
   8953    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8954    # Insert the option either (1) after the last *FLAGS variable, or
   8955    # (2) before a word containing "conftest.", or (3) at the end.
   8956    # Note that $ac_compile itself does not contain backslashes and begins
   8957    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8958    lt_compile=`echo "$ac_compile" | $SED \
   8959    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8960    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8961    -e 's:$: $lt_compiler_flag:'`
   8962    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8963    (eval "$lt_compile" 2>out/conftest.err)
   8964    ac_status=$?
   8965    cat out/conftest.err >&5
   8966    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8967    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8968    then
   8969      # The compiler can only warn and ignore the option if not recognized
   8970      # So say no if there are warnings
   8971      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8972      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8973      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8974        lt_cv_prog_compiler_c_o=yes
   8975      fi
   8976    fi
   8977    chmod u+w . 2>&5
   8978    $RM conftest*
   8979    # SGI C++ compiler will create directory out/ii_files/ for
   8980    # template instantiation
   8981    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8982    $RM out/* && rmdir out
   8983    cd ..
   8984    $RM -r conftest
   8985    $RM conftest*
   8986 
   8987 fi
   8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8989 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8990 
   8991 
   8992 
   8993 
   8994 hard_links="nottested"
   8995 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8996   # do not overwrite the value of need_locks provided by the user
   8997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8998 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8999   hard_links=yes
   9000   $RM conftest*
   9001   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9002   touch conftest.a
   9003   ln conftest.a conftest.b 2>&5 || hard_links=no
   9004   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9006 $as_echo "$hard_links" >&6; }
   9007   if test "$hard_links" = no; then
   9008     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9009 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9010     need_locks=warn
   9011   fi
   9012 else
   9013   need_locks=no
   9014 fi
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9022 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9023 
   9024   runpath_var=
   9025   allow_undefined_flag=
   9026   always_export_symbols=no
   9027   archive_cmds=
   9028   archive_expsym_cmds=
   9029   compiler_needs_object=no
   9030   enable_shared_with_static_runtimes=no
   9031   export_dynamic_flag_spec=
   9032   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9033   hardcode_automatic=no
   9034   hardcode_direct=no
   9035   hardcode_direct_absolute=no
   9036   hardcode_libdir_flag_spec=
   9037   hardcode_libdir_separator=
   9038   hardcode_minus_L=no
   9039   hardcode_shlibpath_var=unsupported
   9040   inherit_rpath=no
   9041   link_all_deplibs=unknown
   9042   module_cmds=
   9043   module_expsym_cmds=
   9044   old_archive_from_new_cmds=
   9045   old_archive_from_expsyms_cmds=
   9046   thread_safe_flag_spec=
   9047   whole_archive_flag_spec=
   9048   # include_expsyms should be a list of space-separated symbols to be *always*
   9049   # included in the symbol list
   9050   include_expsyms=
   9051   # exclude_expsyms can be an extended regexp of symbols to exclude
   9052   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9053   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9054   # as well as any symbol that contains `d'.
   9055   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9056   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9057   # platforms (ab)use it in PIC code, but their linkers get confused if
   9058   # the symbol is explicitly referenced.  Since portable code cannot
   9059   # rely on this symbol name, it's probably fine to never include it in
   9060   # preloaded symbol tables.
   9061   # Exclude shared library initialization/finalization symbols.
   9062   extract_expsyms_cmds=
   9063 
   9064   case $host_os in
   9065   cygwin* | mingw* | pw32* | cegcc*)
   9066     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9067     # When not using gcc, we currently assume that we are using
   9068     # Microsoft Visual C++.
   9069     if test "$GCC" != yes; then
   9070       with_gnu_ld=no
   9071     fi
   9072     ;;
   9073   interix*)
   9074     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9075     with_gnu_ld=yes
   9076     ;;
   9077   openbsd*)
   9078     with_gnu_ld=no
   9079     ;;
   9080   linux* | k*bsd*-gnu | gnu*)
   9081     link_all_deplibs=no
   9082     ;;
   9083   esac
   9084 
   9085   ld_shlibs=yes
   9086 
   9087   # On some targets, GNU ld is compatible enough with the native linker
   9088   # that we're better off using the native interface for both.
   9089   lt_use_gnu_ld_interface=no
   9090   if test "$with_gnu_ld" = yes; then
   9091     case $host_os in
   9092       aix*)
   9093 	# The AIX port of GNU ld has always aspired to compatibility
   9094 	# with the native linker.  However, as the warning in the GNU ld
   9095 	# block says, versions before 2.19.5* couldn't really create working
   9096 	# shared libraries, regardless of the interface used.
   9097 	case `$LD -v 2>&1` in
   9098 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9099 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9100 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9101 	  *)
   9102 	    lt_use_gnu_ld_interface=yes
   9103 	    ;;
   9104 	esac
   9105 	;;
   9106       *)
   9107 	lt_use_gnu_ld_interface=yes
   9108 	;;
   9109     esac
   9110   fi
   9111 
   9112   if test "$lt_use_gnu_ld_interface" = yes; then
   9113     # If archive_cmds runs LD, not CC, wlarc should be empty
   9114     wlarc='${wl}'
   9115 
   9116     # Set some defaults for GNU ld with shared library support. These
   9117     # are reset later if shared libraries are not supported. Putting them
   9118     # here allows them to be overridden if necessary.
   9119     runpath_var=LD_RUN_PATH
   9120     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9121     export_dynamic_flag_spec='${wl}--export-dynamic'
   9122     # ancient GNU ld didn't support --whole-archive et. al.
   9123     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9124       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9125     else
   9126       whole_archive_flag_spec=
   9127     fi
   9128     supports_anon_versioning=no
   9129     case `$LD -v 2>&1` in
   9130       *GNU\ gold*) supports_anon_versioning=yes ;;
   9131       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9132       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9133       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9134       *\ 2.11.*) ;; # other 2.11 versions
   9135       *) supports_anon_versioning=yes ;;
   9136     esac
   9137 
   9138     # See if GNU ld supports shared libraries.
   9139     case $host_os in
   9140     aix[3-9]*)
   9141       # On AIX/PPC, the GNU linker is very broken
   9142       if test "$host_cpu" != ia64; then
   9143 	ld_shlibs=no
   9144 	cat <<_LT_EOF 1>&2
   9145 
   9146 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9147 *** to be unable to reliably create shared libraries on AIX.
   9148 *** Therefore, libtool is disabling shared libraries support.  If you
   9149 *** really care for shared libraries, you may want to install binutils
   9150 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9151 *** You will then need to restart the configuration process.
   9152 
   9153 _LT_EOF
   9154       fi
   9155       ;;
   9156 
   9157     amigaos*)
   9158       case $host_cpu in
   9159       powerpc)
   9160             # see comment about AmigaOS4 .so support
   9161             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9162             archive_expsym_cmds=''
   9163         ;;
   9164       m68k)
   9165             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)'
   9166             hardcode_libdir_flag_spec='-L$libdir'
   9167             hardcode_minus_L=yes
   9168         ;;
   9169       esac
   9170       ;;
   9171 
   9172     beos*)
   9173       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9174 	allow_undefined_flag=unsupported
   9175 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9176 	# support --undefined.  This deserves some investigation.  FIXME
   9177 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9178       else
   9179 	ld_shlibs=no
   9180       fi
   9181       ;;
   9182 
   9183     cygwin* | mingw* | pw32* | cegcc*)
   9184       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9185       # as there is no search path for DLLs.
   9186       hardcode_libdir_flag_spec='-L$libdir'
   9187       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9188       allow_undefined_flag=unsupported
   9189       always_export_symbols=no
   9190       enable_shared_with_static_runtimes=yes
   9191       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'
   9192       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9193 
   9194       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9195         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9196 	# If the export-symbols file already is a .def file (1st line
   9197 	# is EXPORTS), use it as is; otherwise, prepend...
   9198 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9199 	  cp $export_symbols $output_objdir/$soname.def;
   9200 	else
   9201 	  echo EXPORTS > $output_objdir/$soname.def;
   9202 	  cat $export_symbols >> $output_objdir/$soname.def;
   9203 	fi~
   9204 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9205       else
   9206 	ld_shlibs=no
   9207       fi
   9208       ;;
   9209 
   9210     haiku*)
   9211       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9212       link_all_deplibs=yes
   9213       ;;
   9214 
   9215     interix[3-9]*)
   9216       hardcode_direct=no
   9217       hardcode_shlibpath_var=no
   9218       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9219       export_dynamic_flag_spec='${wl}-E'
   9220       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9221       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9222       # default) and relocated if they conflict, which is a slow very memory
   9223       # consuming and fragmenting process.  To avoid this, we pick a random,
   9224       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9225       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9226       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9227       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'
   9228       ;;
   9229 
   9230     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9231       tmp_diet=no
   9232       if test "$host_os" = linux-dietlibc; then
   9233 	case $cc_basename in
   9234 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9235 	esac
   9236       fi
   9237       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9238 	 && test "$tmp_diet" = no
   9239       then
   9240 	tmp_addflag=' $pic_flag'
   9241 	tmp_sharedflag='-shared'
   9242 	case $cc_basename,$host_cpu in
   9243         pgcc*)				# Portland Group C compiler
   9244 	  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'
   9245 	  tmp_addflag=' $pic_flag'
   9246 	  ;;
   9247 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9248 					# Portland Group f77 and f90 compilers
   9249 	  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'
   9250 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9251 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9252 	  tmp_addflag=' -i_dynamic' ;;
   9253 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9254 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9255 	ifc* | ifort*)			# Intel Fortran compiler
   9256 	  tmp_addflag=' -nofor_main' ;;
   9257 	lf95*)				# Lahey Fortran 8.1
   9258 	  whole_archive_flag_spec=
   9259 	  tmp_sharedflag='--shared' ;;
   9260 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9261 	  tmp_sharedflag='-qmkshrobj'
   9262 	  tmp_addflag= ;;
   9263 	nvcc*)	# Cuda Compiler Driver 2.2
   9264 	  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'
   9265 	  compiler_needs_object=yes
   9266 	  ;;
   9267 	esac
   9268 	case `$CC -V 2>&1 | sed 5q` in
   9269 	*Sun\ C*)			# Sun C 5.9
   9270 	  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'
   9271 	  compiler_needs_object=yes
   9272 	  tmp_sharedflag='-G' ;;
   9273 	*Sun\ F*)			# Sun Fortran 8.3
   9274 	  tmp_sharedflag='-G' ;;
   9275 	esac
   9276 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9277 
   9278         if test "x$supports_anon_versioning" = xyes; then
   9279           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9280 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9281 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9282 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9283         fi
   9284 
   9285 	case $cc_basename in
   9286 	xlf* | bgf* | bgxlf* | mpixlf*)
   9287 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9288 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9289 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9290 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9291 	  if test "x$supports_anon_versioning" = xyes; then
   9292 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9293 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9294 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9295 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9296 	  fi
   9297 	  ;;
   9298 	esac
   9299       else
   9300         ld_shlibs=no
   9301       fi
   9302       ;;
   9303 
   9304     netbsd* | netbsdelf*-gnu)
   9305       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9306 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9307 	wlarc=
   9308       else
   9309 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9310 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9311       fi
   9312       ;;
   9313 
   9314     solaris*)
   9315       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9316 	ld_shlibs=no
   9317 	cat <<_LT_EOF 1>&2
   9318 
   9319 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9320 *** create shared libraries on Solaris systems.  Therefore, libtool
   9321 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9322 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9323 *** your PATH or compiler configuration so that the native linker is
   9324 *** used, and then restart.
   9325 
   9326 _LT_EOF
   9327       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9328 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9329 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9330       else
   9331 	ld_shlibs=no
   9332       fi
   9333       ;;
   9334 
   9335     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9336       case `$LD -v 2>&1` in
   9337         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9338 	ld_shlibs=no
   9339 	cat <<_LT_EOF 1>&2
   9340 
   9341 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9342 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9343 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9344 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9345 *** your PATH or compiler configuration so that the native linker is
   9346 *** used, and then restart.
   9347 
   9348 _LT_EOF
   9349 	;;
   9350 	*)
   9351 	  # For security reasons, it is highly recommended that you always
   9352 	  # use absolute paths for naming shared libraries, and exclude the
   9353 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9354 	  # requires that you compile everything twice, which is a pain.
   9355 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9356 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9357 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9358 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9359 	  else
   9360 	    ld_shlibs=no
   9361 	  fi
   9362 	;;
   9363       esac
   9364       ;;
   9365 
   9366     sunos4*)
   9367       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9368       wlarc=
   9369       hardcode_direct=yes
   9370       hardcode_shlibpath_var=no
   9371       ;;
   9372 
   9373     *)
   9374       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9375 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9376 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9377       else
   9378 	ld_shlibs=no
   9379       fi
   9380       ;;
   9381     esac
   9382 
   9383     if test "$ld_shlibs" = no; then
   9384       runpath_var=
   9385       hardcode_libdir_flag_spec=
   9386       export_dynamic_flag_spec=
   9387       whole_archive_flag_spec=
   9388     fi
   9389   else
   9390     # PORTME fill in a description of your system's linker (not GNU ld)
   9391     case $host_os in
   9392     aix3*)
   9393       allow_undefined_flag=unsupported
   9394       always_export_symbols=yes
   9395       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'
   9396       # Note: this linker hardcodes the directories in LIBPATH if there
   9397       # are no directories specified by -L.
   9398       hardcode_minus_L=yes
   9399       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9400 	# Neither direct hardcoding nor static linking is supported with a
   9401 	# broken collect2.
   9402 	hardcode_direct=unsupported
   9403       fi
   9404       ;;
   9405 
   9406     aix[4-9]*)
   9407       if test "$host_cpu" = ia64; then
   9408 	# On IA64, the linker does run time linking by default, so we don't
   9409 	# have to do anything special.
   9410 	aix_use_runtimelinking=no
   9411 	exp_sym_flag='-Bexport'
   9412 	no_entry_flag=""
   9413       else
   9414 	# If we're using GNU nm, then we don't want the "-C" option.
   9415 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9416 	# Also, AIX nm treats weak defined symbols like other global
   9417 	# defined symbols, whereas GNU nm marks them as "W".
   9418 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9419 	  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'
   9420 	else
   9421 	  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'
   9422 	fi
   9423 	aix_use_runtimelinking=no
   9424 
   9425 	# Test if we are trying to use run time linking or normal
   9426 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9427 	# need to do runtime linking.
   9428 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9429 	  for ld_flag in $LDFLAGS; do
   9430 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9431 	    aix_use_runtimelinking=yes
   9432 	    break
   9433 	  fi
   9434 	  done
   9435 	  ;;
   9436 	esac
   9437 
   9438 	exp_sym_flag='-bexport'
   9439 	no_entry_flag='-bnoentry'
   9440       fi
   9441 
   9442       # When large executables or shared objects are built, AIX ld can
   9443       # have problems creating the table of contents.  If linking a library
   9444       # or program results in "error TOC overflow" add -mminimal-toc to
   9445       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9446       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9447 
   9448       archive_cmds=''
   9449       hardcode_direct=yes
   9450       hardcode_direct_absolute=yes
   9451       hardcode_libdir_separator=':'
   9452       link_all_deplibs=yes
   9453       file_list_spec='${wl}-f,'
   9454 
   9455       if test "$GCC" = yes; then
   9456 	case $host_os in aix4.[012]|aix4.[012].*)
   9457 	# We only want to do this on AIX 4.2 and lower, the check
   9458 	# below for broken collect2 doesn't work under 4.3+
   9459 	  collect2name=`${CC} -print-prog-name=collect2`
   9460 	  if test -f "$collect2name" &&
   9461 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9462 	  then
   9463 	  # We have reworked collect2
   9464 	  :
   9465 	  else
   9466 	  # We have old collect2
   9467 	  hardcode_direct=unsupported
   9468 	  # It fails to find uninstalled libraries when the uninstalled
   9469 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9470 	  # to unsupported forces relinking
   9471 	  hardcode_minus_L=yes
   9472 	  hardcode_libdir_flag_spec='-L$libdir'
   9473 	  hardcode_libdir_separator=
   9474 	  fi
   9475 	  ;;
   9476 	esac
   9477 	shared_flag='-shared'
   9478 	if test "$aix_use_runtimelinking" = yes; then
   9479 	  shared_flag="$shared_flag "'${wl}-G'
   9480 	fi
   9481 	link_all_deplibs=no
   9482       else
   9483 	# not using gcc
   9484 	if test "$host_cpu" = ia64; then
   9485 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9486 	# chokes on -Wl,-G. The following line is correct:
   9487 	  shared_flag='-G'
   9488 	else
   9489 	  if test "$aix_use_runtimelinking" = yes; then
   9490 	    shared_flag='${wl}-G'
   9491 	  else
   9492 	    shared_flag='${wl}-bM:SRE'
   9493 	  fi
   9494 	fi
   9495       fi
   9496 
   9497       export_dynamic_flag_spec='${wl}-bexpall'
   9498       # It seems that -bexpall does not export symbols beginning with
   9499       # underscore (_), so it is better to generate a list of symbols to export.
   9500       always_export_symbols=yes
   9501       if test "$aix_use_runtimelinking" = yes; then
   9502 	# Warning - without using the other runtime loading flags (-brtl),
   9503 	# -berok will link without error, but may produce a broken library.
   9504 	allow_undefined_flag='-berok'
   9505         # Determine the default libpath from the value encoded in an
   9506         # empty executable.
   9507         if test "${lt_cv_aix_libpath+set}" = set; then
   9508   aix_libpath=$lt_cv_aix_libpath
   9509 else
   9510   if ${lt_cv_aix_libpath_+:} false; then :
   9511   $as_echo_n "(cached) " >&6
   9512 else
   9513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9514 /* end confdefs.h.  */
   9515 
   9516 int
   9517 main ()
   9518 {
   9519 
   9520   ;
   9521   return 0;
   9522 }
   9523 _ACEOF
   9524 if ac_fn_c_try_link "$LINENO"; then :
   9525 
   9526   lt_aix_libpath_sed='
   9527       /Import File Strings/,/^$/ {
   9528 	  /^0/ {
   9529 	      s/^0  *\([^ ]*\) *$/\1/
   9530 	      p
   9531 	  }
   9532       }'
   9533   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9534   # Check for a 64-bit object if we didn't find anything.
   9535   if test -z "$lt_cv_aix_libpath_"; then
   9536     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9537   fi
   9538 fi
   9539 rm -f core conftest.err conftest.$ac_objext \
   9540     conftest$ac_exeext conftest.$ac_ext
   9541   if test -z "$lt_cv_aix_libpath_"; then
   9542     lt_cv_aix_libpath_="/usr/lib:/lib"
   9543   fi
   9544 
   9545 fi
   9546 
   9547   aix_libpath=$lt_cv_aix_libpath_
   9548 fi
   9549 
   9550         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9551         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"
   9552       else
   9553 	if test "$host_cpu" = ia64; then
   9554 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9555 	  allow_undefined_flag="-z nodefs"
   9556 	  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"
   9557 	else
   9558 	 # Determine the default libpath from the value encoded in an
   9559 	 # empty executable.
   9560 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9561   aix_libpath=$lt_cv_aix_libpath
   9562 else
   9563   if ${lt_cv_aix_libpath_+:} false; then :
   9564   $as_echo_n "(cached) " >&6
   9565 else
   9566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9567 /* end confdefs.h.  */
   9568 
   9569 int
   9570 main ()
   9571 {
   9572 
   9573   ;
   9574   return 0;
   9575 }
   9576 _ACEOF
   9577 if ac_fn_c_try_link "$LINENO"; then :
   9578 
   9579   lt_aix_libpath_sed='
   9580       /Import File Strings/,/^$/ {
   9581 	  /^0/ {
   9582 	      s/^0  *\([^ ]*\) *$/\1/
   9583 	      p
   9584 	  }
   9585       }'
   9586   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9587   # Check for a 64-bit object if we didn't find anything.
   9588   if test -z "$lt_cv_aix_libpath_"; then
   9589     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9590   fi
   9591 fi
   9592 rm -f core conftest.err conftest.$ac_objext \
   9593     conftest$ac_exeext conftest.$ac_ext
   9594   if test -z "$lt_cv_aix_libpath_"; then
   9595     lt_cv_aix_libpath_="/usr/lib:/lib"
   9596   fi
   9597 
   9598 fi
   9599 
   9600   aix_libpath=$lt_cv_aix_libpath_
   9601 fi
   9602 
   9603 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9604 	  # Warning - without using the other run time loading flags,
   9605 	  # -berok will link without error, but may produce a broken library.
   9606 	  no_undefined_flag=' ${wl}-bernotok'
   9607 	  allow_undefined_flag=' ${wl}-berok'
   9608 	  if test "$with_gnu_ld" = yes; then
   9609 	    # We only use this code for GNU lds that support --whole-archive.
   9610 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9611 	  else
   9612 	    # Exported symbols can be pulled into shared objects from archives
   9613 	    whole_archive_flag_spec='$convenience'
   9614 	  fi
   9615 	  archive_cmds_need_lc=yes
   9616 	  # This is similar to how AIX traditionally builds its shared libraries.
   9617 	  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'
   9618 	fi
   9619       fi
   9620       ;;
   9621 
   9622     amigaos*)
   9623       case $host_cpu in
   9624       powerpc)
   9625             # see comment about AmigaOS4 .so support
   9626             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9627             archive_expsym_cmds=''
   9628         ;;
   9629       m68k)
   9630             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)'
   9631             hardcode_libdir_flag_spec='-L$libdir'
   9632             hardcode_minus_L=yes
   9633         ;;
   9634       esac
   9635       ;;
   9636 
   9637     bsdi[45]*)
   9638       export_dynamic_flag_spec=-rdynamic
   9639       ;;
   9640 
   9641     cygwin* | mingw* | pw32* | cegcc*)
   9642       # When not using gcc, we currently assume that we are using
   9643       # Microsoft Visual C++.
   9644       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9645       # no search path for DLLs.
   9646       case $cc_basename in
   9647       cl*)
   9648 	# Native MSVC
   9649 	hardcode_libdir_flag_spec=' '
   9650 	allow_undefined_flag=unsupported
   9651 	always_export_symbols=yes
   9652 	file_list_spec='@'
   9653 	# Tell ltmain to make .lib files, not .a files.
   9654 	libext=lib
   9655 	# Tell ltmain to make .dll files, not .so files.
   9656 	shrext_cmds=".dll"
   9657 	# FIXME: Setting linknames here is a bad hack.
   9658 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9659 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9660 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9661 	  else
   9662 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9663 	  fi~
   9664 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9665 	  linknames='
   9666 	# The linker will not automatically build a static lib if we build a DLL.
   9667 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9668 	enable_shared_with_static_runtimes=yes
   9669 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9670 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9671 	# Don't use ranlib
   9672 	old_postinstall_cmds='chmod 644 $oldlib'
   9673 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9674 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9675 	  case $lt_outputfile in
   9676 	    *.exe|*.EXE) ;;
   9677 	    *)
   9678 	      lt_outputfile="$lt_outputfile.exe"
   9679 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9680 	      ;;
   9681 	  esac~
   9682 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9683 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9684 	    $RM "$lt_outputfile.manifest";
   9685 	  fi'
   9686 	;;
   9687       *)
   9688 	# Assume MSVC wrapper
   9689 	hardcode_libdir_flag_spec=' '
   9690 	allow_undefined_flag=unsupported
   9691 	# Tell ltmain to make .lib files, not .a files.
   9692 	libext=lib
   9693 	# Tell ltmain to make .dll files, not .so files.
   9694 	shrext_cmds=".dll"
   9695 	# FIXME: Setting linknames here is a bad hack.
   9696 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9697 	# The linker will automatically build a .lib file if we build a DLL.
   9698 	old_archive_from_new_cmds='true'
   9699 	# FIXME: Should let the user specify the lib program.
   9700 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9701 	enable_shared_with_static_runtimes=yes
   9702 	;;
   9703       esac
   9704       ;;
   9705 
   9706     darwin* | rhapsody*)
   9707 
   9708 
   9709   archive_cmds_need_lc=no
   9710   hardcode_direct=no
   9711   hardcode_automatic=yes
   9712   hardcode_shlibpath_var=unsupported
   9713   if test "$lt_cv_ld_force_load" = "yes"; then
   9714     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\"`'
   9715 
   9716   else
   9717     whole_archive_flag_spec=''
   9718   fi
   9719   link_all_deplibs=yes
   9720   allow_undefined_flag="$_lt_dar_allow_undefined"
   9721   case $cc_basename in
   9722      ifort*) _lt_dar_can_shared=yes ;;
   9723      *) _lt_dar_can_shared=$GCC ;;
   9724   esac
   9725   if test "$_lt_dar_can_shared" = "yes"; then
   9726     output_verbose_link_cmd=func_echo_all
   9727     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9728     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9729     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}"
   9730     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}"
   9731 
   9732   else
   9733   ld_shlibs=no
   9734   fi
   9735 
   9736       ;;
   9737 
   9738     dgux*)
   9739       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9740       hardcode_libdir_flag_spec='-L$libdir'
   9741       hardcode_shlibpath_var=no
   9742       ;;
   9743 
   9744     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9745     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9746     # does not break anything, and helps significantly (at the cost of a little
   9747     # extra space).
   9748     freebsd2.2*)
   9749       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9750       hardcode_libdir_flag_spec='-R$libdir'
   9751       hardcode_direct=yes
   9752       hardcode_shlibpath_var=no
   9753       ;;
   9754 
   9755     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9756     freebsd2.*)
   9757       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9758       hardcode_direct=yes
   9759       hardcode_minus_L=yes
   9760       hardcode_shlibpath_var=no
   9761       ;;
   9762 
   9763     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9764     freebsd* | dragonfly*)
   9765       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9766       hardcode_libdir_flag_spec='-R$libdir'
   9767       hardcode_direct=yes
   9768       hardcode_shlibpath_var=no
   9769       ;;
   9770 
   9771     hpux9*)
   9772       if test "$GCC" = yes; then
   9773 	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'
   9774       else
   9775 	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'
   9776       fi
   9777       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9778       hardcode_libdir_separator=:
   9779       hardcode_direct=yes
   9780 
   9781       # hardcode_minus_L: Not really in the search PATH,
   9782       # but as the default location of the library.
   9783       hardcode_minus_L=yes
   9784       export_dynamic_flag_spec='${wl}-E'
   9785       ;;
   9786 
   9787     hpux10*)
   9788       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9789 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9790       else
   9791 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9792       fi
   9793       if test "$with_gnu_ld" = no; then
   9794 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9795 	hardcode_libdir_separator=:
   9796 	hardcode_direct=yes
   9797 	hardcode_direct_absolute=yes
   9798 	export_dynamic_flag_spec='${wl}-E'
   9799 	# hardcode_minus_L: Not really in the search PATH,
   9800 	# but as the default location of the library.
   9801 	hardcode_minus_L=yes
   9802       fi
   9803       ;;
   9804 
   9805     hpux11*)
   9806       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9807 	case $host_cpu in
   9808 	hppa*64*)
   9809 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9810 	  ;;
   9811 	ia64*)
   9812 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9813 	  ;;
   9814 	*)
   9815 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9816 	  ;;
   9817 	esac
   9818       else
   9819 	case $host_cpu in
   9820 	hppa*64*)
   9821 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9822 	  ;;
   9823 	ia64*)
   9824 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9825 	  ;;
   9826 	*)
   9827 
   9828 	  # Older versions of the 11.00 compiler do not understand -b yet
   9829 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9830 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9831 $as_echo_n "checking if $CC understands -b... " >&6; }
   9832 if ${lt_cv_prog_compiler__b+:} false; then :
   9833   $as_echo_n "(cached) " >&6
   9834 else
   9835   lt_cv_prog_compiler__b=no
   9836    save_LDFLAGS="$LDFLAGS"
   9837    LDFLAGS="$LDFLAGS -b"
   9838    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9839    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9840      # The linker can only warn and ignore the option if not recognized
   9841      # So say no if there are warnings
   9842      if test -s conftest.err; then
   9843        # Append any errors to the config.log.
   9844        cat conftest.err 1>&5
   9845        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9846        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9847        if diff conftest.exp conftest.er2 >/dev/null; then
   9848          lt_cv_prog_compiler__b=yes
   9849        fi
   9850      else
   9851        lt_cv_prog_compiler__b=yes
   9852      fi
   9853    fi
   9854    $RM -r conftest*
   9855    LDFLAGS="$save_LDFLAGS"
   9856 
   9857 fi
   9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9859 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9860 
   9861 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9862     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9863 else
   9864     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9865 fi
   9866 
   9867 	  ;;
   9868 	esac
   9869       fi
   9870       if test "$with_gnu_ld" = no; then
   9871 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9872 	hardcode_libdir_separator=:
   9873 
   9874 	case $host_cpu in
   9875 	hppa*64*|ia64*)
   9876 	  hardcode_direct=no
   9877 	  hardcode_shlibpath_var=no
   9878 	  ;;
   9879 	*)
   9880 	  hardcode_direct=yes
   9881 	  hardcode_direct_absolute=yes
   9882 	  export_dynamic_flag_spec='${wl}-E'
   9883 
   9884 	  # hardcode_minus_L: Not really in the search PATH,
   9885 	  # but as the default location of the library.
   9886 	  hardcode_minus_L=yes
   9887 	  ;;
   9888 	esac
   9889       fi
   9890       ;;
   9891 
   9892     irix5* | irix6* | nonstopux*)
   9893       if test "$GCC" = yes; then
   9894 	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'
   9895 	# Try to use the -exported_symbol ld option, if it does not
   9896 	# work, assume that -exports_file does not work either and
   9897 	# implicitly export all symbols.
   9898 	# This should be the same for all languages, so no per-tag cache variable.
   9899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9900 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9901 if ${lt_cv_irix_exported_symbol+:} false; then :
   9902   $as_echo_n "(cached) " >&6
   9903 else
   9904   save_LDFLAGS="$LDFLAGS"
   9905 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9906 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9907 /* end confdefs.h.  */
   9908 int foo (void) { return 0; }
   9909 _ACEOF
   9910 if ac_fn_c_try_link "$LINENO"; then :
   9911   lt_cv_irix_exported_symbol=yes
   9912 else
   9913   lt_cv_irix_exported_symbol=no
   9914 fi
   9915 rm -f core conftest.err conftest.$ac_objext \
   9916     conftest$ac_exeext conftest.$ac_ext
   9917            LDFLAGS="$save_LDFLAGS"
   9918 fi
   9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9920 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9921 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9922           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'
   9923 	fi
   9924       else
   9925 	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'
   9926 	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'
   9927       fi
   9928       archive_cmds_need_lc='no'
   9929       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9930       hardcode_libdir_separator=:
   9931       inherit_rpath=yes
   9932       link_all_deplibs=yes
   9933       ;;
   9934 
   9935     netbsd* | netbsdelf*-gnu)
   9936       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9937 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9938       else
   9939 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9940       fi
   9941       hardcode_libdir_flag_spec='-R$libdir'
   9942       hardcode_direct=yes
   9943       hardcode_shlibpath_var=no
   9944       ;;
   9945 
   9946     newsos6)
   9947       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9948       hardcode_direct=yes
   9949       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9950       hardcode_libdir_separator=:
   9951       hardcode_shlibpath_var=no
   9952       ;;
   9953 
   9954     *nto* | *qnx*)
   9955       ;;
   9956 
   9957     openbsd*)
   9958       if test -f /usr/libexec/ld.so; then
   9959 	hardcode_direct=yes
   9960 	hardcode_shlibpath_var=no
   9961 	hardcode_direct_absolute=yes
   9962 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9963 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9964 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9965 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9966 	  export_dynamic_flag_spec='${wl}-E'
   9967 	else
   9968 	  case $host_os in
   9969 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9970 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9971 	     hardcode_libdir_flag_spec='-R$libdir'
   9972 	     ;;
   9973 	   *)
   9974 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9975 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9976 	     ;;
   9977 	  esac
   9978 	fi
   9979       else
   9980 	ld_shlibs=no
   9981       fi
   9982       ;;
   9983 
   9984     os2*)
   9985       hardcode_libdir_flag_spec='-L$libdir'
   9986       hardcode_minus_L=yes
   9987       allow_undefined_flag=unsupported
   9988       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'
   9989       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9990       ;;
   9991 
   9992     osf3*)
   9993       if test "$GCC" = yes; then
   9994 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9995 	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'
   9996       else
   9997 	allow_undefined_flag=' -expect_unresolved \*'
   9998 	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'
   9999       fi
   10000       archive_cmds_need_lc='no'
   10001       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10002       hardcode_libdir_separator=:
   10003       ;;
   10004 
   10005     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10006       if test "$GCC" = yes; then
   10007 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10008 	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'
   10009 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10010       else
   10011 	allow_undefined_flag=' -expect_unresolved \*'
   10012 	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'
   10013 	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~
   10014 	$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'
   10015 
   10016 	# Both c and cxx compiler support -rpath directly
   10017 	hardcode_libdir_flag_spec='-rpath $libdir'
   10018       fi
   10019       archive_cmds_need_lc='no'
   10020       hardcode_libdir_separator=:
   10021       ;;
   10022 
   10023     solaris*)
   10024       no_undefined_flag=' -z defs'
   10025       if test "$GCC" = yes; then
   10026 	wlarc='${wl}'
   10027 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10028 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10029 	  $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'
   10030       else
   10031 	case `$CC -V 2>&1` in
   10032 	*"Compilers 5.0"*)
   10033 	  wlarc=''
   10034 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10035 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10036 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10037 	  ;;
   10038 	*)
   10039 	  wlarc='${wl}'
   10040 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10041 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10042 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10043 	  ;;
   10044 	esac
   10045       fi
   10046       hardcode_libdir_flag_spec='-R$libdir'
   10047       hardcode_shlibpath_var=no
   10048       case $host_os in
   10049       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10050       *)
   10051 	# The compiler driver will combine and reorder linker options,
   10052 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10053 	# but is careful enough not to reorder.
   10054 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10055 	if test "$GCC" = yes; then
   10056 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10057 	else
   10058 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10059 	fi
   10060 	;;
   10061       esac
   10062       link_all_deplibs=yes
   10063       ;;
   10064 
   10065     sunos4*)
   10066       if test "x$host_vendor" = xsequent; then
   10067 	# Use $CC to link under sequent, because it throws in some extra .o
   10068 	# files that make .init and .fini sections work.
   10069 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10070       else
   10071 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10072       fi
   10073       hardcode_libdir_flag_spec='-L$libdir'
   10074       hardcode_direct=yes
   10075       hardcode_minus_L=yes
   10076       hardcode_shlibpath_var=no
   10077       ;;
   10078 
   10079     sysv4)
   10080       case $host_vendor in
   10081 	sni)
   10082 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10083 	  hardcode_direct=yes # is this really true???
   10084 	;;
   10085 	siemens)
   10086 	  ## LD is ld it makes a PLAMLIB
   10087 	  ## CC just makes a GrossModule.
   10088 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10089 	  reload_cmds='$CC -r -o $output$reload_objs'
   10090 	  hardcode_direct=no
   10091         ;;
   10092 	motorola)
   10093 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10094 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10095 	;;
   10096       esac
   10097       runpath_var='LD_RUN_PATH'
   10098       hardcode_shlibpath_var=no
   10099       ;;
   10100 
   10101     sysv4.3*)
   10102       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10103       hardcode_shlibpath_var=no
   10104       export_dynamic_flag_spec='-Bexport'
   10105       ;;
   10106 
   10107     sysv4*MP*)
   10108       if test -d /usr/nec; then
   10109 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10110 	hardcode_shlibpath_var=no
   10111 	runpath_var=LD_RUN_PATH
   10112 	hardcode_runpath_var=yes
   10113 	ld_shlibs=yes
   10114       fi
   10115       ;;
   10116 
   10117     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10118       no_undefined_flag='${wl}-z,text'
   10119       archive_cmds_need_lc=no
   10120       hardcode_shlibpath_var=no
   10121       runpath_var='LD_RUN_PATH'
   10122 
   10123       if test "$GCC" = yes; then
   10124 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10125 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10126       else
   10127 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10128 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10129       fi
   10130       ;;
   10131 
   10132     sysv5* | sco3.2v5* | sco5v6*)
   10133       # Note: We can NOT use -z defs as we might desire, because we do not
   10134       # link with -lc, and that would cause any symbols used from libc to
   10135       # always be unresolved, which means just about no library would
   10136       # ever link correctly.  If we're not using GNU ld we use -z text
   10137       # though, which does catch some bad symbols but isn't as heavy-handed
   10138       # as -z defs.
   10139       no_undefined_flag='${wl}-z,text'
   10140       allow_undefined_flag='${wl}-z,nodefs'
   10141       archive_cmds_need_lc=no
   10142       hardcode_shlibpath_var=no
   10143       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10144       hardcode_libdir_separator=':'
   10145       link_all_deplibs=yes
   10146       export_dynamic_flag_spec='${wl}-Bexport'
   10147       runpath_var='LD_RUN_PATH'
   10148 
   10149       if test "$GCC" = yes; then
   10150 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10151 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10152       else
   10153 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10154 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10155       fi
   10156       ;;
   10157 
   10158     uts4*)
   10159       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10160       hardcode_libdir_flag_spec='-L$libdir'
   10161       hardcode_shlibpath_var=no
   10162       ;;
   10163 
   10164     *)
   10165       ld_shlibs=no
   10166       ;;
   10167     esac
   10168 
   10169     if test x$host_vendor = xsni; then
   10170       case $host in
   10171       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10172 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10173 	;;
   10174       esac
   10175     fi
   10176   fi
   10177 
   10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10179 $as_echo "$ld_shlibs" >&6; }
   10180 test "$ld_shlibs" = no && can_build_shared=no
   10181 
   10182 with_gnu_ld=$with_gnu_ld
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 #
   10199 # Do we need to explicitly link libc?
   10200 #
   10201 case "x$archive_cmds_need_lc" in
   10202 x|xyes)
   10203   # Assume -lc should be added
   10204   archive_cmds_need_lc=yes
   10205 
   10206   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10207     case $archive_cmds in
   10208     *'~'*)
   10209       # FIXME: we may have to deal with multi-command sequences.
   10210       ;;
   10211     '$CC '*)
   10212       # Test whether the compiler implicitly links with -lc since on some
   10213       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10214       # to ld, don't add -lc before -lgcc.
   10215       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10216 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10217 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10218   $as_echo_n "(cached) " >&6
   10219 else
   10220   $RM conftest*
   10221 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10222 
   10223 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10224   (eval $ac_compile) 2>&5
   10225   ac_status=$?
   10226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10227   test $ac_status = 0; } 2>conftest.err; then
   10228 	  soname=conftest
   10229 	  lib=conftest
   10230 	  libobjs=conftest.$ac_objext
   10231 	  deplibs=
   10232 	  wl=$lt_prog_compiler_wl
   10233 	  pic_flag=$lt_prog_compiler_pic
   10234 	  compiler_flags=-v
   10235 	  linker_flags=-v
   10236 	  verstring=
   10237 	  output_objdir=.
   10238 	  libname=conftest
   10239 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10240 	  allow_undefined_flag=
   10241 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10242   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10243   ac_status=$?
   10244   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10245   test $ac_status = 0; }
   10246 	  then
   10247 	    lt_cv_archive_cmds_need_lc=no
   10248 	  else
   10249 	    lt_cv_archive_cmds_need_lc=yes
   10250 	  fi
   10251 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10252 	else
   10253 	  cat conftest.err 1>&5
   10254 	fi
   10255 	$RM conftest*
   10256 
   10257 fi
   10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10259 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10260       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10261       ;;
   10262     esac
   10263   fi
   10264   ;;
   10265 esac
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10419 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10420 
   10421 if test "$GCC" = yes; then
   10422   case $host_os in
   10423     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10424     *) lt_awk_arg="/^libraries:/" ;;
   10425   esac
   10426   case $host_os in
   10427     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10428     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10429   esac
   10430   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10431   case $lt_search_path_spec in
   10432   *\;*)
   10433     # if the path contains ";" then we assume it to be the separator
   10434     # otherwise default to the standard path separator (i.e. ":") - it is
   10435     # assumed that no part of a normal pathname contains ";" but that should
   10436     # okay in the real world where ";" in dirpaths is itself problematic.
   10437     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10438     ;;
   10439   *)
   10440     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10441     ;;
   10442   esac
   10443   # Ok, now we have the path, separated by spaces, we can step through it
   10444   # and add multilib dir if necessary.
   10445   lt_tmp_lt_search_path_spec=
   10446   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10447   for lt_sys_path in $lt_search_path_spec; do
   10448     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10449       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10450     else
   10451       test -d "$lt_sys_path" && \
   10452 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10453     fi
   10454   done
   10455   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10456 BEGIN {RS=" "; FS="/|\n";} {
   10457   lt_foo="";
   10458   lt_count=0;
   10459   for (lt_i = NF; lt_i > 0; lt_i--) {
   10460     if ($lt_i != "" && $lt_i != ".") {
   10461       if ($lt_i == "..") {
   10462         lt_count++;
   10463       } else {
   10464         if (lt_count == 0) {
   10465           lt_foo="/" $lt_i lt_foo;
   10466         } else {
   10467           lt_count--;
   10468         }
   10469       }
   10470     }
   10471   }
   10472   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10473   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10474 }'`
   10475   # AWK program above erroneously prepends '/' to C:/dos/paths
   10476   # for these hosts.
   10477   case $host_os in
   10478     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10479       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10480   esac
   10481   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10482 else
   10483   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10484 fi
   10485 library_names_spec=
   10486 libname_spec='lib$name'
   10487 soname_spec=
   10488 shrext_cmds=".so"
   10489 postinstall_cmds=
   10490 postuninstall_cmds=
   10491 finish_cmds=
   10492 finish_eval=
   10493 shlibpath_var=
   10494 shlibpath_overrides_runpath=unknown
   10495 version_type=none
   10496 dynamic_linker="$host_os ld.so"
   10497 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10498 need_lib_prefix=unknown
   10499 hardcode_into_libs=no
   10500 
   10501 # when you set need_version to no, make sure it does not cause -set_version
   10502 # flags to be left without arguments
   10503 need_version=unknown
   10504 
   10505 case $host_os in
   10506 aix3*)
   10507   version_type=linux # correct to gnu/linux during the next big refactor
   10508   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10509   shlibpath_var=LIBPATH
   10510 
   10511   # AIX 3 has no versioning support, so we append a major version to the name.
   10512   soname_spec='${libname}${release}${shared_ext}$major'
   10513   ;;
   10514 
   10515 aix[4-9]*)
   10516   version_type=linux # correct to gnu/linux during the next big refactor
   10517   need_lib_prefix=no
   10518   need_version=no
   10519   hardcode_into_libs=yes
   10520   if test "$host_cpu" = ia64; then
   10521     # AIX 5 supports IA64
   10522     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10523     shlibpath_var=LD_LIBRARY_PATH
   10524   else
   10525     # With GCC up to 2.95.x, collect2 would create an import file
   10526     # for dependence libraries.  The import file would start with
   10527     # the line `#! .'.  This would cause the generated library to
   10528     # depend on `.', always an invalid library.  This was fixed in
   10529     # development snapshots of GCC prior to 3.0.
   10530     case $host_os in
   10531       aix4 | aix4.[01] | aix4.[01].*)
   10532       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10533 	   echo ' yes '
   10534 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10535 	:
   10536       else
   10537 	can_build_shared=no
   10538       fi
   10539       ;;
   10540     esac
   10541     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10542     # soname into executable. Probably we can add versioning support to
   10543     # collect2, so additional links can be useful in future.
   10544     if test "$aix_use_runtimelinking" = yes; then
   10545       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10546       # instead of lib<name>.a to let people know that these are not
   10547       # typical AIX shared libraries.
   10548       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10549     else
   10550       # We preserve .a as extension for shared libraries through AIX4.2
   10551       # and later when we are not doing run time linking.
   10552       library_names_spec='${libname}${release}.a $libname.a'
   10553       soname_spec='${libname}${release}${shared_ext}$major'
   10554     fi
   10555     shlibpath_var=LIBPATH
   10556   fi
   10557   ;;
   10558 
   10559 amigaos*)
   10560   case $host_cpu in
   10561   powerpc)
   10562     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10563     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10564     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10565     ;;
   10566   m68k)
   10567     library_names_spec='$libname.ixlibrary $libname.a'
   10568     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10569     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'
   10570     ;;
   10571   esac
   10572   ;;
   10573 
   10574 beos*)
   10575   library_names_spec='${libname}${shared_ext}'
   10576   dynamic_linker="$host_os ld.so"
   10577   shlibpath_var=LIBRARY_PATH
   10578   ;;
   10579 
   10580 bsdi[45]*)
   10581   version_type=linux # correct to gnu/linux during the next big refactor
   10582   need_version=no
   10583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10584   soname_spec='${libname}${release}${shared_ext}$major'
   10585   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10586   shlibpath_var=LD_LIBRARY_PATH
   10587   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10588   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10589   # the default ld.so.conf also contains /usr/contrib/lib and
   10590   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10591   # libtool to hard-code these into programs
   10592   ;;
   10593 
   10594 cygwin* | mingw* | pw32* | cegcc*)
   10595   version_type=windows
   10596   shrext_cmds=".dll"
   10597   need_version=no
   10598   need_lib_prefix=no
   10599 
   10600   case $GCC,$cc_basename in
   10601   yes,*)
   10602     # gcc
   10603     library_names_spec='$libname.dll.a'
   10604     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10605     postinstall_cmds='base_file=`basename \${file}`~
   10606       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10607       dldir=$destdir/`dirname \$dlpath`~
   10608       test -d \$dldir || mkdir -p \$dldir~
   10609       $install_prog $dir/$dlname \$dldir/$dlname~
   10610       chmod a+x \$dldir/$dlname~
   10611       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10612         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10613       fi'
   10614     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10615       dlpath=$dir/\$dldll~
   10616        $RM \$dlpath'
   10617     shlibpath_overrides_runpath=yes
   10618 
   10619     case $host_os in
   10620     cygwin*)
   10621       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10622       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10623 
   10624       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10625       ;;
   10626     mingw* | cegcc*)
   10627       # MinGW DLLs use traditional 'lib' prefix
   10628       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10629       ;;
   10630     pw32*)
   10631       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10632       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10633       ;;
   10634     esac
   10635     dynamic_linker='Win32 ld.exe'
   10636     ;;
   10637 
   10638   *,cl*)
   10639     # Native MSVC
   10640     libname_spec='$name'
   10641     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10642     library_names_spec='${libname}.dll.lib'
   10643 
   10644     case $build_os in
   10645     mingw*)
   10646       sys_lib_search_path_spec=
   10647       lt_save_ifs=$IFS
   10648       IFS=';'
   10649       for lt_path in $LIB
   10650       do
   10651         IFS=$lt_save_ifs
   10652         # Let DOS variable expansion print the short 8.3 style file name.
   10653         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10654         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10655       done
   10656       IFS=$lt_save_ifs
   10657       # Convert to MSYS style.
   10658       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10659       ;;
   10660     cygwin*)
   10661       # Convert to unix form, then to dos form, then back to unix form
   10662       # but this time dos style (no spaces!) so that the unix form looks
   10663       # like /cygdrive/c/PROGRA~1:/cygdr...
   10664       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10665       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10666       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10667       ;;
   10668     *)
   10669       sys_lib_search_path_spec="$LIB"
   10670       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10671         # It is most probably a Windows format PATH.
   10672         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10673       else
   10674         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10675       fi
   10676       # FIXME: find the short name or the path components, as spaces are
   10677       # common. (e.g. "Program Files" -> "PROGRA~1")
   10678       ;;
   10679     esac
   10680 
   10681     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10682     postinstall_cmds='base_file=`basename \${file}`~
   10683       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10684       dldir=$destdir/`dirname \$dlpath`~
   10685       test -d \$dldir || mkdir -p \$dldir~
   10686       $install_prog $dir/$dlname \$dldir/$dlname'
   10687     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10688       dlpath=$dir/\$dldll~
   10689        $RM \$dlpath'
   10690     shlibpath_overrides_runpath=yes
   10691     dynamic_linker='Win32 link.exe'
   10692     ;;
   10693 
   10694   *)
   10695     # Assume MSVC wrapper
   10696     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10697     dynamic_linker='Win32 ld.exe'
   10698     ;;
   10699   esac
   10700   # FIXME: first we should search . and the directory the executable is in
   10701   shlibpath_var=PATH
   10702   ;;
   10703 
   10704 darwin* | rhapsody*)
   10705   dynamic_linker="$host_os dyld"
   10706   version_type=darwin
   10707   need_lib_prefix=no
   10708   need_version=no
   10709   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10710   soname_spec='${libname}${release}${major}$shared_ext'
   10711   shlibpath_overrides_runpath=yes
   10712   shlibpath_var=DYLD_LIBRARY_PATH
   10713   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10714 
   10715   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10716   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10717   ;;
   10718 
   10719 dgux*)
   10720   version_type=linux # correct to gnu/linux during the next big refactor
   10721   need_lib_prefix=no
   10722   need_version=no
   10723   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10724   soname_spec='${libname}${release}${shared_ext}$major'
   10725   shlibpath_var=LD_LIBRARY_PATH
   10726   ;;
   10727 
   10728 freebsd* | dragonfly*)
   10729   # DragonFly does not have aout.  When/if they implement a new
   10730   # versioning mechanism, adjust this.
   10731   if test -x /usr/bin/objformat; then
   10732     objformat=`/usr/bin/objformat`
   10733   else
   10734     case $host_os in
   10735     freebsd[23].*) objformat=aout ;;
   10736     *) objformat=elf ;;
   10737     esac
   10738   fi
   10739   version_type=freebsd-$objformat
   10740   case $version_type in
   10741     freebsd-elf*)
   10742       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10743       need_version=no
   10744       need_lib_prefix=no
   10745       ;;
   10746     freebsd-*)
   10747       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10748       need_version=yes
   10749       ;;
   10750   esac
   10751   shlibpath_var=LD_LIBRARY_PATH
   10752   case $host_os in
   10753   freebsd2.*)
   10754     shlibpath_overrides_runpath=yes
   10755     ;;
   10756   freebsd3.[01]* | freebsdelf3.[01]*)
   10757     shlibpath_overrides_runpath=yes
   10758     hardcode_into_libs=yes
   10759     ;;
   10760   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10761   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10762     shlibpath_overrides_runpath=no
   10763     hardcode_into_libs=yes
   10764     ;;
   10765   *) # from 4.6 on, and DragonFly
   10766     shlibpath_overrides_runpath=yes
   10767     hardcode_into_libs=yes
   10768     ;;
   10769   esac
   10770   ;;
   10771 
   10772 haiku*)
   10773   version_type=linux # correct to gnu/linux during the next big refactor
   10774   need_lib_prefix=no
   10775   need_version=no
   10776   dynamic_linker="$host_os runtime_loader"
   10777   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10778   soname_spec='${libname}${release}${shared_ext}$major'
   10779   shlibpath_var=LIBRARY_PATH
   10780   shlibpath_overrides_runpath=yes
   10781   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10782   hardcode_into_libs=yes
   10783   ;;
   10784 
   10785 hpux9* | hpux10* | hpux11*)
   10786   # Give a soname corresponding to the major version so that dld.sl refuses to
   10787   # link against other versions.
   10788   version_type=sunos
   10789   need_lib_prefix=no
   10790   need_version=no
   10791   case $host_cpu in
   10792   ia64*)
   10793     shrext_cmds='.so'
   10794     hardcode_into_libs=yes
   10795     dynamic_linker="$host_os dld.so"
   10796     shlibpath_var=LD_LIBRARY_PATH
   10797     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10798     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10799     soname_spec='${libname}${release}${shared_ext}$major'
   10800     if test "X$HPUX_IA64_MODE" = X32; then
   10801       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10802     else
   10803       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10804     fi
   10805     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10806     ;;
   10807   hppa*64*)
   10808     shrext_cmds='.sl'
   10809     hardcode_into_libs=yes
   10810     dynamic_linker="$host_os dld.sl"
   10811     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10812     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10813     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10814     soname_spec='${libname}${release}${shared_ext}$major'
   10815     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10816     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10817     ;;
   10818   *)
   10819     shrext_cmds='.sl'
   10820     dynamic_linker="$host_os dld.sl"
   10821     shlibpath_var=SHLIB_PATH
   10822     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10823     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10824     soname_spec='${libname}${release}${shared_ext}$major'
   10825     ;;
   10826   esac
   10827   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10828   postinstall_cmds='chmod 555 $lib'
   10829   # or fails outright, so override atomically:
   10830   install_override_mode=555
   10831   ;;
   10832 
   10833 interix[3-9]*)
   10834   version_type=linux # correct to gnu/linux during the next big refactor
   10835   need_lib_prefix=no
   10836   need_version=no
   10837   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10838   soname_spec='${libname}${release}${shared_ext}$major'
   10839   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10840   shlibpath_var=LD_LIBRARY_PATH
   10841   shlibpath_overrides_runpath=no
   10842   hardcode_into_libs=yes
   10843   ;;
   10844 
   10845 irix5* | irix6* | nonstopux*)
   10846   case $host_os in
   10847     nonstopux*) version_type=nonstopux ;;
   10848     *)
   10849 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10850 		version_type=linux # correct to gnu/linux during the next big refactor
   10851 	else
   10852 		version_type=irix
   10853 	fi ;;
   10854   esac
   10855   need_lib_prefix=no
   10856   need_version=no
   10857   soname_spec='${libname}${release}${shared_ext}$major'
   10858   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10859   case $host_os in
   10860   irix5* | nonstopux*)
   10861     libsuff= shlibsuff=
   10862     ;;
   10863   *)
   10864     case $LD in # libtool.m4 will add one of these switches to LD
   10865     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10866       libsuff= shlibsuff= libmagic=32-bit;;
   10867     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10868       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10869     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10870       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10871     *) libsuff= shlibsuff= libmagic=never-match;;
   10872     esac
   10873     ;;
   10874   esac
   10875   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10876   shlibpath_overrides_runpath=no
   10877   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10878   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10879   hardcode_into_libs=yes
   10880   ;;
   10881 
   10882 # No shared lib support for Linux oldld, aout, or coff.
   10883 linux*oldld* | linux*aout* | linux*coff*)
   10884   dynamic_linker=no
   10885   ;;
   10886 
   10887 # This must be glibc/ELF.
   10888 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10889   version_type=linux # correct to gnu/linux during the next big refactor
   10890   need_lib_prefix=no
   10891   need_version=no
   10892   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10893   soname_spec='${libname}${release}${shared_ext}$major'
   10894   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10895   shlibpath_var=LD_LIBRARY_PATH
   10896   shlibpath_overrides_runpath=no
   10897 
   10898   # Some binutils ld are patched to set DT_RUNPATH
   10899   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10900   $as_echo_n "(cached) " >&6
   10901 else
   10902   lt_cv_shlibpath_overrides_runpath=no
   10903     save_LDFLAGS=$LDFLAGS
   10904     save_libdir=$libdir
   10905     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10906 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10907     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10908 /* end confdefs.h.  */
   10909 
   10910 int
   10911 main ()
   10912 {
   10913 
   10914   ;
   10915   return 0;
   10916 }
   10917 _ACEOF
   10918 if ac_fn_c_try_link "$LINENO"; then :
   10919   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10920   lt_cv_shlibpath_overrides_runpath=yes
   10921 fi
   10922 fi
   10923 rm -f core conftest.err conftest.$ac_objext \
   10924     conftest$ac_exeext conftest.$ac_ext
   10925     LDFLAGS=$save_LDFLAGS
   10926     libdir=$save_libdir
   10927 
   10928 fi
   10929 
   10930   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10931 
   10932   # This implies no fast_install, which is unacceptable.
   10933   # Some rework will be needed to allow for fast_install
   10934   # before this can be enabled.
   10935   hardcode_into_libs=yes
   10936 
   10937   # Append ld.so.conf contents to the search path
   10938   if test -f /etc/ld.so.conf; then
   10939     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' ' '`
   10940     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10941   fi
   10942 
   10943   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10944   # powerpc, because MkLinux only supported shared libraries with the
   10945   # GNU dynamic linker.  Since this was broken with cross compilers,
   10946   # most powerpc-linux boxes support dynamic linking these days and
   10947   # people can always --disable-shared, the test was removed, and we
   10948   # assume the GNU/Linux dynamic linker is in use.
   10949   dynamic_linker='GNU/Linux ld.so'
   10950   ;;
   10951 
   10952 netbsdelf*-gnu)
   10953   version_type=linux
   10954   need_lib_prefix=no
   10955   need_version=no
   10956   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10957   soname_spec='${libname}${release}${shared_ext}$major'
   10958   shlibpath_var=LD_LIBRARY_PATH
   10959   shlibpath_overrides_runpath=no
   10960   hardcode_into_libs=yes
   10961   dynamic_linker='NetBSD ld.elf_so'
   10962   ;;
   10963 
   10964 netbsd*)
   10965   version_type=sunos
   10966   need_lib_prefix=no
   10967   need_version=no
   10968   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10969     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10970     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10971     dynamic_linker='NetBSD (a.out) ld.so'
   10972   else
   10973     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10974     soname_spec='${libname}${release}${shared_ext}$major'
   10975     dynamic_linker='NetBSD ld.elf_so'
   10976   fi
   10977   shlibpath_var=LD_LIBRARY_PATH
   10978   shlibpath_overrides_runpath=yes
   10979   hardcode_into_libs=yes
   10980   ;;
   10981 
   10982 newsos6)
   10983   version_type=linux # correct to gnu/linux during the next big refactor
   10984   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10985   shlibpath_var=LD_LIBRARY_PATH
   10986   shlibpath_overrides_runpath=yes
   10987   ;;
   10988 
   10989 *nto* | *qnx*)
   10990   version_type=qnx
   10991   need_lib_prefix=no
   10992   need_version=no
   10993   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10994   soname_spec='${libname}${release}${shared_ext}$major'
   10995   shlibpath_var=LD_LIBRARY_PATH
   10996   shlibpath_overrides_runpath=no
   10997   hardcode_into_libs=yes
   10998   dynamic_linker='ldqnx.so'
   10999   ;;
   11000 
   11001 openbsd*)
   11002   version_type=sunos
   11003   sys_lib_dlsearch_path_spec="/usr/lib"
   11004   need_lib_prefix=no
   11005   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11006   case $host_os in
   11007     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11008     *)				need_version=no  ;;
   11009   esac
   11010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11011   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11012   shlibpath_var=LD_LIBRARY_PATH
   11013   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11014     case $host_os in
   11015       openbsd2.[89] | openbsd2.[89].*)
   11016 	shlibpath_overrides_runpath=no
   11017 	;;
   11018       *)
   11019 	shlibpath_overrides_runpath=yes
   11020 	;;
   11021       esac
   11022   else
   11023     shlibpath_overrides_runpath=yes
   11024   fi
   11025   ;;
   11026 
   11027 os2*)
   11028   libname_spec='$name'
   11029   shrext_cmds=".dll"
   11030   need_lib_prefix=no
   11031   library_names_spec='$libname${shared_ext} $libname.a'
   11032   dynamic_linker='OS/2 ld.exe'
   11033   shlibpath_var=LIBPATH
   11034   ;;
   11035 
   11036 osf3* | osf4* | osf5*)
   11037   version_type=osf
   11038   need_lib_prefix=no
   11039   need_version=no
   11040   soname_spec='${libname}${release}${shared_ext}$major'
   11041   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11042   shlibpath_var=LD_LIBRARY_PATH
   11043   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11044   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11045   ;;
   11046 
   11047 rdos*)
   11048   dynamic_linker=no
   11049   ;;
   11050 
   11051 solaris*)
   11052   version_type=linux # correct to gnu/linux during the next big refactor
   11053   need_lib_prefix=no
   11054   need_version=no
   11055   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11056   soname_spec='${libname}${release}${shared_ext}$major'
   11057   shlibpath_var=LD_LIBRARY_PATH
   11058   shlibpath_overrides_runpath=yes
   11059   hardcode_into_libs=yes
   11060   # ldd complains unless libraries are executable
   11061   postinstall_cmds='chmod +x $lib'
   11062   ;;
   11063 
   11064 sunos4*)
   11065   version_type=sunos
   11066   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11067   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11068   shlibpath_var=LD_LIBRARY_PATH
   11069   shlibpath_overrides_runpath=yes
   11070   if test "$with_gnu_ld" = yes; then
   11071     need_lib_prefix=no
   11072   fi
   11073   need_version=yes
   11074   ;;
   11075 
   11076 sysv4 | sysv4.3*)
   11077   version_type=linux # correct to gnu/linux during the next big refactor
   11078   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11079   soname_spec='${libname}${release}${shared_ext}$major'
   11080   shlibpath_var=LD_LIBRARY_PATH
   11081   case $host_vendor in
   11082     sni)
   11083       shlibpath_overrides_runpath=no
   11084       need_lib_prefix=no
   11085       runpath_var=LD_RUN_PATH
   11086       ;;
   11087     siemens)
   11088       need_lib_prefix=no
   11089       ;;
   11090     motorola)
   11091       need_lib_prefix=no
   11092       need_version=no
   11093       shlibpath_overrides_runpath=no
   11094       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11095       ;;
   11096   esac
   11097   ;;
   11098 
   11099 sysv4*MP*)
   11100   if test -d /usr/nec ;then
   11101     version_type=linux # correct to gnu/linux during the next big refactor
   11102     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11103     soname_spec='$libname${shared_ext}.$major'
   11104     shlibpath_var=LD_LIBRARY_PATH
   11105   fi
   11106   ;;
   11107 
   11108 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11109   version_type=freebsd-elf
   11110   need_lib_prefix=no
   11111   need_version=no
   11112   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11113   soname_spec='${libname}${release}${shared_ext}$major'
   11114   shlibpath_var=LD_LIBRARY_PATH
   11115   shlibpath_overrides_runpath=yes
   11116   hardcode_into_libs=yes
   11117   if test "$with_gnu_ld" = yes; then
   11118     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11119   else
   11120     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11121     case $host_os in
   11122       sco3.2v5*)
   11123         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11124 	;;
   11125     esac
   11126   fi
   11127   sys_lib_dlsearch_path_spec='/usr/lib'
   11128   ;;
   11129 
   11130 tpf*)
   11131   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11132   version_type=linux # correct to gnu/linux during the next big refactor
   11133   need_lib_prefix=no
   11134   need_version=no
   11135   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11136   shlibpath_var=LD_LIBRARY_PATH
   11137   shlibpath_overrides_runpath=no
   11138   hardcode_into_libs=yes
   11139   ;;
   11140 
   11141 uts4*)
   11142   version_type=linux # correct to gnu/linux during the next big refactor
   11143   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11144   soname_spec='${libname}${release}${shared_ext}$major'
   11145   shlibpath_var=LD_LIBRARY_PATH
   11146   ;;
   11147 
   11148 *)
   11149   dynamic_linker=no
   11150   ;;
   11151 esac
   11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11153 $as_echo "$dynamic_linker" >&6; }
   11154 test "$dynamic_linker" = no && can_build_shared=no
   11155 
   11156 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11157 if test "$GCC" = yes; then
   11158   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11159 fi
   11160 
   11161 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11162   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11163 fi
   11164 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11165   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11166 fi
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11260 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11261 hardcode_action=
   11262 if test -n "$hardcode_libdir_flag_spec" ||
   11263    test -n "$runpath_var" ||
   11264    test "X$hardcode_automatic" = "Xyes" ; then
   11265 
   11266   # We can hardcode non-existent directories.
   11267   if test "$hardcode_direct" != no &&
   11268      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11269      # have to relink, otherwise we might link with an installed library
   11270      # when we should be linking with a yet-to-be-installed one
   11271      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11272      test "$hardcode_minus_L" != no; then
   11273     # Linking always hardcodes the temporary library directory.
   11274     hardcode_action=relink
   11275   else
   11276     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11277     hardcode_action=immediate
   11278   fi
   11279 else
   11280   # We cannot hardcode anything, or else we can only hardcode existing
   11281   # directories.
   11282   hardcode_action=unsupported
   11283 fi
   11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11285 $as_echo "$hardcode_action" >&6; }
   11286 
   11287 if test "$hardcode_action" = relink ||
   11288    test "$inherit_rpath" = yes; then
   11289   # Fast installation is not supported
   11290   enable_fast_install=no
   11291 elif test "$shlibpath_overrides_runpath" = yes ||
   11292      test "$enable_shared" = no; then
   11293   # Fast installation is not necessary
   11294   enable_fast_install=needless
   11295 fi
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302   if test "x$enable_dlopen" != xyes; then
   11303   enable_dlopen=unknown
   11304   enable_dlopen_self=unknown
   11305   enable_dlopen_self_static=unknown
   11306 else
   11307   lt_cv_dlopen=no
   11308   lt_cv_dlopen_libs=
   11309 
   11310   case $host_os in
   11311   beos*)
   11312     lt_cv_dlopen="load_add_on"
   11313     lt_cv_dlopen_libs=
   11314     lt_cv_dlopen_self=yes
   11315     ;;
   11316 
   11317   mingw* | pw32* | cegcc*)
   11318     lt_cv_dlopen="LoadLibrary"
   11319     lt_cv_dlopen_libs=
   11320     ;;
   11321 
   11322   cygwin*)
   11323     lt_cv_dlopen="dlopen"
   11324     lt_cv_dlopen_libs=
   11325     ;;
   11326 
   11327   darwin*)
   11328   # if libdl is installed we need to link against it
   11329     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11330 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11331 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11332   $as_echo_n "(cached) " >&6
   11333 else
   11334   ac_check_lib_save_LIBS=$LIBS
   11335 LIBS="-ldl  $LIBS"
   11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11337 /* end confdefs.h.  */
   11338 
   11339 /* Override any GCC internal prototype to avoid an error.
   11340    Use char because int might match the return type of a GCC
   11341    builtin and then its argument prototype would still apply.  */
   11342 #ifdef __cplusplus
   11343 extern "C"
   11344 #endif
   11345 char dlopen ();
   11346 int
   11347 main ()
   11348 {
   11349 return dlopen ();
   11350   ;
   11351   return 0;
   11352 }
   11353 _ACEOF
   11354 if ac_fn_c_try_link "$LINENO"; then :
   11355   ac_cv_lib_dl_dlopen=yes
   11356 else
   11357   ac_cv_lib_dl_dlopen=no
   11358 fi
   11359 rm -f core conftest.err conftest.$ac_objext \
   11360     conftest$ac_exeext conftest.$ac_ext
   11361 LIBS=$ac_check_lib_save_LIBS
   11362 fi
   11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11364 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11365 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11366   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11367 else
   11368 
   11369     lt_cv_dlopen="dyld"
   11370     lt_cv_dlopen_libs=
   11371     lt_cv_dlopen_self=yes
   11372 
   11373 fi
   11374 
   11375     ;;
   11376 
   11377   *)
   11378     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11379 if test "x$ac_cv_func_shl_load" = xyes; then :
   11380   lt_cv_dlopen="shl_load"
   11381 else
   11382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11383 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11384 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11385   $as_echo_n "(cached) " >&6
   11386 else
   11387   ac_check_lib_save_LIBS=$LIBS
   11388 LIBS="-ldld  $LIBS"
   11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11390 /* end confdefs.h.  */
   11391 
   11392 /* Override any GCC internal prototype to avoid an error.
   11393    Use char because int might match the return type of a GCC
   11394    builtin and then its argument prototype would still apply.  */
   11395 #ifdef __cplusplus
   11396 extern "C"
   11397 #endif
   11398 char shl_load ();
   11399 int
   11400 main ()
   11401 {
   11402 return shl_load ();
   11403   ;
   11404   return 0;
   11405 }
   11406 _ACEOF
   11407 if ac_fn_c_try_link "$LINENO"; then :
   11408   ac_cv_lib_dld_shl_load=yes
   11409 else
   11410   ac_cv_lib_dld_shl_load=no
   11411 fi
   11412 rm -f core conftest.err conftest.$ac_objext \
   11413     conftest$ac_exeext conftest.$ac_ext
   11414 LIBS=$ac_check_lib_save_LIBS
   11415 fi
   11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11417 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11418 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11419   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11420 else
   11421   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11422 if test "x$ac_cv_func_dlopen" = xyes; then :
   11423   lt_cv_dlopen="dlopen"
   11424 else
   11425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11426 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11427 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11428   $as_echo_n "(cached) " >&6
   11429 else
   11430   ac_check_lib_save_LIBS=$LIBS
   11431 LIBS="-ldl  $LIBS"
   11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11433 /* end confdefs.h.  */
   11434 
   11435 /* Override any GCC internal prototype to avoid an error.
   11436    Use char because int might match the return type of a GCC
   11437    builtin and then its argument prototype would still apply.  */
   11438 #ifdef __cplusplus
   11439 extern "C"
   11440 #endif
   11441 char dlopen ();
   11442 int
   11443 main ()
   11444 {
   11445 return dlopen ();
   11446   ;
   11447   return 0;
   11448 }
   11449 _ACEOF
   11450 if ac_fn_c_try_link "$LINENO"; then :
   11451   ac_cv_lib_dl_dlopen=yes
   11452 else
   11453   ac_cv_lib_dl_dlopen=no
   11454 fi
   11455 rm -f core conftest.err conftest.$ac_objext \
   11456     conftest$ac_exeext conftest.$ac_ext
   11457 LIBS=$ac_check_lib_save_LIBS
   11458 fi
   11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11460 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11461 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11462   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11463 else
   11464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11465 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11466 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11467   $as_echo_n "(cached) " >&6
   11468 else
   11469   ac_check_lib_save_LIBS=$LIBS
   11470 LIBS="-lsvld  $LIBS"
   11471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11472 /* end confdefs.h.  */
   11473 
   11474 /* Override any GCC internal prototype to avoid an error.
   11475    Use char because int might match the return type of a GCC
   11476    builtin and then its argument prototype would still apply.  */
   11477 #ifdef __cplusplus
   11478 extern "C"
   11479 #endif
   11480 char dlopen ();
   11481 int
   11482 main ()
   11483 {
   11484 return dlopen ();
   11485   ;
   11486   return 0;
   11487 }
   11488 _ACEOF
   11489 if ac_fn_c_try_link "$LINENO"; then :
   11490   ac_cv_lib_svld_dlopen=yes
   11491 else
   11492   ac_cv_lib_svld_dlopen=no
   11493 fi
   11494 rm -f core conftest.err conftest.$ac_objext \
   11495     conftest$ac_exeext conftest.$ac_ext
   11496 LIBS=$ac_check_lib_save_LIBS
   11497 fi
   11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11499 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11500 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11501   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11502 else
   11503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11504 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11505 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11506   $as_echo_n "(cached) " >&6
   11507 else
   11508   ac_check_lib_save_LIBS=$LIBS
   11509 LIBS="-ldld  $LIBS"
   11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11511 /* end confdefs.h.  */
   11512 
   11513 /* Override any GCC internal prototype to avoid an error.
   11514    Use char because int might match the return type of a GCC
   11515    builtin and then its argument prototype would still apply.  */
   11516 #ifdef __cplusplus
   11517 extern "C"
   11518 #endif
   11519 char dld_link ();
   11520 int
   11521 main ()
   11522 {
   11523 return dld_link ();
   11524   ;
   11525   return 0;
   11526 }
   11527 _ACEOF
   11528 if ac_fn_c_try_link "$LINENO"; then :
   11529   ac_cv_lib_dld_dld_link=yes
   11530 else
   11531   ac_cv_lib_dld_dld_link=no
   11532 fi
   11533 rm -f core conftest.err conftest.$ac_objext \
   11534     conftest$ac_exeext conftest.$ac_ext
   11535 LIBS=$ac_check_lib_save_LIBS
   11536 fi
   11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11538 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11539 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11540   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11541 fi
   11542 
   11543 
   11544 fi
   11545 
   11546 
   11547 fi
   11548 
   11549 
   11550 fi
   11551 
   11552 
   11553 fi
   11554 
   11555 
   11556 fi
   11557 
   11558     ;;
   11559   esac
   11560 
   11561   if test "x$lt_cv_dlopen" != xno; then
   11562     enable_dlopen=yes
   11563   else
   11564     enable_dlopen=no
   11565   fi
   11566 
   11567   case $lt_cv_dlopen in
   11568   dlopen)
   11569     save_CPPFLAGS="$CPPFLAGS"
   11570     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11571 
   11572     save_LDFLAGS="$LDFLAGS"
   11573     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11574 
   11575     save_LIBS="$LIBS"
   11576     LIBS="$lt_cv_dlopen_libs $LIBS"
   11577 
   11578     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11579 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11580 if ${lt_cv_dlopen_self+:} false; then :
   11581   $as_echo_n "(cached) " >&6
   11582 else
   11583   	  if test "$cross_compiling" = yes; then :
   11584   lt_cv_dlopen_self=cross
   11585 else
   11586   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11587   lt_status=$lt_dlunknown
   11588   cat > conftest.$ac_ext <<_LT_EOF
   11589 #line $LINENO "configure"
   11590 #include "confdefs.h"
   11591 
   11592 #if HAVE_DLFCN_H
   11593 #include <dlfcn.h>
   11594 #endif
   11595 
   11596 #include <stdio.h>
   11597 
   11598 #ifdef RTLD_GLOBAL
   11599 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11600 #else
   11601 #  ifdef DL_GLOBAL
   11602 #    define LT_DLGLOBAL		DL_GLOBAL
   11603 #  else
   11604 #    define LT_DLGLOBAL		0
   11605 #  endif
   11606 #endif
   11607 
   11608 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11609    find out it does not work in some platform. */
   11610 #ifndef LT_DLLAZY_OR_NOW
   11611 #  ifdef RTLD_LAZY
   11612 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11613 #  else
   11614 #    ifdef DL_LAZY
   11615 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11616 #    else
   11617 #      ifdef RTLD_NOW
   11618 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11619 #      else
   11620 #        ifdef DL_NOW
   11621 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11622 #        else
   11623 #          define LT_DLLAZY_OR_NOW	0
   11624 #        endif
   11625 #      endif
   11626 #    endif
   11627 #  endif
   11628 #endif
   11629 
   11630 /* When -fvisbility=hidden is used, assume the code has been annotated
   11631    correspondingly for the symbols needed.  */
   11632 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11633 int fnord () __attribute__((visibility("default")));
   11634 #endif
   11635 
   11636 int fnord () { return 42; }
   11637 int main ()
   11638 {
   11639   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11640   int status = $lt_dlunknown;
   11641 
   11642   if (self)
   11643     {
   11644       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11645       else
   11646         {
   11647 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11648           else puts (dlerror ());
   11649 	}
   11650       /* dlclose (self); */
   11651     }
   11652   else
   11653     puts (dlerror ());
   11654 
   11655   return status;
   11656 }
   11657 _LT_EOF
   11658   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11659   (eval $ac_link) 2>&5
   11660   ac_status=$?
   11661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11662   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11663     (./conftest; exit; ) >&5 2>/dev/null
   11664     lt_status=$?
   11665     case x$lt_status in
   11666       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11667       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11668       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11669     esac
   11670   else :
   11671     # compilation failed
   11672     lt_cv_dlopen_self=no
   11673   fi
   11674 fi
   11675 rm -fr conftest*
   11676 
   11677 
   11678 fi
   11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11680 $as_echo "$lt_cv_dlopen_self" >&6; }
   11681 
   11682     if test "x$lt_cv_dlopen_self" = xyes; then
   11683       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11684       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11685 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11686 if ${lt_cv_dlopen_self_static+:} false; then :
   11687   $as_echo_n "(cached) " >&6
   11688 else
   11689   	  if test "$cross_compiling" = yes; then :
   11690   lt_cv_dlopen_self_static=cross
   11691 else
   11692   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11693   lt_status=$lt_dlunknown
   11694   cat > conftest.$ac_ext <<_LT_EOF
   11695 #line $LINENO "configure"
   11696 #include "confdefs.h"
   11697 
   11698 #if HAVE_DLFCN_H
   11699 #include <dlfcn.h>
   11700 #endif
   11701 
   11702 #include <stdio.h>
   11703 
   11704 #ifdef RTLD_GLOBAL
   11705 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11706 #else
   11707 #  ifdef DL_GLOBAL
   11708 #    define LT_DLGLOBAL		DL_GLOBAL
   11709 #  else
   11710 #    define LT_DLGLOBAL		0
   11711 #  endif
   11712 #endif
   11713 
   11714 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11715    find out it does not work in some platform. */
   11716 #ifndef LT_DLLAZY_OR_NOW
   11717 #  ifdef RTLD_LAZY
   11718 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11719 #  else
   11720 #    ifdef DL_LAZY
   11721 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11722 #    else
   11723 #      ifdef RTLD_NOW
   11724 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11725 #      else
   11726 #        ifdef DL_NOW
   11727 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11728 #        else
   11729 #          define LT_DLLAZY_OR_NOW	0
   11730 #        endif
   11731 #      endif
   11732 #    endif
   11733 #  endif
   11734 #endif
   11735 
   11736 /* When -fvisbility=hidden is used, assume the code has been annotated
   11737    correspondingly for the symbols needed.  */
   11738 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11739 int fnord () __attribute__((visibility("default")));
   11740 #endif
   11741 
   11742 int fnord () { return 42; }
   11743 int main ()
   11744 {
   11745   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11746   int status = $lt_dlunknown;
   11747 
   11748   if (self)
   11749     {
   11750       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11751       else
   11752         {
   11753 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11754           else puts (dlerror ());
   11755 	}
   11756       /* dlclose (self); */
   11757     }
   11758   else
   11759     puts (dlerror ());
   11760 
   11761   return status;
   11762 }
   11763 _LT_EOF
   11764   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11765   (eval $ac_link) 2>&5
   11766   ac_status=$?
   11767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11768   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11769     (./conftest; exit; ) >&5 2>/dev/null
   11770     lt_status=$?
   11771     case x$lt_status in
   11772       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11773       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11774       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11775     esac
   11776   else :
   11777     # compilation failed
   11778     lt_cv_dlopen_self_static=no
   11779   fi
   11780 fi
   11781 rm -fr conftest*
   11782 
   11783 
   11784 fi
   11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11786 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11787     fi
   11788 
   11789     CPPFLAGS="$save_CPPFLAGS"
   11790     LDFLAGS="$save_LDFLAGS"
   11791     LIBS="$save_LIBS"
   11792     ;;
   11793   esac
   11794 
   11795   case $lt_cv_dlopen_self in
   11796   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11797   *) enable_dlopen_self=unknown ;;
   11798   esac
   11799 
   11800   case $lt_cv_dlopen_self_static in
   11801   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11802   *) enable_dlopen_self_static=unknown ;;
   11803   esac
   11804 fi
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 
   11822 striplib=
   11823 old_striplib=
   11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11825 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11826 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11827   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11828   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11830 $as_echo "yes" >&6; }
   11831 else
   11832 # FIXME - insert some real tests, host_os isn't really good enough
   11833   case $host_os in
   11834   darwin*)
   11835     if test -n "$STRIP" ; then
   11836       striplib="$STRIP -x"
   11837       old_striplib="$STRIP -S"
   11838       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11839 $as_echo "yes" >&6; }
   11840     else
   11841       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11842 $as_echo "no" >&6; }
   11843     fi
   11844     ;;
   11845   *)
   11846     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11847 $as_echo "no" >&6; }
   11848     ;;
   11849   esac
   11850 fi
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863   # Report which library types will actually be built
   11864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11865 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11867 $as_echo "$can_build_shared" >&6; }
   11868 
   11869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11870 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11871   test "$can_build_shared" = "no" && enable_shared=no
   11872 
   11873   # On AIX, shared libraries and static libraries use the same namespace, and
   11874   # are all built from PIC.
   11875   case $host_os in
   11876   aix3*)
   11877     test "$enable_shared" = yes && enable_static=no
   11878     if test -n "$RANLIB"; then
   11879       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11880       postinstall_cmds='$RANLIB $lib'
   11881     fi
   11882     ;;
   11883 
   11884   aix[4-9]*)
   11885     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11886       test "$enable_shared" = yes && enable_static=no
   11887     fi
   11888     ;;
   11889   esac
   11890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11891 $as_echo "$enable_shared" >&6; }
   11892 
   11893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11894 $as_echo_n "checking whether to build static libraries... " >&6; }
   11895   # Make sure either enable_shared or enable_static is yes.
   11896   test "$enable_shared" = yes || enable_static=yes
   11897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11898 $as_echo "$enable_static" >&6; }
   11899 
   11900 
   11901 
   11902 
   11903 fi
   11904 ac_ext=c
   11905 ac_cpp='$CPP $CPPFLAGS'
   11906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11909 
   11910 CC="$lt_save_CC"
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926         ac_config_commands="$ac_config_commands libtool"
   11927 
   11928 
   11929 
   11930 
   11931 # Only expand once:
   11932 
   11933 
   11934 
   11935 # Require xorg-macros minimum of 1.15 for fop minimum version
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11948 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11949 if ${ac_cv_prog_cc_c99+:} false; then :
   11950   $as_echo_n "(cached) " >&6
   11951 else
   11952   ac_cv_prog_cc_c99=no
   11953 ac_save_CC=$CC
   11954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11955 /* end confdefs.h.  */
   11956 #include <stdarg.h>
   11957 #include <stdbool.h>
   11958 #include <stdlib.h>
   11959 #include <wchar.h>
   11960 #include <stdio.h>
   11961 
   11962 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11963 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11964 #define showlist(...) puts (#__VA_ARGS__)
   11965 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11966 static void
   11967 test_varargs_macros (void)
   11968 {
   11969   int x = 1234;
   11970   int y = 5678;
   11971   debug ("Flag");
   11972   debug ("X = %d\n", x);
   11973   showlist (The first, second, and third items.);
   11974   report (x>y, "x is %d but y is %d", x, y);
   11975 }
   11976 
   11977 // Check long long types.
   11978 #define BIG64 18446744073709551615ull
   11979 #define BIG32 4294967295ul
   11980 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11981 #if !BIG_OK
   11982   your preprocessor is broken;
   11983 #endif
   11984 #if BIG_OK
   11985 #else
   11986   your preprocessor is broken;
   11987 #endif
   11988 static long long int bignum = -9223372036854775807LL;
   11989 static unsigned long long int ubignum = BIG64;
   11990 
   11991 struct incomplete_array
   11992 {
   11993   int datasize;
   11994   double data[];
   11995 };
   11996 
   11997 struct named_init {
   11998   int number;
   11999   const wchar_t *name;
   12000   double average;
   12001 };
   12002 
   12003 typedef const char *ccp;
   12004 
   12005 static inline int
   12006 test_restrict (ccp restrict text)
   12007 {
   12008   // See if C++-style comments work.
   12009   // Iterate through items via the restricted pointer.
   12010   // Also check for declarations in for loops.
   12011   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12012     continue;
   12013   return 0;
   12014 }
   12015 
   12016 // Check varargs and va_copy.
   12017 static void
   12018 test_varargs (const char *format, ...)
   12019 {
   12020   va_list args;
   12021   va_start (args, format);
   12022   va_list args_copy;
   12023   va_copy (args_copy, args);
   12024 
   12025   const char *str;
   12026   int number;
   12027   float fnumber;
   12028 
   12029   while (*format)
   12030     {
   12031       switch (*format++)
   12032 	{
   12033 	case 's': // string
   12034 	  str = va_arg (args_copy, const char *);
   12035 	  break;
   12036 	case 'd': // int
   12037 	  number = va_arg (args_copy, int);
   12038 	  break;
   12039 	case 'f': // float
   12040 	  fnumber = va_arg (args_copy, double);
   12041 	  break;
   12042 	default:
   12043 	  break;
   12044 	}
   12045     }
   12046   va_end (args_copy);
   12047   va_end (args);
   12048 }
   12049 
   12050 int
   12051 main ()
   12052 {
   12053 
   12054   // Check bool.
   12055   _Bool success = false;
   12056 
   12057   // Check restrict.
   12058   if (test_restrict ("String literal") == 0)
   12059     success = true;
   12060   char *restrict newvar = "Another string";
   12061 
   12062   // Check varargs.
   12063   test_varargs ("s, d' f .", "string", 65, 34.234);
   12064   test_varargs_macros ();
   12065 
   12066   // Check flexible array members.
   12067   struct incomplete_array *ia =
   12068     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12069   ia->datasize = 10;
   12070   for (int i = 0; i < ia->datasize; ++i)
   12071     ia->data[i] = i * 1.234;
   12072 
   12073   // Check named initializers.
   12074   struct named_init ni = {
   12075     .number = 34,
   12076     .name = L"Test wide string",
   12077     .average = 543.34343,
   12078   };
   12079 
   12080   ni.number = 58;
   12081 
   12082   int dynamic_array[ni.number];
   12083   dynamic_array[ni.number - 1] = 543;
   12084 
   12085   // work around unused variable warnings
   12086   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12087 	  || dynamic_array[ni.number - 1] != 543);
   12088 
   12089   ;
   12090   return 0;
   12091 }
   12092 _ACEOF
   12093 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12094 do
   12095   CC="$ac_save_CC $ac_arg"
   12096   if ac_fn_c_try_compile "$LINENO"; then :
   12097   ac_cv_prog_cc_c99=$ac_arg
   12098 fi
   12099 rm -f core conftest.err conftest.$ac_objext
   12100   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12101 done
   12102 rm -f conftest.$ac_ext
   12103 CC=$ac_save_CC
   12104 
   12105 fi
   12106 # AC_CACHE_VAL
   12107 case "x$ac_cv_prog_cc_c99" in
   12108   x)
   12109     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12110 $as_echo "none needed" >&6; } ;;
   12111   xno)
   12112     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12113 $as_echo "unsupported" >&6; } ;;
   12114   *)
   12115     CC="$CC $ac_cv_prog_cc_c99"
   12116     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12117 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12118 esac
   12119 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12120 
   12121 fi
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12129 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12130   CLANGCC="yes"
   12131 else
   12132   CLANGCC="no"
   12133 fi
   12134 
   12135 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12136 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12137   INTELCC="yes"
   12138 else
   12139   INTELCC="no"
   12140 fi
   12141 
   12142 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12143 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12144   SUNCC="yes"
   12145 else
   12146   SUNCC="no"
   12147 fi
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154 
   12155 
   12156 
   12157 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12158 	if test -n "$ac_tool_prefix"; then
   12159   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12160 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12162 $as_echo_n "checking for $ac_word... " >&6; }
   12163 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12164   $as_echo_n "(cached) " >&6
   12165 else
   12166   case $PKG_CONFIG in
   12167   [\\/]* | ?:[\\/]*)
   12168   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12169   ;;
   12170   *)
   12171   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12172 for as_dir in $PATH
   12173 do
   12174   IFS=$as_save_IFS
   12175   test -z "$as_dir" && as_dir=.
   12176     for ac_exec_ext in '' $ac_executable_extensions; do
   12177   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12178     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12180     break 2
   12181   fi
   12182 done
   12183   done
   12184 IFS=$as_save_IFS
   12185 
   12186   ;;
   12187 esac
   12188 fi
   12189 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12190 if test -n "$PKG_CONFIG"; then
   12191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12192 $as_echo "$PKG_CONFIG" >&6; }
   12193 else
   12194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12195 $as_echo "no" >&6; }
   12196 fi
   12197 
   12198 
   12199 fi
   12200 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12201   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12202   # Extract the first word of "pkg-config", so it can be a program name with args.
   12203 set dummy pkg-config; ac_word=$2
   12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12205 $as_echo_n "checking for $ac_word... " >&6; }
   12206 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12207   $as_echo_n "(cached) " >&6
   12208 else
   12209   case $ac_pt_PKG_CONFIG in
   12210   [\\/]* | ?:[\\/]*)
   12211   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12212   ;;
   12213   *)
   12214   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12215 for as_dir in $PATH
   12216 do
   12217   IFS=$as_save_IFS
   12218   test -z "$as_dir" && as_dir=.
   12219     for ac_exec_ext in '' $ac_executable_extensions; do
   12220   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12221     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12223     break 2
   12224   fi
   12225 done
   12226   done
   12227 IFS=$as_save_IFS
   12228 
   12229   ;;
   12230 esac
   12231 fi
   12232 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12233 if test -n "$ac_pt_PKG_CONFIG"; then
   12234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12235 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12236 else
   12237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12238 $as_echo "no" >&6; }
   12239 fi
   12240 
   12241   if test "x$ac_pt_PKG_CONFIG" = x; then
   12242     PKG_CONFIG=""
   12243   else
   12244     case $cross_compiling:$ac_tool_warned in
   12245 yes:)
   12246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12248 ac_tool_warned=yes ;;
   12249 esac
   12250     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12251   fi
   12252 else
   12253   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12254 fi
   12255 
   12256 fi
   12257 if test -n "$PKG_CONFIG"; then
   12258 	_pkg_min_version=0.9.0
   12259 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12260 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12261 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12263 $as_echo "yes" >&6; }
   12264 	else
   12265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12266 $as_echo "no" >&6; }
   12267 		PKG_CONFIG=""
   12268 	fi
   12269 fi
   12270 
   12271 
   12272 
   12273 
   12274 
   12275 # Check whether --enable-selective-werror was given.
   12276 if test "${enable_selective_werror+set}" = set; then :
   12277   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12278 else
   12279   SELECTIVE_WERROR=yes
   12280 fi
   12281 
   12282 
   12283 
   12284 
   12285 
   12286 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12287 if test "x$SUNCC" = "xyes"; then
   12288     BASE_CFLAGS="-v"
   12289 else
   12290     BASE_CFLAGS=""
   12291 fi
   12292 
   12293 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12294 
   12295 
   12296 
   12297 
   12298 
   12299 
   12300 
   12301 
   12302 
   12303 
   12304 
   12305 
   12306 
   12307 xorg_testset_save_CFLAGS="$CFLAGS"
   12308 
   12309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12312 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12313 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12314   $as_echo_n "(cached) " >&6
   12315 else
   12316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12317 /* end confdefs.h.  */
   12318 int i;
   12319 _ACEOF
   12320 if ac_fn_c_try_compile "$LINENO"; then :
   12321   xorg_cv_cc_flag_unknown_warning_option=yes
   12322 else
   12323   xorg_cv_cc_flag_unknown_warning_option=no
   12324 fi
   12325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12326 fi
   12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12328 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12330 	CFLAGS="$xorg_testset_save_CFLAGS"
   12331 fi
   12332 
   12333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12336 	fi
   12337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12339 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12340 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12341   $as_echo_n "(cached) " >&6
   12342 else
   12343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12344 /* end confdefs.h.  */
   12345 int i;
   12346 _ACEOF
   12347 if ac_fn_c_try_compile "$LINENO"; then :
   12348   xorg_cv_cc_flag_unused_command_line_argument=yes
   12349 else
   12350   xorg_cv_cc_flag_unused_command_line_argument=no
   12351 fi
   12352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12353 fi
   12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12355 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12356 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12357 	CFLAGS="$xorg_testset_save_CFLAGS"
   12358 fi
   12359 
   12360 found="no"
   12361 
   12362 	if test $found = "no" ; then
   12363 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12365 		fi
   12366 
   12367 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12369 		fi
   12370 
   12371 		CFLAGS="$CFLAGS -Wall"
   12372 
   12373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12374 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12375 		cacheid=xorg_cv_cc_flag__Wall
   12376 		if eval \${$cacheid+:} false; then :
   12377   $as_echo_n "(cached) " >&6
   12378 else
   12379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12380 /* end confdefs.h.  */
   12381 int i;
   12382 int
   12383 main ()
   12384 {
   12385 
   12386   ;
   12387   return 0;
   12388 }
   12389 _ACEOF
   12390 if ac_fn_c_try_link "$LINENO"; then :
   12391   eval $cacheid=yes
   12392 else
   12393   eval $cacheid=no
   12394 fi
   12395 rm -f core conftest.err conftest.$ac_objext \
   12396     conftest$ac_exeext conftest.$ac_ext
   12397 fi
   12398 
   12399 
   12400 		CFLAGS="$xorg_testset_save_CFLAGS"
   12401 
   12402 		eval supported=\$$cacheid
   12403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12404 $as_echo "$supported" >&6; }
   12405 		if test "$supported" = "yes" ; then
   12406 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12407 			found="yes"
   12408 		fi
   12409 	fi
   12410 
   12411 
   12412 
   12413 
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 xorg_testset_save_CFLAGS="$CFLAGS"
   12426 
   12427 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12428 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12430 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12431 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12432   $as_echo_n "(cached) " >&6
   12433 else
   12434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12435 /* end confdefs.h.  */
   12436 int i;
   12437 _ACEOF
   12438 if ac_fn_c_try_compile "$LINENO"; then :
   12439   xorg_cv_cc_flag_unknown_warning_option=yes
   12440 else
   12441   xorg_cv_cc_flag_unknown_warning_option=no
   12442 fi
   12443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12444 fi
   12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12446 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12447 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12448 	CFLAGS="$xorg_testset_save_CFLAGS"
   12449 fi
   12450 
   12451 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12452 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12453 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12454 	fi
   12455 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12457 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12458 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12459   $as_echo_n "(cached) " >&6
   12460 else
   12461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12462 /* end confdefs.h.  */
   12463 int i;
   12464 _ACEOF
   12465 if ac_fn_c_try_compile "$LINENO"; then :
   12466   xorg_cv_cc_flag_unused_command_line_argument=yes
   12467 else
   12468   xorg_cv_cc_flag_unused_command_line_argument=no
   12469 fi
   12470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12471 fi
   12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12473 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12475 	CFLAGS="$xorg_testset_save_CFLAGS"
   12476 fi
   12477 
   12478 found="no"
   12479 
   12480 	if test $found = "no" ; then
   12481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12483 		fi
   12484 
   12485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12487 		fi
   12488 
   12489 		CFLAGS="$CFLAGS -Wpointer-arith"
   12490 
   12491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12492 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12493 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12494 		if eval \${$cacheid+:} false; then :
   12495   $as_echo_n "(cached) " >&6
   12496 else
   12497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12498 /* end confdefs.h.  */
   12499 int i;
   12500 int
   12501 main ()
   12502 {
   12503 
   12504   ;
   12505   return 0;
   12506 }
   12507 _ACEOF
   12508 if ac_fn_c_try_link "$LINENO"; then :
   12509   eval $cacheid=yes
   12510 else
   12511   eval $cacheid=no
   12512 fi
   12513 rm -f core conftest.err conftest.$ac_objext \
   12514     conftest$ac_exeext conftest.$ac_ext
   12515 fi
   12516 
   12517 
   12518 		CFLAGS="$xorg_testset_save_CFLAGS"
   12519 
   12520 		eval supported=\$$cacheid
   12521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12522 $as_echo "$supported" >&6; }
   12523 		if test "$supported" = "yes" ; then
   12524 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12525 			found="yes"
   12526 		fi
   12527 	fi
   12528 
   12529 
   12530 
   12531 
   12532 
   12533 
   12534 
   12535 
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 xorg_testset_save_CFLAGS="$CFLAGS"
   12544 
   12545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12546 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12548 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12549 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12550   $as_echo_n "(cached) " >&6
   12551 else
   12552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12553 /* end confdefs.h.  */
   12554 int i;
   12555 _ACEOF
   12556 if ac_fn_c_try_compile "$LINENO"; then :
   12557   xorg_cv_cc_flag_unknown_warning_option=yes
   12558 else
   12559   xorg_cv_cc_flag_unknown_warning_option=no
   12560 fi
   12561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12562 fi
   12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12564 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12566 	CFLAGS="$xorg_testset_save_CFLAGS"
   12567 fi
   12568 
   12569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12572 	fi
   12573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12575 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12576 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12577   $as_echo_n "(cached) " >&6
   12578 else
   12579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12580 /* end confdefs.h.  */
   12581 int i;
   12582 _ACEOF
   12583 if ac_fn_c_try_compile "$LINENO"; then :
   12584   xorg_cv_cc_flag_unused_command_line_argument=yes
   12585 else
   12586   xorg_cv_cc_flag_unused_command_line_argument=no
   12587 fi
   12588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12589 fi
   12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12591 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12592 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12593 	CFLAGS="$xorg_testset_save_CFLAGS"
   12594 fi
   12595 
   12596 found="no"
   12597 
   12598 	if test $found = "no" ; then
   12599 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12601 		fi
   12602 
   12603 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12605 		fi
   12606 
   12607 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12608 
   12609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12610 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12611 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12612 		if eval \${$cacheid+:} false; then :
   12613   $as_echo_n "(cached) " >&6
   12614 else
   12615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12616 /* end confdefs.h.  */
   12617 int i;
   12618 int
   12619 main ()
   12620 {
   12621 
   12622   ;
   12623   return 0;
   12624 }
   12625 _ACEOF
   12626 if ac_fn_c_try_link "$LINENO"; then :
   12627   eval $cacheid=yes
   12628 else
   12629   eval $cacheid=no
   12630 fi
   12631 rm -f core conftest.err conftest.$ac_objext \
   12632     conftest$ac_exeext conftest.$ac_ext
   12633 fi
   12634 
   12635 
   12636 		CFLAGS="$xorg_testset_save_CFLAGS"
   12637 
   12638 		eval supported=\$$cacheid
   12639 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12640 $as_echo "$supported" >&6; }
   12641 		if test "$supported" = "yes" ; then
   12642 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12643 			found="yes"
   12644 		fi
   12645 	fi
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 xorg_testset_save_CFLAGS="$CFLAGS"
   12662 
   12663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12664 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12666 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12667 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12668   $as_echo_n "(cached) " >&6
   12669 else
   12670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12671 /* end confdefs.h.  */
   12672 int i;
   12673 _ACEOF
   12674 if ac_fn_c_try_compile "$LINENO"; then :
   12675   xorg_cv_cc_flag_unknown_warning_option=yes
   12676 else
   12677   xorg_cv_cc_flag_unknown_warning_option=no
   12678 fi
   12679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12680 fi
   12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12682 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12683 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12684 	CFLAGS="$xorg_testset_save_CFLAGS"
   12685 fi
   12686 
   12687 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12688 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12689 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12690 	fi
   12691 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12692 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12693 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12694 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12695   $as_echo_n "(cached) " >&6
   12696 else
   12697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12698 /* end confdefs.h.  */
   12699 int i;
   12700 _ACEOF
   12701 if ac_fn_c_try_compile "$LINENO"; then :
   12702   xorg_cv_cc_flag_unused_command_line_argument=yes
   12703 else
   12704   xorg_cv_cc_flag_unused_command_line_argument=no
   12705 fi
   12706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12707 fi
   12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12709 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12710 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12711 	CFLAGS="$xorg_testset_save_CFLAGS"
   12712 fi
   12713 
   12714 found="no"
   12715 
   12716 	if test $found = "no" ; then
   12717 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12718 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12719 		fi
   12720 
   12721 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12722 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12723 		fi
   12724 
   12725 		CFLAGS="$CFLAGS -Wformat=2"
   12726 
   12727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12728 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12729 		cacheid=xorg_cv_cc_flag__Wformat_2
   12730 		if eval \${$cacheid+:} false; then :
   12731   $as_echo_n "(cached) " >&6
   12732 else
   12733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12734 /* end confdefs.h.  */
   12735 int i;
   12736 int
   12737 main ()
   12738 {
   12739 
   12740   ;
   12741   return 0;
   12742 }
   12743 _ACEOF
   12744 if ac_fn_c_try_link "$LINENO"; then :
   12745   eval $cacheid=yes
   12746 else
   12747   eval $cacheid=no
   12748 fi
   12749 rm -f core conftest.err conftest.$ac_objext \
   12750     conftest$ac_exeext conftest.$ac_ext
   12751 fi
   12752 
   12753 
   12754 		CFLAGS="$xorg_testset_save_CFLAGS"
   12755 
   12756 		eval supported=\$$cacheid
   12757 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12758 $as_echo "$supported" >&6; }
   12759 		if test "$supported" = "yes" ; then
   12760 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12761 			found="yes"
   12762 		fi
   12763 	fi
   12764 
   12765 	if test $found = "no" ; then
   12766 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12768 		fi
   12769 
   12770 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12772 		fi
   12773 
   12774 		CFLAGS="$CFLAGS -Wformat"
   12775 
   12776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12777 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12778 		cacheid=xorg_cv_cc_flag__Wformat
   12779 		if eval \${$cacheid+:} false; then :
   12780   $as_echo_n "(cached) " >&6
   12781 else
   12782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12783 /* end confdefs.h.  */
   12784 int i;
   12785 int
   12786 main ()
   12787 {
   12788 
   12789   ;
   12790   return 0;
   12791 }
   12792 _ACEOF
   12793 if ac_fn_c_try_link "$LINENO"; then :
   12794   eval $cacheid=yes
   12795 else
   12796   eval $cacheid=no
   12797 fi
   12798 rm -f core conftest.err conftest.$ac_objext \
   12799     conftest$ac_exeext conftest.$ac_ext
   12800 fi
   12801 
   12802 
   12803 		CFLAGS="$xorg_testset_save_CFLAGS"
   12804 
   12805 		eval supported=\$$cacheid
   12806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12807 $as_echo "$supported" >&6; }
   12808 		if test "$supported" = "yes" ; then
   12809 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12810 			found="yes"
   12811 		fi
   12812 	fi
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 
   12830 xorg_testset_save_CFLAGS="$CFLAGS"
   12831 
   12832 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12833 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12834 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12835 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12836 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12837   $as_echo_n "(cached) " >&6
   12838 else
   12839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12840 /* end confdefs.h.  */
   12841 int i;
   12842 _ACEOF
   12843 if ac_fn_c_try_compile "$LINENO"; then :
   12844   xorg_cv_cc_flag_unknown_warning_option=yes
   12845 else
   12846   xorg_cv_cc_flag_unknown_warning_option=no
   12847 fi
   12848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12849 fi
   12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12851 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12853 	CFLAGS="$xorg_testset_save_CFLAGS"
   12854 fi
   12855 
   12856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12859 	fi
   12860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12861 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12862 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12863 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12864   $as_echo_n "(cached) " >&6
   12865 else
   12866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12867 /* end confdefs.h.  */
   12868 int i;
   12869 _ACEOF
   12870 if ac_fn_c_try_compile "$LINENO"; then :
   12871   xorg_cv_cc_flag_unused_command_line_argument=yes
   12872 else
   12873   xorg_cv_cc_flag_unused_command_line_argument=no
   12874 fi
   12875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12876 fi
   12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12878 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12880 	CFLAGS="$xorg_testset_save_CFLAGS"
   12881 fi
   12882 
   12883 found="no"
   12884 
   12885 	if test $found = "no" ; then
   12886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12888 		fi
   12889 
   12890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12892 		fi
   12893 
   12894 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12895 
   12896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12897 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12898 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12899 		if eval \${$cacheid+:} false; then :
   12900   $as_echo_n "(cached) " >&6
   12901 else
   12902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12903 /* end confdefs.h.  */
   12904 int i;
   12905 int
   12906 main ()
   12907 {
   12908 
   12909   ;
   12910   return 0;
   12911 }
   12912 _ACEOF
   12913 if ac_fn_c_try_link "$LINENO"; then :
   12914   eval $cacheid=yes
   12915 else
   12916   eval $cacheid=no
   12917 fi
   12918 rm -f core conftest.err conftest.$ac_objext \
   12919     conftest$ac_exeext conftest.$ac_ext
   12920 fi
   12921 
   12922 
   12923 		CFLAGS="$xorg_testset_save_CFLAGS"
   12924 
   12925 		eval supported=\$$cacheid
   12926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12927 $as_echo "$supported" >&6; }
   12928 		if test "$supported" = "yes" ; then
   12929 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12930 			found="yes"
   12931 		fi
   12932 	fi
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 xorg_testset_save_CFLAGS="$CFLAGS"
   12949 
   12950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12953 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12954 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12955   $as_echo_n "(cached) " >&6
   12956 else
   12957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12958 /* end confdefs.h.  */
   12959 int i;
   12960 _ACEOF
   12961 if ac_fn_c_try_compile "$LINENO"; then :
   12962   xorg_cv_cc_flag_unknown_warning_option=yes
   12963 else
   12964   xorg_cv_cc_flag_unknown_warning_option=no
   12965 fi
   12966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12967 fi
   12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12969 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12971 	CFLAGS="$xorg_testset_save_CFLAGS"
   12972 fi
   12973 
   12974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12977 	fi
   12978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12980 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12981 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12982   $as_echo_n "(cached) " >&6
   12983 else
   12984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12985 /* end confdefs.h.  */
   12986 int i;
   12987 _ACEOF
   12988 if ac_fn_c_try_compile "$LINENO"; then :
   12989   xorg_cv_cc_flag_unused_command_line_argument=yes
   12990 else
   12991   xorg_cv_cc_flag_unused_command_line_argument=no
   12992 fi
   12993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12994 fi
   12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12996 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12997 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12998 	CFLAGS="$xorg_testset_save_CFLAGS"
   12999 fi
   13000 
   13001 found="no"
   13002 
   13003 	if test $found = "no" ; then
   13004 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13006 		fi
   13007 
   13008 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13010 		fi
   13011 
   13012 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13013 
   13014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13015 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13016 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13017 		if eval \${$cacheid+:} false; then :
   13018   $as_echo_n "(cached) " >&6
   13019 else
   13020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13021 /* end confdefs.h.  */
   13022 int i;
   13023 int
   13024 main ()
   13025 {
   13026 
   13027   ;
   13028   return 0;
   13029 }
   13030 _ACEOF
   13031 if ac_fn_c_try_link "$LINENO"; then :
   13032   eval $cacheid=yes
   13033 else
   13034   eval $cacheid=no
   13035 fi
   13036 rm -f core conftest.err conftest.$ac_objext \
   13037     conftest$ac_exeext conftest.$ac_ext
   13038 fi
   13039 
   13040 
   13041 		CFLAGS="$xorg_testset_save_CFLAGS"
   13042 
   13043 		eval supported=\$$cacheid
   13044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13045 $as_echo "$supported" >&6; }
   13046 		if test "$supported" = "yes" ; then
   13047 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13048 			found="yes"
   13049 		fi
   13050 	fi
   13051 
   13052 
   13053 
   13054 
   13055 
   13056 
   13057 
   13058 
   13059 
   13060 
   13061 
   13062 
   13063 
   13064 
   13065 
   13066 xorg_testset_save_CFLAGS="$CFLAGS"
   13067 
   13068 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13069 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13071 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13072 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13073   $as_echo_n "(cached) " >&6
   13074 else
   13075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13076 /* end confdefs.h.  */
   13077 int i;
   13078 _ACEOF
   13079 if ac_fn_c_try_compile "$LINENO"; then :
   13080   xorg_cv_cc_flag_unknown_warning_option=yes
   13081 else
   13082   xorg_cv_cc_flag_unknown_warning_option=no
   13083 fi
   13084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13085 fi
   13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13087 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13088 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13089 	CFLAGS="$xorg_testset_save_CFLAGS"
   13090 fi
   13091 
   13092 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13093 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13094 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13095 	fi
   13096 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13097 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13098 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13099 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13100   $as_echo_n "(cached) " >&6
   13101 else
   13102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13103 /* end confdefs.h.  */
   13104 int i;
   13105 _ACEOF
   13106 if ac_fn_c_try_compile "$LINENO"; then :
   13107   xorg_cv_cc_flag_unused_command_line_argument=yes
   13108 else
   13109   xorg_cv_cc_flag_unused_command_line_argument=no
   13110 fi
   13111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13112 fi
   13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13114 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13115 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13116 	CFLAGS="$xorg_testset_save_CFLAGS"
   13117 fi
   13118 
   13119 found="no"
   13120 
   13121 	if test $found = "no" ; then
   13122 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13124 		fi
   13125 
   13126 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13128 		fi
   13129 
   13130 		CFLAGS="$CFLAGS -Wnested-externs"
   13131 
   13132 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13133 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13134 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13135 		if eval \${$cacheid+:} false; then :
   13136   $as_echo_n "(cached) " >&6
   13137 else
   13138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13139 /* end confdefs.h.  */
   13140 int i;
   13141 int
   13142 main ()
   13143 {
   13144 
   13145   ;
   13146   return 0;
   13147 }
   13148 _ACEOF
   13149 if ac_fn_c_try_link "$LINENO"; then :
   13150   eval $cacheid=yes
   13151 else
   13152   eval $cacheid=no
   13153 fi
   13154 rm -f core conftest.err conftest.$ac_objext \
   13155     conftest$ac_exeext conftest.$ac_ext
   13156 fi
   13157 
   13158 
   13159 		CFLAGS="$xorg_testset_save_CFLAGS"
   13160 
   13161 		eval supported=\$$cacheid
   13162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13163 $as_echo "$supported" >&6; }
   13164 		if test "$supported" = "yes" ; then
   13165 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13166 			found="yes"
   13167 		fi
   13168 	fi
   13169 
   13170 
   13171 
   13172 
   13173 
   13174 
   13175 
   13176 
   13177 
   13178 
   13179 
   13180 
   13181 
   13182 
   13183 
   13184 xorg_testset_save_CFLAGS="$CFLAGS"
   13185 
   13186 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13187 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13189 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13190 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13191   $as_echo_n "(cached) " >&6
   13192 else
   13193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13194 /* end confdefs.h.  */
   13195 int i;
   13196 _ACEOF
   13197 if ac_fn_c_try_compile "$LINENO"; then :
   13198   xorg_cv_cc_flag_unknown_warning_option=yes
   13199 else
   13200   xorg_cv_cc_flag_unknown_warning_option=no
   13201 fi
   13202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13203 fi
   13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13205 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13206 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13207 	CFLAGS="$xorg_testset_save_CFLAGS"
   13208 fi
   13209 
   13210 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13211 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13212 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13213 	fi
   13214 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13215 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13216 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13217 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13218   $as_echo_n "(cached) " >&6
   13219 else
   13220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13221 /* end confdefs.h.  */
   13222 int i;
   13223 _ACEOF
   13224 if ac_fn_c_try_compile "$LINENO"; then :
   13225   xorg_cv_cc_flag_unused_command_line_argument=yes
   13226 else
   13227   xorg_cv_cc_flag_unused_command_line_argument=no
   13228 fi
   13229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13230 fi
   13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13232 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13233 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13234 	CFLAGS="$xorg_testset_save_CFLAGS"
   13235 fi
   13236 
   13237 found="no"
   13238 
   13239 	if test $found = "no" ; then
   13240 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13242 		fi
   13243 
   13244 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13246 		fi
   13247 
   13248 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13249 
   13250 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13251 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13252 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13253 		if eval \${$cacheid+:} false; then :
   13254   $as_echo_n "(cached) " >&6
   13255 else
   13256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13257 /* end confdefs.h.  */
   13258 int i;
   13259 int
   13260 main ()
   13261 {
   13262 
   13263   ;
   13264   return 0;
   13265 }
   13266 _ACEOF
   13267 if ac_fn_c_try_link "$LINENO"; then :
   13268   eval $cacheid=yes
   13269 else
   13270   eval $cacheid=no
   13271 fi
   13272 rm -f core conftest.err conftest.$ac_objext \
   13273     conftest$ac_exeext conftest.$ac_ext
   13274 fi
   13275 
   13276 
   13277 		CFLAGS="$xorg_testset_save_CFLAGS"
   13278 
   13279 		eval supported=\$$cacheid
   13280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13281 $as_echo "$supported" >&6; }
   13282 		if test "$supported" = "yes" ; then
   13283 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13284 			found="yes"
   13285 		fi
   13286 	fi
   13287 
   13288 
   13289 
   13290 
   13291 
   13292 
   13293 
   13294 
   13295 
   13296 
   13297 
   13298 
   13299 
   13300 
   13301 
   13302 xorg_testset_save_CFLAGS="$CFLAGS"
   13303 
   13304 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13305 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13307 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13308 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13309   $as_echo_n "(cached) " >&6
   13310 else
   13311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13312 /* end confdefs.h.  */
   13313 int i;
   13314 _ACEOF
   13315 if ac_fn_c_try_compile "$LINENO"; then :
   13316   xorg_cv_cc_flag_unknown_warning_option=yes
   13317 else
   13318   xorg_cv_cc_flag_unknown_warning_option=no
   13319 fi
   13320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13321 fi
   13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13323 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13325 	CFLAGS="$xorg_testset_save_CFLAGS"
   13326 fi
   13327 
   13328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13331 	fi
   13332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13333 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13334 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13335 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13336   $as_echo_n "(cached) " >&6
   13337 else
   13338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13339 /* end confdefs.h.  */
   13340 int i;
   13341 _ACEOF
   13342 if ac_fn_c_try_compile "$LINENO"; then :
   13343   xorg_cv_cc_flag_unused_command_line_argument=yes
   13344 else
   13345   xorg_cv_cc_flag_unused_command_line_argument=no
   13346 fi
   13347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13348 fi
   13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13350 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13351 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13352 	CFLAGS="$xorg_testset_save_CFLAGS"
   13353 fi
   13354 
   13355 found="no"
   13356 
   13357 	if test $found = "no" ; then
   13358 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13360 		fi
   13361 
   13362 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13364 		fi
   13365 
   13366 		CFLAGS="$CFLAGS -Wold-style-definition"
   13367 
   13368 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13369 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13370 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13371 		if eval \${$cacheid+:} false; then :
   13372   $as_echo_n "(cached) " >&6
   13373 else
   13374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13375 /* end confdefs.h.  */
   13376 int i;
   13377 int
   13378 main ()
   13379 {
   13380 
   13381   ;
   13382   return 0;
   13383 }
   13384 _ACEOF
   13385 if ac_fn_c_try_link "$LINENO"; then :
   13386   eval $cacheid=yes
   13387 else
   13388   eval $cacheid=no
   13389 fi
   13390 rm -f core conftest.err conftest.$ac_objext \
   13391     conftest$ac_exeext conftest.$ac_ext
   13392 fi
   13393 
   13394 
   13395 		CFLAGS="$xorg_testset_save_CFLAGS"
   13396 
   13397 		eval supported=\$$cacheid
   13398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13399 $as_echo "$supported" >&6; }
   13400 		if test "$supported" = "yes" ; then
   13401 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13402 			found="yes"
   13403 		fi
   13404 	fi
   13405 
   13406 	if test $found = "no" ; then
   13407 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13409 		fi
   13410 
   13411 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13413 		fi
   13414 
   13415 		CFLAGS="$CFLAGS -fd"
   13416 
   13417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13418 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13419 		cacheid=xorg_cv_cc_flag__fd
   13420 		if eval \${$cacheid+:} false; then :
   13421   $as_echo_n "(cached) " >&6
   13422 else
   13423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13424 /* end confdefs.h.  */
   13425 int i;
   13426 int
   13427 main ()
   13428 {
   13429 
   13430   ;
   13431   return 0;
   13432 }
   13433 _ACEOF
   13434 if ac_fn_c_try_link "$LINENO"; then :
   13435   eval $cacheid=yes
   13436 else
   13437   eval $cacheid=no
   13438 fi
   13439 rm -f core conftest.err conftest.$ac_objext \
   13440     conftest$ac_exeext conftest.$ac_ext
   13441 fi
   13442 
   13443 
   13444 		CFLAGS="$xorg_testset_save_CFLAGS"
   13445 
   13446 		eval supported=\$$cacheid
   13447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13448 $as_echo "$supported" >&6; }
   13449 		if test "$supported" = "yes" ; then
   13450 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13451 			found="yes"
   13452 		fi
   13453 	fi
   13454 
   13455 
   13456 
   13457 
   13458 
   13459 
   13460 
   13461 
   13462 
   13463 
   13464 
   13465 
   13466 
   13467 
   13468 
   13469 xorg_testset_save_CFLAGS="$CFLAGS"
   13470 
   13471 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13474 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13475 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13476   $as_echo_n "(cached) " >&6
   13477 else
   13478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13479 /* end confdefs.h.  */
   13480 int i;
   13481 _ACEOF
   13482 if ac_fn_c_try_compile "$LINENO"; then :
   13483   xorg_cv_cc_flag_unknown_warning_option=yes
   13484 else
   13485   xorg_cv_cc_flag_unknown_warning_option=no
   13486 fi
   13487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13488 fi
   13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13490 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13492 	CFLAGS="$xorg_testset_save_CFLAGS"
   13493 fi
   13494 
   13495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13498 	fi
   13499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13501 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13502 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13503   $as_echo_n "(cached) " >&6
   13504 else
   13505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13506 /* end confdefs.h.  */
   13507 int i;
   13508 _ACEOF
   13509 if ac_fn_c_try_compile "$LINENO"; then :
   13510   xorg_cv_cc_flag_unused_command_line_argument=yes
   13511 else
   13512   xorg_cv_cc_flag_unused_command_line_argument=no
   13513 fi
   13514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13515 fi
   13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13517 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13518 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13519 	CFLAGS="$xorg_testset_save_CFLAGS"
   13520 fi
   13521 
   13522 found="no"
   13523 
   13524 	if test $found = "no" ; then
   13525 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13527 		fi
   13528 
   13529 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13531 		fi
   13532 
   13533 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13534 
   13535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13536 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13537 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13538 		if eval \${$cacheid+:} false; then :
   13539   $as_echo_n "(cached) " >&6
   13540 else
   13541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13542 /* end confdefs.h.  */
   13543 int i;
   13544 int
   13545 main ()
   13546 {
   13547 
   13548   ;
   13549   return 0;
   13550 }
   13551 _ACEOF
   13552 if ac_fn_c_try_link "$LINENO"; then :
   13553   eval $cacheid=yes
   13554 else
   13555   eval $cacheid=no
   13556 fi
   13557 rm -f core conftest.err conftest.$ac_objext \
   13558     conftest$ac_exeext conftest.$ac_ext
   13559 fi
   13560 
   13561 
   13562 		CFLAGS="$xorg_testset_save_CFLAGS"
   13563 
   13564 		eval supported=\$$cacheid
   13565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13566 $as_echo "$supported" >&6; }
   13567 		if test "$supported" = "yes" ; then
   13568 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13569 			found="yes"
   13570 		fi
   13571 	fi
   13572 
   13573 
   13574 
   13575 
   13576 
   13577 # This chunk adds additional warnings that could catch undesired effects.
   13578 
   13579 
   13580 
   13581 
   13582 
   13583 
   13584 
   13585 
   13586 
   13587 
   13588 
   13589 
   13590 
   13591 xorg_testset_save_CFLAGS="$CFLAGS"
   13592 
   13593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13596 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13597 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13598   $as_echo_n "(cached) " >&6
   13599 else
   13600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13601 /* end confdefs.h.  */
   13602 int i;
   13603 _ACEOF
   13604 if ac_fn_c_try_compile "$LINENO"; then :
   13605   xorg_cv_cc_flag_unknown_warning_option=yes
   13606 else
   13607   xorg_cv_cc_flag_unknown_warning_option=no
   13608 fi
   13609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13610 fi
   13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13612 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13613 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13614 	CFLAGS="$xorg_testset_save_CFLAGS"
   13615 fi
   13616 
   13617 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13618 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13619 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13620 	fi
   13621 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13623 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13624 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13625   $as_echo_n "(cached) " >&6
   13626 else
   13627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13628 /* end confdefs.h.  */
   13629 int i;
   13630 _ACEOF
   13631 if ac_fn_c_try_compile "$LINENO"; then :
   13632   xorg_cv_cc_flag_unused_command_line_argument=yes
   13633 else
   13634   xorg_cv_cc_flag_unused_command_line_argument=no
   13635 fi
   13636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13637 fi
   13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13639 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13640 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13641 	CFLAGS="$xorg_testset_save_CFLAGS"
   13642 fi
   13643 
   13644 found="no"
   13645 
   13646 	if test $found = "no" ; then
   13647 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13648 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13649 		fi
   13650 
   13651 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13652 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13653 		fi
   13654 
   13655 		CFLAGS="$CFLAGS -Wunused"
   13656 
   13657 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13658 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13659 		cacheid=xorg_cv_cc_flag__Wunused
   13660 		if eval \${$cacheid+:} false; then :
   13661   $as_echo_n "(cached) " >&6
   13662 else
   13663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13664 /* end confdefs.h.  */
   13665 int i;
   13666 int
   13667 main ()
   13668 {
   13669 
   13670   ;
   13671   return 0;
   13672 }
   13673 _ACEOF
   13674 if ac_fn_c_try_link "$LINENO"; then :
   13675   eval $cacheid=yes
   13676 else
   13677   eval $cacheid=no
   13678 fi
   13679 rm -f core conftest.err conftest.$ac_objext \
   13680     conftest$ac_exeext conftest.$ac_ext
   13681 fi
   13682 
   13683 
   13684 		CFLAGS="$xorg_testset_save_CFLAGS"
   13685 
   13686 		eval supported=\$$cacheid
   13687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13688 $as_echo "$supported" >&6; }
   13689 		if test "$supported" = "yes" ; then
   13690 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13691 			found="yes"
   13692 		fi
   13693 	fi
   13694 
   13695 
   13696 
   13697 
   13698 
   13699 
   13700 
   13701 
   13702 
   13703 
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 xorg_testset_save_CFLAGS="$CFLAGS"
   13710 
   13711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13714 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13715 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13716   $as_echo_n "(cached) " >&6
   13717 else
   13718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13719 /* end confdefs.h.  */
   13720 int i;
   13721 _ACEOF
   13722 if ac_fn_c_try_compile "$LINENO"; then :
   13723   xorg_cv_cc_flag_unknown_warning_option=yes
   13724 else
   13725   xorg_cv_cc_flag_unknown_warning_option=no
   13726 fi
   13727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13728 fi
   13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13730 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13732 	CFLAGS="$xorg_testset_save_CFLAGS"
   13733 fi
   13734 
   13735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13738 	fi
   13739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13741 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13742 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13743   $as_echo_n "(cached) " >&6
   13744 else
   13745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13746 /* end confdefs.h.  */
   13747 int i;
   13748 _ACEOF
   13749 if ac_fn_c_try_compile "$LINENO"; then :
   13750   xorg_cv_cc_flag_unused_command_line_argument=yes
   13751 else
   13752   xorg_cv_cc_flag_unused_command_line_argument=no
   13753 fi
   13754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13755 fi
   13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13757 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13759 	CFLAGS="$xorg_testset_save_CFLAGS"
   13760 fi
   13761 
   13762 found="no"
   13763 
   13764 	if test $found = "no" ; then
   13765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13767 		fi
   13768 
   13769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13771 		fi
   13772 
   13773 		CFLAGS="$CFLAGS -Wuninitialized"
   13774 
   13775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13776 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13777 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13778 		if eval \${$cacheid+:} false; then :
   13779   $as_echo_n "(cached) " >&6
   13780 else
   13781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13782 /* end confdefs.h.  */
   13783 int i;
   13784 int
   13785 main ()
   13786 {
   13787 
   13788   ;
   13789   return 0;
   13790 }
   13791 _ACEOF
   13792 if ac_fn_c_try_link "$LINENO"; then :
   13793   eval $cacheid=yes
   13794 else
   13795   eval $cacheid=no
   13796 fi
   13797 rm -f core conftest.err conftest.$ac_objext \
   13798     conftest$ac_exeext conftest.$ac_ext
   13799 fi
   13800 
   13801 
   13802 		CFLAGS="$xorg_testset_save_CFLAGS"
   13803 
   13804 		eval supported=\$$cacheid
   13805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13806 $as_echo "$supported" >&6; }
   13807 		if test "$supported" = "yes" ; then
   13808 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13809 			found="yes"
   13810 		fi
   13811 	fi
   13812 
   13813 
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 xorg_testset_save_CFLAGS="$CFLAGS"
   13828 
   13829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13832 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13833 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13834   $as_echo_n "(cached) " >&6
   13835 else
   13836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13837 /* end confdefs.h.  */
   13838 int i;
   13839 _ACEOF
   13840 if ac_fn_c_try_compile "$LINENO"; then :
   13841   xorg_cv_cc_flag_unknown_warning_option=yes
   13842 else
   13843   xorg_cv_cc_flag_unknown_warning_option=no
   13844 fi
   13845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13846 fi
   13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13848 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13850 	CFLAGS="$xorg_testset_save_CFLAGS"
   13851 fi
   13852 
   13853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13856 	fi
   13857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13859 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13860 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13861   $as_echo_n "(cached) " >&6
   13862 else
   13863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13864 /* end confdefs.h.  */
   13865 int i;
   13866 _ACEOF
   13867 if ac_fn_c_try_compile "$LINENO"; then :
   13868   xorg_cv_cc_flag_unused_command_line_argument=yes
   13869 else
   13870   xorg_cv_cc_flag_unused_command_line_argument=no
   13871 fi
   13872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13873 fi
   13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13875 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13877 	CFLAGS="$xorg_testset_save_CFLAGS"
   13878 fi
   13879 
   13880 found="no"
   13881 
   13882 	if test $found = "no" ; then
   13883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13885 		fi
   13886 
   13887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13889 		fi
   13890 
   13891 		CFLAGS="$CFLAGS -Wshadow"
   13892 
   13893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13894 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13895 		cacheid=xorg_cv_cc_flag__Wshadow
   13896 		if eval \${$cacheid+:} false; then :
   13897   $as_echo_n "(cached) " >&6
   13898 else
   13899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13900 /* end confdefs.h.  */
   13901 int i;
   13902 int
   13903 main ()
   13904 {
   13905 
   13906   ;
   13907   return 0;
   13908 }
   13909 _ACEOF
   13910 if ac_fn_c_try_link "$LINENO"; then :
   13911   eval $cacheid=yes
   13912 else
   13913   eval $cacheid=no
   13914 fi
   13915 rm -f core conftest.err conftest.$ac_objext \
   13916     conftest$ac_exeext conftest.$ac_ext
   13917 fi
   13918 
   13919 
   13920 		CFLAGS="$xorg_testset_save_CFLAGS"
   13921 
   13922 		eval supported=\$$cacheid
   13923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13924 $as_echo "$supported" >&6; }
   13925 		if test "$supported" = "yes" ; then
   13926 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13927 			found="yes"
   13928 		fi
   13929 	fi
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 
   13939 
   13940 
   13941 
   13942 
   13943 
   13944 
   13945 xorg_testset_save_CFLAGS="$CFLAGS"
   13946 
   13947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13952   $as_echo_n "(cached) " >&6
   13953 else
   13954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13955 /* end confdefs.h.  */
   13956 int i;
   13957 _ACEOF
   13958 if ac_fn_c_try_compile "$LINENO"; then :
   13959   xorg_cv_cc_flag_unknown_warning_option=yes
   13960 else
   13961   xorg_cv_cc_flag_unknown_warning_option=no
   13962 fi
   13963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13964 fi
   13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13968 	CFLAGS="$xorg_testset_save_CFLAGS"
   13969 fi
   13970 
   13971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13974 	fi
   13975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13979   $as_echo_n "(cached) " >&6
   13980 else
   13981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13982 /* end confdefs.h.  */
   13983 int i;
   13984 _ACEOF
   13985 if ac_fn_c_try_compile "$LINENO"; then :
   13986   xorg_cv_cc_flag_unused_command_line_argument=yes
   13987 else
   13988   xorg_cv_cc_flag_unused_command_line_argument=no
   13989 fi
   13990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13991 fi
   13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13995 	CFLAGS="$xorg_testset_save_CFLAGS"
   13996 fi
   13997 
   13998 found="no"
   13999 
   14000 	if test $found = "no" ; then
   14001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14003 		fi
   14004 
   14005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14007 		fi
   14008 
   14009 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14010 
   14011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14012 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14013 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14014 		if eval \${$cacheid+:} false; then :
   14015   $as_echo_n "(cached) " >&6
   14016 else
   14017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14018 /* end confdefs.h.  */
   14019 int i;
   14020 int
   14021 main ()
   14022 {
   14023 
   14024   ;
   14025   return 0;
   14026 }
   14027 _ACEOF
   14028 if ac_fn_c_try_link "$LINENO"; then :
   14029   eval $cacheid=yes
   14030 else
   14031   eval $cacheid=no
   14032 fi
   14033 rm -f core conftest.err conftest.$ac_objext \
   14034     conftest$ac_exeext conftest.$ac_ext
   14035 fi
   14036 
   14037 
   14038 		CFLAGS="$xorg_testset_save_CFLAGS"
   14039 
   14040 		eval supported=\$$cacheid
   14041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14042 $as_echo "$supported" >&6; }
   14043 		if test "$supported" = "yes" ; then
   14044 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14045 			found="yes"
   14046 		fi
   14047 	fi
   14048 
   14049 
   14050 
   14051 
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 
   14059 
   14060 
   14061 
   14062 
   14063 xorg_testset_save_CFLAGS="$CFLAGS"
   14064 
   14065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14070   $as_echo_n "(cached) " >&6
   14071 else
   14072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14073 /* end confdefs.h.  */
   14074 int i;
   14075 _ACEOF
   14076 if ac_fn_c_try_compile "$LINENO"; then :
   14077   xorg_cv_cc_flag_unknown_warning_option=yes
   14078 else
   14079   xorg_cv_cc_flag_unknown_warning_option=no
   14080 fi
   14081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14082 fi
   14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14086 	CFLAGS="$xorg_testset_save_CFLAGS"
   14087 fi
   14088 
   14089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14092 	fi
   14093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14097   $as_echo_n "(cached) " >&6
   14098 else
   14099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14100 /* end confdefs.h.  */
   14101 int i;
   14102 _ACEOF
   14103 if ac_fn_c_try_compile "$LINENO"; then :
   14104   xorg_cv_cc_flag_unused_command_line_argument=yes
   14105 else
   14106   xorg_cv_cc_flag_unused_command_line_argument=no
   14107 fi
   14108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14109 fi
   14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14113 	CFLAGS="$xorg_testset_save_CFLAGS"
   14114 fi
   14115 
   14116 found="no"
   14117 
   14118 	if test $found = "no" ; then
   14119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14121 		fi
   14122 
   14123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14125 		fi
   14126 
   14127 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14128 
   14129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14130 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14131 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14132 		if eval \${$cacheid+:} false; then :
   14133   $as_echo_n "(cached) " >&6
   14134 else
   14135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14136 /* end confdefs.h.  */
   14137 int i;
   14138 int
   14139 main ()
   14140 {
   14141 
   14142   ;
   14143   return 0;
   14144 }
   14145 _ACEOF
   14146 if ac_fn_c_try_link "$LINENO"; then :
   14147   eval $cacheid=yes
   14148 else
   14149   eval $cacheid=no
   14150 fi
   14151 rm -f core conftest.err conftest.$ac_objext \
   14152     conftest$ac_exeext conftest.$ac_ext
   14153 fi
   14154 
   14155 
   14156 		CFLAGS="$xorg_testset_save_CFLAGS"
   14157 
   14158 		eval supported=\$$cacheid
   14159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14160 $as_echo "$supported" >&6; }
   14161 		if test "$supported" = "yes" ; then
   14162 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14163 			found="yes"
   14164 		fi
   14165 	fi
   14166 
   14167 
   14168 
   14169 
   14170 
   14171 
   14172 
   14173 
   14174 
   14175 
   14176 
   14177 
   14178 
   14179 
   14180 
   14181 xorg_testset_save_CFLAGS="$CFLAGS"
   14182 
   14183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14186 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14187 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14188   $as_echo_n "(cached) " >&6
   14189 else
   14190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14191 /* end confdefs.h.  */
   14192 int i;
   14193 _ACEOF
   14194 if ac_fn_c_try_compile "$LINENO"; then :
   14195   xorg_cv_cc_flag_unknown_warning_option=yes
   14196 else
   14197   xorg_cv_cc_flag_unknown_warning_option=no
   14198 fi
   14199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14200 fi
   14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14202 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14204 	CFLAGS="$xorg_testset_save_CFLAGS"
   14205 fi
   14206 
   14207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14210 	fi
   14211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14213 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14214 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14215   $as_echo_n "(cached) " >&6
   14216 else
   14217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14218 /* end confdefs.h.  */
   14219 int i;
   14220 _ACEOF
   14221 if ac_fn_c_try_compile "$LINENO"; then :
   14222   xorg_cv_cc_flag_unused_command_line_argument=yes
   14223 else
   14224   xorg_cv_cc_flag_unused_command_line_argument=no
   14225 fi
   14226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14227 fi
   14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14229 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14231 	CFLAGS="$xorg_testset_save_CFLAGS"
   14232 fi
   14233 
   14234 found="no"
   14235 
   14236 	if test $found = "no" ; then
   14237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14239 		fi
   14240 
   14241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14243 		fi
   14244 
   14245 		CFLAGS="$CFLAGS -Wredundant-decls"
   14246 
   14247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14248 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14249 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14250 		if eval \${$cacheid+:} false; then :
   14251   $as_echo_n "(cached) " >&6
   14252 else
   14253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14254 /* end confdefs.h.  */
   14255 int i;
   14256 int
   14257 main ()
   14258 {
   14259 
   14260   ;
   14261   return 0;
   14262 }
   14263 _ACEOF
   14264 if ac_fn_c_try_link "$LINENO"; then :
   14265   eval $cacheid=yes
   14266 else
   14267   eval $cacheid=no
   14268 fi
   14269 rm -f core conftest.err conftest.$ac_objext \
   14270     conftest$ac_exeext conftest.$ac_ext
   14271 fi
   14272 
   14273 
   14274 		CFLAGS="$xorg_testset_save_CFLAGS"
   14275 
   14276 		eval supported=\$$cacheid
   14277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14278 $as_echo "$supported" >&6; }
   14279 		if test "$supported" = "yes" ; then
   14280 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14281 			found="yes"
   14282 		fi
   14283 	fi
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 
   14294 
   14295 
   14296 
   14297 
   14298 
   14299 xorg_testset_save_CFLAGS="$CFLAGS"
   14300 
   14301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14303 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14304 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14305 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14306   $as_echo_n "(cached) " >&6
   14307 else
   14308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14309 /* end confdefs.h.  */
   14310 int i;
   14311 _ACEOF
   14312 if ac_fn_c_try_compile "$LINENO"; then :
   14313   xorg_cv_cc_flag_unknown_warning_option=yes
   14314 else
   14315   xorg_cv_cc_flag_unknown_warning_option=no
   14316 fi
   14317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14318 fi
   14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14320 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14322 	CFLAGS="$xorg_testset_save_CFLAGS"
   14323 fi
   14324 
   14325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14328 	fi
   14329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14331 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14332 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14333   $as_echo_n "(cached) " >&6
   14334 else
   14335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14336 /* end confdefs.h.  */
   14337 int i;
   14338 _ACEOF
   14339 if ac_fn_c_try_compile "$LINENO"; then :
   14340   xorg_cv_cc_flag_unused_command_line_argument=yes
   14341 else
   14342   xorg_cv_cc_flag_unused_command_line_argument=no
   14343 fi
   14344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14345 fi
   14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14347 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14348 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14349 	CFLAGS="$xorg_testset_save_CFLAGS"
   14350 fi
   14351 
   14352 found="no"
   14353 
   14354 	if test $found = "no" ; then
   14355 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14356 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14357 		fi
   14358 
   14359 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14360 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14361 		fi
   14362 
   14363 		CFLAGS="$CFLAGS -Wlogical-op"
   14364 
   14365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14366 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14367 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14368 		if eval \${$cacheid+:} false; then :
   14369   $as_echo_n "(cached) " >&6
   14370 else
   14371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14372 /* end confdefs.h.  */
   14373 int i;
   14374 int
   14375 main ()
   14376 {
   14377 
   14378   ;
   14379   return 0;
   14380 }
   14381 _ACEOF
   14382 if ac_fn_c_try_link "$LINENO"; then :
   14383   eval $cacheid=yes
   14384 else
   14385   eval $cacheid=no
   14386 fi
   14387 rm -f core conftest.err conftest.$ac_objext \
   14388     conftest$ac_exeext conftest.$ac_ext
   14389 fi
   14390 
   14391 
   14392 		CFLAGS="$xorg_testset_save_CFLAGS"
   14393 
   14394 		eval supported=\$$cacheid
   14395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14396 $as_echo "$supported" >&6; }
   14397 		if test "$supported" = "yes" ; then
   14398 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14399 			found="yes"
   14400 		fi
   14401 	fi
   14402 
   14403 
   14404 
   14405 # These are currently disabled because they are noisy.  They will be enabled
   14406 # in the future once the codebase is sufficiently modernized to silence
   14407 # them.  For now, I don't want them to drown out the other warnings.
   14408 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14409 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14410 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14411 
   14412 # Turn some warnings into errors, so we don't accidently get successful builds
   14413 # when there are problems that should be fixed.
   14414 
   14415 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14416 
   14417 
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 
   14424 
   14425 
   14426 
   14427 
   14428 
   14429 xorg_testset_save_CFLAGS="$CFLAGS"
   14430 
   14431 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14432 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14434 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14435 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14436   $as_echo_n "(cached) " >&6
   14437 else
   14438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14439 /* end confdefs.h.  */
   14440 int i;
   14441 _ACEOF
   14442 if ac_fn_c_try_compile "$LINENO"; then :
   14443   xorg_cv_cc_flag_unknown_warning_option=yes
   14444 else
   14445   xorg_cv_cc_flag_unknown_warning_option=no
   14446 fi
   14447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14448 fi
   14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14450 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14451 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14452 	CFLAGS="$xorg_testset_save_CFLAGS"
   14453 fi
   14454 
   14455 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14456 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14457 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14458 	fi
   14459 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14461 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14462 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14463   $as_echo_n "(cached) " >&6
   14464 else
   14465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14466 /* end confdefs.h.  */
   14467 int i;
   14468 _ACEOF
   14469 if ac_fn_c_try_compile "$LINENO"; then :
   14470   xorg_cv_cc_flag_unused_command_line_argument=yes
   14471 else
   14472   xorg_cv_cc_flag_unused_command_line_argument=no
   14473 fi
   14474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14475 fi
   14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14477 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14478 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14479 	CFLAGS="$xorg_testset_save_CFLAGS"
   14480 fi
   14481 
   14482 found="no"
   14483 
   14484 	if test $found = "no" ; then
   14485 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14487 		fi
   14488 
   14489 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14491 		fi
   14492 
   14493 		CFLAGS="$CFLAGS -Werror=implicit"
   14494 
   14495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14496 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14497 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14498 		if eval \${$cacheid+:} false; then :
   14499   $as_echo_n "(cached) " >&6
   14500 else
   14501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14502 /* end confdefs.h.  */
   14503 int i;
   14504 int
   14505 main ()
   14506 {
   14507 
   14508   ;
   14509   return 0;
   14510 }
   14511 _ACEOF
   14512 if ac_fn_c_try_link "$LINENO"; then :
   14513   eval $cacheid=yes
   14514 else
   14515   eval $cacheid=no
   14516 fi
   14517 rm -f core conftest.err conftest.$ac_objext \
   14518     conftest$ac_exeext conftest.$ac_ext
   14519 fi
   14520 
   14521 
   14522 		CFLAGS="$xorg_testset_save_CFLAGS"
   14523 
   14524 		eval supported=\$$cacheid
   14525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14526 $as_echo "$supported" >&6; }
   14527 		if test "$supported" = "yes" ; then
   14528 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14529 			found="yes"
   14530 		fi
   14531 	fi
   14532 
   14533 	if test $found = "no" ; then
   14534 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14536 		fi
   14537 
   14538 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14540 		fi
   14541 
   14542 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14543 
   14544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14545 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14546 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14547 		if eval \${$cacheid+:} false; then :
   14548   $as_echo_n "(cached) " >&6
   14549 else
   14550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14551 /* end confdefs.h.  */
   14552 int i;
   14553 int
   14554 main ()
   14555 {
   14556 
   14557   ;
   14558   return 0;
   14559 }
   14560 _ACEOF
   14561 if ac_fn_c_try_link "$LINENO"; then :
   14562   eval $cacheid=yes
   14563 else
   14564   eval $cacheid=no
   14565 fi
   14566 rm -f core conftest.err conftest.$ac_objext \
   14567     conftest$ac_exeext conftest.$ac_ext
   14568 fi
   14569 
   14570 
   14571 		CFLAGS="$xorg_testset_save_CFLAGS"
   14572 
   14573 		eval supported=\$$cacheid
   14574 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14575 $as_echo "$supported" >&6; }
   14576 		if test "$supported" = "yes" ; then
   14577 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14578 			found="yes"
   14579 		fi
   14580 	fi
   14581 
   14582 
   14583 
   14584 
   14585 
   14586 
   14587 
   14588 
   14589 
   14590 
   14591 
   14592 
   14593 
   14594 
   14595 
   14596 xorg_testset_save_CFLAGS="$CFLAGS"
   14597 
   14598 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14599 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14601 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14602 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14603   $as_echo_n "(cached) " >&6
   14604 else
   14605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14606 /* end confdefs.h.  */
   14607 int i;
   14608 _ACEOF
   14609 if ac_fn_c_try_compile "$LINENO"; then :
   14610   xorg_cv_cc_flag_unknown_warning_option=yes
   14611 else
   14612   xorg_cv_cc_flag_unknown_warning_option=no
   14613 fi
   14614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14615 fi
   14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14617 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14618 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14619 	CFLAGS="$xorg_testset_save_CFLAGS"
   14620 fi
   14621 
   14622 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14623 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14624 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14625 	fi
   14626 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14628 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14629 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14630   $as_echo_n "(cached) " >&6
   14631 else
   14632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14633 /* end confdefs.h.  */
   14634 int i;
   14635 _ACEOF
   14636 if ac_fn_c_try_compile "$LINENO"; then :
   14637   xorg_cv_cc_flag_unused_command_line_argument=yes
   14638 else
   14639   xorg_cv_cc_flag_unused_command_line_argument=no
   14640 fi
   14641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14642 fi
   14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14644 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14645 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14646 	CFLAGS="$xorg_testset_save_CFLAGS"
   14647 fi
   14648 
   14649 found="no"
   14650 
   14651 	if test $found = "no" ; then
   14652 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14654 		fi
   14655 
   14656 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14658 		fi
   14659 
   14660 		CFLAGS="$CFLAGS -Werror=nonnull"
   14661 
   14662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14663 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14664 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14665 		if eval \${$cacheid+:} false; then :
   14666   $as_echo_n "(cached) " >&6
   14667 else
   14668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14669 /* end confdefs.h.  */
   14670 int i;
   14671 int
   14672 main ()
   14673 {
   14674 
   14675   ;
   14676   return 0;
   14677 }
   14678 _ACEOF
   14679 if ac_fn_c_try_link "$LINENO"; then :
   14680   eval $cacheid=yes
   14681 else
   14682   eval $cacheid=no
   14683 fi
   14684 rm -f core conftest.err conftest.$ac_objext \
   14685     conftest$ac_exeext conftest.$ac_ext
   14686 fi
   14687 
   14688 
   14689 		CFLAGS="$xorg_testset_save_CFLAGS"
   14690 
   14691 		eval supported=\$$cacheid
   14692 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14693 $as_echo "$supported" >&6; }
   14694 		if test "$supported" = "yes" ; then
   14695 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14696 			found="yes"
   14697 		fi
   14698 	fi
   14699 
   14700 
   14701 
   14702 
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 
   14714 xorg_testset_save_CFLAGS="$CFLAGS"
   14715 
   14716 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14717 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14718 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14719 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14720 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14721   $as_echo_n "(cached) " >&6
   14722 else
   14723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14724 /* end confdefs.h.  */
   14725 int i;
   14726 _ACEOF
   14727 if ac_fn_c_try_compile "$LINENO"; then :
   14728   xorg_cv_cc_flag_unknown_warning_option=yes
   14729 else
   14730   xorg_cv_cc_flag_unknown_warning_option=no
   14731 fi
   14732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14733 fi
   14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14735 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14736 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14737 	CFLAGS="$xorg_testset_save_CFLAGS"
   14738 fi
   14739 
   14740 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14741 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14742 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14743 	fi
   14744 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14746 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14747 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14748   $as_echo_n "(cached) " >&6
   14749 else
   14750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14751 /* end confdefs.h.  */
   14752 int i;
   14753 _ACEOF
   14754 if ac_fn_c_try_compile "$LINENO"; then :
   14755   xorg_cv_cc_flag_unused_command_line_argument=yes
   14756 else
   14757   xorg_cv_cc_flag_unused_command_line_argument=no
   14758 fi
   14759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14760 fi
   14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14762 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14764 	CFLAGS="$xorg_testset_save_CFLAGS"
   14765 fi
   14766 
   14767 found="no"
   14768 
   14769 	if test $found = "no" ; then
   14770 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14772 		fi
   14773 
   14774 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14776 		fi
   14777 
   14778 		CFLAGS="$CFLAGS -Werror=init-self"
   14779 
   14780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14781 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14782 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14783 		if eval \${$cacheid+:} false; then :
   14784   $as_echo_n "(cached) " >&6
   14785 else
   14786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14787 /* end confdefs.h.  */
   14788 int i;
   14789 int
   14790 main ()
   14791 {
   14792 
   14793   ;
   14794   return 0;
   14795 }
   14796 _ACEOF
   14797 if ac_fn_c_try_link "$LINENO"; then :
   14798   eval $cacheid=yes
   14799 else
   14800   eval $cacheid=no
   14801 fi
   14802 rm -f core conftest.err conftest.$ac_objext \
   14803     conftest$ac_exeext conftest.$ac_ext
   14804 fi
   14805 
   14806 
   14807 		CFLAGS="$xorg_testset_save_CFLAGS"
   14808 
   14809 		eval supported=\$$cacheid
   14810 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14811 $as_echo "$supported" >&6; }
   14812 		if test "$supported" = "yes" ; then
   14813 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14814 			found="yes"
   14815 		fi
   14816 	fi
   14817 
   14818 
   14819 
   14820 
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 xorg_testset_save_CFLAGS="$CFLAGS"
   14833 
   14834 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14835 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14837 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14838 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14839   $as_echo_n "(cached) " >&6
   14840 else
   14841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14842 /* end confdefs.h.  */
   14843 int i;
   14844 _ACEOF
   14845 if ac_fn_c_try_compile "$LINENO"; then :
   14846   xorg_cv_cc_flag_unknown_warning_option=yes
   14847 else
   14848   xorg_cv_cc_flag_unknown_warning_option=no
   14849 fi
   14850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14851 fi
   14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14853 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14854 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14855 	CFLAGS="$xorg_testset_save_CFLAGS"
   14856 fi
   14857 
   14858 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14859 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14860 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14861 	fi
   14862 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14864 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14865 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14866   $as_echo_n "(cached) " >&6
   14867 else
   14868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14869 /* end confdefs.h.  */
   14870 int i;
   14871 _ACEOF
   14872 if ac_fn_c_try_compile "$LINENO"; then :
   14873   xorg_cv_cc_flag_unused_command_line_argument=yes
   14874 else
   14875   xorg_cv_cc_flag_unused_command_line_argument=no
   14876 fi
   14877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14878 fi
   14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14880 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14881 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14882 	CFLAGS="$xorg_testset_save_CFLAGS"
   14883 fi
   14884 
   14885 found="no"
   14886 
   14887 	if test $found = "no" ; then
   14888 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14889 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14890 		fi
   14891 
   14892 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14893 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14894 		fi
   14895 
   14896 		CFLAGS="$CFLAGS -Werror=main"
   14897 
   14898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14899 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14900 		cacheid=xorg_cv_cc_flag__Werror_main
   14901 		if eval \${$cacheid+:} false; then :
   14902   $as_echo_n "(cached) " >&6
   14903 else
   14904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14905 /* end confdefs.h.  */
   14906 int i;
   14907 int
   14908 main ()
   14909 {
   14910 
   14911   ;
   14912   return 0;
   14913 }
   14914 _ACEOF
   14915 if ac_fn_c_try_link "$LINENO"; then :
   14916   eval $cacheid=yes
   14917 else
   14918   eval $cacheid=no
   14919 fi
   14920 rm -f core conftest.err conftest.$ac_objext \
   14921     conftest$ac_exeext conftest.$ac_ext
   14922 fi
   14923 
   14924 
   14925 		CFLAGS="$xorg_testset_save_CFLAGS"
   14926 
   14927 		eval supported=\$$cacheid
   14928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14929 $as_echo "$supported" >&6; }
   14930 		if test "$supported" = "yes" ; then
   14931 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14932 			found="yes"
   14933 		fi
   14934 	fi
   14935 
   14936 
   14937 
   14938 
   14939 
   14940 
   14941 
   14942 
   14943 
   14944 
   14945 
   14946 
   14947 
   14948 
   14949 
   14950 xorg_testset_save_CFLAGS="$CFLAGS"
   14951 
   14952 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14953 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14955 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14956 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14957   $as_echo_n "(cached) " >&6
   14958 else
   14959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14960 /* end confdefs.h.  */
   14961 int i;
   14962 _ACEOF
   14963 if ac_fn_c_try_compile "$LINENO"; then :
   14964   xorg_cv_cc_flag_unknown_warning_option=yes
   14965 else
   14966   xorg_cv_cc_flag_unknown_warning_option=no
   14967 fi
   14968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14969 fi
   14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14971 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14972 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14973 	CFLAGS="$xorg_testset_save_CFLAGS"
   14974 fi
   14975 
   14976 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14977 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14978 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14979 	fi
   14980 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14982 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14983 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14984   $as_echo_n "(cached) " >&6
   14985 else
   14986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14987 /* end confdefs.h.  */
   14988 int i;
   14989 _ACEOF
   14990 if ac_fn_c_try_compile "$LINENO"; then :
   14991   xorg_cv_cc_flag_unused_command_line_argument=yes
   14992 else
   14993   xorg_cv_cc_flag_unused_command_line_argument=no
   14994 fi
   14995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14996 fi
   14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14998 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15000 	CFLAGS="$xorg_testset_save_CFLAGS"
   15001 fi
   15002 
   15003 found="no"
   15004 
   15005 	if test $found = "no" ; then
   15006 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15008 		fi
   15009 
   15010 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15012 		fi
   15013 
   15014 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15015 
   15016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15017 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15018 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15019 		if eval \${$cacheid+:} false; then :
   15020   $as_echo_n "(cached) " >&6
   15021 else
   15022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15023 /* end confdefs.h.  */
   15024 int i;
   15025 int
   15026 main ()
   15027 {
   15028 
   15029   ;
   15030   return 0;
   15031 }
   15032 _ACEOF
   15033 if ac_fn_c_try_link "$LINENO"; then :
   15034   eval $cacheid=yes
   15035 else
   15036   eval $cacheid=no
   15037 fi
   15038 rm -f core conftest.err conftest.$ac_objext \
   15039     conftest$ac_exeext conftest.$ac_ext
   15040 fi
   15041 
   15042 
   15043 		CFLAGS="$xorg_testset_save_CFLAGS"
   15044 
   15045 		eval supported=\$$cacheid
   15046 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15047 $as_echo "$supported" >&6; }
   15048 		if test "$supported" = "yes" ; then
   15049 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15050 			found="yes"
   15051 		fi
   15052 	fi
   15053 
   15054 
   15055 
   15056 
   15057 
   15058 
   15059 
   15060 
   15061 
   15062 
   15063 
   15064 
   15065 
   15066 
   15067 
   15068 xorg_testset_save_CFLAGS="$CFLAGS"
   15069 
   15070 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15071 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15073 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15074 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15075   $as_echo_n "(cached) " >&6
   15076 else
   15077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15078 /* end confdefs.h.  */
   15079 int i;
   15080 _ACEOF
   15081 if ac_fn_c_try_compile "$LINENO"; then :
   15082   xorg_cv_cc_flag_unknown_warning_option=yes
   15083 else
   15084   xorg_cv_cc_flag_unknown_warning_option=no
   15085 fi
   15086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15087 fi
   15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15089 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15091 	CFLAGS="$xorg_testset_save_CFLAGS"
   15092 fi
   15093 
   15094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15097 	fi
   15098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15100 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15101 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15102   $as_echo_n "(cached) " >&6
   15103 else
   15104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15105 /* end confdefs.h.  */
   15106 int i;
   15107 _ACEOF
   15108 if ac_fn_c_try_compile "$LINENO"; then :
   15109   xorg_cv_cc_flag_unused_command_line_argument=yes
   15110 else
   15111   xorg_cv_cc_flag_unused_command_line_argument=no
   15112 fi
   15113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15114 fi
   15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15116 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15118 	CFLAGS="$xorg_testset_save_CFLAGS"
   15119 fi
   15120 
   15121 found="no"
   15122 
   15123 	if test $found = "no" ; then
   15124 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15126 		fi
   15127 
   15128 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15130 		fi
   15131 
   15132 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15133 
   15134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15135 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15136 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15137 		if eval \${$cacheid+:} false; then :
   15138   $as_echo_n "(cached) " >&6
   15139 else
   15140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15141 /* end confdefs.h.  */
   15142 int i;
   15143 int
   15144 main ()
   15145 {
   15146 
   15147   ;
   15148   return 0;
   15149 }
   15150 _ACEOF
   15151 if ac_fn_c_try_link "$LINENO"; then :
   15152   eval $cacheid=yes
   15153 else
   15154   eval $cacheid=no
   15155 fi
   15156 rm -f core conftest.err conftest.$ac_objext \
   15157     conftest$ac_exeext conftest.$ac_ext
   15158 fi
   15159 
   15160 
   15161 		CFLAGS="$xorg_testset_save_CFLAGS"
   15162 
   15163 		eval supported=\$$cacheid
   15164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15165 $as_echo "$supported" >&6; }
   15166 		if test "$supported" = "yes" ; then
   15167 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15168 			found="yes"
   15169 		fi
   15170 	fi
   15171 
   15172 
   15173 
   15174 
   15175 
   15176 
   15177 
   15178 
   15179 
   15180 
   15181 
   15182 
   15183 
   15184 
   15185 
   15186 xorg_testset_save_CFLAGS="$CFLAGS"
   15187 
   15188 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15189 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15191 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15192 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15193   $as_echo_n "(cached) " >&6
   15194 else
   15195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15196 /* end confdefs.h.  */
   15197 int i;
   15198 _ACEOF
   15199 if ac_fn_c_try_compile "$LINENO"; then :
   15200   xorg_cv_cc_flag_unknown_warning_option=yes
   15201 else
   15202   xorg_cv_cc_flag_unknown_warning_option=no
   15203 fi
   15204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15205 fi
   15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15207 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15208 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15209 	CFLAGS="$xorg_testset_save_CFLAGS"
   15210 fi
   15211 
   15212 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15213 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15215 	fi
   15216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15217 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15218 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15219 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15220   $as_echo_n "(cached) " >&6
   15221 else
   15222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15223 /* end confdefs.h.  */
   15224 int i;
   15225 _ACEOF
   15226 if ac_fn_c_try_compile "$LINENO"; then :
   15227   xorg_cv_cc_flag_unused_command_line_argument=yes
   15228 else
   15229   xorg_cv_cc_flag_unused_command_line_argument=no
   15230 fi
   15231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15232 fi
   15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15234 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15236 	CFLAGS="$xorg_testset_save_CFLAGS"
   15237 fi
   15238 
   15239 found="no"
   15240 
   15241 	if test $found = "no" ; then
   15242 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15244 		fi
   15245 
   15246 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15248 		fi
   15249 
   15250 		CFLAGS="$CFLAGS -Werror=return-type"
   15251 
   15252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15253 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15254 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15255 		if eval \${$cacheid+:} false; then :
   15256   $as_echo_n "(cached) " >&6
   15257 else
   15258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15259 /* end confdefs.h.  */
   15260 int i;
   15261 int
   15262 main ()
   15263 {
   15264 
   15265   ;
   15266   return 0;
   15267 }
   15268 _ACEOF
   15269 if ac_fn_c_try_link "$LINENO"; then :
   15270   eval $cacheid=yes
   15271 else
   15272   eval $cacheid=no
   15273 fi
   15274 rm -f core conftest.err conftest.$ac_objext \
   15275     conftest$ac_exeext conftest.$ac_ext
   15276 fi
   15277 
   15278 
   15279 		CFLAGS="$xorg_testset_save_CFLAGS"
   15280 
   15281 		eval supported=\$$cacheid
   15282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15283 $as_echo "$supported" >&6; }
   15284 		if test "$supported" = "yes" ; then
   15285 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15286 			found="yes"
   15287 		fi
   15288 	fi
   15289 
   15290 	if test $found = "no" ; then
   15291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15293 		fi
   15294 
   15295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15297 		fi
   15298 
   15299 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15300 
   15301 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15302 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15303 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15304 		if eval \${$cacheid+:} false; then :
   15305   $as_echo_n "(cached) " >&6
   15306 else
   15307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15308 /* end confdefs.h.  */
   15309 int i;
   15310 int
   15311 main ()
   15312 {
   15313 
   15314   ;
   15315   return 0;
   15316 }
   15317 _ACEOF
   15318 if ac_fn_c_try_link "$LINENO"; then :
   15319   eval $cacheid=yes
   15320 else
   15321   eval $cacheid=no
   15322 fi
   15323 rm -f core conftest.err conftest.$ac_objext \
   15324     conftest$ac_exeext conftest.$ac_ext
   15325 fi
   15326 
   15327 
   15328 		CFLAGS="$xorg_testset_save_CFLAGS"
   15329 
   15330 		eval supported=\$$cacheid
   15331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15332 $as_echo "$supported" >&6; }
   15333 		if test "$supported" = "yes" ; then
   15334 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15335 			found="yes"
   15336 		fi
   15337 	fi
   15338 
   15339 
   15340 
   15341 
   15342 
   15343 
   15344 
   15345 
   15346 
   15347 
   15348 
   15349 
   15350 
   15351 
   15352 
   15353 xorg_testset_save_CFLAGS="$CFLAGS"
   15354 
   15355 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15356 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15358 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15359 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15360   $as_echo_n "(cached) " >&6
   15361 else
   15362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15363 /* end confdefs.h.  */
   15364 int i;
   15365 _ACEOF
   15366 if ac_fn_c_try_compile "$LINENO"; then :
   15367   xorg_cv_cc_flag_unknown_warning_option=yes
   15368 else
   15369   xorg_cv_cc_flag_unknown_warning_option=no
   15370 fi
   15371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15372 fi
   15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15374 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15376 	CFLAGS="$xorg_testset_save_CFLAGS"
   15377 fi
   15378 
   15379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15382 	fi
   15383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15385 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15386 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15387   $as_echo_n "(cached) " >&6
   15388 else
   15389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15390 /* end confdefs.h.  */
   15391 int i;
   15392 _ACEOF
   15393 if ac_fn_c_try_compile "$LINENO"; then :
   15394   xorg_cv_cc_flag_unused_command_line_argument=yes
   15395 else
   15396   xorg_cv_cc_flag_unused_command_line_argument=no
   15397 fi
   15398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15399 fi
   15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15401 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15402 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15403 	CFLAGS="$xorg_testset_save_CFLAGS"
   15404 fi
   15405 
   15406 found="no"
   15407 
   15408 	if test $found = "no" ; then
   15409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15411 		fi
   15412 
   15413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15415 		fi
   15416 
   15417 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15418 
   15419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15420 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15421 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15422 		if eval \${$cacheid+:} false; then :
   15423   $as_echo_n "(cached) " >&6
   15424 else
   15425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15426 /* end confdefs.h.  */
   15427 int i;
   15428 int
   15429 main ()
   15430 {
   15431 
   15432   ;
   15433   return 0;
   15434 }
   15435 _ACEOF
   15436 if ac_fn_c_try_link "$LINENO"; then :
   15437   eval $cacheid=yes
   15438 else
   15439   eval $cacheid=no
   15440 fi
   15441 rm -f core conftest.err conftest.$ac_objext \
   15442     conftest$ac_exeext conftest.$ac_ext
   15443 fi
   15444 
   15445 
   15446 		CFLAGS="$xorg_testset_save_CFLAGS"
   15447 
   15448 		eval supported=\$$cacheid
   15449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15450 $as_echo "$supported" >&6; }
   15451 		if test "$supported" = "yes" ; then
   15452 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15453 			found="yes"
   15454 		fi
   15455 	fi
   15456 
   15457 
   15458 
   15459 
   15460 
   15461 
   15462 
   15463 
   15464 
   15465 
   15466 
   15467 
   15468 
   15469 
   15470 
   15471 xorg_testset_save_CFLAGS="$CFLAGS"
   15472 
   15473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15476 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15477 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15478   $as_echo_n "(cached) " >&6
   15479 else
   15480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15481 /* end confdefs.h.  */
   15482 int i;
   15483 _ACEOF
   15484 if ac_fn_c_try_compile "$LINENO"; then :
   15485   xorg_cv_cc_flag_unknown_warning_option=yes
   15486 else
   15487   xorg_cv_cc_flag_unknown_warning_option=no
   15488 fi
   15489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15490 fi
   15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15492 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15493 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15494 	CFLAGS="$xorg_testset_save_CFLAGS"
   15495 fi
   15496 
   15497 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15498 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15499 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15500 	fi
   15501 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15503 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15504 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15505   $as_echo_n "(cached) " >&6
   15506 else
   15507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15508 /* end confdefs.h.  */
   15509 int i;
   15510 _ACEOF
   15511 if ac_fn_c_try_compile "$LINENO"; then :
   15512   xorg_cv_cc_flag_unused_command_line_argument=yes
   15513 else
   15514   xorg_cv_cc_flag_unused_command_line_argument=no
   15515 fi
   15516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15517 fi
   15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15519 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15520 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15521 	CFLAGS="$xorg_testset_save_CFLAGS"
   15522 fi
   15523 
   15524 found="no"
   15525 
   15526 	if test $found = "no" ; then
   15527 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15528 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15529 		fi
   15530 
   15531 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15532 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15533 		fi
   15534 
   15535 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15536 
   15537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15538 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15539 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15540 		if eval \${$cacheid+:} false; then :
   15541   $as_echo_n "(cached) " >&6
   15542 else
   15543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15544 /* end confdefs.h.  */
   15545 int i;
   15546 int
   15547 main ()
   15548 {
   15549 
   15550   ;
   15551   return 0;
   15552 }
   15553 _ACEOF
   15554 if ac_fn_c_try_link "$LINENO"; then :
   15555   eval $cacheid=yes
   15556 else
   15557   eval $cacheid=no
   15558 fi
   15559 rm -f core conftest.err conftest.$ac_objext \
   15560     conftest$ac_exeext conftest.$ac_ext
   15561 fi
   15562 
   15563 
   15564 		CFLAGS="$xorg_testset_save_CFLAGS"
   15565 
   15566 		eval supported=\$$cacheid
   15567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15568 $as_echo "$supported" >&6; }
   15569 		if test "$supported" = "yes" ; then
   15570 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15571 			found="yes"
   15572 		fi
   15573 	fi
   15574 
   15575 
   15576 
   15577 
   15578 
   15579 
   15580 
   15581 
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 xorg_testset_save_CFLAGS="$CFLAGS"
   15590 
   15591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15594 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15595 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15596   $as_echo_n "(cached) " >&6
   15597 else
   15598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15599 /* end confdefs.h.  */
   15600 int i;
   15601 _ACEOF
   15602 if ac_fn_c_try_compile "$LINENO"; then :
   15603   xorg_cv_cc_flag_unknown_warning_option=yes
   15604 else
   15605   xorg_cv_cc_flag_unknown_warning_option=no
   15606 fi
   15607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15608 fi
   15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15610 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15611 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15612 	CFLAGS="$xorg_testset_save_CFLAGS"
   15613 fi
   15614 
   15615 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15616 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15618 	fi
   15619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15621 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15622 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15623   $as_echo_n "(cached) " >&6
   15624 else
   15625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15626 /* end confdefs.h.  */
   15627 int i;
   15628 _ACEOF
   15629 if ac_fn_c_try_compile "$LINENO"; then :
   15630   xorg_cv_cc_flag_unused_command_line_argument=yes
   15631 else
   15632   xorg_cv_cc_flag_unused_command_line_argument=no
   15633 fi
   15634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15635 fi
   15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15637 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15638 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15639 	CFLAGS="$xorg_testset_save_CFLAGS"
   15640 fi
   15641 
   15642 found="no"
   15643 
   15644 	if test $found = "no" ; then
   15645 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15647 		fi
   15648 
   15649 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15651 		fi
   15652 
   15653 		CFLAGS="$CFLAGS -Werror=write-strings"
   15654 
   15655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15656 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15657 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15658 		if eval \${$cacheid+:} false; then :
   15659   $as_echo_n "(cached) " >&6
   15660 else
   15661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15662 /* end confdefs.h.  */
   15663 int i;
   15664 int
   15665 main ()
   15666 {
   15667 
   15668   ;
   15669   return 0;
   15670 }
   15671 _ACEOF
   15672 if ac_fn_c_try_link "$LINENO"; then :
   15673   eval $cacheid=yes
   15674 else
   15675   eval $cacheid=no
   15676 fi
   15677 rm -f core conftest.err conftest.$ac_objext \
   15678     conftest$ac_exeext conftest.$ac_ext
   15679 fi
   15680 
   15681 
   15682 		CFLAGS="$xorg_testset_save_CFLAGS"
   15683 
   15684 		eval supported=\$$cacheid
   15685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15686 $as_echo "$supported" >&6; }
   15687 		if test "$supported" = "yes" ; then
   15688 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15689 			found="yes"
   15690 		fi
   15691 	fi
   15692 
   15693 
   15694 
   15695 
   15696 
   15697 
   15698 
   15699 
   15700 
   15701 
   15702 
   15703 
   15704 
   15705 
   15706 
   15707 xorg_testset_save_CFLAGS="$CFLAGS"
   15708 
   15709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15712 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15713 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15714   $as_echo_n "(cached) " >&6
   15715 else
   15716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15717 /* end confdefs.h.  */
   15718 int i;
   15719 _ACEOF
   15720 if ac_fn_c_try_compile "$LINENO"; then :
   15721   xorg_cv_cc_flag_unknown_warning_option=yes
   15722 else
   15723   xorg_cv_cc_flag_unknown_warning_option=no
   15724 fi
   15725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15726 fi
   15727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15728 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15729 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15730 	CFLAGS="$xorg_testset_save_CFLAGS"
   15731 fi
   15732 
   15733 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15734 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15735 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15736 	fi
   15737 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15739 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15740 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15741   $as_echo_n "(cached) " >&6
   15742 else
   15743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15744 /* end confdefs.h.  */
   15745 int i;
   15746 _ACEOF
   15747 if ac_fn_c_try_compile "$LINENO"; then :
   15748   xorg_cv_cc_flag_unused_command_line_argument=yes
   15749 else
   15750   xorg_cv_cc_flag_unused_command_line_argument=no
   15751 fi
   15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15753 fi
   15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15755 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15757 	CFLAGS="$xorg_testset_save_CFLAGS"
   15758 fi
   15759 
   15760 found="no"
   15761 
   15762 	if test $found = "no" ; then
   15763 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15765 		fi
   15766 
   15767 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15769 		fi
   15770 
   15771 		CFLAGS="$CFLAGS -Werror=address"
   15772 
   15773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15774 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15775 		cacheid=xorg_cv_cc_flag__Werror_address
   15776 		if eval \${$cacheid+:} false; then :
   15777   $as_echo_n "(cached) " >&6
   15778 else
   15779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15780 /* end confdefs.h.  */
   15781 int i;
   15782 int
   15783 main ()
   15784 {
   15785 
   15786   ;
   15787   return 0;
   15788 }
   15789 _ACEOF
   15790 if ac_fn_c_try_link "$LINENO"; then :
   15791   eval $cacheid=yes
   15792 else
   15793   eval $cacheid=no
   15794 fi
   15795 rm -f core conftest.err conftest.$ac_objext \
   15796     conftest$ac_exeext conftest.$ac_ext
   15797 fi
   15798 
   15799 
   15800 		CFLAGS="$xorg_testset_save_CFLAGS"
   15801 
   15802 		eval supported=\$$cacheid
   15803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15804 $as_echo "$supported" >&6; }
   15805 		if test "$supported" = "yes" ; then
   15806 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15807 			found="yes"
   15808 		fi
   15809 	fi
   15810 
   15811 
   15812 
   15813 
   15814 
   15815 
   15816 
   15817 
   15818 
   15819 
   15820 
   15821 
   15822 
   15823 
   15824 
   15825 xorg_testset_save_CFLAGS="$CFLAGS"
   15826 
   15827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15830 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15831 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15832   $as_echo_n "(cached) " >&6
   15833 else
   15834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15835 /* end confdefs.h.  */
   15836 int i;
   15837 _ACEOF
   15838 if ac_fn_c_try_compile "$LINENO"; then :
   15839   xorg_cv_cc_flag_unknown_warning_option=yes
   15840 else
   15841   xorg_cv_cc_flag_unknown_warning_option=no
   15842 fi
   15843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15844 fi
   15845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15846 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15848 	CFLAGS="$xorg_testset_save_CFLAGS"
   15849 fi
   15850 
   15851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15854 	fi
   15855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15857 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15858 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15859   $as_echo_n "(cached) " >&6
   15860 else
   15861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15862 /* end confdefs.h.  */
   15863 int i;
   15864 _ACEOF
   15865 if ac_fn_c_try_compile "$LINENO"; then :
   15866   xorg_cv_cc_flag_unused_command_line_argument=yes
   15867 else
   15868   xorg_cv_cc_flag_unused_command_line_argument=no
   15869 fi
   15870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15871 fi
   15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15873 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15875 	CFLAGS="$xorg_testset_save_CFLAGS"
   15876 fi
   15877 
   15878 found="no"
   15879 
   15880 	if test $found = "no" ; then
   15881 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15883 		fi
   15884 
   15885 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15887 		fi
   15888 
   15889 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15890 
   15891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15892 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15893 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15894 		if eval \${$cacheid+:} false; then :
   15895   $as_echo_n "(cached) " >&6
   15896 else
   15897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15898 /* end confdefs.h.  */
   15899 int i;
   15900 int
   15901 main ()
   15902 {
   15903 
   15904   ;
   15905   return 0;
   15906 }
   15907 _ACEOF
   15908 if ac_fn_c_try_link "$LINENO"; then :
   15909   eval $cacheid=yes
   15910 else
   15911   eval $cacheid=no
   15912 fi
   15913 rm -f core conftest.err conftest.$ac_objext \
   15914     conftest$ac_exeext conftest.$ac_ext
   15915 fi
   15916 
   15917 
   15918 		CFLAGS="$xorg_testset_save_CFLAGS"
   15919 
   15920 		eval supported=\$$cacheid
   15921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15922 $as_echo "$supported" >&6; }
   15923 		if test "$supported" = "yes" ; then
   15924 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15925 			found="yes"
   15926 		fi
   15927 	fi
   15928 
   15929 	if test $found = "no" ; then
   15930 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15931 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15932 		fi
   15933 
   15934 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15935 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15936 		fi
   15937 
   15938 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15939 
   15940 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15941 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15942 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15943 		if eval \${$cacheid+:} false; then :
   15944   $as_echo_n "(cached) " >&6
   15945 else
   15946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15947 /* end confdefs.h.  */
   15948 int i;
   15949 int
   15950 main ()
   15951 {
   15952 
   15953   ;
   15954   return 0;
   15955 }
   15956 _ACEOF
   15957 if ac_fn_c_try_link "$LINENO"; then :
   15958   eval $cacheid=yes
   15959 else
   15960   eval $cacheid=no
   15961 fi
   15962 rm -f core conftest.err conftest.$ac_objext \
   15963     conftest$ac_exeext conftest.$ac_ext
   15964 fi
   15965 
   15966 
   15967 		CFLAGS="$xorg_testset_save_CFLAGS"
   15968 
   15969 		eval supported=\$$cacheid
   15970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15971 $as_echo "$supported" >&6; }
   15972 		if test "$supported" = "yes" ; then
   15973 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15974 			found="yes"
   15975 		fi
   15976 	fi
   15977 
   15978 
   15979 
   15980 
   15981 
   15982 
   15983 
   15984 
   15985 
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 xorg_testset_save_CFLAGS="$CFLAGS"
   15993 
   15994 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15995 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15996 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15997 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15998 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15999   $as_echo_n "(cached) " >&6
   16000 else
   16001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16002 /* end confdefs.h.  */
   16003 int i;
   16004 _ACEOF
   16005 if ac_fn_c_try_compile "$LINENO"; then :
   16006   xorg_cv_cc_flag_unknown_warning_option=yes
   16007 else
   16008   xorg_cv_cc_flag_unknown_warning_option=no
   16009 fi
   16010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16011 fi
   16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16013 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16015 	CFLAGS="$xorg_testset_save_CFLAGS"
   16016 fi
   16017 
   16018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16021 	fi
   16022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16024 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16025 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16026   $as_echo_n "(cached) " >&6
   16027 else
   16028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16029 /* end confdefs.h.  */
   16030 int i;
   16031 _ACEOF
   16032 if ac_fn_c_try_compile "$LINENO"; then :
   16033   xorg_cv_cc_flag_unused_command_line_argument=yes
   16034 else
   16035   xorg_cv_cc_flag_unused_command_line_argument=no
   16036 fi
   16037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16038 fi
   16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16040 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16041 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16042 	CFLAGS="$xorg_testset_save_CFLAGS"
   16043 fi
   16044 
   16045 found="no"
   16046 
   16047 	if test $found = "no" ; then
   16048 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16049 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16050 		fi
   16051 
   16052 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16053 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16054 		fi
   16055 
   16056 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16057 
   16058 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16059 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16060 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16061 		if eval \${$cacheid+:} false; then :
   16062   $as_echo_n "(cached) " >&6
   16063 else
   16064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16065 /* end confdefs.h.  */
   16066 int i;
   16067 int
   16068 main ()
   16069 {
   16070 
   16071   ;
   16072   return 0;
   16073 }
   16074 _ACEOF
   16075 if ac_fn_c_try_link "$LINENO"; then :
   16076   eval $cacheid=yes
   16077 else
   16078   eval $cacheid=no
   16079 fi
   16080 rm -f core conftest.err conftest.$ac_objext \
   16081     conftest$ac_exeext conftest.$ac_ext
   16082 fi
   16083 
   16084 
   16085 		CFLAGS="$xorg_testset_save_CFLAGS"
   16086 
   16087 		eval supported=\$$cacheid
   16088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16089 $as_echo "$supported" >&6; }
   16090 		if test "$supported" = "yes" ; then
   16091 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16092 			found="yes"
   16093 		fi
   16094 	fi
   16095 
   16096  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16097 else
   16098 { $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
   16099 $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;}
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 
   16107 
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 xorg_testset_save_CFLAGS="$CFLAGS"
   16114 
   16115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16118 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16119 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16120   $as_echo_n "(cached) " >&6
   16121 else
   16122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16123 /* end confdefs.h.  */
   16124 int i;
   16125 _ACEOF
   16126 if ac_fn_c_try_compile "$LINENO"; then :
   16127   xorg_cv_cc_flag_unknown_warning_option=yes
   16128 else
   16129   xorg_cv_cc_flag_unknown_warning_option=no
   16130 fi
   16131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16132 fi
   16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16134 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16135 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16136 	CFLAGS="$xorg_testset_save_CFLAGS"
   16137 fi
   16138 
   16139 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16140 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16141 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16142 	fi
   16143 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16145 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16146 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16147   $as_echo_n "(cached) " >&6
   16148 else
   16149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16150 /* end confdefs.h.  */
   16151 int i;
   16152 _ACEOF
   16153 if ac_fn_c_try_compile "$LINENO"; then :
   16154   xorg_cv_cc_flag_unused_command_line_argument=yes
   16155 else
   16156   xorg_cv_cc_flag_unused_command_line_argument=no
   16157 fi
   16158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16159 fi
   16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16161 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16162 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16163 	CFLAGS="$xorg_testset_save_CFLAGS"
   16164 fi
   16165 
   16166 found="no"
   16167 
   16168 	if test $found = "no" ; then
   16169 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16171 		fi
   16172 
   16173 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16175 		fi
   16176 
   16177 		CFLAGS="$CFLAGS -Wimplicit"
   16178 
   16179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16180 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16181 		cacheid=xorg_cv_cc_flag__Wimplicit
   16182 		if eval \${$cacheid+:} false; then :
   16183   $as_echo_n "(cached) " >&6
   16184 else
   16185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16186 /* end confdefs.h.  */
   16187 int i;
   16188 int
   16189 main ()
   16190 {
   16191 
   16192   ;
   16193   return 0;
   16194 }
   16195 _ACEOF
   16196 if ac_fn_c_try_link "$LINENO"; then :
   16197   eval $cacheid=yes
   16198 else
   16199   eval $cacheid=no
   16200 fi
   16201 rm -f core conftest.err conftest.$ac_objext \
   16202     conftest$ac_exeext conftest.$ac_ext
   16203 fi
   16204 
   16205 
   16206 		CFLAGS="$xorg_testset_save_CFLAGS"
   16207 
   16208 		eval supported=\$$cacheid
   16209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16210 $as_echo "$supported" >&6; }
   16211 		if test "$supported" = "yes" ; then
   16212 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16213 			found="yes"
   16214 		fi
   16215 	fi
   16216 
   16217 
   16218 
   16219 
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 xorg_testset_save_CFLAGS="$CFLAGS"
   16232 
   16233 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16234 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16235 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16236 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16237 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16238   $as_echo_n "(cached) " >&6
   16239 else
   16240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16241 /* end confdefs.h.  */
   16242 int i;
   16243 _ACEOF
   16244 if ac_fn_c_try_compile "$LINENO"; then :
   16245   xorg_cv_cc_flag_unknown_warning_option=yes
   16246 else
   16247   xorg_cv_cc_flag_unknown_warning_option=no
   16248 fi
   16249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16250 fi
   16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16252 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16254 	CFLAGS="$xorg_testset_save_CFLAGS"
   16255 fi
   16256 
   16257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16260 	fi
   16261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16262 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16263 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16264 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16265   $as_echo_n "(cached) " >&6
   16266 else
   16267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16268 /* end confdefs.h.  */
   16269 int i;
   16270 _ACEOF
   16271 if ac_fn_c_try_compile "$LINENO"; then :
   16272   xorg_cv_cc_flag_unused_command_line_argument=yes
   16273 else
   16274   xorg_cv_cc_flag_unused_command_line_argument=no
   16275 fi
   16276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16277 fi
   16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16279 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16280 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16281 	CFLAGS="$xorg_testset_save_CFLAGS"
   16282 fi
   16283 
   16284 found="no"
   16285 
   16286 	if test $found = "no" ; then
   16287 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16288 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16289 		fi
   16290 
   16291 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16292 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16293 		fi
   16294 
   16295 		CFLAGS="$CFLAGS -Wnonnull"
   16296 
   16297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16298 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16299 		cacheid=xorg_cv_cc_flag__Wnonnull
   16300 		if eval \${$cacheid+:} false; then :
   16301   $as_echo_n "(cached) " >&6
   16302 else
   16303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16304 /* end confdefs.h.  */
   16305 int i;
   16306 int
   16307 main ()
   16308 {
   16309 
   16310   ;
   16311   return 0;
   16312 }
   16313 _ACEOF
   16314 if ac_fn_c_try_link "$LINENO"; then :
   16315   eval $cacheid=yes
   16316 else
   16317   eval $cacheid=no
   16318 fi
   16319 rm -f core conftest.err conftest.$ac_objext \
   16320     conftest$ac_exeext conftest.$ac_ext
   16321 fi
   16322 
   16323 
   16324 		CFLAGS="$xorg_testset_save_CFLAGS"
   16325 
   16326 		eval supported=\$$cacheid
   16327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16328 $as_echo "$supported" >&6; }
   16329 		if test "$supported" = "yes" ; then
   16330 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16331 			found="yes"
   16332 		fi
   16333 	fi
   16334 
   16335 
   16336 
   16337 
   16338 
   16339 
   16340 
   16341 
   16342 
   16343 
   16344 
   16345 
   16346 
   16347 
   16348 
   16349 xorg_testset_save_CFLAGS="$CFLAGS"
   16350 
   16351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16354 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16355 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16356   $as_echo_n "(cached) " >&6
   16357 else
   16358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16359 /* end confdefs.h.  */
   16360 int i;
   16361 _ACEOF
   16362 if ac_fn_c_try_compile "$LINENO"; then :
   16363   xorg_cv_cc_flag_unknown_warning_option=yes
   16364 else
   16365   xorg_cv_cc_flag_unknown_warning_option=no
   16366 fi
   16367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16368 fi
   16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16370 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16371 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16372 	CFLAGS="$xorg_testset_save_CFLAGS"
   16373 fi
   16374 
   16375 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16376 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16377 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16378 	fi
   16379 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16380 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16381 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16382 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16383   $as_echo_n "(cached) " >&6
   16384 else
   16385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16386 /* end confdefs.h.  */
   16387 int i;
   16388 _ACEOF
   16389 if ac_fn_c_try_compile "$LINENO"; then :
   16390   xorg_cv_cc_flag_unused_command_line_argument=yes
   16391 else
   16392   xorg_cv_cc_flag_unused_command_line_argument=no
   16393 fi
   16394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16395 fi
   16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16397 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16398 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16399 	CFLAGS="$xorg_testset_save_CFLAGS"
   16400 fi
   16401 
   16402 found="no"
   16403 
   16404 	if test $found = "no" ; then
   16405 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16406 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16407 		fi
   16408 
   16409 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16410 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16411 		fi
   16412 
   16413 		CFLAGS="$CFLAGS -Winit-self"
   16414 
   16415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16416 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16417 		cacheid=xorg_cv_cc_flag__Winit_self
   16418 		if eval \${$cacheid+:} false; then :
   16419   $as_echo_n "(cached) " >&6
   16420 else
   16421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16422 /* end confdefs.h.  */
   16423 int i;
   16424 int
   16425 main ()
   16426 {
   16427 
   16428   ;
   16429   return 0;
   16430 }
   16431 _ACEOF
   16432 if ac_fn_c_try_link "$LINENO"; then :
   16433   eval $cacheid=yes
   16434 else
   16435   eval $cacheid=no
   16436 fi
   16437 rm -f core conftest.err conftest.$ac_objext \
   16438     conftest$ac_exeext conftest.$ac_ext
   16439 fi
   16440 
   16441 
   16442 		CFLAGS="$xorg_testset_save_CFLAGS"
   16443 
   16444 		eval supported=\$$cacheid
   16445 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16446 $as_echo "$supported" >&6; }
   16447 		if test "$supported" = "yes" ; then
   16448 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16449 			found="yes"
   16450 		fi
   16451 	fi
   16452 
   16453 
   16454 
   16455 
   16456 
   16457 
   16458 
   16459 
   16460 
   16461 
   16462 
   16463 
   16464 
   16465 
   16466 
   16467 xorg_testset_save_CFLAGS="$CFLAGS"
   16468 
   16469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16472 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16473 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16474   $as_echo_n "(cached) " >&6
   16475 else
   16476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16477 /* end confdefs.h.  */
   16478 int i;
   16479 _ACEOF
   16480 if ac_fn_c_try_compile "$LINENO"; then :
   16481   xorg_cv_cc_flag_unknown_warning_option=yes
   16482 else
   16483   xorg_cv_cc_flag_unknown_warning_option=no
   16484 fi
   16485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16486 fi
   16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16488 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16489 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16490 	CFLAGS="$xorg_testset_save_CFLAGS"
   16491 fi
   16492 
   16493 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16494 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16495 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16496 	fi
   16497 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16499 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16500 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16501   $as_echo_n "(cached) " >&6
   16502 else
   16503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16504 /* end confdefs.h.  */
   16505 int i;
   16506 _ACEOF
   16507 if ac_fn_c_try_compile "$LINENO"; then :
   16508   xorg_cv_cc_flag_unused_command_line_argument=yes
   16509 else
   16510   xorg_cv_cc_flag_unused_command_line_argument=no
   16511 fi
   16512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16513 fi
   16514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16515 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16516 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16517 	CFLAGS="$xorg_testset_save_CFLAGS"
   16518 fi
   16519 
   16520 found="no"
   16521 
   16522 	if test $found = "no" ; then
   16523 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16525 		fi
   16526 
   16527 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16529 		fi
   16530 
   16531 		CFLAGS="$CFLAGS -Wmain"
   16532 
   16533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16534 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16535 		cacheid=xorg_cv_cc_flag__Wmain
   16536 		if eval \${$cacheid+:} false; then :
   16537   $as_echo_n "(cached) " >&6
   16538 else
   16539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16540 /* end confdefs.h.  */
   16541 int i;
   16542 int
   16543 main ()
   16544 {
   16545 
   16546   ;
   16547   return 0;
   16548 }
   16549 _ACEOF
   16550 if ac_fn_c_try_link "$LINENO"; then :
   16551   eval $cacheid=yes
   16552 else
   16553   eval $cacheid=no
   16554 fi
   16555 rm -f core conftest.err conftest.$ac_objext \
   16556     conftest$ac_exeext conftest.$ac_ext
   16557 fi
   16558 
   16559 
   16560 		CFLAGS="$xorg_testset_save_CFLAGS"
   16561 
   16562 		eval supported=\$$cacheid
   16563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16564 $as_echo "$supported" >&6; }
   16565 		if test "$supported" = "yes" ; then
   16566 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16567 			found="yes"
   16568 		fi
   16569 	fi
   16570 
   16571 
   16572 
   16573 
   16574 
   16575 
   16576 
   16577 
   16578 
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 xorg_testset_save_CFLAGS="$CFLAGS"
   16586 
   16587 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16588 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16590 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16591 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16592   $as_echo_n "(cached) " >&6
   16593 else
   16594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16595 /* end confdefs.h.  */
   16596 int i;
   16597 _ACEOF
   16598 if ac_fn_c_try_compile "$LINENO"; then :
   16599   xorg_cv_cc_flag_unknown_warning_option=yes
   16600 else
   16601   xorg_cv_cc_flag_unknown_warning_option=no
   16602 fi
   16603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16604 fi
   16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16606 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16607 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16608 	CFLAGS="$xorg_testset_save_CFLAGS"
   16609 fi
   16610 
   16611 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16612 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16613 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16614 	fi
   16615 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16617 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16618 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16619   $as_echo_n "(cached) " >&6
   16620 else
   16621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16622 /* end confdefs.h.  */
   16623 int i;
   16624 _ACEOF
   16625 if ac_fn_c_try_compile "$LINENO"; then :
   16626   xorg_cv_cc_flag_unused_command_line_argument=yes
   16627 else
   16628   xorg_cv_cc_flag_unused_command_line_argument=no
   16629 fi
   16630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16631 fi
   16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16633 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16635 	CFLAGS="$xorg_testset_save_CFLAGS"
   16636 fi
   16637 
   16638 found="no"
   16639 
   16640 	if test $found = "no" ; then
   16641 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16643 		fi
   16644 
   16645 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16647 		fi
   16648 
   16649 		CFLAGS="$CFLAGS -Wmissing-braces"
   16650 
   16651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16652 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16653 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16654 		if eval \${$cacheid+:} false; then :
   16655   $as_echo_n "(cached) " >&6
   16656 else
   16657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16658 /* end confdefs.h.  */
   16659 int i;
   16660 int
   16661 main ()
   16662 {
   16663 
   16664   ;
   16665   return 0;
   16666 }
   16667 _ACEOF
   16668 if ac_fn_c_try_link "$LINENO"; then :
   16669   eval $cacheid=yes
   16670 else
   16671   eval $cacheid=no
   16672 fi
   16673 rm -f core conftest.err conftest.$ac_objext \
   16674     conftest$ac_exeext conftest.$ac_ext
   16675 fi
   16676 
   16677 
   16678 		CFLAGS="$xorg_testset_save_CFLAGS"
   16679 
   16680 		eval supported=\$$cacheid
   16681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16682 $as_echo "$supported" >&6; }
   16683 		if test "$supported" = "yes" ; then
   16684 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16685 			found="yes"
   16686 		fi
   16687 	fi
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 xorg_testset_save_CFLAGS="$CFLAGS"
   16704 
   16705 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16706 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16708 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16709 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16710   $as_echo_n "(cached) " >&6
   16711 else
   16712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16713 /* end confdefs.h.  */
   16714 int i;
   16715 _ACEOF
   16716 if ac_fn_c_try_compile "$LINENO"; then :
   16717   xorg_cv_cc_flag_unknown_warning_option=yes
   16718 else
   16719   xorg_cv_cc_flag_unknown_warning_option=no
   16720 fi
   16721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16722 fi
   16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16724 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16726 	CFLAGS="$xorg_testset_save_CFLAGS"
   16727 fi
   16728 
   16729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16732 	fi
   16733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16735 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16736 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16737   $as_echo_n "(cached) " >&6
   16738 else
   16739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16740 /* end confdefs.h.  */
   16741 int i;
   16742 _ACEOF
   16743 if ac_fn_c_try_compile "$LINENO"; then :
   16744   xorg_cv_cc_flag_unused_command_line_argument=yes
   16745 else
   16746   xorg_cv_cc_flag_unused_command_line_argument=no
   16747 fi
   16748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16749 fi
   16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16751 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16753 	CFLAGS="$xorg_testset_save_CFLAGS"
   16754 fi
   16755 
   16756 found="no"
   16757 
   16758 	if test $found = "no" ; then
   16759 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16761 		fi
   16762 
   16763 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16765 		fi
   16766 
   16767 		CFLAGS="$CFLAGS -Wsequence-point"
   16768 
   16769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16770 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16771 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16772 		if eval \${$cacheid+:} false; then :
   16773   $as_echo_n "(cached) " >&6
   16774 else
   16775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16776 /* end confdefs.h.  */
   16777 int i;
   16778 int
   16779 main ()
   16780 {
   16781 
   16782   ;
   16783   return 0;
   16784 }
   16785 _ACEOF
   16786 if ac_fn_c_try_link "$LINENO"; then :
   16787   eval $cacheid=yes
   16788 else
   16789   eval $cacheid=no
   16790 fi
   16791 rm -f core conftest.err conftest.$ac_objext \
   16792     conftest$ac_exeext conftest.$ac_ext
   16793 fi
   16794 
   16795 
   16796 		CFLAGS="$xorg_testset_save_CFLAGS"
   16797 
   16798 		eval supported=\$$cacheid
   16799 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16800 $as_echo "$supported" >&6; }
   16801 		if test "$supported" = "yes" ; then
   16802 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16803 			found="yes"
   16804 		fi
   16805 	fi
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 xorg_testset_save_CFLAGS="$CFLAGS"
   16822 
   16823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16826 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16827 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16828   $as_echo_n "(cached) " >&6
   16829 else
   16830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16831 /* end confdefs.h.  */
   16832 int i;
   16833 _ACEOF
   16834 if ac_fn_c_try_compile "$LINENO"; then :
   16835   xorg_cv_cc_flag_unknown_warning_option=yes
   16836 else
   16837   xorg_cv_cc_flag_unknown_warning_option=no
   16838 fi
   16839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16840 fi
   16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16842 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16843 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16844 	CFLAGS="$xorg_testset_save_CFLAGS"
   16845 fi
   16846 
   16847 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16848 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16850 	fi
   16851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16853 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16854 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16855   $as_echo_n "(cached) " >&6
   16856 else
   16857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16858 /* end confdefs.h.  */
   16859 int i;
   16860 _ACEOF
   16861 if ac_fn_c_try_compile "$LINENO"; then :
   16862   xorg_cv_cc_flag_unused_command_line_argument=yes
   16863 else
   16864   xorg_cv_cc_flag_unused_command_line_argument=no
   16865 fi
   16866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16867 fi
   16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16869 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16870 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16871 	CFLAGS="$xorg_testset_save_CFLAGS"
   16872 fi
   16873 
   16874 found="no"
   16875 
   16876 	if test $found = "no" ; then
   16877 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16879 		fi
   16880 
   16881 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16883 		fi
   16884 
   16885 		CFLAGS="$CFLAGS -Wreturn-type"
   16886 
   16887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16888 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16889 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16890 		if eval \${$cacheid+:} false; then :
   16891   $as_echo_n "(cached) " >&6
   16892 else
   16893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16894 /* end confdefs.h.  */
   16895 int i;
   16896 int
   16897 main ()
   16898 {
   16899 
   16900   ;
   16901   return 0;
   16902 }
   16903 _ACEOF
   16904 if ac_fn_c_try_link "$LINENO"; then :
   16905   eval $cacheid=yes
   16906 else
   16907   eval $cacheid=no
   16908 fi
   16909 rm -f core conftest.err conftest.$ac_objext \
   16910     conftest$ac_exeext conftest.$ac_ext
   16911 fi
   16912 
   16913 
   16914 		CFLAGS="$xorg_testset_save_CFLAGS"
   16915 
   16916 		eval supported=\$$cacheid
   16917 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16918 $as_echo "$supported" >&6; }
   16919 		if test "$supported" = "yes" ; then
   16920 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16921 			found="yes"
   16922 		fi
   16923 	fi
   16924 
   16925 
   16926 
   16927 
   16928 
   16929 
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 xorg_testset_save_CFLAGS="$CFLAGS"
   16940 
   16941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16944 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16945 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16946   $as_echo_n "(cached) " >&6
   16947 else
   16948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16949 /* end confdefs.h.  */
   16950 int i;
   16951 _ACEOF
   16952 if ac_fn_c_try_compile "$LINENO"; then :
   16953   xorg_cv_cc_flag_unknown_warning_option=yes
   16954 else
   16955   xorg_cv_cc_flag_unknown_warning_option=no
   16956 fi
   16957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16958 fi
   16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16960 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16962 	CFLAGS="$xorg_testset_save_CFLAGS"
   16963 fi
   16964 
   16965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16968 	fi
   16969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16971 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16972 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16973   $as_echo_n "(cached) " >&6
   16974 else
   16975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16976 /* end confdefs.h.  */
   16977 int i;
   16978 _ACEOF
   16979 if ac_fn_c_try_compile "$LINENO"; then :
   16980   xorg_cv_cc_flag_unused_command_line_argument=yes
   16981 else
   16982   xorg_cv_cc_flag_unused_command_line_argument=no
   16983 fi
   16984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16985 fi
   16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16987 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16989 	CFLAGS="$xorg_testset_save_CFLAGS"
   16990 fi
   16991 
   16992 found="no"
   16993 
   16994 	if test $found = "no" ; then
   16995 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16997 		fi
   16998 
   16999 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17001 		fi
   17002 
   17003 		CFLAGS="$CFLAGS -Wtrigraphs"
   17004 
   17005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17006 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17007 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17008 		if eval \${$cacheid+:} false; then :
   17009   $as_echo_n "(cached) " >&6
   17010 else
   17011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17012 /* end confdefs.h.  */
   17013 int i;
   17014 int
   17015 main ()
   17016 {
   17017 
   17018   ;
   17019   return 0;
   17020 }
   17021 _ACEOF
   17022 if ac_fn_c_try_link "$LINENO"; then :
   17023   eval $cacheid=yes
   17024 else
   17025   eval $cacheid=no
   17026 fi
   17027 rm -f core conftest.err conftest.$ac_objext \
   17028     conftest$ac_exeext conftest.$ac_ext
   17029 fi
   17030 
   17031 
   17032 		CFLAGS="$xorg_testset_save_CFLAGS"
   17033 
   17034 		eval supported=\$$cacheid
   17035 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17036 $as_echo "$supported" >&6; }
   17037 		if test "$supported" = "yes" ; then
   17038 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17039 			found="yes"
   17040 		fi
   17041 	fi
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 
   17056 
   17057 xorg_testset_save_CFLAGS="$CFLAGS"
   17058 
   17059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17062 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17063 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17064   $as_echo_n "(cached) " >&6
   17065 else
   17066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17067 /* end confdefs.h.  */
   17068 int i;
   17069 _ACEOF
   17070 if ac_fn_c_try_compile "$LINENO"; then :
   17071   xorg_cv_cc_flag_unknown_warning_option=yes
   17072 else
   17073   xorg_cv_cc_flag_unknown_warning_option=no
   17074 fi
   17075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17076 fi
   17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17078 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17079 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17080 	CFLAGS="$xorg_testset_save_CFLAGS"
   17081 fi
   17082 
   17083 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17084 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17085 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17086 	fi
   17087 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17089 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17090 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17091   $as_echo_n "(cached) " >&6
   17092 else
   17093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17094 /* end confdefs.h.  */
   17095 int i;
   17096 _ACEOF
   17097 if ac_fn_c_try_compile "$LINENO"; then :
   17098   xorg_cv_cc_flag_unused_command_line_argument=yes
   17099 else
   17100   xorg_cv_cc_flag_unused_command_line_argument=no
   17101 fi
   17102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17103 fi
   17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17105 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17106 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17107 	CFLAGS="$xorg_testset_save_CFLAGS"
   17108 fi
   17109 
   17110 found="no"
   17111 
   17112 	if test $found = "no" ; then
   17113 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17115 		fi
   17116 
   17117 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17119 		fi
   17120 
   17121 		CFLAGS="$CFLAGS -Warray-bounds"
   17122 
   17123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17124 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17125 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17126 		if eval \${$cacheid+:} false; then :
   17127   $as_echo_n "(cached) " >&6
   17128 else
   17129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17130 /* end confdefs.h.  */
   17131 int i;
   17132 int
   17133 main ()
   17134 {
   17135 
   17136   ;
   17137   return 0;
   17138 }
   17139 _ACEOF
   17140 if ac_fn_c_try_link "$LINENO"; then :
   17141   eval $cacheid=yes
   17142 else
   17143   eval $cacheid=no
   17144 fi
   17145 rm -f core conftest.err conftest.$ac_objext \
   17146     conftest$ac_exeext conftest.$ac_ext
   17147 fi
   17148 
   17149 
   17150 		CFLAGS="$xorg_testset_save_CFLAGS"
   17151 
   17152 		eval supported=\$$cacheid
   17153 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17154 $as_echo "$supported" >&6; }
   17155 		if test "$supported" = "yes" ; then
   17156 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17157 			found="yes"
   17158 		fi
   17159 	fi
   17160 
   17161 
   17162 
   17163 
   17164 
   17165 
   17166 
   17167 
   17168 
   17169 
   17170 
   17171 
   17172 
   17173 
   17174 
   17175 xorg_testset_save_CFLAGS="$CFLAGS"
   17176 
   17177 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17178 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17180 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17181 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17182   $as_echo_n "(cached) " >&6
   17183 else
   17184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17185 /* end confdefs.h.  */
   17186 int i;
   17187 _ACEOF
   17188 if ac_fn_c_try_compile "$LINENO"; then :
   17189   xorg_cv_cc_flag_unknown_warning_option=yes
   17190 else
   17191   xorg_cv_cc_flag_unknown_warning_option=no
   17192 fi
   17193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17194 fi
   17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17196 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17198 	CFLAGS="$xorg_testset_save_CFLAGS"
   17199 fi
   17200 
   17201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17204 	fi
   17205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17207 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17208 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17209   $as_echo_n "(cached) " >&6
   17210 else
   17211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17212 /* end confdefs.h.  */
   17213 int i;
   17214 _ACEOF
   17215 if ac_fn_c_try_compile "$LINENO"; then :
   17216   xorg_cv_cc_flag_unused_command_line_argument=yes
   17217 else
   17218   xorg_cv_cc_flag_unused_command_line_argument=no
   17219 fi
   17220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17221 fi
   17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17223 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17224 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17225 	CFLAGS="$xorg_testset_save_CFLAGS"
   17226 fi
   17227 
   17228 found="no"
   17229 
   17230 	if test $found = "no" ; then
   17231 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17233 		fi
   17234 
   17235 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17237 		fi
   17238 
   17239 		CFLAGS="$CFLAGS -Wwrite-strings"
   17240 
   17241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17242 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17243 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17244 		if eval \${$cacheid+:} false; then :
   17245   $as_echo_n "(cached) " >&6
   17246 else
   17247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17248 /* end confdefs.h.  */
   17249 int i;
   17250 int
   17251 main ()
   17252 {
   17253 
   17254   ;
   17255   return 0;
   17256 }
   17257 _ACEOF
   17258 if ac_fn_c_try_link "$LINENO"; then :
   17259   eval $cacheid=yes
   17260 else
   17261   eval $cacheid=no
   17262 fi
   17263 rm -f core conftest.err conftest.$ac_objext \
   17264     conftest$ac_exeext conftest.$ac_ext
   17265 fi
   17266 
   17267 
   17268 		CFLAGS="$xorg_testset_save_CFLAGS"
   17269 
   17270 		eval supported=\$$cacheid
   17271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17272 $as_echo "$supported" >&6; }
   17273 		if test "$supported" = "yes" ; then
   17274 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17275 			found="yes"
   17276 		fi
   17277 	fi
   17278 
   17279 
   17280 
   17281 
   17282 
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 
   17293 xorg_testset_save_CFLAGS="$CFLAGS"
   17294 
   17295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17298 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17299 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17300   $as_echo_n "(cached) " >&6
   17301 else
   17302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17303 /* end confdefs.h.  */
   17304 int i;
   17305 _ACEOF
   17306 if ac_fn_c_try_compile "$LINENO"; then :
   17307   xorg_cv_cc_flag_unknown_warning_option=yes
   17308 else
   17309   xorg_cv_cc_flag_unknown_warning_option=no
   17310 fi
   17311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17312 fi
   17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17314 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17316 	CFLAGS="$xorg_testset_save_CFLAGS"
   17317 fi
   17318 
   17319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17322 	fi
   17323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17325 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17326 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17327   $as_echo_n "(cached) " >&6
   17328 else
   17329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17330 /* end confdefs.h.  */
   17331 int i;
   17332 _ACEOF
   17333 if ac_fn_c_try_compile "$LINENO"; then :
   17334   xorg_cv_cc_flag_unused_command_line_argument=yes
   17335 else
   17336   xorg_cv_cc_flag_unused_command_line_argument=no
   17337 fi
   17338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17339 fi
   17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17341 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17343 	CFLAGS="$xorg_testset_save_CFLAGS"
   17344 fi
   17345 
   17346 found="no"
   17347 
   17348 	if test $found = "no" ; then
   17349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17351 		fi
   17352 
   17353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17355 		fi
   17356 
   17357 		CFLAGS="$CFLAGS -Waddress"
   17358 
   17359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17360 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17361 		cacheid=xorg_cv_cc_flag__Waddress
   17362 		if eval \${$cacheid+:} false; then :
   17363   $as_echo_n "(cached) " >&6
   17364 else
   17365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17366 /* end confdefs.h.  */
   17367 int i;
   17368 int
   17369 main ()
   17370 {
   17371 
   17372   ;
   17373   return 0;
   17374 }
   17375 _ACEOF
   17376 if ac_fn_c_try_link "$LINENO"; then :
   17377   eval $cacheid=yes
   17378 else
   17379   eval $cacheid=no
   17380 fi
   17381 rm -f core conftest.err conftest.$ac_objext \
   17382     conftest$ac_exeext conftest.$ac_ext
   17383 fi
   17384 
   17385 
   17386 		CFLAGS="$xorg_testset_save_CFLAGS"
   17387 
   17388 		eval supported=\$$cacheid
   17389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17390 $as_echo "$supported" >&6; }
   17391 		if test "$supported" = "yes" ; then
   17392 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17393 			found="yes"
   17394 		fi
   17395 	fi
   17396 
   17397 
   17398 
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 
   17405 
   17406 
   17407 
   17408 
   17409 
   17410 
   17411 xorg_testset_save_CFLAGS="$CFLAGS"
   17412 
   17413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17416 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17417 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17418   $as_echo_n "(cached) " >&6
   17419 else
   17420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17421 /* end confdefs.h.  */
   17422 int i;
   17423 _ACEOF
   17424 if ac_fn_c_try_compile "$LINENO"; then :
   17425   xorg_cv_cc_flag_unknown_warning_option=yes
   17426 else
   17427   xorg_cv_cc_flag_unknown_warning_option=no
   17428 fi
   17429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17430 fi
   17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17432 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17434 	CFLAGS="$xorg_testset_save_CFLAGS"
   17435 fi
   17436 
   17437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17440 	fi
   17441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17443 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17444 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17445   $as_echo_n "(cached) " >&6
   17446 else
   17447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17448 /* end confdefs.h.  */
   17449 int i;
   17450 _ACEOF
   17451 if ac_fn_c_try_compile "$LINENO"; then :
   17452   xorg_cv_cc_flag_unused_command_line_argument=yes
   17453 else
   17454   xorg_cv_cc_flag_unused_command_line_argument=no
   17455 fi
   17456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17457 fi
   17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17459 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17461 	CFLAGS="$xorg_testset_save_CFLAGS"
   17462 fi
   17463 
   17464 found="no"
   17465 
   17466 	if test $found = "no" ; then
   17467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17469 		fi
   17470 
   17471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17473 		fi
   17474 
   17475 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17476 
   17477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17478 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17479 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17480 		if eval \${$cacheid+:} false; then :
   17481   $as_echo_n "(cached) " >&6
   17482 else
   17483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17484 /* end confdefs.h.  */
   17485 int i;
   17486 int
   17487 main ()
   17488 {
   17489 
   17490   ;
   17491   return 0;
   17492 }
   17493 _ACEOF
   17494 if ac_fn_c_try_link "$LINENO"; then :
   17495   eval $cacheid=yes
   17496 else
   17497   eval $cacheid=no
   17498 fi
   17499 rm -f core conftest.err conftest.$ac_objext \
   17500     conftest$ac_exeext conftest.$ac_ext
   17501 fi
   17502 
   17503 
   17504 		CFLAGS="$xorg_testset_save_CFLAGS"
   17505 
   17506 		eval supported=\$$cacheid
   17507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17508 $as_echo "$supported" >&6; }
   17509 		if test "$supported" = "yes" ; then
   17510 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17511 			found="yes"
   17512 		fi
   17513 	fi
   17514 
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 xorg_testset_save_CFLAGS="$CFLAGS"
   17530 
   17531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17536   $as_echo_n "(cached) " >&6
   17537 else
   17538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17539 /* end confdefs.h.  */
   17540 int i;
   17541 _ACEOF
   17542 if ac_fn_c_try_compile "$LINENO"; then :
   17543   xorg_cv_cc_flag_unknown_warning_option=yes
   17544 else
   17545   xorg_cv_cc_flag_unknown_warning_option=no
   17546 fi
   17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17548 fi
   17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17552 	CFLAGS="$xorg_testset_save_CFLAGS"
   17553 fi
   17554 
   17555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17558 	fi
   17559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17563   $as_echo_n "(cached) " >&6
   17564 else
   17565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17566 /* end confdefs.h.  */
   17567 int i;
   17568 _ACEOF
   17569 if ac_fn_c_try_compile "$LINENO"; then :
   17570   xorg_cv_cc_flag_unused_command_line_argument=yes
   17571 else
   17572   xorg_cv_cc_flag_unused_command_line_argument=no
   17573 fi
   17574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17575 fi
   17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17579 	CFLAGS="$xorg_testset_save_CFLAGS"
   17580 fi
   17581 
   17582 found="no"
   17583 
   17584 	if test $found = "no" ; then
   17585 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17587 		fi
   17588 
   17589 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17591 		fi
   17592 
   17593 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17594 
   17595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17596 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17597 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17598 		if eval \${$cacheid+:} false; then :
   17599   $as_echo_n "(cached) " >&6
   17600 else
   17601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17602 /* end confdefs.h.  */
   17603 int i;
   17604 int
   17605 main ()
   17606 {
   17607 
   17608   ;
   17609   return 0;
   17610 }
   17611 _ACEOF
   17612 if ac_fn_c_try_link "$LINENO"; then :
   17613   eval $cacheid=yes
   17614 else
   17615   eval $cacheid=no
   17616 fi
   17617 rm -f core conftest.err conftest.$ac_objext \
   17618     conftest$ac_exeext conftest.$ac_ext
   17619 fi
   17620 
   17621 
   17622 		CFLAGS="$xorg_testset_save_CFLAGS"
   17623 
   17624 		eval supported=\$$cacheid
   17625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17626 $as_echo "$supported" >&6; }
   17627 		if test "$supported" = "yes" ; then
   17628 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17629 			found="yes"
   17630 		fi
   17631 	fi
   17632 
   17633 
   17634 fi
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 
   17641 
   17642 		CWARNFLAGS="$BASE_CFLAGS"
   17643 		if  test "x$GCC" = xyes ; then
   17644 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17645 		fi
   17646 
   17647 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 # Check whether --enable-strict-compilation was given.
   17655 if test "${enable_strict_compilation+set}" = set; then :
   17656   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17657 else
   17658   STRICT_COMPILE=no
   17659 fi
   17660 
   17661 
   17662 
   17663 
   17664 
   17665 
   17666 STRICT_CFLAGS=""
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 xorg_testset_save_CFLAGS="$CFLAGS"
   17681 
   17682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17685 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17686 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17687   $as_echo_n "(cached) " >&6
   17688 else
   17689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17690 /* end confdefs.h.  */
   17691 int i;
   17692 _ACEOF
   17693 if ac_fn_c_try_compile "$LINENO"; then :
   17694   xorg_cv_cc_flag_unknown_warning_option=yes
   17695 else
   17696   xorg_cv_cc_flag_unknown_warning_option=no
   17697 fi
   17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17699 fi
   17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17701 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17703 	CFLAGS="$xorg_testset_save_CFLAGS"
   17704 fi
   17705 
   17706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17709 	fi
   17710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17712 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17713 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17714   $as_echo_n "(cached) " >&6
   17715 else
   17716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17717 /* end confdefs.h.  */
   17718 int i;
   17719 _ACEOF
   17720 if ac_fn_c_try_compile "$LINENO"; then :
   17721   xorg_cv_cc_flag_unused_command_line_argument=yes
   17722 else
   17723   xorg_cv_cc_flag_unused_command_line_argument=no
   17724 fi
   17725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17726 fi
   17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17728 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17729 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17730 	CFLAGS="$xorg_testset_save_CFLAGS"
   17731 fi
   17732 
   17733 found="no"
   17734 
   17735 	if test $found = "no" ; then
   17736 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17738 		fi
   17739 
   17740 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17742 		fi
   17743 
   17744 		CFLAGS="$CFLAGS -pedantic"
   17745 
   17746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17747 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17748 		cacheid=xorg_cv_cc_flag__pedantic
   17749 		if eval \${$cacheid+:} false; then :
   17750   $as_echo_n "(cached) " >&6
   17751 else
   17752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17753 /* end confdefs.h.  */
   17754 int i;
   17755 int
   17756 main ()
   17757 {
   17758 
   17759   ;
   17760   return 0;
   17761 }
   17762 _ACEOF
   17763 if ac_fn_c_try_link "$LINENO"; then :
   17764   eval $cacheid=yes
   17765 else
   17766   eval $cacheid=no
   17767 fi
   17768 rm -f core conftest.err conftest.$ac_objext \
   17769     conftest$ac_exeext conftest.$ac_ext
   17770 fi
   17771 
   17772 
   17773 		CFLAGS="$xorg_testset_save_CFLAGS"
   17774 
   17775 		eval supported=\$$cacheid
   17776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17777 $as_echo "$supported" >&6; }
   17778 		if test "$supported" = "yes" ; then
   17779 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17780 			found="yes"
   17781 		fi
   17782 	fi
   17783 
   17784 
   17785 
   17786 
   17787 
   17788 
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796 
   17797 
   17798 xorg_testset_save_CFLAGS="$CFLAGS"
   17799 
   17800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17803 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17804 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17805   $as_echo_n "(cached) " >&6
   17806 else
   17807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17808 /* end confdefs.h.  */
   17809 int i;
   17810 _ACEOF
   17811 if ac_fn_c_try_compile "$LINENO"; then :
   17812   xorg_cv_cc_flag_unknown_warning_option=yes
   17813 else
   17814   xorg_cv_cc_flag_unknown_warning_option=no
   17815 fi
   17816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17817 fi
   17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17819 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17821 	CFLAGS="$xorg_testset_save_CFLAGS"
   17822 fi
   17823 
   17824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17827 	fi
   17828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17830 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17831 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17832   $as_echo_n "(cached) " >&6
   17833 else
   17834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17835 /* end confdefs.h.  */
   17836 int i;
   17837 _ACEOF
   17838 if ac_fn_c_try_compile "$LINENO"; then :
   17839   xorg_cv_cc_flag_unused_command_line_argument=yes
   17840 else
   17841   xorg_cv_cc_flag_unused_command_line_argument=no
   17842 fi
   17843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17844 fi
   17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17846 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17848 	CFLAGS="$xorg_testset_save_CFLAGS"
   17849 fi
   17850 
   17851 found="no"
   17852 
   17853 	if test $found = "no" ; then
   17854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17856 		fi
   17857 
   17858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17860 		fi
   17861 
   17862 		CFLAGS="$CFLAGS -Werror"
   17863 
   17864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17865 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17866 		cacheid=xorg_cv_cc_flag__Werror
   17867 		if eval \${$cacheid+:} false; then :
   17868   $as_echo_n "(cached) " >&6
   17869 else
   17870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17871 /* end confdefs.h.  */
   17872 int i;
   17873 int
   17874 main ()
   17875 {
   17876 
   17877   ;
   17878   return 0;
   17879 }
   17880 _ACEOF
   17881 if ac_fn_c_try_link "$LINENO"; then :
   17882   eval $cacheid=yes
   17883 else
   17884   eval $cacheid=no
   17885 fi
   17886 rm -f core conftest.err conftest.$ac_objext \
   17887     conftest$ac_exeext conftest.$ac_ext
   17888 fi
   17889 
   17890 
   17891 		CFLAGS="$xorg_testset_save_CFLAGS"
   17892 
   17893 		eval supported=\$$cacheid
   17894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17895 $as_echo "$supported" >&6; }
   17896 		if test "$supported" = "yes" ; then
   17897 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17898 			found="yes"
   17899 		fi
   17900 	fi
   17901 
   17902 	if test $found = "no" ; then
   17903 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17904 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17905 		fi
   17906 
   17907 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17908 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17909 		fi
   17910 
   17911 		CFLAGS="$CFLAGS -errwarn"
   17912 
   17913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17914 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17915 		cacheid=xorg_cv_cc_flag__errwarn
   17916 		if eval \${$cacheid+:} false; then :
   17917   $as_echo_n "(cached) " >&6
   17918 else
   17919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17920 /* end confdefs.h.  */
   17921 int i;
   17922 int
   17923 main ()
   17924 {
   17925 
   17926   ;
   17927   return 0;
   17928 }
   17929 _ACEOF
   17930 if ac_fn_c_try_link "$LINENO"; then :
   17931   eval $cacheid=yes
   17932 else
   17933   eval $cacheid=no
   17934 fi
   17935 rm -f core conftest.err conftest.$ac_objext \
   17936     conftest$ac_exeext conftest.$ac_ext
   17937 fi
   17938 
   17939 
   17940 		CFLAGS="$xorg_testset_save_CFLAGS"
   17941 
   17942 		eval supported=\$$cacheid
   17943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17944 $as_echo "$supported" >&6; }
   17945 		if test "$supported" = "yes" ; then
   17946 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17947 			found="yes"
   17948 		fi
   17949 	fi
   17950 
   17951 
   17952 
   17953 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17954 # activate it with -Werror, so we add it here explicitly.
   17955 
   17956 
   17957 
   17958 
   17959 
   17960 
   17961 
   17962 
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 xorg_testset_save_CFLAGS="$CFLAGS"
   17969 
   17970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17973 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17974 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17975   $as_echo_n "(cached) " >&6
   17976 else
   17977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17978 /* end confdefs.h.  */
   17979 int i;
   17980 _ACEOF
   17981 if ac_fn_c_try_compile "$LINENO"; then :
   17982   xorg_cv_cc_flag_unknown_warning_option=yes
   17983 else
   17984   xorg_cv_cc_flag_unknown_warning_option=no
   17985 fi
   17986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17987 fi
   17988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17989 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17991 	CFLAGS="$xorg_testset_save_CFLAGS"
   17992 fi
   17993 
   17994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17997 	fi
   17998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18000 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18001 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18002   $as_echo_n "(cached) " >&6
   18003 else
   18004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18005 /* end confdefs.h.  */
   18006 int i;
   18007 _ACEOF
   18008 if ac_fn_c_try_compile "$LINENO"; then :
   18009   xorg_cv_cc_flag_unused_command_line_argument=yes
   18010 else
   18011   xorg_cv_cc_flag_unused_command_line_argument=no
   18012 fi
   18013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18014 fi
   18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18016 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18018 	CFLAGS="$xorg_testset_save_CFLAGS"
   18019 fi
   18020 
   18021 found="no"
   18022 
   18023 	if test $found = "no" ; then
   18024 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18026 		fi
   18027 
   18028 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18030 		fi
   18031 
   18032 		CFLAGS="$CFLAGS -Werror=attributes"
   18033 
   18034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18035 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18036 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18037 		if eval \${$cacheid+:} false; then :
   18038   $as_echo_n "(cached) " >&6
   18039 else
   18040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18041 /* end confdefs.h.  */
   18042 int i;
   18043 int
   18044 main ()
   18045 {
   18046 
   18047   ;
   18048   return 0;
   18049 }
   18050 _ACEOF
   18051 if ac_fn_c_try_link "$LINENO"; then :
   18052   eval $cacheid=yes
   18053 else
   18054   eval $cacheid=no
   18055 fi
   18056 rm -f core conftest.err conftest.$ac_objext \
   18057     conftest$ac_exeext conftest.$ac_ext
   18058 fi
   18059 
   18060 
   18061 		CFLAGS="$xorg_testset_save_CFLAGS"
   18062 
   18063 		eval supported=\$$cacheid
   18064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18065 $as_echo "$supported" >&6; }
   18066 		if test "$supported" = "yes" ; then
   18067 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18068 			found="yes"
   18069 		fi
   18070 	fi
   18071 
   18072 
   18073 
   18074 if test "x$STRICT_COMPILE" = "xyes"; then
   18075     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18076     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18077 fi
   18078 
   18079 
   18080 
   18081 
   18082 
   18083 
   18084 cat >>confdefs.h <<_ACEOF
   18085 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18086 _ACEOF
   18087 
   18088 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18089 	if test "x$PVM" = "x"; then
   18090 		PVM="0"
   18091 	fi
   18092 
   18093 cat >>confdefs.h <<_ACEOF
   18094 #define PACKAGE_VERSION_MINOR $PVM
   18095 _ACEOF
   18096 
   18097 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18098 	if test "x$PVP" = "x"; then
   18099 		PVP="0"
   18100 	fi
   18101 
   18102 cat >>confdefs.h <<_ACEOF
   18103 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18104 _ACEOF
   18105 
   18106 
   18107 
   18108 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   18109 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18110 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   18111 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   18112 
   18113 
   18114 
   18115 
   18116 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18117 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18118 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18119 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   18120 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   18121 
   18122 
   18123 
   18124 
   18125 
   18126 
   18127 if test x$APP_MAN_SUFFIX = x    ; then
   18128     APP_MAN_SUFFIX=1
   18129 fi
   18130 if test x$APP_MAN_DIR = x    ; then
   18131     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18132 fi
   18133 
   18134 if test x$LIB_MAN_SUFFIX = x    ; then
   18135     LIB_MAN_SUFFIX=3
   18136 fi
   18137 if test x$LIB_MAN_DIR = x    ; then
   18138     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18139 fi
   18140 
   18141 if test x$FILE_MAN_SUFFIX = x    ; then
   18142     case $host_os in
   18143 	# Solaris 2.0 - 11 use SysV man page sections
   18144 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   18145 	*)				FILE_MAN_SUFFIX=5  ;;
   18146     esac
   18147 fi
   18148 if test x$FILE_MAN_DIR = x    ; then
   18149     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18150 fi
   18151 
   18152 if test x$MISC_MAN_SUFFIX = x    ; then
   18153     case $host_os in
   18154 	# Solaris 2.0 - 11 use SysV man page sections
   18155 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   18156 	*)				MISC_MAN_SUFFIX=7  ;;
   18157     esac
   18158 fi
   18159 if test x$MISC_MAN_DIR = x    ; then
   18160     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18161 fi
   18162 
   18163 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18164     case $host_os in
   18165 	# Solaris 2.0 - 11 use SysV man page sections
   18166 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   18167 	*)				DRIVER_MAN_SUFFIX=4  ;;
   18168     esac
   18169 fi
   18170 if test x$DRIVER_MAN_DIR = x    ; then
   18171     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18172 fi
   18173 
   18174 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18175     case $host_os in
   18176 	# Solaris 2.0 - 11 use SysV man page sections
   18177 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   18178 	*)				ADMIN_MAN_SUFFIX=8  ;;
   18179     esac
   18180 fi
   18181 if test x$ADMIN_MAN_DIR = x    ; then
   18182     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18183 fi
   18184 
   18185 
   18186 
   18187 
   18188 
   18189 
   18190 
   18191 
   18192 
   18193 
   18194 
   18195 
   18196 
   18197 
   18198 
   18199 XORG_MAN_PAGE="X Version 11"
   18200 
   18201 MAN_SUBSTS="\
   18202 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18203 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18204 	-e 's|__xservername__|Xorg|g' \
   18205 	-e 's|__xconfigfile__|xorg.conf|g' \
   18206 	-e 's|__projectroot__|\$(prefix)|g' \
   18207 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18208 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18209 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18210 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18211 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18212 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18213 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18214 
   18215 
   18216 
   18217 # Check whether --enable-silent-rules was given.
   18218 if test "${enable_silent_rules+set}" = set; then :
   18219   enableval=$enable_silent_rules;
   18220 fi
   18221 
   18222 case $enable_silent_rules in # (((
   18223   yes) AM_DEFAULT_VERBOSITY=0;;
   18224    no) AM_DEFAULT_VERBOSITY=1;;
   18225     *) AM_DEFAULT_VERBOSITY=0;;
   18226 esac
   18227 am_make=${MAKE-make}
   18228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18229 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18230 if ${am_cv_make_support_nested_variables+:} false; then :
   18231   $as_echo_n "(cached) " >&6
   18232 else
   18233   if $as_echo 'TRUE=$(BAR$(V))
   18234 BAR0=false
   18235 BAR1=true
   18236 V=1
   18237 am__doit:
   18238 	@$(TRUE)
   18239 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18240   am_cv_make_support_nested_variables=yes
   18241 else
   18242   am_cv_make_support_nested_variables=no
   18243 fi
   18244 fi
   18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18246 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18247 if test $am_cv_make_support_nested_variables = yes; then
   18248     AM_V='$(V)'
   18249   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18250 else
   18251   AM_V=$AM_DEFAULT_VERBOSITY
   18252   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18253 fi
   18254 AM_BACKSLASH='\'
   18255 
   18256 
   18257 
   18258 
   18259 # Check whether --enable-specs was given.
   18260 if test "${enable_specs+set}" = set; then :
   18261   enableval=$enable_specs; build_specs=$enableval
   18262 else
   18263   build_specs=yes
   18264 fi
   18265 
   18266 
   18267  if test x$build_specs = xyes; then
   18268   ENABLE_SPECS_TRUE=
   18269   ENABLE_SPECS_FALSE='#'
   18270 else
   18271   ENABLE_SPECS_TRUE='#'
   18272   ENABLE_SPECS_FALSE=
   18273 fi
   18274 
   18275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   18276 $as_echo_n "checking whether to build functional specifications... " >&6; }
   18277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   18278 $as_echo "$build_specs" >&6; }
   18279 
   18280 
   18281 
   18282 
   18283 
   18284 # Check whether --with-xmlto was given.
   18285 if test "${with_xmlto+set}" = set; then :
   18286   withval=$with_xmlto; use_xmlto=$withval
   18287 else
   18288   use_xmlto=auto
   18289 fi
   18290 
   18291 
   18292 
   18293 if test "x$use_xmlto" = x"auto"; then
   18294    # Extract the first word of "xmlto", so it can be a program name with args.
   18295 set dummy xmlto; ac_word=$2
   18296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18297 $as_echo_n "checking for $ac_word... " >&6; }
   18298 if ${ac_cv_path_XMLTO+:} false; then :
   18299   $as_echo_n "(cached) " >&6
   18300 else
   18301   case $XMLTO in
   18302   [\\/]* | ?:[\\/]*)
   18303   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18304   ;;
   18305   *)
   18306   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18307 for as_dir in $PATH
   18308 do
   18309   IFS=$as_save_IFS
   18310   test -z "$as_dir" && as_dir=.
   18311     for ac_exec_ext in '' $ac_executable_extensions; do
   18312   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18313     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18315     break 2
   18316   fi
   18317 done
   18318   done
   18319 IFS=$as_save_IFS
   18320 
   18321   ;;
   18322 esac
   18323 fi
   18324 XMLTO=$ac_cv_path_XMLTO
   18325 if test -n "$XMLTO"; then
   18326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18327 $as_echo "$XMLTO" >&6; }
   18328 else
   18329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18330 $as_echo "no" >&6; }
   18331 fi
   18332 
   18333 
   18334    if test "x$XMLTO" = "x"; then
   18335         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   18336 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   18337 	have_xmlto=no
   18338    else
   18339         have_xmlto=yes
   18340    fi
   18341 elif test "x$use_xmlto" = x"yes" ; then
   18342    # Extract the first word of "xmlto", so it can be a program name with args.
   18343 set dummy xmlto; ac_word=$2
   18344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18345 $as_echo_n "checking for $ac_word... " >&6; }
   18346 if ${ac_cv_path_XMLTO+:} false; then :
   18347   $as_echo_n "(cached) " >&6
   18348 else
   18349   case $XMLTO in
   18350   [\\/]* | ?:[\\/]*)
   18351   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18352   ;;
   18353   *)
   18354   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18355 for as_dir in $PATH
   18356 do
   18357   IFS=$as_save_IFS
   18358   test -z "$as_dir" && as_dir=.
   18359     for ac_exec_ext in '' $ac_executable_extensions; do
   18360   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18361     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18362     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18363     break 2
   18364   fi
   18365 done
   18366   done
   18367 IFS=$as_save_IFS
   18368 
   18369   ;;
   18370 esac
   18371 fi
   18372 XMLTO=$ac_cv_path_XMLTO
   18373 if test -n "$XMLTO"; then
   18374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18375 $as_echo "$XMLTO" >&6; }
   18376 else
   18377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18378 $as_echo "no" >&6; }
   18379 fi
   18380 
   18381 
   18382    if test "x$XMLTO" = "x"; then
   18383         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   18384    fi
   18385    have_xmlto=yes
   18386 elif test "x$use_xmlto" = x"no" ; then
   18387    if test "x$XMLTO" != "x"; then
   18388       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   18389 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   18390    fi
   18391    have_xmlto=no
   18392 else
   18393    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   18394 fi
   18395 
   18396 # Test for a minimum version of xmlto, if provided.
   18397 if test "$have_xmlto" = yes; then
   18398     # scrape the xmlto version
   18399     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   18400 $as_echo_n "checking the xmlto version... " >&6; }
   18401     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   18402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   18403 $as_echo "$xmlto_version" >&6; }
   18404     as_arg_v1=$xmlto_version
   18405 as_arg_v2=0.0.22
   18406 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   18407 case $? in #(
   18408   1) :
   18409     if test "x$use_xmlto" = xauto; then
   18410             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   18411 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   18412             have_xmlto=no
   18413         else
   18414             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   18415         fi ;; #(
   18416   0) :
   18417      ;; #(
   18418   2) :
   18419      ;; #(
   18420   *) :
   18421      ;;
   18422 esac
   18423 fi
   18424 
   18425 # Test for the ability of xmlto to generate a text target
   18426 #
   18427 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   18428 # following test for empty XML docbook files.
   18429 # For compatibility reasons use the following empty XML docbook file and if
   18430 # it fails try it again with a non-empty XML file.
   18431 have_xmlto_text=no
   18432 cat > conftest.xml << "EOF"
   18433 EOF
   18434 if test "$have_xmlto" = yes; then :
   18435   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18436   have_xmlto_text=yes
   18437 else
   18438   # Try it again with a non-empty XML file.
   18439               cat > conftest.xml << "EOF"
   18440 <x></x>
   18441 EOF
   18442               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18443   have_xmlto_text=yes
   18444 else
   18445   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   18446 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   18447 fi
   18448 fi
   18449 fi
   18450 rm -f conftest.xml
   18451  if test $have_xmlto_text = yes; then
   18452   HAVE_XMLTO_TEXT_TRUE=
   18453   HAVE_XMLTO_TEXT_FALSE='#'
   18454 else
   18455   HAVE_XMLTO_TEXT_TRUE='#'
   18456   HAVE_XMLTO_TEXT_FALSE=
   18457 fi
   18458 
   18459  if test "$have_xmlto" = yes; then
   18460   HAVE_XMLTO_TRUE=
   18461   HAVE_XMLTO_FALSE='#'
   18462 else
   18463   HAVE_XMLTO_TRUE='#'
   18464   HAVE_XMLTO_FALSE=
   18465 fi
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 # Check whether --with-fop was given.
   18473 if test "${with_fop+set}" = set; then :
   18474   withval=$with_fop; use_fop=$withval
   18475 else
   18476   use_fop=no
   18477 fi
   18478 
   18479 
   18480 
   18481 if test "x$use_fop" = x"auto"; then
   18482    # Extract the first word of "fop", so it can be a program name with args.
   18483 set dummy fop; ac_word=$2
   18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18485 $as_echo_n "checking for $ac_word... " >&6; }
   18486 if ${ac_cv_path_FOP+:} false; then :
   18487   $as_echo_n "(cached) " >&6
   18488 else
   18489   case $FOP in
   18490   [\\/]* | ?:[\\/]*)
   18491   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18492   ;;
   18493   *)
   18494   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18495 for as_dir in $PATH
   18496 do
   18497   IFS=$as_save_IFS
   18498   test -z "$as_dir" && as_dir=.
   18499     for ac_exec_ext in '' $ac_executable_extensions; do
   18500   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18501     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18502     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18503     break 2
   18504   fi
   18505 done
   18506   done
   18507 IFS=$as_save_IFS
   18508 
   18509   ;;
   18510 esac
   18511 fi
   18512 FOP=$ac_cv_path_FOP
   18513 if test -n "$FOP"; then
   18514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18515 $as_echo "$FOP" >&6; }
   18516 else
   18517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18518 $as_echo "no" >&6; }
   18519 fi
   18520 
   18521 
   18522    if test "x$FOP" = "x"; then
   18523         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   18524 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   18525 	have_fop=no
   18526    else
   18527         have_fop=yes
   18528    fi
   18529 elif test "x$use_fop" = x"yes" ; then
   18530    # Extract the first word of "fop", so it can be a program name with args.
   18531 set dummy fop; ac_word=$2
   18532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18533 $as_echo_n "checking for $ac_word... " >&6; }
   18534 if ${ac_cv_path_FOP+:} false; then :
   18535   $as_echo_n "(cached) " >&6
   18536 else
   18537   case $FOP in
   18538   [\\/]* | ?:[\\/]*)
   18539   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18540   ;;
   18541   *)
   18542   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18543 for as_dir in $PATH
   18544 do
   18545   IFS=$as_save_IFS
   18546   test -z "$as_dir" && as_dir=.
   18547     for ac_exec_ext in '' $ac_executable_extensions; do
   18548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18549     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18551     break 2
   18552   fi
   18553 done
   18554   done
   18555 IFS=$as_save_IFS
   18556 
   18557   ;;
   18558 esac
   18559 fi
   18560 FOP=$ac_cv_path_FOP
   18561 if test -n "$FOP"; then
   18562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18563 $as_echo "$FOP" >&6; }
   18564 else
   18565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18566 $as_echo "no" >&6; }
   18567 fi
   18568 
   18569 
   18570    if test "x$FOP" = "x"; then
   18571         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   18572    fi
   18573    have_fop=yes
   18574 elif test "x$use_fop" = x"no" ; then
   18575    if test "x$FOP" != "x"; then
   18576       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   18577 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   18578    fi
   18579    have_fop=no
   18580 else
   18581    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   18582 fi
   18583 
   18584 # Test for a minimum version of fop, if provided.
   18585 
   18586  if test "$have_fop" = yes; then
   18587   HAVE_FOP_TRUE=
   18588   HAVE_FOP_FALSE='#'
   18589 else
   18590   HAVE_FOP_TRUE='#'
   18591   HAVE_FOP_FALSE=
   18592 fi
   18593 
   18594 
   18595 
   18596 
   18597 # Preserves the interface, should it be implemented later
   18598 
   18599 
   18600 
   18601 # Check whether --with-xsltproc was given.
   18602 if test "${with_xsltproc+set}" = set; then :
   18603   withval=$with_xsltproc; use_xsltproc=$withval
   18604 else
   18605   use_xsltproc=auto
   18606 fi
   18607 
   18608 
   18609 
   18610 if test "x$use_xsltproc" = x"auto"; then
   18611    # Extract the first word of "xsltproc", so it can be a program name with args.
   18612 set dummy xsltproc; ac_word=$2
   18613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18614 $as_echo_n "checking for $ac_word... " >&6; }
   18615 if ${ac_cv_path_XSLTPROC+:} false; then :
   18616   $as_echo_n "(cached) " >&6
   18617 else
   18618   case $XSLTPROC in
   18619   [\\/]* | ?:[\\/]*)
   18620   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18621   ;;
   18622   *)
   18623   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18624 for as_dir in $PATH
   18625 do
   18626   IFS=$as_save_IFS
   18627   test -z "$as_dir" && as_dir=.
   18628     for ac_exec_ext in '' $ac_executable_extensions; do
   18629   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18630     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18632     break 2
   18633   fi
   18634 done
   18635   done
   18636 IFS=$as_save_IFS
   18637 
   18638   ;;
   18639 esac
   18640 fi
   18641 XSLTPROC=$ac_cv_path_XSLTPROC
   18642 if test -n "$XSLTPROC"; then
   18643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18644 $as_echo "$XSLTPROC" >&6; }
   18645 else
   18646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18647 $as_echo "no" >&6; }
   18648 fi
   18649 
   18650 
   18651    if test "x$XSLTPROC" = "x"; then
   18652         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   18653 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   18654 	have_xsltproc=no
   18655    else
   18656         have_xsltproc=yes
   18657    fi
   18658 elif test "x$use_xsltproc" = x"yes" ; then
   18659    # Extract the first word of "xsltproc", so it can be a program name with args.
   18660 set dummy xsltproc; ac_word=$2
   18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18662 $as_echo_n "checking for $ac_word... " >&6; }
   18663 if ${ac_cv_path_XSLTPROC+:} false; then :
   18664   $as_echo_n "(cached) " >&6
   18665 else
   18666   case $XSLTPROC in
   18667   [\\/]* | ?:[\\/]*)
   18668   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18669   ;;
   18670   *)
   18671   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18672 for as_dir in $PATH
   18673 do
   18674   IFS=$as_save_IFS
   18675   test -z "$as_dir" && as_dir=.
   18676     for ac_exec_ext in '' $ac_executable_extensions; do
   18677   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18678     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18680     break 2
   18681   fi
   18682 done
   18683   done
   18684 IFS=$as_save_IFS
   18685 
   18686   ;;
   18687 esac
   18688 fi
   18689 XSLTPROC=$ac_cv_path_XSLTPROC
   18690 if test -n "$XSLTPROC"; then
   18691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18692 $as_echo "$XSLTPROC" >&6; }
   18693 else
   18694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18695 $as_echo "no" >&6; }
   18696 fi
   18697 
   18698 
   18699    if test "x$XSLTPROC" = "x"; then
   18700         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   18701    fi
   18702    have_xsltproc=yes
   18703 elif test "x$use_xsltproc" = x"no" ; then
   18704    if test "x$XSLTPROC" != "x"; then
   18705       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   18706 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   18707    fi
   18708    have_xsltproc=no
   18709 else
   18710    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   18711 fi
   18712 
   18713  if test "$have_xsltproc" = yes; then
   18714   HAVE_XSLTPROC_TRUE=
   18715   HAVE_XSLTPROC_FALSE='#'
   18716 else
   18717   HAVE_XSLTPROC_TRUE='#'
   18718   HAVE_XSLTPROC_FALSE=
   18719 fi
   18720 
   18721 
   18722 
   18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.10" >&5
   18724 $as_echo_n "checking for X.Org SGML entities >= 1.10... " >&6; }
   18725 XORG_SGML_PATH=
   18726 if test -n "$PKG_CONFIG" && \
   18727     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.10\""; } >&5
   18728   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.10") 2>&5
   18729   ac_status=$?
   18730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18731   test $ac_status = 0; }; then
   18732   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   18733 else
   18734   :
   18735 
   18736 fi
   18737 
   18738 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   18739 # the path and the name of the doc stylesheet
   18740 if test "x$XORG_SGML_PATH" != "x" ; then
   18741    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   18742 $as_echo "$XORG_SGML_PATH" >&6; }
   18743    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   18744    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   18745 else
   18746    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18747 $as_echo "no" >&6; }
   18748 fi
   18749 
   18750 
   18751 
   18752 
   18753  if test "x$XSL_STYLESHEET" != "x"; then
   18754   HAVE_STYLESHEETS_TRUE=
   18755   HAVE_STYLESHEETS_FALSE='#'
   18756 else
   18757   HAVE_STYLESHEETS_TRUE='#'
   18758   HAVE_STYLESHEETS_FALSE=
   18759 fi
   18760 
   18761 
   18762 
   18763 
   18764 for ac_prog in cpp
   18765 do
   18766   # Extract the first word of "$ac_prog", so it can be a program name with args.
   18767 set dummy $ac_prog; ac_word=$2
   18768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18769 $as_echo_n "checking for $ac_word... " >&6; }
   18770 if ${ac_cv_path_RAWCPP+:} false; then :
   18771   $as_echo_n "(cached) " >&6
   18772 else
   18773   case $RAWCPP in
   18774   [\\/]* | ?:[\\/]*)
   18775   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   18776   ;;
   18777   *)
   18778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18779 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   18780 for as_dir in $as_dummy
   18781 do
   18782   IFS=$as_save_IFS
   18783   test -z "$as_dir" && as_dir=.
   18784     for ac_exec_ext in '' $ac_executable_extensions; do
   18785   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18786     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   18787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18788     break 2
   18789   fi
   18790 done
   18791   done
   18792 IFS=$as_save_IFS
   18793 
   18794   ;;
   18795 esac
   18796 fi
   18797 RAWCPP=$ac_cv_path_RAWCPP
   18798 if test -n "$RAWCPP"; then
   18799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   18800 $as_echo "$RAWCPP" >&6; }
   18801 else
   18802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18803 $as_echo "no" >&6; }
   18804 fi
   18805 
   18806 
   18807   test -n "$RAWCPP" && break
   18808 done
   18809 test -n "$RAWCPP" || RAWCPP="${CPP}"
   18810 
   18811 
   18812 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   18813 # which is not the best choice for supporting other OS'es, but covers most
   18814 # of the ones we need for now.
   18815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   18816 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   18817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18818 /* end confdefs.h.  */
   18819 Does cpp redefine unix ?
   18820 _ACEOF
   18821 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   18822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18823 $as_echo "no" >&6; }
   18824 else
   18825 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   18826 		RAWCPPFLAGS=-undef
   18827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18828 $as_echo "yes" >&6; }
   18829 	# under Cygwin unix is still defined even with -undef
   18830 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   18831 		RAWCPPFLAGS="-undef -ansi"
   18832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   18833 $as_echo "yes, with -ansi" >&6; }
   18834 	else
   18835 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   18836 	fi
   18837 fi
   18838 rm -f conftest.$ac_ext
   18839 
   18840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   18841 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18843 /* end confdefs.h.  */
   18844 Does cpp preserve   "whitespace"?
   18845 _ACEOF
   18846 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   18847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18848 $as_echo "no" >&6; }
   18849 else
   18850 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   18851 		TRADITIONALCPPFLAGS="-traditional"
   18852 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   18853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18854 $as_echo "yes" >&6; }
   18855 	else
   18856 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   18857 	fi
   18858 fi
   18859 rm -f conftest.$ac_ext
   18860 
   18861 
   18862 
   18863 
   18864 
   18865 # Preserves the interface, should it be implemented later
   18866 
   18867 
   18868 
   18869 # Check whether --with-perl was given.
   18870 if test "${with_perl+set}" = set; then :
   18871   withval=$with_perl; use_perl=$withval
   18872 else
   18873   use_perl=auto
   18874 fi
   18875 
   18876 
   18877 
   18878 if test "x$use_perl" = x"auto"; then
   18879    # Extract the first word of "perl", so it can be a program name with args.
   18880 set dummy perl; ac_word=$2
   18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18882 $as_echo_n "checking for $ac_word... " >&6; }
   18883 if ${ac_cv_path_PERL+:} false; then :
   18884   $as_echo_n "(cached) " >&6
   18885 else
   18886   case $PERL in
   18887   [\\/]* | ?:[\\/]*)
   18888   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   18889   ;;
   18890   *)
   18891   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18892 for as_dir in $PATH
   18893 do
   18894   IFS=$as_save_IFS
   18895   test -z "$as_dir" && as_dir=.
   18896     for ac_exec_ext in '' $ac_executable_extensions; do
   18897   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18898     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   18899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18900     break 2
   18901   fi
   18902 done
   18903   done
   18904 IFS=$as_save_IFS
   18905 
   18906   ;;
   18907 esac
   18908 fi
   18909 PERL=$ac_cv_path_PERL
   18910 if test -n "$PERL"; then
   18911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   18912 $as_echo "$PERL" >&6; }
   18913 else
   18914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18915 $as_echo "no" >&6; }
   18916 fi
   18917 
   18918 
   18919    if test "x$PERL" = "x"; then
   18920         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
   18921 $as_echo "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
   18922 	have_perl=no
   18923    else
   18924         have_perl=yes
   18925    fi
   18926 elif test "x$use_perl" = x"yes" ; then
   18927    # Extract the first word of "perl", so it can be a program name with args.
   18928 set dummy perl; ac_word=$2
   18929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18930 $as_echo_n "checking for $ac_word... " >&6; }
   18931 if ${ac_cv_path_PERL+:} false; then :
   18932   $as_echo_n "(cached) " >&6
   18933 else
   18934   case $PERL in
   18935   [\\/]* | ?:[\\/]*)
   18936   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   18937   ;;
   18938   *)
   18939   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18940 for as_dir in $PATH
   18941 do
   18942   IFS=$as_save_IFS
   18943   test -z "$as_dir" && as_dir=.
   18944     for ac_exec_ext in '' $ac_executable_extensions; do
   18945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18946     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   18947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18948     break 2
   18949   fi
   18950 done
   18951   done
   18952 IFS=$as_save_IFS
   18953 
   18954   ;;
   18955 esac
   18956 fi
   18957 PERL=$ac_cv_path_PERL
   18958 if test -n "$PERL"; then
   18959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   18960 $as_echo "$PERL" >&6; }
   18961 else
   18962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18963 $as_echo "no" >&6; }
   18964 fi
   18965 
   18966 
   18967    if test "x$PERL" = "x"; then
   18968         as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
   18969    fi
   18970    have_perl=yes
   18971 elif test "x$use_perl" = x"no" ; then
   18972    if test "x$PERL" != "x"; then
   18973       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
   18974 $as_echo "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
   18975    fi
   18976    have_perl=no
   18977 else
   18978    as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
   18979 fi
   18980 
   18981  if test "$have_perl" = yes; then
   18982   HAVE_PERL_TRUE=
   18983   HAVE_PERL_FALSE='#'
   18984 else
   18985   HAVE_PERL_TRUE='#'
   18986   HAVE_PERL_FALSE=
   18987 fi
   18988 
   18989 
   18990 
   18991 # Required when PKG_CHECK_MODULES called within an if statement
   18992 
   18993 
   18994 
   18995 
   18996 
   18997 
   18998 
   18999 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19000 	if test -n "$ac_tool_prefix"; then
   19001   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19002 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19004 $as_echo_n "checking for $ac_word... " >&6; }
   19005 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   19006   $as_echo_n "(cached) " >&6
   19007 else
   19008   case $PKG_CONFIG in
   19009   [\\/]* | ?:[\\/]*)
   19010   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19011   ;;
   19012   *)
   19013   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19014 for as_dir in $PATH
   19015 do
   19016   IFS=$as_save_IFS
   19017   test -z "$as_dir" && as_dir=.
   19018     for ac_exec_ext in '' $ac_executable_extensions; do
   19019   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19020     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19022     break 2
   19023   fi
   19024 done
   19025   done
   19026 IFS=$as_save_IFS
   19027 
   19028   ;;
   19029 esac
   19030 fi
   19031 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19032 if test -n "$PKG_CONFIG"; then
   19033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   19034 $as_echo "$PKG_CONFIG" >&6; }
   19035 else
   19036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19037 $as_echo "no" >&6; }
   19038 fi
   19039 
   19040 
   19041 fi
   19042 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19043   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19044   # Extract the first word of "pkg-config", so it can be a program name with args.
   19045 set dummy pkg-config; ac_word=$2
   19046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19047 $as_echo_n "checking for $ac_word... " >&6; }
   19048 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   19049   $as_echo_n "(cached) " >&6
   19050 else
   19051   case $ac_pt_PKG_CONFIG in
   19052   [\\/]* | ?:[\\/]*)
   19053   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19054   ;;
   19055   *)
   19056   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19057 for as_dir in $PATH
   19058 do
   19059   IFS=$as_save_IFS
   19060   test -z "$as_dir" && as_dir=.
   19061     for ac_exec_ext in '' $ac_executable_extensions; do
   19062   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19063     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19065     break 2
   19066   fi
   19067 done
   19068   done
   19069 IFS=$as_save_IFS
   19070 
   19071   ;;
   19072 esac
   19073 fi
   19074 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19075 if test -n "$ac_pt_PKG_CONFIG"; then
   19076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   19077 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   19078 else
   19079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19080 $as_echo "no" >&6; }
   19081 fi
   19082 
   19083   if test "x$ac_pt_PKG_CONFIG" = x; then
   19084     PKG_CONFIG=""
   19085   else
   19086     case $cross_compiling:$ac_tool_warned in
   19087 yes:)
   19088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   19089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   19090 ac_tool_warned=yes ;;
   19091 esac
   19092     PKG_CONFIG=$ac_pt_PKG_CONFIG
   19093   fi
   19094 else
   19095   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19096 fi
   19097 
   19098 fi
   19099 if test -n "$PKG_CONFIG"; then
   19100 	_pkg_min_version=0.9.0
   19101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   19102 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   19103 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19105 $as_echo "yes" >&6; }
   19106 	else
   19107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19108 $as_echo "no" >&6; }
   19109 		PKG_CONFIG=""
   19110 	fi
   19111 fi
   19112 
   19113 if test x"$CC_FOR_BUILD" = x; then
   19114 	if test x"$cross_compiling" = xyes; then
   19115 	       for ac_prog in gcc cc
   19116 do
   19117   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19118 set dummy $ac_prog; ac_word=$2
   19119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19120 $as_echo_n "checking for $ac_word... " >&6; }
   19121 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
   19122   $as_echo_n "(cached) " >&6
   19123 else
   19124   if test -n "$CC_FOR_BUILD"; then
   19125   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   19126 else
   19127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19128 for as_dir in $PATH
   19129 do
   19130   IFS=$as_save_IFS
   19131   test -z "$as_dir" && as_dir=.
   19132     for ac_exec_ext in '' $ac_executable_extensions; do
   19133   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19134     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
   19135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19136     break 2
   19137   fi
   19138 done
   19139   done
   19140 IFS=$as_save_IFS
   19141 
   19142 fi
   19143 fi
   19144 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   19145 if test -n "$CC_FOR_BUILD"; then
   19146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   19147 $as_echo "$CC_FOR_BUILD" >&6; }
   19148 else
   19149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19150 $as_echo "no" >&6; }
   19151 fi
   19152 
   19153 
   19154   test -n "$CC_FOR_BUILD" && break
   19155 done
   19156 
   19157 	else
   19158 	       CC_FOR_BUILD="$CC"
   19159 	fi
   19160 fi
   19161 
   19162 
   19163 if test x"$CPPFLAGS_FOR_BUILD" = x; then
   19164 	if test ! x"$cross_compiling" = xyes; then
   19165 		CPPFLAGS_FOR_BUILD=${CPPFLAGS}
   19166 	fi
   19167 fi
   19168 
   19169 
   19170 if test x"$CFLAGS_FOR_BUILD" = x; then
   19171 	if test ! x"$cross_compiling" = xyes; then
   19172 		CFLAGS_FOR_BUILD=${CFLAGS}
   19173 	fi
   19174 fi
   19175 
   19176 
   19177 if test x"$LDFLAGS_FOR_BUILD" = x; then
   19178 	if test ! x"$cross_compiling" = xyes; then
   19179 		LDFLAGS_FOR_BUILD=${LDFLAGS}
   19180 	fi
   19181 fi
   19182 
   19183 
   19184 # Checks for pkg-config packages
   19185 
   19186 # Always required
   19187 X11_REQUIRES='xproto >= 7.0.17 xextproto xtrans xcb >= 1.11.1'
   19188 X11_EXTRA_DEPS="xcb >= 1.11.1"
   19189 
   19190 
   19191 
   19192 
   19193 
   19194 
   19195 
   19196 
   19197 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19198 	if test -n "$ac_tool_prefix"; then
   19199   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19200 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19202 $as_echo_n "checking for $ac_word... " >&6; }
   19203 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   19204   $as_echo_n "(cached) " >&6
   19205 else
   19206   case $PKG_CONFIG in
   19207   [\\/]* | ?:[\\/]*)
   19208   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19209   ;;
   19210   *)
   19211   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19212 for as_dir in $PATH
   19213 do
   19214   IFS=$as_save_IFS
   19215   test -z "$as_dir" && as_dir=.
   19216     for ac_exec_ext in '' $ac_executable_extensions; do
   19217   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19218     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19220     break 2
   19221   fi
   19222 done
   19223   done
   19224 IFS=$as_save_IFS
   19225 
   19226   ;;
   19227 esac
   19228 fi
   19229 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19230 if test -n "$PKG_CONFIG"; then
   19231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   19232 $as_echo "$PKG_CONFIG" >&6; }
   19233 else
   19234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19235 $as_echo "no" >&6; }
   19236 fi
   19237 
   19238 
   19239 fi
   19240 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19241   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19242   # Extract the first word of "pkg-config", so it can be a program name with args.
   19243 set dummy pkg-config; ac_word=$2
   19244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19245 $as_echo_n "checking for $ac_word... " >&6; }
   19246 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   19247   $as_echo_n "(cached) " >&6
   19248 else
   19249   case $ac_pt_PKG_CONFIG in
   19250   [\\/]* | ?:[\\/]*)
   19251   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19252   ;;
   19253   *)
   19254   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19255 for as_dir in $PATH
   19256 do
   19257   IFS=$as_save_IFS
   19258   test -z "$as_dir" && as_dir=.
   19259     for ac_exec_ext in '' $ac_executable_extensions; do
   19260   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19261     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19263     break 2
   19264   fi
   19265 done
   19266   done
   19267 IFS=$as_save_IFS
   19268 
   19269   ;;
   19270 esac
   19271 fi
   19272 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19273 if test -n "$ac_pt_PKG_CONFIG"; then
   19274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   19275 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   19276 else
   19277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19278 $as_echo "no" >&6; }
   19279 fi
   19280 
   19281   if test "x$ac_pt_PKG_CONFIG" = x; then
   19282     PKG_CONFIG=""
   19283   else
   19284     case $cross_compiling:$ac_tool_warned in
   19285 yes:)
   19286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   19287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   19288 ac_tool_warned=yes ;;
   19289 esac
   19290     PKG_CONFIG=$ac_pt_PKG_CONFIG
   19291   fi
   19292 else
   19293   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19294 fi
   19295 
   19296 fi
   19297 if test -n "$PKG_CONFIG"; then
   19298 	_pkg_min_version=0.9.0
   19299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   19300 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   19301 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19303 $as_echo "yes" >&6; }
   19304 	else
   19305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19306 $as_echo "no" >&6; }
   19307 		PKG_CONFIG=""
   19308 	fi
   19309 fi
   19310 
   19311 
   19312 
   19313 # Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
   19314 # was not expanded, since libX11 with no transport types is rather useless.
   19315 #
   19316 # If you're seeing an error here, be sure you installed the lib/xtrans module
   19317 # first and if it's not in the default location, that you set the ACLOCAL
   19318 # environment variable to find it, such as:
   19319 #	ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
   19320 
   19321 
   19322 # Transport selection macro from xtrans.m4
   19323 
   19324 
   19325  case $host_os in
   19326 	mingw*)	unixdef="no"   ;;
   19327 	*)	unixdef="yes"  ;;
   19328  esac
   19329  # Check whether --enable-unix-transport was given.
   19330 if test "${enable_unix_transport+set}" = set; then :
   19331   enableval=$enable_unix_transport; UNIXCONN=$enableval
   19332 else
   19333   UNIXCONN=$unixdef
   19334 fi
   19335 
   19336  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   19337 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   19338  if test "$UNIXCONN" = "yes"; then
   19339 
   19340 $as_echo "#define UNIXCONN 1" >>confdefs.h
   19341 
   19342  fi
   19343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   19344 $as_echo "$UNIXCONN" >&6; }
   19345  # Check whether --enable-tcp-transport was given.
   19346 if test "${enable_tcp_transport+set}" = set; then :
   19347   enableval=$enable_tcp_transport; TCPCONN=$enableval
   19348 else
   19349   TCPCONN=yes
   19350 fi
   19351 
   19352  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   19353 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   19354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   19355 $as_echo "$TCPCONN" >&6; }
   19356  if test "$TCPCONN" = "yes"; then
   19357 
   19358 $as_echo "#define TCPCONN 1" >>confdefs.h
   19359 
   19360 
   19361  # SVR4 hides these in libraries other than libc
   19362  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   19363 $as_echo_n "checking for library containing socket... " >&6; }
   19364 if ${ac_cv_search_socket+:} false; then :
   19365   $as_echo_n "(cached) " >&6
   19366 else
   19367   ac_func_search_save_LIBS=$LIBS
   19368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19369 /* end confdefs.h.  */
   19370 
   19371 /* Override any GCC internal prototype to avoid an error.
   19372    Use char because int might match the return type of a GCC
   19373    builtin and then its argument prototype would still apply.  */
   19374 #ifdef __cplusplus
   19375 extern "C"
   19376 #endif
   19377 char socket ();
   19378 int
   19379 main ()
   19380 {
   19381 return socket ();
   19382   ;
   19383   return 0;
   19384 }
   19385 _ACEOF
   19386 for ac_lib in '' socket; do
   19387   if test -z "$ac_lib"; then
   19388     ac_res="none required"
   19389   else
   19390     ac_res=-l$ac_lib
   19391     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19392   fi
   19393   if ac_fn_c_try_link "$LINENO"; then :
   19394   ac_cv_search_socket=$ac_res
   19395 fi
   19396 rm -f core conftest.err conftest.$ac_objext \
   19397     conftest$ac_exeext
   19398   if ${ac_cv_search_socket+:} false; then :
   19399   break
   19400 fi
   19401 done
   19402 if ${ac_cv_search_socket+:} false; then :
   19403 
   19404 else
   19405   ac_cv_search_socket=no
   19406 fi
   19407 rm conftest.$ac_ext
   19408 LIBS=$ac_func_search_save_LIBS
   19409 fi
   19410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   19411 $as_echo "$ac_cv_search_socket" >&6; }
   19412 ac_res=$ac_cv_search_socket
   19413 if test "$ac_res" != no; then :
   19414   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19415 
   19416 fi
   19417 
   19418  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   19419 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   19420 if ${ac_cv_search_gethostbyname+:} false; then :
   19421   $as_echo_n "(cached) " >&6
   19422 else
   19423   ac_func_search_save_LIBS=$LIBS
   19424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19425 /* end confdefs.h.  */
   19426 
   19427 /* Override any GCC internal prototype to avoid an error.
   19428    Use char because int might match the return type of a GCC
   19429    builtin and then its argument prototype would still apply.  */
   19430 #ifdef __cplusplus
   19431 extern "C"
   19432 #endif
   19433 char gethostbyname ();
   19434 int
   19435 main ()
   19436 {
   19437 return gethostbyname ();
   19438   ;
   19439   return 0;
   19440 }
   19441 _ACEOF
   19442 for ac_lib in '' nsl; do
   19443   if test -z "$ac_lib"; then
   19444     ac_res="none required"
   19445   else
   19446     ac_res=-l$ac_lib
   19447     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19448   fi
   19449   if ac_fn_c_try_link "$LINENO"; then :
   19450   ac_cv_search_gethostbyname=$ac_res
   19451 fi
   19452 rm -f core conftest.err conftest.$ac_objext \
   19453     conftest$ac_exeext
   19454   if ${ac_cv_search_gethostbyname+:} false; then :
   19455   break
   19456 fi
   19457 done
   19458 if ${ac_cv_search_gethostbyname+:} false; then :
   19459 
   19460 else
   19461   ac_cv_search_gethostbyname=no
   19462 fi
   19463 rm conftest.$ac_ext
   19464 LIBS=$ac_func_search_save_LIBS
   19465 fi
   19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   19467 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   19468 ac_res=$ac_cv_search_gethostbyname
   19469 if test "$ac_res" != no; then :
   19470   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19471 
   19472 fi
   19473 
   19474  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   19475    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   19476 $as_echo_n "checking for main in -lws2_32... " >&6; }
   19477 if ${ac_cv_lib_ws2_32_main+:} false; then :
   19478   $as_echo_n "(cached) " >&6
   19479 else
   19480   ac_check_lib_save_LIBS=$LIBS
   19481 LIBS="-lws2_32  $LIBS"
   19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19483 /* end confdefs.h.  */
   19484 
   19485 
   19486 int
   19487 main ()
   19488 {
   19489 return main ();
   19490   ;
   19491   return 0;
   19492 }
   19493 _ACEOF
   19494 if ac_fn_c_try_link "$LINENO"; then :
   19495   ac_cv_lib_ws2_32_main=yes
   19496 else
   19497   ac_cv_lib_ws2_32_main=no
   19498 fi
   19499 rm -f core conftest.err conftest.$ac_objext \
   19500     conftest$ac_exeext conftest.$ac_ext
   19501 LIBS=$ac_check_lib_save_LIBS
   19502 fi
   19503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   19504 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   19505 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   19506   cat >>confdefs.h <<_ACEOF
   19507 #define HAVE_LIBWS2_32 1
   19508 _ACEOF
   19509 
   19510   LIBS="-lws2_32 $LIBS"
   19511 
   19512 fi
   19513 
   19514  fi
   19515 
   19516  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   19517  # Check whether --enable-ipv6 was given.
   19518 if test "${enable_ipv6+set}" = set; then :
   19519   enableval=$enable_ipv6; IPV6CONN=$enableval
   19520 else
   19521   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   19522 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   19523   IPV6CONN=yes
   19524 else
   19525   IPV6CONN=no
   19526 fi
   19527 
   19528 fi
   19529 
   19530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   19531 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   19532  if test "$IPV6CONN" = "yes"; then
   19533 
   19534 $as_echo "#define IPv6 1" >>confdefs.h
   19535 
   19536  fi
   19537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   19538 $as_echo "$IPV6CONN" >&6; }
   19539 
   19540  # 4.3BSD-Reno added a new member to struct sockaddr_in
   19541  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   19542 #include <sys/types.h>
   19543 #include <sys/socket.h>
   19544 #include <netinet/in.h>
   19545 
   19546 "
   19547 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   19548 
   19549 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   19550 
   19551 fi
   19552 
   19553 
   19554  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   19555  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   19556 $ac_includes_default
   19557 #include <sys/socket.h>
   19558 "
   19559 if test "x$ac_cv_type_socklen_t" = xyes; then :
   19560 
   19561 cat >>confdefs.h <<_ACEOF
   19562 #define HAVE_SOCKLEN_T 1
   19563 _ACEOF
   19564 
   19565 
   19566 fi
   19567 
   19568 
   19569  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   19570  # _XOPEN_SOURCE to get it (such as on Solaris)
   19571  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   19572 $ac_includes_default
   19573 #include <sys/socket.h>
   19574 
   19575 "
   19576 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   19577 
   19578 fi
   19579 
   19580  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   19581  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   19582      unset ac_cv_member_struct_msghdr_msg_control
   19583      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   19584 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   19585      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   19586 #define _XOPEN_SOURCE 600
   19587 $ac_includes_default
   19588 #include <sys/socket.h>
   19589 
   19590 "
   19591 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   19592 
   19593 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   19594 
   19595 
   19596 fi
   19597 
   19598  fi
   19599  # If that didn't work, fall back to XPG5/UNIX98 with C89
   19600  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   19601      unset ac_cv_member_struct_msghdr_msg_control
   19602      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   19603 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   19604      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   19605 #define _XOPEN_SOURCE 500
   19606 $ac_includes_default
   19607 #include <sys/socket.h>
   19608 
   19609 "
   19610 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   19611 
   19612 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   19613 
   19614 
   19615 fi
   19616 
   19617  fi
   19618 
   19619 
   19620 
   19621  fi
   19622  case $host_os in
   19623 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   19624 	*)			localdef="no"  ;;
   19625  esac
   19626  # Check whether --enable-local-transport was given.
   19627 if test "${enable_local_transport+set}" = set; then :
   19628   enableval=$enable_local_transport; LOCALCONN=$enableval
   19629 else
   19630   LOCALCONN=$localdef
   19631 fi
   19632 
   19633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   19634 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   19635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   19636 $as_echo "$LOCALCONN" >&6; }
   19637  if test "$LOCALCONN" = "yes"; then
   19638 
   19639 $as_echo "#define LOCALCONN 1" >>confdefs.h
   19640 
   19641  fi
   19642 
   19643 
   19644 
   19645 # Check for dlopen
   19646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if run-time linking is supported" >&5
   19647 $as_echo_n "checking if run-time linking is supported... " >&6; }
   19648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   19649 $as_echo_n "checking for library containing dlopen... " >&6; }
   19650 if ${ac_cv_search_dlopen+:} false; then :
   19651   $as_echo_n "(cached) " >&6
   19652 else
   19653   ac_func_search_save_LIBS=$LIBS
   19654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19655 /* end confdefs.h.  */
   19656 
   19657 /* Override any GCC internal prototype to avoid an error.
   19658    Use char because int might match the return type of a GCC
   19659    builtin and then its argument prototype would still apply.  */
   19660 #ifdef __cplusplus
   19661 extern "C"
   19662 #endif
   19663 char dlopen ();
   19664 int
   19665 main ()
   19666 {
   19667 return dlopen ();
   19668   ;
   19669   return 0;
   19670 }
   19671 _ACEOF
   19672 for ac_lib in '' dl svld; do
   19673   if test -z "$ac_lib"; then
   19674     ac_res="none required"
   19675   else
   19676     ac_res=-l$ac_lib
   19677     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19678   fi
   19679   if ac_fn_c_try_link "$LINENO"; then :
   19680   ac_cv_search_dlopen=$ac_res
   19681 fi
   19682 rm -f core conftest.err conftest.$ac_objext \
   19683     conftest$ac_exeext
   19684   if ${ac_cv_search_dlopen+:} false; then :
   19685   break
   19686 fi
   19687 done
   19688 if ${ac_cv_search_dlopen+:} false; then :
   19689 
   19690 else
   19691   ac_cv_search_dlopen=no
   19692 fi
   19693 rm conftest.$ac_ext
   19694 LIBS=$ac_func_search_save_LIBS
   19695 fi
   19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   19697 $as_echo "$ac_cv_search_dlopen" >&6; }
   19698 ac_res=$ac_cv_search_dlopen
   19699 if test "$ac_res" != no; then :
   19700   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19701 
   19702 fi
   19703 
   19704 if test "x$ac_cv_search_dlopen" = xno; then
   19705 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shl_load" >&5
   19706 $as_echo_n "checking for library containing shl_load... " >&6; }
   19707 if ${ac_cv_search_shl_load+:} false; then :
   19708   $as_echo_n "(cached) " >&6
   19709 else
   19710   ac_func_search_save_LIBS=$LIBS
   19711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19712 /* end confdefs.h.  */
   19713 
   19714 /* Override any GCC internal prototype to avoid an error.
   19715    Use char because int might match the return type of a GCC
   19716    builtin and then its argument prototype would still apply.  */
   19717 #ifdef __cplusplus
   19718 extern "C"
   19719 #endif
   19720 char shl_load ();
   19721 int
   19722 main ()
   19723 {
   19724 return shl_load ();
   19725   ;
   19726   return 0;
   19727 }
   19728 _ACEOF
   19729 for ac_lib in '' dld; do
   19730   if test -z "$ac_lib"; then
   19731     ac_res="none required"
   19732   else
   19733     ac_res=-l$ac_lib
   19734     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19735   fi
   19736   if ac_fn_c_try_link "$LINENO"; then :
   19737   ac_cv_search_shl_load=$ac_res
   19738 fi
   19739 rm -f core conftest.err conftest.$ac_objext \
   19740     conftest$ac_exeext
   19741   if ${ac_cv_search_shl_load+:} false; then :
   19742   break
   19743 fi
   19744 done
   19745 if ${ac_cv_search_shl_load+:} false; then :
   19746 
   19747 else
   19748   ac_cv_search_shl_load=no
   19749 fi
   19750 rm conftest.$ac_ext
   19751 LIBS=$ac_func_search_save_LIBS
   19752 fi
   19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shl_load" >&5
   19754 $as_echo "$ac_cv_search_shl_load" >&6; }
   19755 ac_res=$ac_cv_search_shl_load
   19756 if test "$ac_res" != no; then :
   19757   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19758 
   19759 fi
   19760 
   19761 	if test "x$ac_cv_search_shl_load" != xno; then
   19762 
   19763 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
   19764 
   19765 		for ac_header in dl.h
   19766 do :
   19767   ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
   19768 if test "x$ac_cv_header_dl_h" = xyes; then :
   19769   cat >>confdefs.h <<_ACEOF
   19770 #define HAVE_DL_H 1
   19771 _ACEOF
   19772 
   19773 fi
   19774 
   19775 done
   19776 
   19777 	fi
   19778 else
   19779 
   19780 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
   19781 
   19782 	for ac_header in dlfcn.h
   19783 do :
   19784   ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
   19785 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   19786   cat >>confdefs.h <<_ACEOF
   19787 #define HAVE_DLFCN_H 1
   19788 _ACEOF
   19789 
   19790 fi
   19791 
   19792 done
   19793 
   19794 fi
   19795 if test "x$ac_cv_header_dlfcn_h" = xyes -o "x$ac_cv_header_dl_h" = xyes; then
   19796 	HAVE_LOADABLE_MODULES=yes
   19797 else
   19798 	HAVE_LOADABLE_MODULES=no
   19799 fi
   19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_LOADABLE_MODULES" >&5
   19801 $as_echo "$HAVE_LOADABLE_MODULES" >&6; }
   19802 
   19803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if loadable i18n module support should be enabled" >&5
   19804 $as_echo_n "checking if loadable i18n module support should be enabled... " >&6; }
   19805 # Check whether --enable-loadable-i18n was given.
   19806 if test "${enable_loadable_i18n+set}" = set; then :
   19807   enableval=$enable_loadable_i18n; XLIB_LOADABLE_I18N=$enableval
   19808 else
   19809   XLIB_LOADABLE_I18N="no"
   19810 fi
   19811 
   19812 if test x$XLIB_LOADABLE_I18N = xyes; then
   19813 	if test x$HAVE_LOADABLE_MODULES = xno; then
   19814 		as_fn_error $? "Loadable module support is required to enable loadable i18n module support" "$LINENO" 5
   19815 	fi
   19816 
   19817 $as_echo "#define USE_DYNAMIC_LC 1" >>confdefs.h
   19818 
   19819 	I18N_MODULE_LIBS='${top_builddir}/src/libX11.la'
   19820 
   19821 fi
   19822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_I18N" >&5
   19823 $as_echo "$XLIB_LOADABLE_I18N" >&6; }
   19824 
   19825  if test x$XLIB_LOADABLE_I18N = xyes; then
   19826   XLIB_LOADABLE_I18N_TRUE=
   19827   XLIB_LOADABLE_I18N_FALSE='#'
   19828 else
   19829   XLIB_LOADABLE_I18N_TRUE='#'
   19830   XLIB_LOADABLE_I18N_FALSE=
   19831 fi
   19832 
   19833 
   19834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if loadable Xcursor library support should be enabled" >&5
   19835 $as_echo_n "checking if loadable Xcursor library support should be enabled... " >&6; }
   19836 # Check whether --enable-loadable-xcursor was given.
   19837 if test "${enable_loadable_xcursor+set}" = set; then :
   19838   enableval=$enable_loadable_xcursor; XLIB_LOADABLE_XCURSOR=$enableval
   19839 else
   19840   XLIB_LOADABLE_XCURSOR=$HAVE_LOADABLE_MODULES
   19841 fi
   19842 
   19843 if test x$XLIB_LOADABLE_XCURSOR = xyes; then
   19844 
   19845 $as_echo "#define USE_DYNAMIC_XCURSOR 1" >>confdefs.h
   19846 
   19847 fi
   19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_XCURSOR" >&5
   19849 $as_echo "$XLIB_LOADABLE_XCURSOR" >&6; }
   19850 
   19851 # Checks for header files.
   19852 for ac_header in sys/select.h
   19853 do :
   19854   ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
   19855 if test "x$ac_cv_header_sys_select_h" = xyes; then :
   19856   cat >>confdefs.h <<_ACEOF
   19857 #define HAVE_SYS_SELECT_H 1
   19858 _ACEOF
   19859 
   19860 fi
   19861 
   19862 done
   19863 
   19864 
   19865 # Checks for typedefs, structures, and compiler characteristics.
   19866 
   19867 # Checks for library functions.
   19868 for ac_func in strtol seteuid
   19869 do :
   19870   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   19871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   19872 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   19873   cat >>confdefs.h <<_ACEOF
   19874 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   19875 _ACEOF
   19876 
   19877 fi
   19878 done
   19879 
   19880 # Used in lcFile.c (see also --enable-xlocaledir settings below)
   19881 XLOCALEDIR_IS_SAFE="no"
   19882 ac_fn_c_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" "$ac_includes_default"
   19883 if test "x$ac_cv_have_decl_issetugid" = xyes; then :
   19884 
   19885 fi
   19886 
   19887 ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid"
   19888 if test "x$ac_cv_func_issetugid" = xyes; then :
   19889 
   19890 fi
   19891 
   19892 if test "$ac_cv_have_decl_issetugid" = yes && test "$ac_cv_func_issetugid" = yes; then
   19893     XLOCALEDIR_IS_SAFE="yes"
   19894 
   19895 $as_echo "#define HASSETUGID 1" >>confdefs.h
   19896 
   19897 fi
   19898 ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
   19899 if test "x$ac_cv_func_getresuid" = xyes; then :
   19900   XLOCALEDIR_IS_SAFE="yes"
   19901 
   19902 $as_echo "#define HASGETRESUID 1" >>confdefs.h
   19903 
   19904 fi
   19905 
   19906 # Used in Font.c
   19907 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   19908 if test "x$ac_cv_func_shmat" = xyes; then :
   19909 
   19910 $as_echo "#define HAS_SHM 1" >>confdefs.h
   19911 
   19912 fi
   19913 
   19914 
   19915 # Checks for system services
   19916 # AC_PATH_XTRA
   19917 
   19918 # arch specific things
   19919 WCHAR32="1"
   19920 case $host_os in
   19921   os2*) os2="true" ; WCHAR32="0" ;;
   19922   *) ;;
   19923 esac
   19924 
   19925 
   19926  if test x$os2 = xtrue; then
   19927   OS2_TRUE=
   19928   OS2_FALSE='#'
   19929 else
   19930   OS2_TRUE='#'
   19931   OS2_FALSE=
   19932 fi
   19933 
   19934 
   19935 
   19936 # Check whether --with-launchd was given.
   19937 if test "${with_launchd+set}" = set; then :
   19938   withval=$with_launchd; LAUNCHD=$withval
   19939 else
   19940   LAUNCHD=auto
   19941 fi
   19942 
   19943 if test "x$LAUNCHD" = xauto; then
   19944 	unset LAUNCHD
   19945 	# Extract the first word of "launchd", so it can be a program name with args.
   19946 set dummy launchd; ac_word=$2
   19947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19948 $as_echo_n "checking for $ac_word... " >&6; }
   19949 if ${ac_cv_prog_LAUNCHD+:} false; then :
   19950   $as_echo_n "(cached) " >&6
   19951 else
   19952   if test -n "$LAUNCHD"; then
   19953   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   19954 else
   19955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19956 for as_dir in $PATH$PATH_SEPARATOR/sbin
   19957 do
   19958   IFS=$as_save_IFS
   19959   test -z "$as_dir" && as_dir=.
   19960     for ac_exec_ext in '' $ac_executable_extensions; do
   19961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19962     ac_cv_prog_LAUNCHD="yes"
   19963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19964     break 2
   19965   fi
   19966 done
   19967   done
   19968 IFS=$as_save_IFS
   19969 
   19970   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   19971 fi
   19972 fi
   19973 LAUNCHD=$ac_cv_prog_LAUNCHD
   19974 if test -n "$LAUNCHD"; then
   19975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   19976 $as_echo "$LAUNCHD" >&6; }
   19977 else
   19978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19979 $as_echo "no" >&6; }
   19980 fi
   19981 
   19982 
   19983 fi
   19984 
   19985 if test "x$LAUNCHD" = xyes ; then
   19986 
   19987 $as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h
   19988 
   19989 
   19990 $as_echo "#define TRANS_REOPEN 1" >>confdefs.h
   19991 
   19992 fi
   19993 
   19994 # Check whether --enable-xthreads was given.
   19995 if test "${enable_xthreads+set}" = set; then :
   19996   enableval=$enable_xthreads; xthreads=$enableval
   19997 else
   19998   xthreads=yes
   19999 fi
   20000 
   20001 
   20002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r in -lc" >&5
   20003 $as_echo_n "checking for getpwuid_r in -lc... " >&6; }
   20004 if ${ac_cv_lib_c_getpwuid_r+:} false; then :
   20005   $as_echo_n "(cached) " >&6
   20006 else
   20007   ac_check_lib_save_LIBS=$LIBS
   20008 LIBS="-lc  $LIBS"
   20009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20010 /* end confdefs.h.  */
   20011 
   20012 /* Override any GCC internal prototype to avoid an error.
   20013    Use char because int might match the return type of a GCC
   20014    builtin and then its argument prototype would still apply.  */
   20015 #ifdef __cplusplus
   20016 extern "C"
   20017 #endif
   20018 char getpwuid_r ();
   20019 int
   20020 main ()
   20021 {
   20022 return getpwuid_r ();
   20023   ;
   20024   return 0;
   20025 }
   20026 _ACEOF
   20027 if ac_fn_c_try_link "$LINENO"; then :
   20028   ac_cv_lib_c_getpwuid_r=yes
   20029 else
   20030   ac_cv_lib_c_getpwuid_r=no
   20031 fi
   20032 rm -f core conftest.err conftest.$ac_objext \
   20033     conftest$ac_exeext conftest.$ac_ext
   20034 LIBS=$ac_check_lib_save_LIBS
   20035 fi
   20036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpwuid_r" >&5
   20037 $as_echo "$ac_cv_lib_c_getpwuid_r" >&6; }
   20038 if test "x$ac_cv_lib_c_getpwuid_r" = xyes; then :
   20039   mtsafeapi="yes"
   20040 else
   20041   mtsafeapi="no"
   20042 fi
   20043 
   20044 
   20045 case x$xthreads in
   20046 xyes)
   20047 
   20048 $as_echo "#define XTHREADS 1" >>confdefs.h
   20049 
   20050 	if test x$mtsafeapi = xyes
   20051 	then
   20052 
   20053 $as_echo "#define XUSE_MTSAFE_API 1" >>confdefs.h
   20054 
   20055 	fi
   20056 	;;
   20057 *)
   20058 	;;
   20059 esac
   20060 
   20061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lc" >&5
   20062 $as_echo_n "checking for pthread_self in -lc... " >&6; }
   20063 if ${ac_cv_lib_c_pthread_self+:} false; then :
   20064   $as_echo_n "(cached) " >&6
   20065 else
   20066   ac_check_lib_save_LIBS=$LIBS
   20067 LIBS="-lc  $LIBS"
   20068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20069 /* end confdefs.h.  */
   20070 
   20071 /* Override any GCC internal prototype to avoid an error.
   20072    Use char because int might match the return type of a GCC
   20073    builtin and then its argument prototype would still apply.  */
   20074 #ifdef __cplusplus
   20075 extern "C"
   20076 #endif
   20077 char pthread_self ();
   20078 int
   20079 main ()
   20080 {
   20081 return pthread_self ();
   20082   ;
   20083   return 0;
   20084 }
   20085 _ACEOF
   20086 if ac_fn_c_try_link "$LINENO"; then :
   20087   ac_cv_lib_c_pthread_self=yes
   20088 else
   20089   ac_cv_lib_c_pthread_self=no
   20090 fi
   20091 rm -f core conftest.err conftest.$ac_objext \
   20092     conftest$ac_exeext conftest.$ac_ext
   20093 LIBS=$ac_check_lib_save_LIBS
   20094 fi
   20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_self" >&5
   20096 $as_echo "$ac_cv_lib_c_pthread_self" >&6; }
   20097 if test "x$ac_cv_lib_c_pthread_self" = xyes; then :
   20098   thrstubs="no"
   20099 else
   20100   thrstubs="yes"
   20101 fi
   20102 
   20103  if test x$thrstubs = xyes; then
   20104   THRSTUBS_TRUE=
   20105   THRSTUBS_FALSE='#'
   20106 else
   20107   THRSTUBS_TRUE='#'
   20108   THRSTUBS_FALSE=
   20109 fi
   20110 
   20111 
   20112 # XXX incomplete, please fill this in
   20113 if test x$xthreads = xyes ; then
   20114     case $host_os in
   20115     linux*|gnu*|k*bsd*-gnu)
   20116         XTHREADLIB=-lpthread ;;
   20117     netbsd*)
   20118 	XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS"
   20119 	XTHREADLIB="-lpthread" ;;
   20120     freebsd*)
   20121         XTHREAD_CFLAGS="-D_THREAD_SAFE"
   20122         XTHREADLIB="-pthread" ;;
   20123     dragonfly*|openbsd*)
   20124         XTHREADLIB="-pthread" ;;
   20125     solaris*)
   20126 	XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
   20127     esac
   20128 fi
   20129 
   20130 
   20131 
   20132 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   20133 if test "x$ac_cv_func_poll" = xyes; then :
   20134 
   20135 $as_echo "#define USE_POLL 1" >>confdefs.h
   20136 
   20137 fi
   20138 
   20139 
   20140 #
   20141 # Find keysymdef.h
   20142 #
   20143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
   20144 $as_echo_n "checking keysym definitions... " >&6; }
   20145 
   20146 # Check whether --with-keysymdefdir was given.
   20147 if test "${with_keysymdefdir+set}" = set; then :
   20148   withval=$with_keysymdefdir; KEYSYMDEFDIR=$withval
   20149 else
   20150   KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
   20151 fi
   20152 
   20153 
   20154 if test ! -d "$KEYSYMDEFDIR"; then
   20155 	as_fn_error $? "$KEYSYMDEFDIR doesn't exist or isn't a directory" "$LINENO" 5
   20156 fi
   20157 
   20158 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
   20159 for i in $FILES; do
   20160     if test -f "$KEYSYMDEFDIR/$i"; then
   20161             KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
   20162     elif test "x$i" = "xkeysymdef.h"; then
   20163 	    as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
   20164     fi
   20165 done
   20166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
   20167 $as_echo "$KEYSYMDEFS" >&6; }
   20168 
   20169 
   20170 # Check whether --enable-xcms was given.
   20171 if test "${enable_xcms+set}" = set; then :
   20172   enableval=$enable_xcms; XCMS=$enableval
   20173 else
   20174   XCMS=yes
   20175 fi
   20176 
   20177  if test x$XCMS = xyes ; then
   20178   XCMS_TRUE=
   20179   XCMS_FALSE='#'
   20180 else
   20181   XCMS_TRUE='#'
   20182   XCMS_FALSE=
   20183 fi
   20184 
   20185 if test x"$XCMS" = "xyes"; then
   20186 
   20187 $as_echo "#define XCMS 1" >>confdefs.h
   20188 
   20189 fi
   20190 
   20191 # Check whether --enable-xlocale was given.
   20192 if test "${enable_xlocale+set}" = set; then :
   20193   enableval=$enable_xlocale; XLOCALE=$enableval
   20194 else
   20195   XLOCALE=yes
   20196 fi
   20197 
   20198 
   20199  if  test x$XLOCALE = xyes ; then
   20200   XLOCALE_TRUE=
   20201   XLOCALE_FALSE='#'
   20202 else
   20203   XLOCALE_TRUE='#'
   20204   XLOCALE_FALSE=
   20205 fi
   20206 
   20207 if test x"$XLOCALE" = "xyes"; then
   20208 
   20209 $as_echo "#define XLOCALE 1" >>confdefs.h
   20210 
   20211 fi
   20212 
   20213 # This disables XLOCALEDIR.  Set it if you're using BuildLoadableXlibI18n,
   20214 # don't have either issetugid() or getresuid(), and you need to protect
   20215 # clients that are setgid or setuid to an id other than 0.
   20216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if XLOCALEDIR support should be enabled" >&5
   20217 $as_echo_n "checking if XLOCALEDIR support should be enabled... " >&6; }
   20218 # Check whether --enable-xlocaledir was given.
   20219 if test "${enable_xlocaledir+set}" = set; then :
   20220   enableval=$enable_xlocaledir; ENABLE_XLOCALEDIR=$enableval
   20221 else
   20222   ENABLE_XLOCALEDIR=$XLOCALEDIR_IS_SAFE
   20223 fi
   20224 
   20225 if test "x$ENABLE_XLOCALEDIR" = "xno"; then
   20226 
   20227 $as_echo "#define NO_XLOCALEDIR 1" >>confdefs.h
   20228 
   20229 fi
   20230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENABLE_XLOCALEDIR" >&5
   20231 $as_echo "$ENABLE_XLOCALEDIR" >&6; }
   20232 
   20233 # Check whether --enable-xf86bigfont was given.
   20234 if test "${enable_xf86bigfont+set}" = set; then :
   20235   enableval=$enable_xf86bigfont; XF86BIGFONT=$enableval
   20236 else
   20237   XF86BIGFONT="yes"
   20238 fi
   20239 
   20240 if test "x$XF86BIGFONT" = "xyes"; then
   20241 
   20242 pkg_failed=no
   20243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BIGFONT" >&5
   20244 $as_echo_n "checking for BIGFONT... " >&6; }
   20245 
   20246 if test -n "$BIGFONT_CFLAGS"; then
   20247     pkg_cv_BIGFONT_CFLAGS="$BIGFONT_CFLAGS"
   20248  elif test -n "$PKG_CONFIG"; then
   20249     if test -n "$PKG_CONFIG" && \
   20250     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   20251   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   20252   ac_status=$?
   20253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20254   test $ac_status = 0; }; then
   20255   pkg_cv_BIGFONT_CFLAGS=`$PKG_CONFIG --cflags "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   20256 		      test "x$?" != "x0" && pkg_failed=yes
   20257 else
   20258   pkg_failed=yes
   20259 fi
   20260  else
   20261     pkg_failed=untried
   20262 fi
   20263 if test -n "$BIGFONT_LIBS"; then
   20264     pkg_cv_BIGFONT_LIBS="$BIGFONT_LIBS"
   20265  elif test -n "$PKG_CONFIG"; then
   20266     if test -n "$PKG_CONFIG" && \
   20267     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   20268   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   20269   ac_status=$?
   20270   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20271   test $ac_status = 0; }; then
   20272   pkg_cv_BIGFONT_LIBS=`$PKG_CONFIG --libs "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   20273 		      test "x$?" != "x0" && pkg_failed=yes
   20274 else
   20275   pkg_failed=yes
   20276 fi
   20277  else
   20278     pkg_failed=untried
   20279 fi
   20280 
   20281 
   20282 
   20283 if test $pkg_failed = yes; then
   20284    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20285 $as_echo "no" >&6; }
   20286 
   20287 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20288         _pkg_short_errors_supported=yes
   20289 else
   20290         _pkg_short_errors_supported=no
   20291 fi
   20292         if test $_pkg_short_errors_supported = yes; then
   20293 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   20294         else
   20295 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   20296         fi
   20297 	# Put the nasty error message in config.log where it belongs
   20298 	echo "$BIGFONT_PKG_ERRORS" >&5
   20299 
   20300 	XF86BIGFONT="no"
   20301 elif test $pkg_failed = untried; then
   20302      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20303 $as_echo "no" >&6; }
   20304 	XF86BIGFONT="no"
   20305 else
   20306 	BIGFONT_CFLAGS=$pkg_cv_BIGFONT_CFLAGS
   20307 	BIGFONT_LIBS=$pkg_cv_BIGFONT_LIBS
   20308         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20309 $as_echo "yes" >&6; }
   20310 
   20311 $as_echo "#define XF86BIGFONT 1" >>confdefs.h
   20312 
   20313 fi
   20314 fi
   20315 
   20316 # Check whether --enable-xkb was given.
   20317 if test "${enable_xkb+set}" = set; then :
   20318   enableval=$enable_xkb; XKB=$enableval
   20319 else
   20320   XKB=yes
   20321 fi
   20322 
   20323 
   20324  if  test x$XKB = xyes ; then
   20325   XKB_TRUE=
   20326   XKB_FALSE='#'
   20327 else
   20328   XKB_TRUE='#'
   20329   XKB_FALSE=
   20330 fi
   20331 
   20332 if test x"$XKB" = "xyes"; then
   20333    XKBPROTO_REQUIRES="kbproto"
   20334    X11_REQUIRES="${X11_REQUIRES} kbproto inputproto"
   20335 
   20336 $as_echo "#define XKB 1" >>confdefs.h
   20337 
   20338 else
   20339    XKBPROTO_REQUIRES=""
   20340 fi
   20341 
   20342 
   20343 
   20344 
   20345 
   20346   for ac_header in $ac_header_list
   20347 do :
   20348   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20349 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   20350 "
   20351 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   20352   cat >>confdefs.h <<_ACEOF
   20353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20354 _ACEOF
   20355 
   20356 fi
   20357 
   20358 done
   20359 
   20360 
   20361 
   20362 
   20363 
   20364 
   20365 
   20366 
   20367 for ac_func in getpagesize
   20368 do :
   20369   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   20370 if test "x$ac_cv_func_getpagesize" = xyes; then :
   20371   cat >>confdefs.h <<_ACEOF
   20372 #define HAVE_GETPAGESIZE 1
   20373 _ACEOF
   20374 
   20375 fi
   20376 done
   20377 
   20378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   20379 $as_echo_n "checking for working mmap... " >&6; }
   20380 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   20381   $as_echo_n "(cached) " >&6
   20382 else
   20383   if test "$cross_compiling" = yes; then :
   20384   ac_cv_func_mmap_fixed_mapped=no
   20385 else
   20386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20387 /* end confdefs.h.  */
   20388 $ac_includes_default
   20389 /* malloc might have been renamed as rpl_malloc. */
   20390 #undef malloc
   20391 
   20392 /* Thanks to Mike Haertel and Jim Avera for this test.
   20393    Here is a matrix of mmap possibilities:
   20394 	mmap private not fixed
   20395 	mmap private fixed at somewhere currently unmapped
   20396 	mmap private fixed at somewhere already mapped
   20397 	mmap shared not fixed
   20398 	mmap shared fixed at somewhere currently unmapped
   20399 	mmap shared fixed at somewhere already mapped
   20400    For private mappings, we should verify that changes cannot be read()
   20401    back from the file, nor mmap's back from the file at a different
   20402    address.  (There have been systems where private was not correctly
   20403    implemented like the infamous i386 svr4.0, and systems where the
   20404    VM page cache was not coherent with the file system buffer cache
   20405    like early versions of FreeBSD and possibly contemporary NetBSD.)
   20406    For shared mappings, we should conversely verify that changes get
   20407    propagated back to all the places they're supposed to be.
   20408 
   20409    Grep wants private fixed already mapped.
   20410    The main things grep needs to know about mmap are:
   20411    * does it exist and is it safe to write into the mmap'd area
   20412    * how to use it (BSD variants)  */
   20413 
   20414 #include <fcntl.h>
   20415 #include <sys/mman.h>
   20416 
   20417 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   20418 char *malloc ();
   20419 #endif
   20420 
   20421 /* This mess was copied from the GNU getpagesize.h.  */
   20422 #ifndef HAVE_GETPAGESIZE
   20423 # ifdef _SC_PAGESIZE
   20424 #  define getpagesize() sysconf(_SC_PAGESIZE)
   20425 # else /* no _SC_PAGESIZE */
   20426 #  ifdef HAVE_SYS_PARAM_H
   20427 #   include <sys/param.h>
   20428 #   ifdef EXEC_PAGESIZE
   20429 #    define getpagesize() EXEC_PAGESIZE
   20430 #   else /* no EXEC_PAGESIZE */
   20431 #    ifdef NBPG
   20432 #     define getpagesize() NBPG * CLSIZE
   20433 #     ifndef CLSIZE
   20434 #      define CLSIZE 1
   20435 #     endif /* no CLSIZE */
   20436 #    else /* no NBPG */
   20437 #     ifdef NBPC
   20438 #      define getpagesize() NBPC
   20439 #     else /* no NBPC */
   20440 #      ifdef PAGESIZE
   20441 #       define getpagesize() PAGESIZE
   20442 #      endif /* PAGESIZE */
   20443 #     endif /* no NBPC */
   20444 #    endif /* no NBPG */
   20445 #   endif /* no EXEC_PAGESIZE */
   20446 #  else /* no HAVE_SYS_PARAM_H */
   20447 #   define getpagesize() 8192	/* punt totally */
   20448 #  endif /* no HAVE_SYS_PARAM_H */
   20449 # endif /* no _SC_PAGESIZE */
   20450 
   20451 #endif /* no HAVE_GETPAGESIZE */
   20452 
   20453 int
   20454 main ()
   20455 {
   20456   char *data, *data2, *data3;
   20457   const char *cdata2;
   20458   int i, pagesize;
   20459   int fd, fd2;
   20460 
   20461   pagesize = getpagesize ();
   20462 
   20463   /* First, make a file with some known garbage in it. */
   20464   data = (char *) malloc (pagesize);
   20465   if (!data)
   20466     return 1;
   20467   for (i = 0; i < pagesize; ++i)
   20468     *(data + i) = rand ();
   20469   umask (0);
   20470   fd = creat ("conftest.mmap", 0600);
   20471   if (fd < 0)
   20472     return 2;
   20473   if (write (fd, data, pagesize) != pagesize)
   20474     return 3;
   20475   close (fd);
   20476 
   20477   /* Next, check that the tail of a page is zero-filled.  File must have
   20478      non-zero length, otherwise we risk SIGBUS for entire page.  */
   20479   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   20480   if (fd2 < 0)
   20481     return 4;
   20482   cdata2 = "";
   20483   if (write (fd2, cdata2, 1) != 1)
   20484     return 5;
   20485   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   20486   if (data2 == MAP_FAILED)
   20487     return 6;
   20488   for (i = 0; i < pagesize; ++i)
   20489     if (*(data2 + i))
   20490       return 7;
   20491   close (fd2);
   20492   if (munmap (data2, pagesize))
   20493     return 8;
   20494 
   20495   /* Next, try to mmap the file at a fixed address which already has
   20496      something else allocated at it.  If we can, also make sure that
   20497      we see the same garbage.  */
   20498   fd = open ("conftest.mmap", O_RDWR);
   20499   if (fd < 0)
   20500     return 9;
   20501   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   20502 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   20503     return 10;
   20504   for (i = 0; i < pagesize; ++i)
   20505     if (*(data + i) != *(data2 + i))
   20506       return 11;
   20507 
   20508   /* Finally, make sure that changes to the mapped area do not
   20509      percolate back to the file as seen by read().  (This is a bug on
   20510      some variants of i386 svr4.0.)  */
   20511   for (i = 0; i < pagesize; ++i)
   20512     *(data2 + i) = *(data2 + i) + 1;
   20513   data3 = (char *) malloc (pagesize);
   20514   if (!data3)
   20515     return 12;
   20516   if (read (fd, data3, pagesize) != pagesize)
   20517     return 13;
   20518   for (i = 0; i < pagesize; ++i)
   20519     if (*(data + i) != *(data3 + i))
   20520       return 14;
   20521   close (fd);
   20522   return 0;
   20523 }
   20524 _ACEOF
   20525 if ac_fn_c_try_run "$LINENO"; then :
   20526   ac_cv_func_mmap_fixed_mapped=yes
   20527 else
   20528   ac_cv_func_mmap_fixed_mapped=no
   20529 fi
   20530 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20531   conftest.$ac_objext conftest.beam conftest.$ac_ext
   20532 fi
   20533 
   20534 fi
   20535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   20536 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   20537 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   20538 
   20539 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   20540 
   20541 fi
   20542 rm -f conftest.mmap conftest.txt
   20543 
   20544 composecache_default=$ac_cv_func_mmap_fixed_mapped
   20545 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
   20546 if test "x$ac_cv_func_nl_langinfo" = xyes; then :
   20547 
   20548 else
   20549   composecache_default=no
   20550 fi
   20551 
   20552 # Check whether --enable-composecache was given.
   20553 if test "${enable_composecache+set}" = set; then :
   20554   enableval=$enable_composecache; COMPOSECACHE=$enableval
   20555 else
   20556   COMPOSECACHE=$composecache_default
   20557 fi
   20558 
   20559 if test x"$COMPOSECACHE" = "xyes"; then
   20560 
   20561 $as_echo "#define COMPOSECACHE 1" >>confdefs.h
   20562 
   20563 fi
   20564 
   20565 # Allow checking code with lint, sparse, etc.
   20566 
   20567 
   20568 
   20569 
   20570 
   20571 # Check whether --with-lint was given.
   20572 if test "${with_lint+set}" = set; then :
   20573   withval=$with_lint; use_lint=$withval
   20574 else
   20575   use_lint=no
   20576 fi
   20577 
   20578 
   20579 # Obtain platform specific info like program name and options
   20580 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   20581 case $host_os in
   20582   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   20583 	lint_name=splint
   20584 	lint_options="-badflag"
   20585 	;;
   20586   *freebsd* | *netbsd*)
   20587 	lint_name=lint
   20588 	lint_options="-u -b"
   20589 	;;
   20590   *solaris*)
   20591 	lint_name=lint
   20592 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   20593 	;;
   20594 esac
   20595 
   20596 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   20597 if test "x$use_lint" = x"yes" ; then
   20598    # Extract the first word of "$lint_name", so it can be a program name with args.
   20599 set dummy $lint_name; ac_word=$2
   20600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20601 $as_echo_n "checking for $ac_word... " >&6; }
   20602 if ${ac_cv_path_LINT+:} false; then :
   20603   $as_echo_n "(cached) " >&6
   20604 else
   20605   case $LINT in
   20606   [\\/]* | ?:[\\/]*)
   20607   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   20608   ;;
   20609   *)
   20610   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20611 for as_dir in $PATH
   20612 do
   20613   IFS=$as_save_IFS
   20614   test -z "$as_dir" && as_dir=.
   20615     for ac_exec_ext in '' $ac_executable_extensions; do
   20616   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   20617     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   20618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   20619     break 2
   20620   fi
   20621 done
   20622   done
   20623 IFS=$as_save_IFS
   20624 
   20625   ;;
   20626 esac
   20627 fi
   20628 LINT=$ac_cv_path_LINT
   20629 if test -n "$LINT"; then
   20630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   20631 $as_echo "$LINT" >&6; }
   20632 else
   20633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20634 $as_echo "no" >&6; }
   20635 fi
   20636 
   20637 
   20638    if test "x$LINT" = "x"; then
   20639         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   20640    fi
   20641 elif test "x$use_lint" = x"no" ; then
   20642    if test "x$LINT" != "x"; then
   20643       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   20644 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   20645    fi
   20646 else
   20647    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   20648 fi
   20649 
   20650 # User supplied flags override default flags
   20651 if test "x$LINT_FLAGS" != "x"; then
   20652    lint_options=$LINT_FLAGS
   20653 fi
   20654 
   20655 LINT_FLAGS=$lint_options
   20656 
   20657  if test "x$LINT" != x; then
   20658   LINT_TRUE=
   20659   LINT_FALSE='#'
   20660 else
   20661   LINT_TRUE='#'
   20662   LINT_FALSE=
   20663 fi
   20664 
   20665 
   20666 
   20667 
   20668 
   20669 # Check whether --enable-lint-library was given.
   20670 if test "${enable_lint_library+set}" = set; then :
   20671   enableval=$enable_lint_library; make_lint_lib=$enableval
   20672 else
   20673   make_lint_lib=no
   20674 fi
   20675 
   20676 
   20677 if test "x$make_lint_lib" = x"yes" ; then
   20678    LINTLIB=llib-lX11.ln
   20679    if test "x$LINT" = "x"; then
   20680         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   20681    fi
   20682 elif test "x$make_lint_lib" != x"no" ; then
   20683    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   20684 fi
   20685 
   20686 
   20687  if test x$make_lint_lib != xno; then
   20688   MAKE_LINT_LIB_TRUE=
   20689   MAKE_LINT_LIB_FALSE='#'
   20690 else
   20691   MAKE_LINT_LIB_TRUE='#'
   20692   MAKE_LINT_LIB_FALSE=
   20693 fi
   20694 
   20695 
   20696 
   20697 
   20698 X11_DATADIR="${datadir}/X11"
   20699 
   20700   prefix_NONE=
   20701   exec_prefix_NONE=
   20702   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20703   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20704   eval ax_define_dir="\"$X11_DATADIR\""
   20705   eval ax_define_dir="\"$ax_define_dir\""
   20706   X11_DATADIR="$ax_define_dir"
   20707 
   20708 
   20709 cat >>confdefs.h <<_ACEOF
   20710 #define X11_DATADIR "$ax_define_dir"
   20711 _ACEOF
   20712 
   20713   test "$prefix_NONE" && prefix=NONE
   20714   test "$exec_prefix_NONE" && exec_prefix=NONE
   20715 
   20716 
   20717 
   20718 X11_LIBDIR="${libdir}/X11"
   20719 
   20720   prefix_NONE=
   20721   exec_prefix_NONE=
   20722   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20723   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20724   eval ax_define_dir="\"$X11_LIBDIR\""
   20725   eval ax_define_dir="\"$ax_define_dir\""
   20726   X11_LIBDIR="$ax_define_dir"
   20727 
   20728 
   20729 cat >>confdefs.h <<_ACEOF
   20730 #define X11_LIBDIR "$ax_define_dir"
   20731 _ACEOF
   20732 
   20733   test "$prefix_NONE" && prefix=NONE
   20734   test "$exec_prefix_NONE" && exec_prefix=NONE
   20735 
   20736 
   20737 
   20738 
   20739 pkg_failed=no
   20740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   20741 $as_echo_n "checking for X11... " >&6; }
   20742 
   20743 if test -n "$X11_CFLAGS"; then
   20744     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   20745  elif test -n "$PKG_CONFIG"; then
   20746     if test -n "$PKG_CONFIG" && \
   20747     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   20748   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   20749   ac_status=$?
   20750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20751   test $ac_status = 0; }; then
   20752   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$X11_REQUIRES" 2>/dev/null`
   20753 		      test "x$?" != "x0" && pkg_failed=yes
   20754 else
   20755   pkg_failed=yes
   20756 fi
   20757  else
   20758     pkg_failed=untried
   20759 fi
   20760 if test -n "$X11_LIBS"; then
   20761     pkg_cv_X11_LIBS="$X11_LIBS"
   20762  elif test -n "$PKG_CONFIG"; then
   20763     if test -n "$PKG_CONFIG" && \
   20764     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   20765   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   20766   ac_status=$?
   20767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20768   test $ac_status = 0; }; then
   20769   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$X11_REQUIRES" 2>/dev/null`
   20770 		      test "x$?" != "x0" && pkg_failed=yes
   20771 else
   20772   pkg_failed=yes
   20773 fi
   20774  else
   20775     pkg_failed=untried
   20776 fi
   20777 
   20778 
   20779 
   20780 if test $pkg_failed = yes; then
   20781    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20782 $as_echo "no" >&6; }
   20783 
   20784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20785         _pkg_short_errors_supported=yes
   20786 else
   20787         _pkg_short_errors_supported=no
   20788 fi
   20789         if test $_pkg_short_errors_supported = yes; then
   20790 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   20791         else
   20792 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   20793         fi
   20794 	# Put the nasty error message in config.log where it belongs
   20795 	echo "$X11_PKG_ERRORS" >&5
   20796 
   20797 	as_fn_error $? "Package requirements ($X11_REQUIRES) were not met:
   20798 
   20799 $X11_PKG_ERRORS
   20800 
   20801 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20802 installed software in a non-standard prefix.
   20803 
   20804 Alternatively, you may set the environment variables X11_CFLAGS
   20805 and X11_LIBS to avoid the need to call pkg-config.
   20806 See the pkg-config man page for more details." "$LINENO" 5
   20807 elif test $pkg_failed = untried; then
   20808      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20809 $as_echo "no" >&6; }
   20810 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20812 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20813 is in your PATH or set the PKG_CONFIG environment variable to the full
   20814 path to pkg-config.
   20815 
   20816 Alternatively, you may set the environment variables X11_CFLAGS
   20817 and X11_LIBS to avoid the need to call pkg-config.
   20818 See the pkg-config man page for more details.
   20819 
   20820 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20821 See \`config.log' for more details" "$LINENO" 5; }
   20822 else
   20823 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   20824 	X11_LIBS=$pkg_cv_X11_LIBS
   20825         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20826 $as_echo "yes" >&6; }
   20827 
   20828 fi
   20829 X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
   20830 
   20831 #
   20832 # Yes, it would be nice to put the locale data in
   20833 # /usr/share, but the locale stuff includes loadable
   20834 # libraries which must be located in the same directory
   20835 # as the other locale data, so for now, everything lives
   20836 # in ${libdir}
   20837 #
   20838 
   20839 X11_LOCALEDATADIR="${X11_DATADIR}/locale"
   20840 
   20841   prefix_NONE=
   20842   exec_prefix_NONE=
   20843   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20844   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20845   eval ax_define_dir="\"$X11_LOCALEDATADIR\""
   20846   eval ax_define_dir="\"$ax_define_dir\""
   20847   XLOCALEDATADIR="$ax_define_dir"
   20848 
   20849 
   20850 cat >>confdefs.h <<_ACEOF
   20851 #define XLOCALEDATADIR "$ax_define_dir"
   20852 _ACEOF
   20853 
   20854   test "$prefix_NONE" && prefix=NONE
   20855   test "$exec_prefix_NONE" && exec_prefix=NONE
   20856 
   20857 
   20858 
   20859 
   20860 # Check whether --with-locale-lib-dir was given.
   20861 if test "${with_locale_lib_dir+set}" = set; then :
   20862   withval=$with_locale_lib_dir;  X11_LOCALELIBDIR="$withval"
   20863 else
   20864    X11_LOCALELIBDIR="${X11_LIBDIR}/locale"
   20865 fi
   20866 
   20867 
   20868   prefix_NONE=
   20869   exec_prefix_NONE=
   20870   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20871   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20872   eval ax_define_dir="\"$X11_LOCALELIBDIR\""
   20873   eval ax_define_dir="\"$ax_define_dir\""
   20874   XLOCALELIBDIR="$ax_define_dir"
   20875 
   20876 
   20877 cat >>confdefs.h <<_ACEOF
   20878 #define XLOCALELIBDIR "$ax_define_dir"
   20879 _ACEOF
   20880 
   20881   test "$prefix_NONE" && prefix=NONE
   20882   test "$exec_prefix_NONE" && exec_prefix=NONE
   20883 
   20884 
   20885 
   20886 X11_LOCALEDIR="${X11_LOCALEDATADIR}"
   20887 
   20888   prefix_NONE=
   20889   exec_prefix_NONE=
   20890   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20891   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20892   eval ax_define_dir="\"$X11_LOCALEDIR\""
   20893   eval ax_define_dir="\"$ax_define_dir\""
   20894   XLOCALEDIR="$ax_define_dir"
   20895 
   20896 
   20897 cat >>confdefs.h <<_ACEOF
   20898 #define XLOCALEDIR "$ax_define_dir"
   20899 _ACEOF
   20900 
   20901   test "$prefix_NONE" && prefix=NONE
   20902   test "$exec_prefix_NONE" && exec_prefix=NONE
   20903 
   20904 
   20905 
   20906 locales="\
   20907  am_ET.UTF-8  armscii-8   C           cs_CZ.UTF-8  el_GR.UTF-8  en_US.UTF-8 \
   20908  fi_FI.UTF-8  georgian-academy        georgian-ps  ibm-cp1133   iscii-dev \
   20909  isiri-3342   iso8859-1   iso8859-10  iso8859-11   iso8859-13   iso8859-14 \
   20910  iso8859-15   iso8859-2   iso8859-3   iso8859-4    iso8859-5    iso8859-6 \
   20911  iso8859-7    iso8859-8   iso8859-9   iso8859-9e   ja           ja.JIS \
   20912  ja_JP.UTF-8  ja.SJIS     km_KH.UTF-8 ko           koi8-c       koi8-r \
   20913  koi8-u       ko_KR.UTF-8 microsoft-cp1251         microsoft-cp1255 \
   20914  microsoft-cp1256         mulelao-1   nokhchi-1    pt_BR.UTF-8  pt_PT.UTF-8 \
   20915  ru_RU.UTF-8  sr_CS.UTF-8 tatar-cyr   th_TH        th_TH.UTF-8  tscii-0 \
   20916  vi_VN.tcvn   vi_VN.viscii            zh_CN        zh_CN.gb18030 \
   20917  zh_CN.gbk    zh_CN.UTF-8 zh_HK.big5  zh_HK.big5hkscs           zh_HK.UTF-8 \
   20918  zh_TW        zh_TW.big5  zh_TW.UTF-8"
   20919 
   20920 
   20921 XKEYSYMDB="${X11_DATADIR}/XKeysymDB"
   20922 
   20923   prefix_NONE=
   20924   exec_prefix_NONE=
   20925   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20926   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20927   eval ax_define_dir="\"$XKEYSYMDB\""
   20928   eval ax_define_dir="\"$ax_define_dir\""
   20929   XKEYSYMDB="$ax_define_dir"
   20930 
   20931 
   20932 cat >>confdefs.h <<_ACEOF
   20933 #define XKEYSYMDB "$ax_define_dir"
   20934 _ACEOF
   20935 
   20936   test "$prefix_NONE" && prefix=NONE
   20937   test "$exec_prefix_NONE" && exec_prefix=NONE
   20938 
   20939 
   20940 XERRORDB="${X11_DATADIR}/XErrorDB"
   20941 
   20942   prefix_NONE=
   20943   exec_prefix_NONE=
   20944   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20945   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20946   eval ax_define_dir="\"$XERRORDB\""
   20947   eval ax_define_dir="\"$ax_define_dir\""
   20948   XERRORDB="$ax_define_dir"
   20949 
   20950 
   20951 cat >>confdefs.h <<_ACEOF
   20952 #define XERRORDB "$ax_define_dir"
   20953 _ACEOF
   20954 
   20955   test "$prefix_NONE" && prefix=NONE
   20956   test "$exec_prefix_NONE" && exec_prefix=NONE
   20957 
   20958 
   20959 
   20960 # Check whether --enable-malloc0returnsnull was given.
   20961 if test "${enable_malloc0returnsnull+set}" = set; then :
   20962   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20963 else
   20964   MALLOC_ZERO_RETURNS_NULL=auto
   20965 fi
   20966 
   20967 
   20968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   20969 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   20970 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   20971 if ${xorg_cv_malloc0_returns_null+:} false; then :
   20972   $as_echo_n "(cached) " >&6
   20973 else
   20974   if test "$cross_compiling" = yes; then :
   20975   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20977 as_fn_error $? "cannot run test program while cross compiling
   20978 See \`config.log' for more details" "$LINENO" 5; }
   20979 else
   20980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20981 /* end confdefs.h.  */
   20982 
   20983 #include <stdlib.h>
   20984 
   20985 int
   20986 main ()
   20987 {
   20988 
   20989     char *m0, *r0, *c0, *p;
   20990     m0 = malloc(0);
   20991     p = malloc(10);
   20992     r0 = realloc(p,0);
   20993     c0 = calloc(0,10);
   20994     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   20995 
   20996   ;
   20997   return 0;
   20998 }
   20999 _ACEOF
   21000 if ac_fn_c_try_run "$LINENO"; then :
   21001   xorg_cv_malloc0_returns_null=yes
   21002 else
   21003   xorg_cv_malloc0_returns_null=no
   21004 fi
   21005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   21006   conftest.$ac_objext conftest.beam conftest.$ac_ext
   21007 fi
   21008 
   21009 fi
   21010 
   21011 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   21012 fi
   21013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   21014 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   21015 
   21016 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   21017 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   21018 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   21019 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   21020 else
   21021 	MALLOC_ZERO_CFLAGS=""
   21022 	XMALLOC_ZERO_CFLAGS=""
   21023 	XTMALLOC_ZERO_CFLAGS=""
   21024 fi
   21025 
   21026 
   21027 
   21028 
   21029 
   21030 
   21031 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/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"
   21032 
   21033 cat >confcache <<\_ACEOF
   21034 # This file is a shell script that caches the results of configure
   21035 # tests run on this system so they can be shared between configure
   21036 # scripts and configure runs, see configure's option --config-cache.
   21037 # It is not useful on other systems.  If it contains results you don't
   21038 # want to keep, you may remove or edit it.
   21039 #
   21040 # config.status only pays attention to the cache file if you give it
   21041 # the --recheck option to rerun configure.
   21042 #
   21043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21045 # following values.
   21046 
   21047 _ACEOF
   21048 
   21049 # The following way of writing the cache mishandles newlines in values,
   21050 # but we know of no workaround that is simple, portable, and efficient.
   21051 # So, we kill variables containing newlines.
   21052 # Ultrix sh set writes to stderr and can't be redirected directly,
   21053 # and sets the high bit in the cache file unless we assign to the vars.
   21054 (
   21055   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21056     eval ac_val=\$$ac_var
   21057     case $ac_val in #(
   21058     *${as_nl}*)
   21059       case $ac_var in #(
   21060       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   21061 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21062       esac
   21063       case $ac_var in #(
   21064       _ | IFS | as_nl) ;; #(
   21065       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21066       *) { eval $ac_var=; unset $ac_var;} ;;
   21067       esac ;;
   21068     esac
   21069   done
   21070 
   21071   (set) 2>&1 |
   21072     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21073     *${as_nl}ac_space=\ *)
   21074       # `set' does not quote correctly, so add quotes: double-quote
   21075       # substitution turns \\\\ into \\, and sed turns \\ into \.
   21076       sed -n \
   21077 	"s/'/'\\\\''/g;
   21078 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21079       ;; #(
   21080     *)
   21081       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21082       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21083       ;;
   21084     esac |
   21085     sort
   21086 ) |
   21087   sed '
   21088      /^ac_cv_env_/b end
   21089      t clear
   21090      :clear
   21091      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21092      t end
   21093      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21094      :end' >>confcache
   21095 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21096   if test -w "$cache_file"; then
   21097     if test "x$cache_file" != "x/dev/null"; then
   21098       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21099 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21100       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21101 	cat confcache >"$cache_file"
   21102       else
   21103         case $cache_file in #(
   21104         */* | ?:*)
   21105 	  mv -f confcache "$cache_file"$$ &&
   21106 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21107         *)
   21108 	  mv -f confcache "$cache_file" ;;
   21109 	esac
   21110       fi
   21111     fi
   21112   else
   21113     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21114 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21115   fi
   21116 fi
   21117 rm -f confcache
   21118 
   21119 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21120 # Let make expand exec_prefix.
   21121 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21122 
   21123 DEFS=-DHAVE_CONFIG_H
   21124 
   21125 ac_libobjs=
   21126 ac_ltlibobjs=
   21127 U=
   21128 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21129   # 1. Remove the extension, and $U if already installed.
   21130   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21131   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21132   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21133   #    will be set to the directory where LIBOBJS objects are built.
   21134   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21135   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21136 done
   21137 LIBOBJS=$ac_libobjs
   21138 
   21139 LTLIBOBJS=$ac_ltlibobjs
   21140 
   21141 
   21142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21143 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   21144    if test -n "$am_sleep_pid"; then
   21145      # Hide warnings about reused PIDs.
   21146      wait $am_sleep_pid 2>/dev/null
   21147    fi
   21148    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21149 $as_echo "done" >&6; }
   21150 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21151   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21153 fi
   21154 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21155   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21157 fi
   21158  if test -n "$EXEEXT"; then
   21159   am__EXEEXT_TRUE=
   21160   am__EXEEXT_FALSE='#'
   21161 else
   21162   am__EXEEXT_TRUE='#'
   21163   am__EXEEXT_FALSE=
   21164 fi
   21165 
   21166 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   21167   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   21168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21169 fi
   21170 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   21171   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   21172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21173 fi
   21174 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   21175   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   21176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21177 fi
   21178 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   21179   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   21180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21181 fi
   21182 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   21183   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   21184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21185 fi
   21186 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   21187   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   21188 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21189 fi
   21190 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   21191   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   21192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21193 fi
   21194 if test -z "${XLIB_LOADABLE_I18N_TRUE}" && test -z "${XLIB_LOADABLE_I18N_FALSE}"; then
   21195   as_fn_error $? "conditional \"XLIB_LOADABLE_I18N\" was never defined.
   21196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21197 fi
   21198 if test -z "${OS2_TRUE}" && test -z "${OS2_FALSE}"; then
   21199   as_fn_error $? "conditional \"OS2\" was never defined.
   21200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21201 fi
   21202 if test -z "${THRSTUBS_TRUE}" && test -z "${THRSTUBS_FALSE}"; then
   21203   as_fn_error $? "conditional \"THRSTUBS\" was never defined.
   21204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21205 fi
   21206 if test -z "${XCMS_TRUE}" && test -z "${XCMS_FALSE}"; then
   21207   as_fn_error $? "conditional \"XCMS\" was never defined.
   21208 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21209 fi
   21210 if test -z "${XLOCALE_TRUE}" && test -z "${XLOCALE_FALSE}"; then
   21211   as_fn_error $? "conditional \"XLOCALE\" was never defined.
   21212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21213 fi
   21214 if test -z "${XKB_TRUE}" && test -z "${XKB_FALSE}"; then
   21215   as_fn_error $? "conditional \"XKB\" was never defined.
   21216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21217 fi
   21218 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   21219   as_fn_error $? "conditional \"LINT\" was never defined.
   21220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21221 fi
   21222 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   21223   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   21224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21225 fi
   21226 
   21227 : "${CONFIG_STATUS=./config.status}"
   21228 ac_write_fail=0
   21229 ac_clean_files_save=$ac_clean_files
   21230 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21231 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21232 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21233 as_write_fail=0
   21234 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   21235 #! $SHELL
   21236 # Generated by $as_me.
   21237 # Run this file to recreate the current configuration.
   21238 # Compiler output produced by configure, useful for debugging
   21239 # configure, is in config.log if it exists.
   21240 
   21241 debug=false
   21242 ac_cs_recheck=false
   21243 ac_cs_silent=false
   21244 
   21245 SHELL=\${CONFIG_SHELL-$SHELL}
   21246 export SHELL
   21247 _ASEOF
   21248 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   21249 ## -------------------- ##
   21250 ## M4sh Initialization. ##
   21251 ## -------------------- ##
   21252 
   21253 # Be more Bourne compatible
   21254 DUALCASE=1; export DUALCASE # for MKS sh
   21255 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   21256   emulate sh
   21257   NULLCMD=:
   21258   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21259   # is contrary to our usage.  Disable this feature.
   21260   alias -g '${1+"$@"}'='"$@"'
   21261   setopt NO_GLOB_SUBST
   21262 else
   21263   case `(set -o) 2>/dev/null` in #(
   21264   *posix*) :
   21265     set -o posix ;; #(
   21266   *) :
   21267      ;;
   21268 esac
   21269 fi
   21270 
   21271 
   21272 as_nl='
   21273 '
   21274 export as_nl
   21275 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   21276 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   21277 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   21278 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   21279 # Prefer a ksh shell builtin over an external printf program on Solaris,
   21280 # but without wasting forks for bash or zsh.
   21281 if test -z "$BASH_VERSION$ZSH_VERSION" \
   21282     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   21283   as_echo='print -r --'
   21284   as_echo_n='print -rn --'
   21285 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   21286   as_echo='printf %s\n'
   21287   as_echo_n='printf %s'
   21288 else
   21289   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   21290     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   21291     as_echo_n='/usr/ucb/echo -n'
   21292   else
   21293     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   21294     as_echo_n_body='eval
   21295       arg=$1;
   21296       case $arg in #(
   21297       *"$as_nl"*)
   21298 	expr "X$arg" : "X\\(.*\\)$as_nl";
   21299 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   21300       esac;
   21301       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   21302     '
   21303     export as_echo_n_body
   21304     as_echo_n='sh -c $as_echo_n_body as_echo'
   21305   fi
   21306   export as_echo_body
   21307   as_echo='sh -c $as_echo_body as_echo'
   21308 fi
   21309 
   21310 # The user is always right.
   21311 if test "${PATH_SEPARATOR+set}" != set; then
   21312   PATH_SEPARATOR=:
   21313   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21314     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21315       PATH_SEPARATOR=';'
   21316   }
   21317 fi
   21318 
   21319 
   21320 # IFS
   21321 # We need space, tab and new line, in precisely that order.  Quoting is
   21322 # there to prevent editors from complaining about space-tab.
   21323 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21324 # splitting by setting IFS to empty value.)
   21325 IFS=" ""	$as_nl"
   21326 
   21327 # Find who we are.  Look in the path if we contain no directory separator.
   21328 as_myself=
   21329 case $0 in #((
   21330   *[\\/]* ) as_myself=$0 ;;
   21331   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21332 for as_dir in $PATH
   21333 do
   21334   IFS=$as_save_IFS
   21335   test -z "$as_dir" && as_dir=.
   21336     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21337   done
   21338 IFS=$as_save_IFS
   21339 
   21340      ;;
   21341 esac
   21342 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21343 # in which case we are not to be found in the path.
   21344 if test "x$as_myself" = x; then
   21345   as_myself=$0
   21346 fi
   21347 if test ! -f "$as_myself"; then
   21348   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21349   exit 1
   21350 fi
   21351 
   21352 # Unset variables that we do not need and which cause bugs (e.g. in
   21353 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   21354 # suppresses any "Segmentation fault" message there.  '((' could
   21355 # trigger a bug in pdksh 5.2.14.
   21356 for as_var in BASH_ENV ENV MAIL MAILPATH
   21357 do eval test x\${$as_var+set} = xset \
   21358   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21359 done
   21360 PS1='$ '
   21361 PS2='> '
   21362 PS4='+ '
   21363 
   21364 # NLS nuisances.
   21365 LC_ALL=C
   21366 export LC_ALL
   21367 LANGUAGE=C
   21368 export LANGUAGE
   21369 
   21370 # CDPATH.
   21371 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21372 
   21373 
   21374 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21375 # ----------------------------------------
   21376 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21377 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21378 # script with STATUS, using 1 if that was 0.
   21379 as_fn_error ()
   21380 {
   21381   as_status=$1; test $as_status -eq 0 && as_status=1
   21382   if test "$4"; then
   21383     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21384     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21385   fi
   21386   $as_echo "$as_me: error: $2" >&2
   21387   as_fn_exit $as_status
   21388 } # as_fn_error
   21389 
   21390 
   21391 # as_fn_set_status STATUS
   21392 # -----------------------
   21393 # Set $? to STATUS, without forking.
   21394 as_fn_set_status ()
   21395 {
   21396   return $1
   21397 } # as_fn_set_status
   21398 
   21399 # as_fn_exit STATUS
   21400 # -----------------
   21401 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21402 as_fn_exit ()
   21403 {
   21404   set +e
   21405   as_fn_set_status $1
   21406   exit $1
   21407 } # as_fn_exit
   21408 
   21409 # as_fn_unset VAR
   21410 # ---------------
   21411 # Portably unset VAR.
   21412 as_fn_unset ()
   21413 {
   21414   { eval $1=; unset $1;}
   21415 }
   21416 as_unset=as_fn_unset
   21417 # as_fn_append VAR VALUE
   21418 # ----------------------
   21419 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21420 # advantage of any shell optimizations that allow amortized linear growth over
   21421 # repeated appends, instead of the typical quadratic growth present in naive
   21422 # implementations.
   21423 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   21424   eval 'as_fn_append ()
   21425   {
   21426     eval $1+=\$2
   21427   }'
   21428 else
   21429   as_fn_append ()
   21430   {
   21431     eval $1=\$$1\$2
   21432   }
   21433 fi # as_fn_append
   21434 
   21435 # as_fn_arith ARG...
   21436 # ------------------
   21437 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21438 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21439 # must be portable across $(()) and expr.
   21440 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   21441   eval 'as_fn_arith ()
   21442   {
   21443     as_val=$(( $* ))
   21444   }'
   21445 else
   21446   as_fn_arith ()
   21447   {
   21448     as_val=`expr "$@" || test $? -eq 1`
   21449   }
   21450 fi # as_fn_arith
   21451 
   21452 
   21453 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21454    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21455   as_expr=expr
   21456 else
   21457   as_expr=false
   21458 fi
   21459 
   21460 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21461   as_basename=basename
   21462 else
   21463   as_basename=false
   21464 fi
   21465 
   21466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21467   as_dirname=dirname
   21468 else
   21469   as_dirname=false
   21470 fi
   21471 
   21472 as_me=`$as_basename -- "$0" ||
   21473 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21474 	 X"$0" : 'X\(//\)$' \| \
   21475 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21476 $as_echo X/"$0" |
   21477     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21478 	    s//\1/
   21479 	    q
   21480 	  }
   21481 	  /^X\/\(\/\/\)$/{
   21482 	    s//\1/
   21483 	    q
   21484 	  }
   21485 	  /^X\/\(\/\).*/{
   21486 	    s//\1/
   21487 	    q
   21488 	  }
   21489 	  s/.*/./; q'`
   21490 
   21491 # Avoid depending upon Character Ranges.
   21492 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21493 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21494 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21495 as_cr_digits='0123456789'
   21496 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21497 
   21498 ECHO_C= ECHO_N= ECHO_T=
   21499 case `echo -n x` in #(((((
   21500 -n*)
   21501   case `echo 'xy\c'` in
   21502   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21503   xy)  ECHO_C='\c';;
   21504   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21505        ECHO_T='	';;
   21506   esac;;
   21507 *)
   21508   ECHO_N='-n';;
   21509 esac
   21510 
   21511 rm -f conf$$ conf$$.exe conf$$.file
   21512 if test -d conf$$.dir; then
   21513   rm -f conf$$.dir/conf$$.file
   21514 else
   21515   rm -f conf$$.dir
   21516   mkdir conf$$.dir 2>/dev/null
   21517 fi
   21518 if (echo >conf$$.file) 2>/dev/null; then
   21519   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21520     as_ln_s='ln -s'
   21521     # ... but there are two gotchas:
   21522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21524     # In both cases, we have to default to `cp -pR'.
   21525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21526       as_ln_s='cp -pR'
   21527   elif ln conf$$.file conf$$ 2>/dev/null; then
   21528     as_ln_s=ln
   21529   else
   21530     as_ln_s='cp -pR'
   21531   fi
   21532 else
   21533   as_ln_s='cp -pR'
   21534 fi
   21535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21536 rmdir conf$$.dir 2>/dev/null
   21537 
   21538 
   21539 # as_fn_mkdir_p
   21540 # -------------
   21541 # Create "$as_dir" as a directory, including parents if necessary.
   21542 as_fn_mkdir_p ()
   21543 {
   21544 
   21545   case $as_dir in #(
   21546   -*) as_dir=./$as_dir;;
   21547   esac
   21548   test -d "$as_dir" || eval $as_mkdir_p || {
   21549     as_dirs=
   21550     while :; do
   21551       case $as_dir in #(
   21552       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21553       *) as_qdir=$as_dir;;
   21554       esac
   21555       as_dirs="'$as_qdir' $as_dirs"
   21556       as_dir=`$as_dirname -- "$as_dir" ||
   21557 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21558 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21559 	 X"$as_dir" : 'X\(//\)$' \| \
   21560 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21561 $as_echo X"$as_dir" |
   21562     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21563 	    s//\1/
   21564 	    q
   21565 	  }
   21566 	  /^X\(\/\/\)[^/].*/{
   21567 	    s//\1/
   21568 	    q
   21569 	  }
   21570 	  /^X\(\/\/\)$/{
   21571 	    s//\1/
   21572 	    q
   21573 	  }
   21574 	  /^X\(\/\).*/{
   21575 	    s//\1/
   21576 	    q
   21577 	  }
   21578 	  s/.*/./; q'`
   21579       test -d "$as_dir" && break
   21580     done
   21581     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21582   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21583 
   21584 
   21585 } # as_fn_mkdir_p
   21586 if mkdir -p . 2>/dev/null; then
   21587   as_mkdir_p='mkdir -p "$as_dir"'
   21588 else
   21589   test -d ./-p && rmdir ./-p
   21590   as_mkdir_p=false
   21591 fi
   21592 
   21593 
   21594 # as_fn_executable_p FILE
   21595 # -----------------------
   21596 # Test if FILE is an executable regular file.
   21597 as_fn_executable_p ()
   21598 {
   21599   test -f "$1" && test -x "$1"
   21600 } # as_fn_executable_p
   21601 as_test_x='test -x'
   21602 as_executable_p=as_fn_executable_p
   21603 
   21604 # Sed expression to map a string onto a valid CPP name.
   21605 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21606 
   21607 # Sed expression to map a string onto a valid variable name.
   21608 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21609 
   21610 
   21611 exec 6>&1
   21612 ## ----------------------------------- ##
   21613 ## Main body of $CONFIG_STATUS script. ##
   21614 ## ----------------------------------- ##
   21615 _ASEOF
   21616 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21617 
   21618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21619 # Save the log message, to keep $0 and so on meaningful, and to
   21620 # report actual input values of CONFIG_FILES etc. instead of their
   21621 # values after options handling.
   21622 ac_log="
   21623 This file was extended by libX11 $as_me 1.6.4, which was
   21624 generated by GNU Autoconf 2.69.  Invocation command line was
   21625 
   21626   CONFIG_FILES    = $CONFIG_FILES
   21627   CONFIG_HEADERS  = $CONFIG_HEADERS
   21628   CONFIG_LINKS    = $CONFIG_LINKS
   21629   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21630   $ $0 $@
   21631 
   21632 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21633 "
   21634 
   21635 _ACEOF
   21636 
   21637 case $ac_config_files in *"
   21638 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21639 esac
   21640 
   21641 case $ac_config_headers in *"
   21642 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21643 esac
   21644 
   21645 
   21646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21647 # Files that config.status was made for.
   21648 config_files="$ac_config_files"
   21649 config_headers="$ac_config_headers"
   21650 config_commands="$ac_config_commands"
   21651 
   21652 _ACEOF
   21653 
   21654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21655 ac_cs_usage="\
   21656 \`$as_me' instantiates files and other configuration actions
   21657 from templates according to the current configuration.  Unless the files
   21658 and actions are specified as TAGs, all are instantiated by default.
   21659 
   21660 Usage: $0 [OPTION]... [TAG]...
   21661 
   21662   -h, --help       print this help, then exit
   21663   -V, --version    print version number and configuration settings, then exit
   21664       --config     print configuration, then exit
   21665   -q, --quiet, --silent
   21666                    do not print progress messages
   21667   -d, --debug      don't remove temporary files
   21668       --recheck    update $as_me by reconfiguring in the same conditions
   21669       --file=FILE[:TEMPLATE]
   21670                    instantiate the configuration file FILE
   21671       --header=FILE[:TEMPLATE]
   21672                    instantiate the configuration header FILE
   21673 
   21674 Configuration files:
   21675 $config_files
   21676 
   21677 Configuration headers:
   21678 $config_headers
   21679 
   21680 Configuration commands:
   21681 $config_commands
   21682 
   21683 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   21684 
   21685 _ACEOF
   21686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21687 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   21688 ac_cs_version="\\
   21689 libX11 config.status 1.6.4
   21690 configured by $0, generated by GNU Autoconf 2.69,
   21691   with options \\"\$ac_cs_config\\"
   21692 
   21693 Copyright (C) 2012 Free Software Foundation, Inc.
   21694 This config.status script is free software; the Free Software Foundation
   21695 gives unlimited permission to copy, distribute and modify it."
   21696 
   21697 ac_pwd='$ac_pwd'
   21698 srcdir='$srcdir'
   21699 INSTALL='$INSTALL'
   21700 MKDIR_P='$MKDIR_P'
   21701 AWK='$AWK'
   21702 test -n "\$AWK" || AWK=awk
   21703 _ACEOF
   21704 
   21705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21706 # The default lists apply if the user does not specify any file.
   21707 ac_need_defaults=:
   21708 while test $# != 0
   21709 do
   21710   case $1 in
   21711   --*=?*)
   21712     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21713     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21714     ac_shift=:
   21715     ;;
   21716   --*=)
   21717     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21718     ac_optarg=
   21719     ac_shift=:
   21720     ;;
   21721   *)
   21722     ac_option=$1
   21723     ac_optarg=$2
   21724     ac_shift=shift
   21725     ;;
   21726   esac
   21727 
   21728   case $ac_option in
   21729   # Handling of the options.
   21730   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21731     ac_cs_recheck=: ;;
   21732   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21733     $as_echo "$ac_cs_version"; exit ;;
   21734   --config | --confi | --conf | --con | --co | --c )
   21735     $as_echo "$ac_cs_config"; exit ;;
   21736   --debug | --debu | --deb | --de | --d | -d )
   21737     debug=: ;;
   21738   --file | --fil | --fi | --f )
   21739     $ac_shift
   21740     case $ac_optarg in
   21741     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21742     '') as_fn_error $? "missing file argument" ;;
   21743     esac
   21744     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21745     ac_need_defaults=false;;
   21746   --header | --heade | --head | --hea )
   21747     $ac_shift
   21748     case $ac_optarg in
   21749     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21750     esac
   21751     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21752     ac_need_defaults=false;;
   21753   --he | --h)
   21754     # Conflict between --help and --header
   21755     as_fn_error $? "ambiguous option: \`$1'
   21756 Try \`$0 --help' for more information.";;
   21757   --help | --hel | -h )
   21758     $as_echo "$ac_cs_usage"; exit ;;
   21759   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21760   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21761     ac_cs_silent=: ;;
   21762 
   21763   # This is an error.
   21764   -*) as_fn_error $? "unrecognized option: \`$1'
   21765 Try \`$0 --help' for more information." ;;
   21766 
   21767   *) as_fn_append ac_config_targets " $1"
   21768      ac_need_defaults=false ;;
   21769 
   21770   esac
   21771   shift
   21772 done
   21773 
   21774 ac_configure_extra_args=
   21775 
   21776 if $ac_cs_silent; then
   21777   exec 6>/dev/null
   21778   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21779 fi
   21780 
   21781 _ACEOF
   21782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21783 if \$ac_cs_recheck; then
   21784   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21785   shift
   21786   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   21787   CONFIG_SHELL='$SHELL'
   21788   export CONFIG_SHELL
   21789   exec "\$@"
   21790 fi
   21791 
   21792 _ACEOF
   21793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21794 exec 5>>config.log
   21795 {
   21796   echo
   21797   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21798 ## Running $as_me. ##
   21799 _ASBOX
   21800   $as_echo "$ac_log"
   21801 } >&5
   21802 
   21803 _ACEOF
   21804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21805 #
   21806 # INIT-COMMANDS
   21807 #
   21808 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21809 
   21810 
   21811 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21812 # if CDPATH is set.
   21813 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21814 
   21815 sed_quote_subst='$sed_quote_subst'
   21816 double_quote_subst='$double_quote_subst'
   21817 delay_variable_subst='$delay_variable_subst'
   21818 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21819 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21820 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21821 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21822 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21823 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21824 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21825 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21826 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21827 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21828 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21829 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21830 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21831 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21832 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21833 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21834 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21835 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21836 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21837 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21838 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21839 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21840 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21841 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21842 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21843 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21844 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21845 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21846 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21847 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21848 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21849 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21850 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21851 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21852 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21853 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21854 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21855 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21856 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21857 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21858 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21859 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21860 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21861 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21862 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21863 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21864 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21865 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21866 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21867 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21868 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21869 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21870 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21871 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21872 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21873 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21874 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"`'
   21875 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21876 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21877 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21878 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21879 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21880 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21881 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21882 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21883 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21884 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21885 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21886 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21887 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21888 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21889 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21890 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21891 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21892 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21893 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21894 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21895 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21896 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21897 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21898 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21899 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21900 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21901 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21902 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21903 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21904 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21905 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21906 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21907 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21908 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21909 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21910 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21911 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21912 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21913 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21914 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21915 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21916 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21917 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21918 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21919 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21920 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21921 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21922 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21923 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21924 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21925 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21926 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21927 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21928 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21929 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21930 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21931 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21932 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21933 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21934 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21935 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21936 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21937 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21938 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21939 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21940 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21941 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   21942 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21943 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21944 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21945 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21946 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21947 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21948 
   21949 LTCC='$LTCC'
   21950 LTCFLAGS='$LTCFLAGS'
   21951 compiler='$compiler_DEFAULT'
   21952 
   21953 # A function that is used when there is no print builtin or printf.
   21954 func_fallback_echo ()
   21955 {
   21956   eval 'cat <<_LTECHO_EOF
   21957 \$1
   21958 _LTECHO_EOF'
   21959 }
   21960 
   21961 # Quote evaled strings.
   21962 for var in SHELL \
   21963 ECHO \
   21964 PATH_SEPARATOR \
   21965 SED \
   21966 GREP \
   21967 EGREP \
   21968 FGREP \
   21969 LD \
   21970 NM \
   21971 LN_S \
   21972 lt_SP2NL \
   21973 lt_NL2SP \
   21974 reload_flag \
   21975 OBJDUMP \
   21976 deplibs_check_method \
   21977 file_magic_cmd \
   21978 file_magic_glob \
   21979 want_nocaseglob \
   21980 DLLTOOL \
   21981 sharedlib_from_linklib_cmd \
   21982 AR \
   21983 AR_FLAGS \
   21984 archiver_list_spec \
   21985 STRIP \
   21986 RANLIB \
   21987 CC \
   21988 CFLAGS \
   21989 compiler \
   21990 lt_cv_sys_global_symbol_pipe \
   21991 lt_cv_sys_global_symbol_to_cdecl \
   21992 lt_cv_sys_global_symbol_to_c_name_address \
   21993 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21994 nm_file_list_spec \
   21995 lt_prog_compiler_no_builtin_flag \
   21996 lt_prog_compiler_pic \
   21997 lt_prog_compiler_wl \
   21998 lt_prog_compiler_static \
   21999 lt_cv_prog_compiler_c_o \
   22000 need_locks \
   22001 MANIFEST_TOOL \
   22002 DSYMUTIL \
   22003 NMEDIT \
   22004 LIPO \
   22005 OTOOL \
   22006 OTOOL64 \
   22007 shrext_cmds \
   22008 export_dynamic_flag_spec \
   22009 whole_archive_flag_spec \
   22010 compiler_needs_object \
   22011 with_gnu_ld \
   22012 allow_undefined_flag \
   22013 no_undefined_flag \
   22014 hardcode_libdir_flag_spec \
   22015 hardcode_libdir_separator \
   22016 exclude_expsyms \
   22017 include_expsyms \
   22018 file_list_spec \
   22019 variables_saved_for_relink \
   22020 libname_spec \
   22021 library_names_spec \
   22022 soname_spec \
   22023 install_override_mode \
   22024 finish_eval \
   22025 old_striplib \
   22026 striplib; do
   22027     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22028     *[\\\\\\\`\\"\\\$]*)
   22029       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   22030       ;;
   22031     *)
   22032       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22033       ;;
   22034     esac
   22035 done
   22036 
   22037 # Double-quote double-evaled strings.
   22038 for var in reload_cmds \
   22039 old_postinstall_cmds \
   22040 old_postuninstall_cmds \
   22041 old_archive_cmds \
   22042 extract_expsyms_cmds \
   22043 old_archive_from_new_cmds \
   22044 old_archive_from_expsyms_cmds \
   22045 archive_cmds \
   22046 archive_expsym_cmds \
   22047 module_cmds \
   22048 module_expsym_cmds \
   22049 export_symbols_cmds \
   22050 prelink_cmds \
   22051 postlink_cmds \
   22052 postinstall_cmds \
   22053 postuninstall_cmds \
   22054 finish_cmds \
   22055 sys_lib_search_path_spec \
   22056 sys_lib_dlsearch_path_spec; do
   22057     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22058     *[\\\\\\\`\\"\\\$]*)
   22059       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   22060       ;;
   22061     *)
   22062       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22063       ;;
   22064     esac
   22065 done
   22066 
   22067 ac_aux_dir='$ac_aux_dir'
   22068 xsi_shell='$xsi_shell'
   22069 lt_shell_append='$lt_shell_append'
   22070 
   22071 # See if we are running on zsh, and set the options which allow our
   22072 # commands through without removal of \ escapes INIT.
   22073 if test -n "\${ZSH_VERSION+set}" ; then
   22074    setopt NO_GLOB_SUBST
   22075 fi
   22076 
   22077 
   22078     PACKAGE='$PACKAGE'
   22079     VERSION='$VERSION'
   22080     TIMESTAMP='$TIMESTAMP'
   22081     RM='$RM'
   22082     ofile='$ofile'
   22083 
   22084 
   22085 
   22086 
   22087 _ACEOF
   22088 
   22089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22090 
   22091 # Handling of arguments.
   22092 for ac_config_target in $ac_config_targets
   22093 do
   22094   case $ac_config_target in
   22095     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   22096     "include/X11/XlibConf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/XlibConf.h" ;;
   22097     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22098     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   22099     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22100     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   22101     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22102     "man/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES man/xkb/Makefile" ;;
   22103     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22104     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   22105     "src/xcms/Makefile") CONFIG_FILES="$CONFIG_FILES src/xcms/Makefile" ;;
   22106     "src/xlibi18n/Makefile") CONFIG_FILES="$CONFIG_FILES src/xlibi18n/Makefile" ;;
   22107     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
   22108     "modules/im/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/Makefile" ;;
   22109     "modules/im/ximcp/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/ximcp/Makefile" ;;
   22110     "modules/lc/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Makefile" ;;
   22111     "modules/lc/def/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/def/Makefile" ;;
   22112     "modules/lc/gen/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/gen/Makefile" ;;
   22113     "modules/lc/Utf8/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Utf8/Makefile" ;;
   22114     "modules/om/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/Makefile" ;;
   22115     "modules/om/generic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/generic/Makefile" ;;
   22116     "src/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES src/xkb/Makefile" ;;
   22117     "nls/Makefile") CONFIG_FILES="$CONFIG_FILES nls/Makefile" ;;
   22118     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   22119     "specs/i18n/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/Makefile" ;;
   22120     "specs/i18n/compose/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/compose/Makefile" ;;
   22121     "specs/i18n/framework/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/framework/Makefile" ;;
   22122     "specs/i18n/localedb/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/localedb/Makefile" ;;
   22123     "specs/i18n/trans/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/trans/Makefile" ;;
   22124     "specs/libX11/Makefile") CONFIG_FILES="$CONFIG_FILES specs/libX11/Makefile" ;;
   22125     "specs/XIM/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XIM/Makefile" ;;
   22126     "specs/XKB/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XKB/Makefile" ;;
   22127     "x11.pc") CONFIG_FILES="$CONFIG_FILES x11.pc" ;;
   22128     "x11-xcb.pc") CONFIG_FILES="$CONFIG_FILES x11-xcb.pc" ;;
   22129 
   22130   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   22131   esac
   22132 done
   22133 
   22134 
   22135 # If the user did not use the arguments to specify the items to instantiate,
   22136 # then the envvar interface is used.  Set only those that are not.
   22137 # We use the long form for the default assignment because of an extremely
   22138 # bizarre bug on SunOS 4.1.3.
   22139 if $ac_need_defaults; then
   22140   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22141   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22142   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22143 fi
   22144 
   22145 # Have a temporary directory for convenience.  Make it in the build tree
   22146 # simply because there is no reason against having it here, and in addition,
   22147 # creating and moving files from /tmp can sometimes cause problems.
   22148 # Hook for its removal unless debugging.
   22149 # Note that there is a small window in which the directory will not be cleaned:
   22150 # after its creation but before its name has been assigned to `$tmp'.
   22151 $debug ||
   22152 {
   22153   tmp= ac_tmp=
   22154   trap 'exit_status=$?
   22155   : "${ac_tmp:=$tmp}"
   22156   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22157 ' 0
   22158   trap 'as_fn_exit 1' 1 2 13 15
   22159 }
   22160 # Create a (secure) tmp directory for tmp files.
   22161 
   22162 {
   22163   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22164   test -d "$tmp"
   22165 }  ||
   22166 {
   22167   tmp=./conf$$-$RANDOM
   22168   (umask 077 && mkdir "$tmp")
   22169 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22170 ac_tmp=$tmp
   22171 
   22172 # Set up the scripts for CONFIG_FILES section.
   22173 # No need to generate them if there are no CONFIG_FILES.
   22174 # This happens for instance with `./config.status config.h'.
   22175 if test -n "$CONFIG_FILES"; then
   22176 
   22177 
   22178 ac_cr=`echo X | tr X '\015'`
   22179 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22180 # But we know of no other shell where ac_cr would be empty at this
   22181 # point, so we can use a bashism as a fallback.
   22182 if test "x$ac_cr" = x; then
   22183   eval ac_cr=\$\'\\r\'
   22184 fi
   22185 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22186 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22187   ac_cs_awk_cr='\\r'
   22188 else
   22189   ac_cs_awk_cr=$ac_cr
   22190 fi
   22191 
   22192 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22193 _ACEOF
   22194 
   22195 
   22196 {
   22197   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22198   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22199   echo "_ACEOF"
   22200 } >conf$$subs.sh ||
   22201   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22202 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22203 ac_delim='%!_!# '
   22204 for ac_last_try in false false false false false :; do
   22205   . ./conf$$subs.sh ||
   22206     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22207 
   22208   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22209   if test $ac_delim_n = $ac_delim_num; then
   22210     break
   22211   elif $ac_last_try; then
   22212     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22213   else
   22214     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22215   fi
   22216 done
   22217 rm -f conf$$subs.sh
   22218 
   22219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22220 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22221 _ACEOF
   22222 sed -n '
   22223 h
   22224 s/^/S["/; s/!.*/"]=/
   22225 p
   22226 g
   22227 s/^[^!]*!//
   22228 :repl
   22229 t repl
   22230 s/'"$ac_delim"'$//
   22231 t delim
   22232 :nl
   22233 h
   22234 s/\(.\{148\}\)..*/\1/
   22235 t more1
   22236 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22237 p
   22238 n
   22239 b repl
   22240 :more1
   22241 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22242 p
   22243 g
   22244 s/.\{148\}//
   22245 t nl
   22246 :delim
   22247 h
   22248 s/\(.\{148\}\)..*/\1/
   22249 t more2
   22250 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22251 p
   22252 b
   22253 :more2
   22254 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22255 p
   22256 g
   22257 s/.\{148\}//
   22258 t delim
   22259 ' <conf$$subs.awk | sed '
   22260 /^[^""]/{
   22261   N
   22262   s/\n//
   22263 }
   22264 ' >>$CONFIG_STATUS || ac_write_fail=1
   22265 rm -f conf$$subs.awk
   22266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22267 _ACAWK
   22268 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22269   for (key in S) S_is_set[key] = 1
   22270   FS = ""
   22271 
   22272 }
   22273 {
   22274   line = $ 0
   22275   nfields = split(line, field, "@")
   22276   substed = 0
   22277   len = length(field[1])
   22278   for (i = 2; i < nfields; i++) {
   22279     key = field[i]
   22280     keylen = length(key)
   22281     if (S_is_set[key]) {
   22282       value = S[key]
   22283       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22284       len += length(value) + length(field[++i])
   22285       substed = 1
   22286     } else
   22287       len += 1 + keylen
   22288   }
   22289 
   22290   print line
   22291 }
   22292 
   22293 _ACAWK
   22294 _ACEOF
   22295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22296 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22297   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22298 else
   22299   cat
   22300 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22301   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22302 _ACEOF
   22303 
   22304 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22305 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22306 # trailing colons and then remove the whole line if VPATH becomes empty
   22307 # (actually we leave an empty line to preserve line numbers).
   22308 if test "x$srcdir" = x.; then
   22309   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22310 h
   22311 s///
   22312 s/^/:/
   22313 s/[	 ]*$/:/
   22314 s/:\$(srcdir):/:/g
   22315 s/:\${srcdir}:/:/g
   22316 s/:@srcdir@:/:/g
   22317 s/^:*//
   22318 s/:*$//
   22319 x
   22320 s/\(=[	 ]*\).*/\1/
   22321 G
   22322 s/\n//
   22323 s/^[^=]*=[	 ]*$//
   22324 }'
   22325 fi
   22326 
   22327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22328 fi # test -n "$CONFIG_FILES"
   22329 
   22330 # Set up the scripts for CONFIG_HEADERS section.
   22331 # No need to generate them if there are no CONFIG_HEADERS.
   22332 # This happens for instance with `./config.status Makefile'.
   22333 if test -n "$CONFIG_HEADERS"; then
   22334 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22335 BEGIN {
   22336 _ACEOF
   22337 
   22338 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22339 # here-document in config.status, that substitutes the proper values into
   22340 # config.h.in to produce config.h.
   22341 
   22342 # Create a delimiter string that does not exist in confdefs.h, to ease
   22343 # handling of long lines.
   22344 ac_delim='%!_!# '
   22345 for ac_last_try in false false :; do
   22346   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22347   if test -z "$ac_tt"; then
   22348     break
   22349   elif $ac_last_try; then
   22350     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22351   else
   22352     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22353   fi
   22354 done
   22355 
   22356 # For the awk script, D is an array of macro values keyed by name,
   22357 # likewise P contains macro parameters if any.  Preserve backslash
   22358 # newline sequences.
   22359 
   22360 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22361 sed -n '
   22362 s/.\{148\}/&'"$ac_delim"'/g
   22363 t rset
   22364 :rset
   22365 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22366 t def
   22367 d
   22368 :def
   22369 s/\\$//
   22370 t bsnl
   22371 s/["\\]/\\&/g
   22372 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22373 D["\1"]=" \3"/p
   22374 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22375 d
   22376 :bsnl
   22377 s/["\\]/\\&/g
   22378 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22379 D["\1"]=" \3\\\\\\n"\\/p
   22380 t cont
   22381 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22382 t cont
   22383 d
   22384 :cont
   22385 n
   22386 s/.\{148\}/&'"$ac_delim"'/g
   22387 t clear
   22388 :clear
   22389 s/\\$//
   22390 t bsnlc
   22391 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22392 d
   22393 :bsnlc
   22394 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22395 b cont
   22396 ' <confdefs.h | sed '
   22397 s/'"$ac_delim"'/"\\\
   22398 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22399 
   22400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22401   for (key in D) D_is_set[key] = 1
   22402   FS = ""
   22403 }
   22404 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22405   line = \$ 0
   22406   split(line, arg, " ")
   22407   if (arg[1] == "#") {
   22408     defundef = arg[2]
   22409     mac1 = arg[3]
   22410   } else {
   22411     defundef = substr(arg[1], 2)
   22412     mac1 = arg[2]
   22413   }
   22414   split(mac1, mac2, "(") #)
   22415   macro = mac2[1]
   22416   prefix = substr(line, 1, index(line, defundef) - 1)
   22417   if (D_is_set[macro]) {
   22418     # Preserve the white space surrounding the "#".
   22419     print prefix "define", macro P[macro] D[macro]
   22420     next
   22421   } else {
   22422     # Replace #undef with comments.  This is necessary, for example,
   22423     # in the case of _POSIX_SOURCE, which is predefined and required
   22424     # on some systems where configure will not decide to define it.
   22425     if (defundef == "undef") {
   22426       print "/*", prefix defundef, macro, "*/"
   22427       next
   22428     }
   22429   }
   22430 }
   22431 { print }
   22432 _ACAWK
   22433 _ACEOF
   22434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22435   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22436 fi # test -n "$CONFIG_HEADERS"
   22437 
   22438 
   22439 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22440 shift
   22441 for ac_tag
   22442 do
   22443   case $ac_tag in
   22444   :[FHLC]) ac_mode=$ac_tag; continue;;
   22445   esac
   22446   case $ac_mode$ac_tag in
   22447   :[FHL]*:*);;
   22448   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   22449   :[FH]-) ac_tag=-:-;;
   22450   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22451   esac
   22452   ac_save_IFS=$IFS
   22453   IFS=:
   22454   set x $ac_tag
   22455   IFS=$ac_save_IFS
   22456   shift
   22457   ac_file=$1
   22458   shift
   22459 
   22460   case $ac_mode in
   22461   :L) ac_source=$1;;
   22462   :[FH])
   22463     ac_file_inputs=
   22464     for ac_f
   22465     do
   22466       case $ac_f in
   22467       -) ac_f="$ac_tmp/stdin";;
   22468       *) # Look for the file first in the build tree, then in the source tree
   22469 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22470 	 # because $ac_f cannot contain `:'.
   22471 	 test -f "$ac_f" ||
   22472 	   case $ac_f in
   22473 	   [\\/$]*) false;;
   22474 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22475 	   esac ||
   22476 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   22477       esac
   22478       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22479       as_fn_append ac_file_inputs " '$ac_f'"
   22480     done
   22481 
   22482     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22483     # use $as_me), people would be surprised to read:
   22484     #    /* config.h.  Generated by config.status.  */
   22485     configure_input='Generated from '`
   22486 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22487 	`' by configure.'
   22488     if test x"$ac_file" != x-; then
   22489       configure_input="$ac_file.  $configure_input"
   22490       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22491 $as_echo "$as_me: creating $ac_file" >&6;}
   22492     fi
   22493     # Neutralize special characters interpreted by sed in replacement strings.
   22494     case $configure_input in #(
   22495     *\&* | *\|* | *\\* )
   22496        ac_sed_conf_input=`$as_echo "$configure_input" |
   22497        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22498     *) ac_sed_conf_input=$configure_input;;
   22499     esac
   22500 
   22501     case $ac_tag in
   22502     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22503       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22504     esac
   22505     ;;
   22506   esac
   22507 
   22508   ac_dir=`$as_dirname -- "$ac_file" ||
   22509 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22510 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22511 	 X"$ac_file" : 'X\(//\)$' \| \
   22512 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22513 $as_echo X"$ac_file" |
   22514     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22515 	    s//\1/
   22516 	    q
   22517 	  }
   22518 	  /^X\(\/\/\)[^/].*/{
   22519 	    s//\1/
   22520 	    q
   22521 	  }
   22522 	  /^X\(\/\/\)$/{
   22523 	    s//\1/
   22524 	    q
   22525 	  }
   22526 	  /^X\(\/\).*/{
   22527 	    s//\1/
   22528 	    q
   22529 	  }
   22530 	  s/.*/./; q'`
   22531   as_dir="$ac_dir"; as_fn_mkdir_p
   22532   ac_builddir=.
   22533 
   22534 case "$ac_dir" in
   22535 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22536 *)
   22537   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   22538   # A ".." for each directory in $ac_dir_suffix.
   22539   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22540   case $ac_top_builddir_sub in
   22541   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22542   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22543   esac ;;
   22544 esac
   22545 ac_abs_top_builddir=$ac_pwd
   22546 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22547 # for backward compatibility:
   22548 ac_top_builddir=$ac_top_build_prefix
   22549 
   22550 case $srcdir in
   22551   .)  # We are building in place.
   22552     ac_srcdir=.
   22553     ac_top_srcdir=$ac_top_builddir_sub
   22554     ac_abs_top_srcdir=$ac_pwd ;;
   22555   [\\/]* | ?:[\\/]* )  # Absolute name.
   22556     ac_srcdir=$srcdir$ac_dir_suffix;
   22557     ac_top_srcdir=$srcdir
   22558     ac_abs_top_srcdir=$srcdir ;;
   22559   *) # Relative name.
   22560     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22561     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22562     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22563 esac
   22564 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22565 
   22566 
   22567   case $ac_mode in
   22568   :F)
   22569   #
   22570   # CONFIG_FILE
   22571   #
   22572 
   22573   case $INSTALL in
   22574   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22575   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22576   esac
   22577   ac_MKDIR_P=$MKDIR_P
   22578   case $MKDIR_P in
   22579   [\\/$]* | ?:[\\/]* ) ;;
   22580   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22581   esac
   22582 _ACEOF
   22583 
   22584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22585 # If the template does not know about datarootdir, expand it.
   22586 # FIXME: This hack should be removed a few years after 2.60.
   22587 ac_datarootdir_hack=; ac_datarootdir_seen=
   22588 ac_sed_dataroot='
   22589 /datarootdir/ {
   22590   p
   22591   q
   22592 }
   22593 /@datadir@/p
   22594 /@docdir@/p
   22595 /@infodir@/p
   22596 /@localedir@/p
   22597 /@mandir@/p'
   22598 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22599 *datarootdir*) ac_datarootdir_seen=yes;;
   22600 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22601   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22602 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22603 _ACEOF
   22604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22605   ac_datarootdir_hack='
   22606   s&@datadir@&$datadir&g
   22607   s&@docdir@&$docdir&g
   22608   s&@infodir@&$infodir&g
   22609   s&@localedir@&$localedir&g
   22610   s&@mandir@&$mandir&g
   22611   s&\\\${datarootdir}&$datarootdir&g' ;;
   22612 esac
   22613 _ACEOF
   22614 
   22615 # Neutralize VPATH when `$srcdir' = `.'.
   22616 # Shell code in configure.ac might set extrasub.
   22617 # FIXME: do we really want to maintain this feature?
   22618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22619 ac_sed_extra="$ac_vpsub
   22620 $extrasub
   22621 _ACEOF
   22622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22623 :t
   22624 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22625 s|@configure_input@|$ac_sed_conf_input|;t t
   22626 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22627 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22628 s&@srcdir@&$ac_srcdir&;t t
   22629 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22630 s&@top_srcdir@&$ac_top_srcdir&;t t
   22631 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22632 s&@builddir@&$ac_builddir&;t t
   22633 s&@abs_builddir@&$ac_abs_builddir&;t t
   22634 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22635 s&@INSTALL@&$ac_INSTALL&;t t
   22636 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22637 $ac_datarootdir_hack
   22638 "
   22639 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22640   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22641 
   22642 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22643   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22644   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22645       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22646   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22647 which seems to be undefined.  Please make sure it is defined" >&5
   22648 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22649 which seems to be undefined.  Please make sure it is defined" >&2;}
   22650 
   22651   rm -f "$ac_tmp/stdin"
   22652   case $ac_file in
   22653   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22654   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22655   esac \
   22656   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22657  ;;
   22658   :H)
   22659   #
   22660   # CONFIG_HEADER
   22661   #
   22662   if test x"$ac_file" != x-; then
   22663     {
   22664       $as_echo "/* $configure_input  */" \
   22665       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22666     } >"$ac_tmp/config.h" \
   22667       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22668     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22669       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22670 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   22671     else
   22672       rm -f "$ac_file"
   22673       mv "$ac_tmp/config.h" "$ac_file" \
   22674 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22675     fi
   22676   else
   22677     $as_echo "/* $configure_input  */" \
   22678       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22679       || as_fn_error $? "could not create -" "$LINENO" 5
   22680   fi
   22681 # Compute "$ac_file"'s index in $config_headers.
   22682 _am_arg="$ac_file"
   22683 _am_stamp_count=1
   22684 for _am_header in $config_headers :; do
   22685   case $_am_header in
   22686     $_am_arg | $_am_arg:* )
   22687       break ;;
   22688     * )
   22689       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22690   esac
   22691 done
   22692 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22693 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22694 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22695 	 X"$_am_arg" : 'X\(//\)$' \| \
   22696 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22697 $as_echo X"$_am_arg" |
   22698     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22699 	    s//\1/
   22700 	    q
   22701 	  }
   22702 	  /^X\(\/\/\)[^/].*/{
   22703 	    s//\1/
   22704 	    q
   22705 	  }
   22706 	  /^X\(\/\/\)$/{
   22707 	    s//\1/
   22708 	    q
   22709 	  }
   22710 	  /^X\(\/\).*/{
   22711 	    s//\1/
   22712 	    q
   22713 	  }
   22714 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22715  ;;
   22716 
   22717   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22718 $as_echo "$as_me: executing $ac_file commands" >&6;}
   22719  ;;
   22720   esac
   22721 
   22722 
   22723   case $ac_file$ac_mode in
   22724     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22725   # Older Autoconf quotes --file arguments for eval, but not when files
   22726   # are listed without --file.  Let's play safe and only enable the eval
   22727   # if we detect the quoting.
   22728   case $CONFIG_FILES in
   22729   *\'*) eval set x "$CONFIG_FILES" ;;
   22730   *)   set x $CONFIG_FILES ;;
   22731   esac
   22732   shift
   22733   for mf
   22734   do
   22735     # Strip MF so we end up with the name of the file.
   22736     mf=`echo "$mf" | sed -e 's/:.*$//'`
   22737     # Check whether this is an Automake generated Makefile or not.
   22738     # We used to match only the files named 'Makefile.in', but
   22739     # some people rename them; so instead we look at the file content.
   22740     # Grep'ing the first line is not enough: some people post-process
   22741     # each Makefile.in and add a new line on top of each file to say so.
   22742     # Grep'ing the whole file is not good either: AIX grep has a line
   22743     # limit of 2048, but all sed's we know have understand at least 4000.
   22744     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   22745       dirpart=`$as_dirname -- "$mf" ||
   22746 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22747 	 X"$mf" : 'X\(//\)[^/]' \| \
   22748 	 X"$mf" : 'X\(//\)$' \| \
   22749 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22750 $as_echo X"$mf" |
   22751     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22752 	    s//\1/
   22753 	    q
   22754 	  }
   22755 	  /^X\(\/\/\)[^/].*/{
   22756 	    s//\1/
   22757 	    q
   22758 	  }
   22759 	  /^X\(\/\/\)$/{
   22760 	    s//\1/
   22761 	    q
   22762 	  }
   22763 	  /^X\(\/\).*/{
   22764 	    s//\1/
   22765 	    q
   22766 	  }
   22767 	  s/.*/./; q'`
   22768     else
   22769       continue
   22770     fi
   22771     # Extract the definition of DEPDIR, am__include, and am__quote
   22772     # from the Makefile without running 'make'.
   22773     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22774     test -z "$DEPDIR" && continue
   22775     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22776     test -z "$am__include" && continue
   22777     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22778     # Find all dependency output files, they are included files with
   22779     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22780     # simplest approach to changing $(DEPDIR) to its actual value in the
   22781     # expansion.
   22782     for file in `sed -n "
   22783       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22784 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   22785       # Make sure the directory exists.
   22786       test -f "$dirpart/$file" && continue
   22787       fdir=`$as_dirname -- "$file" ||
   22788 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22789 	 X"$file" : 'X\(//\)[^/]' \| \
   22790 	 X"$file" : 'X\(//\)$' \| \
   22791 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22792 $as_echo X"$file" |
   22793     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22794 	    s//\1/
   22795 	    q
   22796 	  }
   22797 	  /^X\(\/\/\)[^/].*/{
   22798 	    s//\1/
   22799 	    q
   22800 	  }
   22801 	  /^X\(\/\/\)$/{
   22802 	    s//\1/
   22803 	    q
   22804 	  }
   22805 	  /^X\(\/\).*/{
   22806 	    s//\1/
   22807 	    q
   22808 	  }
   22809 	  s/.*/./; q'`
   22810       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   22811       # echo "creating $dirpart/$file"
   22812       echo '# dummy' > "$dirpart/$file"
   22813     done
   22814   done
   22815 }
   22816  ;;
   22817     "libtool":C)
   22818 
   22819     # See if we are running on zsh, and set the options which allow our
   22820     # commands through without removal of \ escapes.
   22821     if test -n "${ZSH_VERSION+set}" ; then
   22822       setopt NO_GLOB_SUBST
   22823     fi
   22824 
   22825     cfgfile="${ofile}T"
   22826     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22827     $RM "$cfgfile"
   22828 
   22829     cat <<_LT_EOF >> "$cfgfile"
   22830 #! $SHELL
   22831 
   22832 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   22833 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   22834 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22835 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22836 #
   22837 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   22838 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   22839 #                 Foundation, Inc.
   22840 #   Written by Gordon Matzigkeit, 1996
   22841 #
   22842 #   This file is part of GNU Libtool.
   22843 #
   22844 # GNU Libtool is free software; you can redistribute it and/or
   22845 # modify it under the terms of the GNU General Public License as
   22846 # published by the Free Software Foundation; either version 2 of
   22847 # the License, or (at your option) any later version.
   22848 #
   22849 # As a special exception to the GNU General Public License,
   22850 # if you distribute this file as part of a program or library that
   22851 # is built using GNU Libtool, you may include this file under the
   22852 # same distribution terms that you use for the rest of that program.
   22853 #
   22854 # GNU Libtool is distributed in the hope that it will be useful,
   22855 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   22856 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22857 # GNU General Public License for more details.
   22858 #
   22859 # You should have received a copy of the GNU General Public License
   22860 # along with GNU Libtool; see the file COPYING.  If not, a copy
   22861 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   22862 # obtained by writing to the Free Software Foundation, Inc.,
   22863 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   22864 
   22865 
   22866 # The names of the tagged configurations supported by this script.
   22867 available_tags=""
   22868 
   22869 # ### BEGIN LIBTOOL CONFIG
   22870 
   22871 # Which release of libtool.m4 was used?
   22872 macro_version=$macro_version
   22873 macro_revision=$macro_revision
   22874 
   22875 # Whether or not to build shared libraries.
   22876 build_libtool_libs=$enable_shared
   22877 
   22878 # Whether or not to build static libraries.
   22879 build_old_libs=$enable_static
   22880 
   22881 # What type of objects to build.
   22882 pic_mode=$pic_mode
   22883 
   22884 # Whether or not to optimize for fast installation.
   22885 fast_install=$enable_fast_install
   22886 
   22887 # Shell to use when invoking shell scripts.
   22888 SHELL=$lt_SHELL
   22889 
   22890 # An echo program that protects backslashes.
   22891 ECHO=$lt_ECHO
   22892 
   22893 # The PATH separator for the build system.
   22894 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22895 
   22896 # The host system.
   22897 host_alias=$host_alias
   22898 host=$host
   22899 host_os=$host_os
   22900 
   22901 # The build system.
   22902 build_alias=$build_alias
   22903 build=$build
   22904 build_os=$build_os
   22905 
   22906 # A sed program that does not truncate output.
   22907 SED=$lt_SED
   22908 
   22909 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22910 Xsed="\$SED -e 1s/^X//"
   22911 
   22912 # A grep program that handles long lines.
   22913 GREP=$lt_GREP
   22914 
   22915 # An ERE matcher.
   22916 EGREP=$lt_EGREP
   22917 
   22918 # A literal string matcher.
   22919 FGREP=$lt_FGREP
   22920 
   22921 # A BSD- or MS-compatible name lister.
   22922 NM=$lt_NM
   22923 
   22924 # Whether we need soft or hard links.
   22925 LN_S=$lt_LN_S
   22926 
   22927 # What is the maximum length of a command?
   22928 max_cmd_len=$max_cmd_len
   22929 
   22930 # Object file suffix (normally "o").
   22931 objext=$ac_objext
   22932 
   22933 # Executable file suffix (normally "").
   22934 exeext=$exeext
   22935 
   22936 # whether the shell understands "unset".
   22937 lt_unset=$lt_unset
   22938 
   22939 # turn spaces into newlines.
   22940 SP2NL=$lt_lt_SP2NL
   22941 
   22942 # turn newlines into spaces.
   22943 NL2SP=$lt_lt_NL2SP
   22944 
   22945 # convert \$build file names to \$host format.
   22946 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22947 
   22948 # convert \$build files to toolchain format.
   22949 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22950 
   22951 # An object symbol dumper.
   22952 OBJDUMP=$lt_OBJDUMP
   22953 
   22954 # Method to check whether dependent libraries are shared objects.
   22955 deplibs_check_method=$lt_deplibs_check_method
   22956 
   22957 # Command to use when deplibs_check_method = "file_magic".
   22958 file_magic_cmd=$lt_file_magic_cmd
   22959 
   22960 # How to find potential files when deplibs_check_method = "file_magic".
   22961 file_magic_glob=$lt_file_magic_glob
   22962 
   22963 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22964 want_nocaseglob=$lt_want_nocaseglob
   22965 
   22966 # DLL creation program.
   22967 DLLTOOL=$lt_DLLTOOL
   22968 
   22969 # Command to associate shared and link libraries.
   22970 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22971 
   22972 # The archiver.
   22973 AR=$lt_AR
   22974 
   22975 # Flags to create an archive.
   22976 AR_FLAGS=$lt_AR_FLAGS
   22977 
   22978 # How to feed a file listing to the archiver.
   22979 archiver_list_spec=$lt_archiver_list_spec
   22980 
   22981 # A symbol stripping program.
   22982 STRIP=$lt_STRIP
   22983 
   22984 # Commands used to install an old-style archive.
   22985 RANLIB=$lt_RANLIB
   22986 old_postinstall_cmds=$lt_old_postinstall_cmds
   22987 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22988 
   22989 # Whether to use a lock for old archive extraction.
   22990 lock_old_archive_extraction=$lock_old_archive_extraction
   22991 
   22992 # A C compiler.
   22993 LTCC=$lt_CC
   22994 
   22995 # LTCC compiler flags.
   22996 LTCFLAGS=$lt_CFLAGS
   22997 
   22998 # Take the output of nm and produce a listing of raw symbols and C names.
   22999 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   23000 
   23001 # Transform the output of nm in a proper C declaration.
   23002 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   23003 
   23004 # Transform the output of nm in a C name address pair.
   23005 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   23006 
   23007 # Transform the output of nm in a C name address pair when lib prefix is needed.
   23008 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   23009 
   23010 # Specify filename containing input files for \$NM.
   23011 nm_file_list_spec=$lt_nm_file_list_spec
   23012 
   23013 # The root where to search for dependent libraries,and in which our libraries should be installed.
   23014 lt_sysroot=$lt_sysroot
   23015 
   23016 # The name of the directory that contains temporary libtool files.
   23017 objdir=$objdir
   23018 
   23019 # Used to examine libraries when file_magic_cmd begins with "file".
   23020 MAGIC_CMD=$MAGIC_CMD
   23021 
   23022 # Must we lock files when doing compilation?
   23023 need_locks=$lt_need_locks
   23024 
   23025 # Manifest tool.
   23026 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   23027 
   23028 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   23029 DSYMUTIL=$lt_DSYMUTIL
   23030 
   23031 # Tool to change global to local symbols on Mac OS X.
   23032 NMEDIT=$lt_NMEDIT
   23033 
   23034 # Tool to manipulate fat objects and archives on Mac OS X.
   23035 LIPO=$lt_LIPO
   23036 
   23037 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   23038 OTOOL=$lt_OTOOL
   23039 
   23040 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   23041 OTOOL64=$lt_OTOOL64
   23042 
   23043 # Old archive suffix (normally "a").
   23044 libext=$libext
   23045 
   23046 # Shared library suffix (normally ".so").
   23047 shrext_cmds=$lt_shrext_cmds
   23048 
   23049 # The commands to extract the exported symbol list from a shared archive.
   23050 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   23051 
   23052 # Variables whose values should be saved in libtool wrapper scripts and
   23053 # restored at link time.
   23054 variables_saved_for_relink=$lt_variables_saved_for_relink
   23055 
   23056 # Do we need the "lib" prefix for modules?
   23057 need_lib_prefix=$need_lib_prefix
   23058 
   23059 # Do we need a version for libraries?
   23060 need_version=$need_version
   23061 
   23062 # Library versioning type.
   23063 version_type=$version_type
   23064 
   23065 # Shared library runtime path variable.
   23066 runpath_var=$runpath_var
   23067 
   23068 # Shared library path variable.
   23069 shlibpath_var=$shlibpath_var
   23070 
   23071 # Is shlibpath searched before the hard-coded library search path?
   23072 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   23073 
   23074 # Format of library name prefix.
   23075 libname_spec=$lt_libname_spec
   23076 
   23077 # List of archive names.  First name is the real one, the rest are links.
   23078 # The last name is the one that the linker finds with -lNAME
   23079 library_names_spec=$lt_library_names_spec
   23080 
   23081 # The coded name of the library, if different from the real name.
   23082 soname_spec=$lt_soname_spec
   23083 
   23084 # Permission mode override for installation of shared libraries.
   23085 install_override_mode=$lt_install_override_mode
   23086 
   23087 # Command to use after installation of a shared archive.
   23088 postinstall_cmds=$lt_postinstall_cmds
   23089 
   23090 # Command to use after uninstallation of a shared archive.
   23091 postuninstall_cmds=$lt_postuninstall_cmds
   23092 
   23093 # Commands used to finish a libtool library installation in a directory.
   23094 finish_cmds=$lt_finish_cmds
   23095 
   23096 # As "finish_cmds", except a single script fragment to be evaled but
   23097 # not shown.
   23098 finish_eval=$lt_finish_eval
   23099 
   23100 # Whether we should hardcode library paths into libraries.
   23101 hardcode_into_libs=$hardcode_into_libs
   23102 
   23103 # Compile-time system search path for libraries.
   23104 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23105 
   23106 # Run-time system search path for libraries.
   23107 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   23108 
   23109 # Whether dlopen is supported.
   23110 dlopen_support=$enable_dlopen
   23111 
   23112 # Whether dlopen of programs is supported.
   23113 dlopen_self=$enable_dlopen_self
   23114 
   23115 # Whether dlopen of statically linked programs is supported.
   23116 dlopen_self_static=$enable_dlopen_self_static
   23117 
   23118 # Commands to strip libraries.
   23119 old_striplib=$lt_old_striplib
   23120 striplib=$lt_striplib
   23121 
   23122 
   23123 # The linker used to build libraries.
   23124 LD=$lt_LD
   23125 
   23126 # How to create reloadable object files.
   23127 reload_flag=$lt_reload_flag
   23128 reload_cmds=$lt_reload_cmds
   23129 
   23130 # Commands used to build an old-style archive.
   23131 old_archive_cmds=$lt_old_archive_cmds
   23132 
   23133 # A language specific compiler.
   23134 CC=$lt_compiler
   23135 
   23136 # Is the compiler the GNU compiler?
   23137 with_gcc=$GCC
   23138 
   23139 # Compiler flag to turn off builtin functions.
   23140 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23141 
   23142 # Additional compiler flags for building library objects.
   23143 pic_flag=$lt_lt_prog_compiler_pic
   23144 
   23145 # How to pass a linker flag through the compiler.
   23146 wl=$lt_lt_prog_compiler_wl
   23147 
   23148 # Compiler flag to prevent dynamic linking.
   23149 link_static_flag=$lt_lt_prog_compiler_static
   23150 
   23151 # Does compiler simultaneously support -c and -o options?
   23152 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23153 
   23154 # Whether or not to add -lc for building shared libraries.
   23155 build_libtool_need_lc=$archive_cmds_need_lc
   23156 
   23157 # Whether or not to disallow shared libs when runtime libs are static.
   23158 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23159 
   23160 # Compiler flag to allow reflexive dlopens.
   23161 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23162 
   23163 # Compiler flag to generate shared objects directly from archives.
   23164 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23165 
   23166 # Whether the compiler copes with passing no objects directly.
   23167 compiler_needs_object=$lt_compiler_needs_object
   23168 
   23169 # Create an old-style archive from a shared archive.
   23170 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23171 
   23172 # Create a temporary old-style archive to link instead of a shared archive.
   23173 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23174 
   23175 # Commands used to build a shared archive.
   23176 archive_cmds=$lt_archive_cmds
   23177 archive_expsym_cmds=$lt_archive_expsym_cmds
   23178 
   23179 # Commands used to build a loadable module if different from building
   23180 # a shared archive.
   23181 module_cmds=$lt_module_cmds
   23182 module_expsym_cmds=$lt_module_expsym_cmds
   23183 
   23184 # Whether we are building with GNU ld or not.
   23185 with_gnu_ld=$lt_with_gnu_ld
   23186 
   23187 # Flag that allows shared libraries with undefined symbols to be built.
   23188 allow_undefined_flag=$lt_allow_undefined_flag
   23189 
   23190 # Flag that enforces no undefined symbols.
   23191 no_undefined_flag=$lt_no_undefined_flag
   23192 
   23193 # Flag to hardcode \$libdir into a binary during linking.
   23194 # This must work even if \$libdir does not exist
   23195 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23196 
   23197 # Whether we need a single "-rpath" flag with a separated argument.
   23198 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23199 
   23200 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   23201 # DIR into the resulting binary.
   23202 hardcode_direct=$hardcode_direct
   23203 
   23204 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   23205 # DIR into the resulting binary and the resulting library dependency is
   23206 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   23207 # library is relocated.
   23208 hardcode_direct_absolute=$hardcode_direct_absolute
   23209 
   23210 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23211 # into the resulting binary.
   23212 hardcode_minus_L=$hardcode_minus_L
   23213 
   23214 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23215 # into the resulting binary.
   23216 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23217 
   23218 # Set to "yes" if building a shared library automatically hardcodes DIR
   23219 # into the library and all subsequent libraries and executables linked
   23220 # against it.
   23221 hardcode_automatic=$hardcode_automatic
   23222 
   23223 # Set to yes if linker adds runtime paths of dependent libraries
   23224 # to runtime path list.
   23225 inherit_rpath=$inherit_rpath
   23226 
   23227 # Whether libtool must link a program against all its dependency libraries.
   23228 link_all_deplibs=$link_all_deplibs
   23229 
   23230 # Set to "yes" if exported symbols are required.
   23231 always_export_symbols=$always_export_symbols
   23232 
   23233 # The commands to list exported symbols.
   23234 export_symbols_cmds=$lt_export_symbols_cmds
   23235 
   23236 # Symbols that should not be listed in the preloaded symbols.
   23237 exclude_expsyms=$lt_exclude_expsyms
   23238 
   23239 # Symbols that must always be exported.
   23240 include_expsyms=$lt_include_expsyms
   23241 
   23242 # Commands necessary for linking programs (against libraries) with templates.
   23243 prelink_cmds=$lt_prelink_cmds
   23244 
   23245 # Commands necessary for finishing linking programs.
   23246 postlink_cmds=$lt_postlink_cmds
   23247 
   23248 # Specify filename containing input files.
   23249 file_list_spec=$lt_file_list_spec
   23250 
   23251 # How to hardcode a shared library path into an executable.
   23252 hardcode_action=$hardcode_action
   23253 
   23254 # ### END LIBTOOL CONFIG
   23255 
   23256 _LT_EOF
   23257 
   23258   case $host_os in
   23259   aix3*)
   23260     cat <<\_LT_EOF >> "$cfgfile"
   23261 # AIX sometimes has problems with the GCC collect2 program.  For some
   23262 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23263 # vanish in a puff of smoke.
   23264 if test "X${COLLECT_NAMES+set}" != Xset; then
   23265   COLLECT_NAMES=
   23266   export COLLECT_NAMES
   23267 fi
   23268 _LT_EOF
   23269     ;;
   23270   esac
   23271 
   23272 
   23273 ltmain="$ac_aux_dir/ltmain.sh"
   23274 
   23275 
   23276   # We use sed instead of cat because bash on DJGPP gets confused if
   23277   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23278   # text mode, it properly converts lines to CR/LF.  This bash problem
   23279   # is reportedly fixed, but why not run on old versions too?
   23280   sed '$q' "$ltmain" >> "$cfgfile" \
   23281      || (rm -f "$cfgfile"; exit 1)
   23282 
   23283   if test x"$xsi_shell" = xyes; then
   23284   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   23285 func_dirname ()\
   23286 {\
   23287 \    case ${1} in\
   23288 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   23289 \      *  ) func_dirname_result="${3}" ;;\
   23290 \    esac\
   23291 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   23292   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23293     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23294 test 0 -eq $? || _lt_function_replace_fail=:
   23295 
   23296 
   23297   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   23298 func_basename ()\
   23299 {\
   23300 \    func_basename_result="${1##*/}"\
   23301 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   23302   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23303     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23304 test 0 -eq $? || _lt_function_replace_fail=:
   23305 
   23306 
   23307   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   23308 func_dirname_and_basename ()\
   23309 {\
   23310 \    case ${1} in\
   23311 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   23312 \      *  ) func_dirname_result="${3}" ;;\
   23313 \    esac\
   23314 \    func_basename_result="${1##*/}"\
   23315 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   23316   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23317     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23318 test 0 -eq $? || _lt_function_replace_fail=:
   23319 
   23320 
   23321   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   23322 func_stripname ()\
   23323 {\
   23324 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   23325 \    # positional parameters, so assign one to ordinary parameter first.\
   23326 \    func_stripname_result=${3}\
   23327 \    func_stripname_result=${func_stripname_result#"${1}"}\
   23328 \    func_stripname_result=${func_stripname_result%"${2}"}\
   23329 } # Extended-shell func_stripname 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_split_long_opt ()$/,/^} # func_split_long_opt /c\
   23336 func_split_long_opt ()\
   23337 {\
   23338 \    func_split_long_opt_name=${1%%=*}\
   23339 \    func_split_long_opt_arg=${1#*=}\
   23340 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   23341   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23342     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23343 test 0 -eq $? || _lt_function_replace_fail=:
   23344 
   23345 
   23346   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   23347 func_split_short_opt ()\
   23348 {\
   23349 \    func_split_short_opt_arg=${1#??}\
   23350 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   23351 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   23352   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23353     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23354 test 0 -eq $? || _lt_function_replace_fail=:
   23355 
   23356 
   23357   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   23358 func_lo2o ()\
   23359 {\
   23360 \    case ${1} in\
   23361 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   23362 \      *)    func_lo2o_result=${1} ;;\
   23363 \    esac\
   23364 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   23365   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23366     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23367 test 0 -eq $? || _lt_function_replace_fail=:
   23368 
   23369 
   23370   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   23371 func_xform ()\
   23372 {\
   23373     func_xform_result=${1%.*}.lo\
   23374 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   23375   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23376     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23377 test 0 -eq $? || _lt_function_replace_fail=:
   23378 
   23379 
   23380   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   23381 func_arith ()\
   23382 {\
   23383     func_arith_result=$(( $* ))\
   23384 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   23385   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23386     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23387 test 0 -eq $? || _lt_function_replace_fail=:
   23388 
   23389 
   23390   sed -e '/^func_len ()$/,/^} # func_len /c\
   23391 func_len ()\
   23392 {\
   23393     func_len_result=${#1}\
   23394 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   23395   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23396     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23397 test 0 -eq $? || _lt_function_replace_fail=:
   23398 
   23399 fi
   23400 
   23401 if test x"$lt_shell_append" = xyes; then
   23402   sed -e '/^func_append ()$/,/^} # func_append /c\
   23403 func_append ()\
   23404 {\
   23405     eval "${1}+=\\${2}"\
   23406 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   23407   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23408     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23409 test 0 -eq $? || _lt_function_replace_fail=:
   23410 
   23411 
   23412   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   23413 func_append_quoted ()\
   23414 {\
   23415 \    func_quote_for_eval "${2}"\
   23416 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   23417 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   23418   && mv -f "$cfgfile.tmp" "$cfgfile" \
   23419     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23420 test 0 -eq $? || _lt_function_replace_fail=:
   23421 
   23422 
   23423   # Save a `func_append' function call where possible by direct use of '+='
   23424   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   23425     && mv -f "$cfgfile.tmp" "$cfgfile" \
   23426       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23427   test 0 -eq $? || _lt_function_replace_fail=:
   23428 else
   23429   # Save a `func_append' function call even when '+=' is not available
   23430   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   23431     && mv -f "$cfgfile.tmp" "$cfgfile" \
   23432       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   23433   test 0 -eq $? || _lt_function_replace_fail=:
   23434 fi
   23435 
   23436 if test x"$_lt_function_replace_fail" = x":"; then
   23437   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   23438 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   23439 fi
   23440 
   23441 
   23442    mv -f "$cfgfile" "$ofile" ||
   23443     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23444   chmod +x "$ofile"
   23445 
   23446  ;;
   23447 
   23448   esac
   23449 done # for ac_tag
   23450 
   23451 
   23452 as_fn_exit 0
   23453 _ACEOF
   23454 ac_clean_files=$ac_clean_files_save
   23455 
   23456 test $ac_write_fail = 0 ||
   23457   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23458 
   23459 
   23460 # configure is writing to config.log, and then calls config.status.
   23461 # config.status does its own redirection, appending to config.log.
   23462 # Unfortunately, on DOS this fails, as config.log is still kept open
   23463 # by configure, so config.status won't be able to write to it; its
   23464 # output is simply discarded.  So we exec the FD to /dev/null,
   23465 # effectively closing config.log, so it can be properly (re)opened and
   23466 # appended to by config.status.  When coming back to configure, we
   23467 # need to make the FD available again.
   23468 if test "$no_create" != yes; then
   23469   ac_cs_success=:
   23470   ac_config_status_args=
   23471   test "$silent" = yes &&
   23472     ac_config_status_args="$ac_config_status_args --quiet"
   23473   exec 5>/dev/null
   23474   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23475   exec 5>>config.log
   23476   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23477   # would make configure fail if this is the last instruction.
   23478   $ac_cs_success || as_fn_exit 1
   23479 fi
   23480 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23481   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23482 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23483 fi
   23484 
   23485 
   23486 echo ""
   23487 echo "X11 will be built with the following settings:"
   23488 echo " Loadable i18n module support:            "$XLIB_LOADABLE_I18N
   23489 echo " Loadable xcursor library support:        "$XLIB_LOADABLE_XCURSOR
   23490 echo " Threading support:                       "$xthreads
   23491 echo " Use Threads safe API:                    "$mtsafeapi
   23492 echo " Threads stubs in libX11:                 "$thrstubs
   23493 echo " XCMS:                                    "$XCMS
   23494 echo " Internationalization support:            "$XLOCALE
   23495 echo " XF86BigFont support:                     "$XF86BIGFONT
   23496 echo " XKB support:                             "$XKB
   23497 echo " XLOCALEDIR environment variable support: "$ENABLE_XLOCALEDIR
   23498 echo " Compose table cache enabled:             "$COMPOSECACHE
   23499 echo " Functional specs building enabled:       "$build_specs
   23500 echo ""
   23501