Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXfont 1.4.8.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1
    178 
    179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    183     PATH=/empty FPATH=/empty; export PATH FPATH
    184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 as_awk_strverscmp='
    551   # Use only awk features that work with 7th edition Unix awk (1978).
    552   # My, what an old awk you have, Mr. Solaris!
    553   END {
    554     while (length(v1) && length(v2)) {
    555       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    556       # Normally this is a single character, but if v1 and v2 contain digits,
    557       # compare them as integers and fractions as strverscmp does.
    558       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    559 	# Split v1 and v2 into their leading digit string components d1 and d2,
    560 	# and advance v1 and v2 past the leading digit strings.
    561 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    562 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    563 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    564 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    565 	if (d1 ~ /^0/) {
    566 	  if (d2 ~ /^0/) {
    567 	    # Compare two fractions.
    568 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    569 	      d1 = substr(d1, 2); len1--
    570 	      d2 = substr(d2, 2); len2--
    571 	    }
    572 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    573 	      # The two components differ in length, and the common prefix
    574 	      # contains only leading zeros.  Consider the longer to be less.
    575 	      d1 = -len1
    576 	      d2 = -len2
    577 	    } else {
    578 	      # Otherwise, compare as strings.
    579 	      d1 = "x" d1
    580 	      d2 = "x" d2
    581 	    }
    582 	  } else {
    583 	    # A fraction is less than an integer.
    584 	    exit 1
    585 	  }
    586 	} else {
    587 	  if (d2 ~ /^0/) {
    588 	    # An integer is greater than a fraction.
    589 	    exit 2
    590 	  } else {
    591 	    # Compare two integers.
    592 	    d1 += 0
    593 	    d2 += 0
    594 	  }
    595 	}
    596       } else {
    597 	# The normal case, without worrying about digits.
    598 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    599 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    600       }
    601       if (d1 < d2) exit 1
    602       if (d1 > d2) exit 2
    603     }
    604     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    605     # which mishandles some comparisons of empty strings to integers.
    606     if (length(v2)) exit 1
    607     if (length(v1)) exit 2
    608   }
    609 '
    610 
    611 test -n "$DJDIR" || exec 7<&0 </dev/null
    612 exec 6>&1
    613 
    614 # Name of the host.
    615 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    616 # so uname gets run too.
    617 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    618 
    619 #
    620 # Initializations.
    621 #
    622 ac_default_prefix=/usr/local
    623 ac_clean_files=
    624 ac_config_libobj_dir=.
    625 LIBOBJS=
    626 cross_compiling=no
    627 subdirs=
    628 MFLAGS=
    629 MAKEFLAGS=
    630 
    631 # Identity of this package.
    632 PACKAGE_NAME='libXfont'
    633 PACKAGE_TARNAME='libXfont'
    634 PACKAGE_VERSION='1.4.8'
    635 PACKAGE_STRING='libXfont 1.4.8'
    636 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    637 PACKAGE_URL=''
    638 
    639 ac_unique_file="Makefile.am"
    640 # Factoring default headers for most tests.
    641 ac_includes_default="\
    642 #include <stdio.h>
    643 #ifdef HAVE_SYS_TYPES_H
    644 # include <sys/types.h>
    645 #endif
    646 #ifdef HAVE_SYS_STAT_H
    647 # include <sys/stat.h>
    648 #endif
    649 #ifdef STDC_HEADERS
    650 # include <stdlib.h>
    651 # include <stddef.h>
    652 #else
    653 # ifdef HAVE_STDLIB_H
    654 #  include <stdlib.h>
    655 # endif
    656 #endif
    657 #ifdef HAVE_STRING_H
    658 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    659 #  include <memory.h>
    660 # endif
    661 # include <string.h>
    662 #endif
    663 #ifdef HAVE_STRINGS_H
    664 # include <strings.h>
    665 #endif
    666 #ifdef HAVE_INTTYPES_H
    667 # include <inttypes.h>
    668 #endif
    669 #ifdef HAVE_STDINT_H
    670 # include <stdint.h>
    671 #endif
    672 #ifdef HAVE_UNISTD_H
    673 # include <unistd.h>
    674 #endif"
    675 
    676 ac_subst_vars='am__EXEEXT_FALSE
    677 am__EXEEXT_TRUE
    678 LTLIBOBJS
    679 LIBOBJS
    680 OS_CFLAGS
    681 XFONT_LIBS
    682 XFONT_CFLAGS
    683 MATH_LIBS
    684 XFONT_FC_FALSE
    685 XFONT_FC_TRUE
    686 XFONT_FONTFILE_FALSE
    687 XFONT_FONTFILE_TRUE
    688 XFONT_BITMAP_FALSE
    689 XFONT_BITMAP_TRUE
    690 XFONT_SNFFORMAT_FALSE
    691 XFONT_SNFFORMAT_TRUE
    692 XFONT_BDFFORMAT_FALSE
    693 XFONT_BDFFORMAT_TRUE
    694 XFONT_PCFFORMAT_FALSE
    695 XFONT_PCFFORMAT_TRUE
    696 XFONT_BUILTINS_FALSE
    697 XFONT_BUILTINS_TRUE
    698 Z_LIBS
    699 X_BZIP2_FONT_COMPRESSION_FALSE
    700 X_BZIP2_FONT_COMPRESSION_TRUE
    701 X_GZIP_FONT_COMPRESSION
    702 FREETYPE_REQUIRES
    703 ft_config
    704 FREETYPE_LIBS
    705 FREETYPE_CFLAGS
    706 XFONT_FREETYPE_FALSE
    707 XFONT_FREETYPE_TRUE
    708 HAVE_STYLESHEETS_FALSE
    709 HAVE_STYLESHEETS_TRUE
    710 XSL_STYLESHEET
    711 STYLESHEET_SRCDIR
    712 XORG_SGML_PATH
    713 HAVE_FOP_FALSE
    714 HAVE_FOP_TRUE
    715 FOP
    716 HAVE_XMLTO_FALSE
    717 HAVE_XMLTO_TRUE
    718 HAVE_XMLTO_TEXT_FALSE
    719 HAVE_XMLTO_TEXT_TRUE
    720 XMLTO
    721 ENABLE_DEVEL_DOCS_FALSE
    722 ENABLE_DEVEL_DOCS_TRUE
    723 MAN_SUBSTS
    724 XORG_MAN_PAGE
    725 ADMIN_MAN_DIR
    726 DRIVER_MAN_DIR
    727 MISC_MAN_DIR
    728 FILE_MAN_DIR
    729 LIB_MAN_DIR
    730 APP_MAN_DIR
    731 ADMIN_MAN_SUFFIX
    732 DRIVER_MAN_SUFFIX
    733 MISC_MAN_SUFFIX
    734 FILE_MAN_SUFFIX
    735 LIB_MAN_SUFFIX
    736 APP_MAN_SUFFIX
    737 INSTALL_CMD
    738 PKG_CONFIG
    739 CHANGELOG_CMD
    740 STRICT_CFLAGS
    741 CWARNFLAGS
    742 BASE_CFLAGS
    743 OTOOL64
    744 OTOOL
    745 LIPO
    746 NMEDIT
    747 DSYMUTIL
    748 MANIFEST_TOOL
    749 RANLIB
    750 ac_ct_AR
    751 AR
    752 DLLTOOL
    753 OBJDUMP
    754 LN_S
    755 NM
    756 ac_ct_DUMPBIN
    757 DUMPBIN
    758 LD
    759 FGREP
    760 SED
    761 host_os
    762 host_vendor
    763 host_cpu
    764 host
    765 build_os
    766 build_vendor
    767 build_cpu
    768 build
    769 LIBTOOL
    770 EGREP
    771 GREP
    772 CPP
    773 am__fastdepCC_FALSE
    774 am__fastdepCC_TRUE
    775 CCDEPMODE
    776 am__nodep
    777 AMDEPBACKSLASH
    778 AMDEP_FALSE
    779 AMDEP_TRUE
    780 am__quote
    781 am__include
    782 DEPDIR
    783 OBJEXT
    784 EXEEXT
    785 ac_ct_CC
    786 CPPFLAGS
    787 LDFLAGS
    788 CFLAGS
    789 CC
    790 AM_BACKSLASH
    791 AM_DEFAULT_VERBOSITY
    792 AM_DEFAULT_V
    793 AM_V
    794 am__untar
    795 am__tar
    796 AMTAR
    797 am__leading_dot
    798 SET_MAKE
    799 AWK
    800 mkdir_p
    801 MKDIR_P
    802 INSTALL_STRIP_PROGRAM
    803 STRIP
    804 install_sh
    805 MAKEINFO
    806 AUTOHEADER
    807 AUTOMAKE
    808 AUTOCONF
    809 ACLOCAL
    810 VERSION
    811 PACKAGE
    812 CYGPATH_W
    813 am__isrc
    814 INSTALL_DATA
    815 INSTALL_SCRIPT
    816 INSTALL_PROGRAM
    817 target_alias
    818 host_alias
    819 build_alias
    820 LIBS
    821 ECHO_T
    822 ECHO_N
    823 ECHO_C
    824 DEFS
    825 mandir
    826 localedir
    827 libdir
    828 psdir
    829 pdfdir
    830 dvidir
    831 htmldir
    832 infodir
    833 docdir
    834 oldincludedir
    835 includedir
    836 localstatedir
    837 sharedstatedir
    838 sysconfdir
    839 datadir
    840 datarootdir
    841 libexecdir
    842 sbindir
    843 bindir
    844 program_transform_name
    845 prefix
    846 exec_prefix
    847 PACKAGE_URL
    848 PACKAGE_BUGREPORT
    849 PACKAGE_STRING
    850 PACKAGE_VERSION
    851 PACKAGE_TARNAME
    852 PACKAGE_NAME
    853 PATH_SEPARATOR
    854 SHELL'
    855 ac_subst_files=''
    856 ac_user_opts='
    857 enable_option_checking
    858 enable_silent_rules
    859 enable_dependency_tracking
    860 enable_shared
    861 enable_static
    862 with_pic
    863 enable_fast_install
    864 with_gnu_ld
    865 with_sysroot
    866 enable_libtool_lock
    867 enable_selective_werror
    868 enable_strict_compilation
    869 enable_devel_docs
    870 with_xmlto
    871 with_fop
    872 enable_freetype
    873 with_freetype_config
    874 with_bzip2
    875 enable_builtins
    876 enable_pcfformat
    877 enable_bdfformat
    878 enable_snfformat
    879 enable_fc
    880 enable_unix_transport
    881 enable_tcp_transport
    882 enable_ipv6
    883 enable_local_transport
    884 '
    885       ac_precious_vars='build_alias
    886 host_alias
    887 target_alias
    888 CC
    889 CFLAGS
    890 LDFLAGS
    891 LIBS
    892 CPPFLAGS
    893 CPP
    894 PKG_CONFIG
    895 XMLTO
    896 FOP
    897 FREETYPE_CFLAGS
    898 FREETYPE_LIBS
    899 XFONT_CFLAGS
    900 XFONT_LIBS'
    901 
    902 
    903 # Initialize some variables set by options.
    904 ac_init_help=
    905 ac_init_version=false
    906 ac_unrecognized_opts=
    907 ac_unrecognized_sep=
    908 # The variables have the same names as the options, with
    909 # dashes changed to underlines.
    910 cache_file=/dev/null
    911 exec_prefix=NONE
    912 no_create=
    913 no_recursion=
    914 prefix=NONE
    915 program_prefix=NONE
    916 program_suffix=NONE
    917 program_transform_name=s,x,x,
    918 silent=
    919 site=
    920 srcdir=
    921 verbose=
    922 x_includes=NONE
    923 x_libraries=NONE
    924 
    925 # Installation directory options.
    926 # These are left unexpanded so users can "make install exec_prefix=/foo"
    927 # and all the variables that are supposed to be based on exec_prefix
    928 # by default will actually change.
    929 # Use braces instead of parens because sh, perl, etc. also accept them.
    930 # (The list follows the same order as the GNU Coding Standards.)
    931 bindir='${exec_prefix}/bin'
    932 sbindir='${exec_prefix}/sbin'
    933 libexecdir='${exec_prefix}/libexec'
    934 datarootdir='${prefix}/share'
    935 datadir='${datarootdir}'
    936 sysconfdir='${prefix}/etc'
    937 sharedstatedir='${prefix}/com'
    938 localstatedir='${prefix}/var'
    939 includedir='${prefix}/include'
    940 oldincludedir='/usr/include'
    941 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    942 infodir='${datarootdir}/info'
    943 htmldir='${docdir}'
    944 dvidir='${docdir}'
    945 pdfdir='${docdir}'
    946 psdir='${docdir}'
    947 libdir='${exec_prefix}/lib'
    948 localedir='${datarootdir}/locale'
    949 mandir='${datarootdir}/man'
    950 
    951 ac_prev=
    952 ac_dashdash=
    953 for ac_option
    954 do
    955   # If the previous option needs an argument, assign it.
    956   if test -n "$ac_prev"; then
    957     eval $ac_prev=\$ac_option
    958     ac_prev=
    959     continue
    960   fi
    961 
    962   case $ac_option in
    963   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    964   *=)   ac_optarg= ;;
    965   *)    ac_optarg=yes ;;
    966   esac
    967 
    968   # Accept the important Cygnus configure options, so we can diagnose typos.
    969 
    970   case $ac_dashdash$ac_option in
    971   --)
    972     ac_dashdash=yes ;;
    973 
    974   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    975     ac_prev=bindir ;;
    976   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    977     bindir=$ac_optarg ;;
    978 
    979   -build | --build | --buil | --bui | --bu)
    980     ac_prev=build_alias ;;
    981   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    982     build_alias=$ac_optarg ;;
    983 
    984   -cache-file | --cache-file | --cache-fil | --cache-fi \
    985   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    986     ac_prev=cache_file ;;
    987   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    988   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    989     cache_file=$ac_optarg ;;
    990 
    991   --config-cache | -C)
    992     cache_file=config.cache ;;
    993 
    994   -datadir | --datadir | --datadi | --datad)
    995     ac_prev=datadir ;;
    996   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    997     datadir=$ac_optarg ;;
    998 
    999   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1000   | --dataroo | --dataro | --datar)
   1001     ac_prev=datarootdir ;;
   1002   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1003   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1004     datarootdir=$ac_optarg ;;
   1005 
   1006   -disable-* | --disable-*)
   1007     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1008     # Reject names that are not valid shell variable names.
   1009     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1010       as_fn_error $? "invalid feature name: $ac_useropt"
   1011     ac_useropt_orig=$ac_useropt
   1012     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1013     case $ac_user_opts in
   1014       *"
   1015 "enable_$ac_useropt"
   1016 "*) ;;
   1017       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1018 	 ac_unrecognized_sep=', ';;
   1019     esac
   1020     eval enable_$ac_useropt=no ;;
   1021 
   1022   -docdir | --docdir | --docdi | --doc | --do)
   1023     ac_prev=docdir ;;
   1024   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1025     docdir=$ac_optarg ;;
   1026 
   1027   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1028     ac_prev=dvidir ;;
   1029   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1030     dvidir=$ac_optarg ;;
   1031 
   1032   -enable-* | --enable-*)
   1033     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1034     # Reject names that are not valid shell variable names.
   1035     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1036       as_fn_error $? "invalid feature name: $ac_useropt"
   1037     ac_useropt_orig=$ac_useropt
   1038     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1039     case $ac_user_opts in
   1040       *"
   1041 "enable_$ac_useropt"
   1042 "*) ;;
   1043       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1044 	 ac_unrecognized_sep=', ';;
   1045     esac
   1046     eval enable_$ac_useropt=\$ac_optarg ;;
   1047 
   1048   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1049   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1050   | --exec | --exe | --ex)
   1051     ac_prev=exec_prefix ;;
   1052   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1053   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1054   | --exec=* | --exe=* | --ex=*)
   1055     exec_prefix=$ac_optarg ;;
   1056 
   1057   -gas | --gas | --ga | --g)
   1058     # Obsolete; use --with-gas.
   1059     with_gas=yes ;;
   1060 
   1061   -help | --help | --hel | --he | -h)
   1062     ac_init_help=long ;;
   1063   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1064     ac_init_help=recursive ;;
   1065   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1066     ac_init_help=short ;;
   1067 
   1068   -host | --host | --hos | --ho)
   1069     ac_prev=host_alias ;;
   1070   -host=* | --host=* | --hos=* | --ho=*)
   1071     host_alias=$ac_optarg ;;
   1072 
   1073   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1074     ac_prev=htmldir ;;
   1075   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1076   | --ht=*)
   1077     htmldir=$ac_optarg ;;
   1078 
   1079   -includedir | --includedir | --includedi | --included | --include \
   1080   | --includ | --inclu | --incl | --inc)
   1081     ac_prev=includedir ;;
   1082   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1083   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1084     includedir=$ac_optarg ;;
   1085 
   1086   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1087     ac_prev=infodir ;;
   1088   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1089     infodir=$ac_optarg ;;
   1090 
   1091   -libdir | --libdir | --libdi | --libd)
   1092     ac_prev=libdir ;;
   1093   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1094     libdir=$ac_optarg ;;
   1095 
   1096   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1097   | --libexe | --libex | --libe)
   1098     ac_prev=libexecdir ;;
   1099   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1100   | --libexe=* | --libex=* | --libe=*)
   1101     libexecdir=$ac_optarg ;;
   1102 
   1103   -localedir | --localedir | --localedi | --localed | --locale)
   1104     ac_prev=localedir ;;
   1105   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1106     localedir=$ac_optarg ;;
   1107 
   1108   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1109   | --localstate | --localstat | --localsta | --localst | --locals)
   1110     ac_prev=localstatedir ;;
   1111   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1112   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1113     localstatedir=$ac_optarg ;;
   1114 
   1115   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1116     ac_prev=mandir ;;
   1117   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1118     mandir=$ac_optarg ;;
   1119 
   1120   -nfp | --nfp | --nf)
   1121     # Obsolete; use --without-fp.
   1122     with_fp=no ;;
   1123 
   1124   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1125   | --no-cr | --no-c | -n)
   1126     no_create=yes ;;
   1127 
   1128   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1129   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1130     no_recursion=yes ;;
   1131 
   1132   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1133   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1134   | --oldin | --oldi | --old | --ol | --o)
   1135     ac_prev=oldincludedir ;;
   1136   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1137   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1138   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1139     oldincludedir=$ac_optarg ;;
   1140 
   1141   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1142     ac_prev=prefix ;;
   1143   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1144     prefix=$ac_optarg ;;
   1145 
   1146   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1147   | --program-pre | --program-pr | --program-p)
   1148     ac_prev=program_prefix ;;
   1149   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1150   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1151     program_prefix=$ac_optarg ;;
   1152 
   1153   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1154   | --program-suf | --program-su | --program-s)
   1155     ac_prev=program_suffix ;;
   1156   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1157   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1158     program_suffix=$ac_optarg ;;
   1159 
   1160   -program-transform-name | --program-transform-name \
   1161   | --program-transform-nam | --program-transform-na \
   1162   | --program-transform-n | --program-transform- \
   1163   | --program-transform | --program-transfor \
   1164   | --program-transfo | --program-transf \
   1165   | --program-trans | --program-tran \
   1166   | --progr-tra | --program-tr | --program-t)
   1167     ac_prev=program_transform_name ;;
   1168   -program-transform-name=* | --program-transform-name=* \
   1169   | --program-transform-nam=* | --program-transform-na=* \
   1170   | --program-transform-n=* | --program-transform-=* \
   1171   | --program-transform=* | --program-transfor=* \
   1172   | --program-transfo=* | --program-transf=* \
   1173   | --program-trans=* | --program-tran=* \
   1174   | --progr-tra=* | --program-tr=* | --program-t=*)
   1175     program_transform_name=$ac_optarg ;;
   1176 
   1177   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1178     ac_prev=pdfdir ;;
   1179   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1180     pdfdir=$ac_optarg ;;
   1181 
   1182   -psdir | --psdir | --psdi | --psd | --ps)
   1183     ac_prev=psdir ;;
   1184   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1185     psdir=$ac_optarg ;;
   1186 
   1187   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1188   | -silent | --silent | --silen | --sile | --sil)
   1189     silent=yes ;;
   1190 
   1191   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1192     ac_prev=sbindir ;;
   1193   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1194   | --sbi=* | --sb=*)
   1195     sbindir=$ac_optarg ;;
   1196 
   1197   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1198   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1199   | --sharedst | --shareds | --shared | --share | --shar \
   1200   | --sha | --sh)
   1201     ac_prev=sharedstatedir ;;
   1202   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1203   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1204   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1205   | --sha=* | --sh=*)
   1206     sharedstatedir=$ac_optarg ;;
   1207 
   1208   -site | --site | --sit)
   1209     ac_prev=site ;;
   1210   -site=* | --site=* | --sit=*)
   1211     site=$ac_optarg ;;
   1212 
   1213   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1214     ac_prev=srcdir ;;
   1215   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1216     srcdir=$ac_optarg ;;
   1217 
   1218   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1219   | --syscon | --sysco | --sysc | --sys | --sy)
   1220     ac_prev=sysconfdir ;;
   1221   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1222   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1223     sysconfdir=$ac_optarg ;;
   1224 
   1225   -target | --target | --targe | --targ | --tar | --ta | --t)
   1226     ac_prev=target_alias ;;
   1227   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1228     target_alias=$ac_optarg ;;
   1229 
   1230   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1231     verbose=yes ;;
   1232 
   1233   -version | --version | --versio | --versi | --vers | -V)
   1234     ac_init_version=: ;;
   1235 
   1236   -with-* | --with-*)
   1237     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1238     # Reject names that are not valid shell variable names.
   1239     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1240       as_fn_error $? "invalid package name: $ac_useropt"
   1241     ac_useropt_orig=$ac_useropt
   1242     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1243     case $ac_user_opts in
   1244       *"
   1245 "with_$ac_useropt"
   1246 "*) ;;
   1247       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1248 	 ac_unrecognized_sep=', ';;
   1249     esac
   1250     eval with_$ac_useropt=\$ac_optarg ;;
   1251 
   1252   -without-* | --without-*)
   1253     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1254     # Reject names that are not valid shell variable names.
   1255     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1256       as_fn_error $? "invalid package name: $ac_useropt"
   1257     ac_useropt_orig=$ac_useropt
   1258     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1259     case $ac_user_opts in
   1260       *"
   1261 "with_$ac_useropt"
   1262 "*) ;;
   1263       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1264 	 ac_unrecognized_sep=', ';;
   1265     esac
   1266     eval with_$ac_useropt=no ;;
   1267 
   1268   --x)
   1269     # Obsolete; use --with-x.
   1270     with_x=yes ;;
   1271 
   1272   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1273   | --x-incl | --x-inc | --x-in | --x-i)
   1274     ac_prev=x_includes ;;
   1275   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1276   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1277     x_includes=$ac_optarg ;;
   1278 
   1279   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1280   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1281     ac_prev=x_libraries ;;
   1282   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1283   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1284     x_libraries=$ac_optarg ;;
   1285 
   1286   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1287 Try \`$0 --help' for more information"
   1288     ;;
   1289 
   1290   *=*)
   1291     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1292     # Reject names that are not valid shell variable names.
   1293     case $ac_envvar in #(
   1294       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1295       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1296     esac
   1297     eval $ac_envvar=\$ac_optarg
   1298     export $ac_envvar ;;
   1299 
   1300   *)
   1301     # FIXME: should be removed in autoconf 3.0.
   1302     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1303     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1304       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1305     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1306     ;;
   1307 
   1308   esac
   1309 done
   1310 
   1311 if test -n "$ac_prev"; then
   1312   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1313   as_fn_error $? "missing argument to $ac_option"
   1314 fi
   1315 
   1316 if test -n "$ac_unrecognized_opts"; then
   1317   case $enable_option_checking in
   1318     no) ;;
   1319     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1320     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1321   esac
   1322 fi
   1323 
   1324 # Check all directory arguments for consistency.
   1325 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1326 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1327 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1328 		libdir localedir mandir
   1329 do
   1330   eval ac_val=\$$ac_var
   1331   # Remove trailing slashes.
   1332   case $ac_val in
   1333     */ )
   1334       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1335       eval $ac_var=\$ac_val;;
   1336   esac
   1337   # Be sure to have absolute directory names.
   1338   case $ac_val in
   1339     [\\/$]* | ?:[\\/]* )  continue;;
   1340     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1341   esac
   1342   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1343 done
   1344 
   1345 # There might be people who depend on the old broken behavior: `$host'
   1346 # used to hold the argument of --host etc.
   1347 # FIXME: To remove some day.
   1348 build=$build_alias
   1349 host=$host_alias
   1350 target=$target_alias
   1351 
   1352 # FIXME: To remove some day.
   1353 if test "x$host_alias" != x; then
   1354   if test "x$build_alias" = x; then
   1355     cross_compiling=maybe
   1356     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1357     If a cross compiler is detected then cross compile mode will be used" >&2
   1358   elif test "x$build_alias" != "x$host_alias"; then
   1359     cross_compiling=yes
   1360   fi
   1361 fi
   1362 
   1363 ac_tool_prefix=
   1364 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1365 
   1366 test "$silent" = yes && exec 6>/dev/null
   1367 
   1368 
   1369 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1370 ac_ls_di=`ls -di .` &&
   1371 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1372   as_fn_error $? "working directory cannot be determined"
   1373 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1374   as_fn_error $? "pwd does not report name of working directory"
   1375 
   1376 
   1377 # Find the source files, if location was not specified.
   1378 if test -z "$srcdir"; then
   1379   ac_srcdir_defaulted=yes
   1380   # Try the directory containing this script, then the parent directory.
   1381   ac_confdir=`$as_dirname -- "$as_myself" ||
   1382 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1383 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1384 	 X"$as_myself" : 'X\(//\)$' \| \
   1385 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1386 $as_echo X"$as_myself" |
   1387     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1388 	    s//\1/
   1389 	    q
   1390 	  }
   1391 	  /^X\(\/\/\)[^/].*/{
   1392 	    s//\1/
   1393 	    q
   1394 	  }
   1395 	  /^X\(\/\/\)$/{
   1396 	    s//\1/
   1397 	    q
   1398 	  }
   1399 	  /^X\(\/\).*/{
   1400 	    s//\1/
   1401 	    q
   1402 	  }
   1403 	  s/.*/./; q'`
   1404   srcdir=$ac_confdir
   1405   if test ! -r "$srcdir/$ac_unique_file"; then
   1406     srcdir=..
   1407   fi
   1408 else
   1409   ac_srcdir_defaulted=no
   1410 fi
   1411 if test ! -r "$srcdir/$ac_unique_file"; then
   1412   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1413   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1414 fi
   1415 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1416 ac_abs_confdir=`(
   1417 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1418 	pwd)`
   1419 # When building in place, set srcdir=.
   1420 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1421   srcdir=.
   1422 fi
   1423 # Remove unnecessary trailing slashes from srcdir.
   1424 # Double slashes in file names in object file debugging info
   1425 # mess up M-x gdb in Emacs.
   1426 case $srcdir in
   1427 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1428 esac
   1429 for ac_var in $ac_precious_vars; do
   1430   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1431   eval ac_env_${ac_var}_value=\$${ac_var}
   1432   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1433   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1434 done
   1435 
   1436 #
   1437 # Report the --help message.
   1438 #
   1439 if test "$ac_init_help" = "long"; then
   1440   # Omit some internal or obsolete options to make the list less imposing.
   1441   # This message is too long to be a string in the A/UX 3.1 sh.
   1442   cat <<_ACEOF
   1443 \`configure' configures libXfont 1.4.8 to adapt to many kinds of systems.
   1444 
   1445 Usage: $0 [OPTION]... [VAR=VALUE]...
   1446 
   1447 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1448 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1449 
   1450 Defaults for the options are specified in brackets.
   1451 
   1452 Configuration:
   1453   -h, --help              display this help and exit
   1454       --help=short        display options specific to this package
   1455       --help=recursive    display the short help of all the included packages
   1456   -V, --version           display version information and exit
   1457   -q, --quiet, --silent   do not print \`checking ...' messages
   1458       --cache-file=FILE   cache test results in FILE [disabled]
   1459   -C, --config-cache      alias for \`--cache-file=config.cache'
   1460   -n, --no-create         do not create output files
   1461       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1462 
   1463 Installation directories:
   1464   --prefix=PREFIX         install architecture-independent files in PREFIX
   1465                           [$ac_default_prefix]
   1466   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1467                           [PREFIX]
   1468 
   1469 By default, \`make install' will install all the files in
   1470 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1471 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1472 for instance \`--prefix=\$HOME'.
   1473 
   1474 For better control, use the options below.
   1475 
   1476 Fine tuning of the installation directories:
   1477   --bindir=DIR            user executables [EPREFIX/bin]
   1478   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1479   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1480   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1481   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1482   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1483   --libdir=DIR            object code libraries [EPREFIX/lib]
   1484   --includedir=DIR        C header files [PREFIX/include]
   1485   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1486   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1487   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1488   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1489   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1490   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1491   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXfont]
   1492   --htmldir=DIR           html documentation [DOCDIR]
   1493   --dvidir=DIR            dvi documentation [DOCDIR]
   1494   --pdfdir=DIR            pdf documentation [DOCDIR]
   1495   --psdir=DIR             ps documentation [DOCDIR]
   1496 _ACEOF
   1497 
   1498   cat <<\_ACEOF
   1499 
   1500 Program names:
   1501   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1502   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1503   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1504 
   1505 System types:
   1506   --build=BUILD     configure for building on BUILD [guessed]
   1507   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1508 _ACEOF
   1509 fi
   1510 
   1511 if test -n "$ac_init_help"; then
   1512   case $ac_init_help in
   1513      short | recursive ) echo "Configuration of libXfont 1.4.8:";;
   1514    esac
   1515   cat <<\_ACEOF
   1516 
   1517 Optional Features:
   1518   --disable-option-checking  ignore unrecognized --enable/--with options
   1519   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1520   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1521   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1522   --disable-silent-rules  verbose build output (undo: "make V=0")
   1523   --enable-dependency-tracking
   1524                           do not reject slow dependency extractors
   1525   --disable-dependency-tracking
   1526                           speeds up one-time build
   1527   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1528   --enable-static[=PKGS]  build static libraries [default=yes]
   1529   --enable-fast-install[=PKGS]
   1530                           optimize for fast installation [default=yes]
   1531   --disable-libtool-lock  avoid locking (might break parallel builds)
   1532   --disable-selective-werror
   1533                           Turn off selective compiler errors. (default:
   1534                           enabled)
   1535   --enable-strict-compilation
   1536                           Enable all warnings from compiler and make them
   1537                           errors (default: disabled)
   1538   --enable-devel-docs     Enable building the developer documentation
   1539                           (default: yes)
   1540  --disable-freetype
   1541  --disable-builtins
   1542  --disable-pcfformat
   1543  --disable-bdfformat
   1544  --disable-snfformat
   1545  --disable-fc
   1546   --enable-unix-transport Enable UNIX domain socket transport
   1547   --enable-tcp-transport  Enable TCP socket transport
   1548   --enable-ipv6           Enable IPv6 support
   1549   --enable-local-transport
   1550                           Enable os-specific local transport
   1551 
   1552 Optional Packages:
   1553   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1554   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1555   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1556                           both]
   1557   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1558   --with-sysroot=DIR Search for dependent libraries within DIR
   1559                         (or the compiler's sysroot if not specified).
   1560   --with-xmlto            Use xmlto to regenerate documentation (default:
   1561                           auto)
   1562   --with-fop              Use fop to regenerate documentation (default: auto)
   1563   --with-freetype-config=PROG   Use FreeType configuration program PROG
   1564   --with-bzip2            Support bzip2 compressed bitmap fonts
   1565 
   1566 Some influential environment variables:
   1567   CC          C compiler command
   1568   CFLAGS      C compiler flags
   1569   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1570               nonstandard directory <lib dir>
   1571   LIBS        libraries to pass to the linker, e.g. -l<library>
   1572   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1573               you have headers in a nonstandard directory <include dir>
   1574   CPP         C preprocessor
   1575   PKG_CONFIG  path to pkg-config utility
   1576   XMLTO       Path to xmlto command
   1577   FOP         Path to fop command
   1578   FREETYPE_CFLAGS
   1579               C compiler flags for FREETYPE, overriding pkg-config
   1580   FREETYPE_LIBS
   1581               linker flags for FREETYPE, overriding pkg-config
   1582   XFONT_CFLAGS
   1583               C compiler flags for XFONT, overriding pkg-config
   1584   XFONT_LIBS  linker flags for XFONT, overriding pkg-config
   1585 
   1586 Use these variables to override the choices made by `configure' or to help
   1587 it to find libraries and programs with nonstandard names/locations.
   1588 
   1589 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1590 _ACEOF
   1591 ac_status=$?
   1592 fi
   1593 
   1594 if test "$ac_init_help" = "recursive"; then
   1595   # If there are subdirs, report their specific --help.
   1596   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1597     test -d "$ac_dir" ||
   1598       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1599       continue
   1600     ac_builddir=.
   1601 
   1602 case "$ac_dir" in
   1603 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1604 *)
   1605   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1606   # A ".." for each directory in $ac_dir_suffix.
   1607   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1608   case $ac_top_builddir_sub in
   1609   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1610   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1611   esac ;;
   1612 esac
   1613 ac_abs_top_builddir=$ac_pwd
   1614 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1615 # for backward compatibility:
   1616 ac_top_builddir=$ac_top_build_prefix
   1617 
   1618 case $srcdir in
   1619   .)  # We are building in place.
   1620     ac_srcdir=.
   1621     ac_top_srcdir=$ac_top_builddir_sub
   1622     ac_abs_top_srcdir=$ac_pwd ;;
   1623   [\\/]* | ?:[\\/]* )  # Absolute name.
   1624     ac_srcdir=$srcdir$ac_dir_suffix;
   1625     ac_top_srcdir=$srcdir
   1626     ac_abs_top_srcdir=$srcdir ;;
   1627   *) # Relative name.
   1628     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1629     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1630     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1631 esac
   1632 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1633 
   1634     cd "$ac_dir" || { ac_status=$?; continue; }
   1635     # Check for guested configure.
   1636     if test -f "$ac_srcdir/configure.gnu"; then
   1637       echo &&
   1638       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1639     elif test -f "$ac_srcdir/configure"; then
   1640       echo &&
   1641       $SHELL "$ac_srcdir/configure" --help=recursive
   1642     else
   1643       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1644     fi || ac_status=$?
   1645     cd "$ac_pwd" || { ac_status=$?; break; }
   1646   done
   1647 fi
   1648 
   1649 test -n "$ac_init_help" && exit $ac_status
   1650 if $ac_init_version; then
   1651   cat <<\_ACEOF
   1652 libXfont configure 1.4.8
   1653 generated by GNU Autoconf 2.68
   1654 
   1655 Copyright (C) 2010 Free Software Foundation, Inc.
   1656 This configure script is free software; the Free Software Foundation
   1657 gives unlimited permission to copy, distribute and modify it.
   1658 _ACEOF
   1659   exit
   1660 fi
   1661 
   1662 ## ------------------------ ##
   1663 ## Autoconf initialization. ##
   1664 ## ------------------------ ##
   1665 
   1666 # ac_fn_c_try_compile LINENO
   1667 # --------------------------
   1668 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1669 ac_fn_c_try_compile ()
   1670 {
   1671   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1672   rm -f conftest.$ac_objext
   1673   if { { ac_try="$ac_compile"
   1674 case "(($ac_try" in
   1675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1676   *) ac_try_echo=$ac_try;;
   1677 esac
   1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1679 $as_echo "$ac_try_echo"; } >&5
   1680   (eval "$ac_compile") 2>conftest.err
   1681   ac_status=$?
   1682   if test -s conftest.err; then
   1683     grep -v '^ *+' conftest.err >conftest.er1
   1684     cat conftest.er1 >&5
   1685     mv -f conftest.er1 conftest.err
   1686   fi
   1687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1688   test $ac_status = 0; } && {
   1689 	 test -z "$ac_c_werror_flag" ||
   1690 	 test ! -s conftest.err
   1691        } && test -s conftest.$ac_objext; then :
   1692   ac_retval=0
   1693 else
   1694   $as_echo "$as_me: failed program was:" >&5
   1695 sed 's/^/| /' conftest.$ac_ext >&5
   1696 
   1697 	ac_retval=1
   1698 fi
   1699   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1700   as_fn_set_status $ac_retval
   1701 
   1702 } # ac_fn_c_try_compile
   1703 
   1704 # ac_fn_c_try_cpp LINENO
   1705 # ----------------------
   1706 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1707 ac_fn_c_try_cpp ()
   1708 {
   1709   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1710   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1711 case "(($ac_try" in
   1712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1713   *) ac_try_echo=$ac_try;;
   1714 esac
   1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1716 $as_echo "$ac_try_echo"; } >&5
   1717   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1718   ac_status=$?
   1719   if test -s conftest.err; then
   1720     grep -v '^ *+' conftest.err >conftest.er1
   1721     cat conftest.er1 >&5
   1722     mv -f conftest.er1 conftest.err
   1723   fi
   1724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1725   test $ac_status = 0; } > conftest.i && {
   1726 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1727 	 test ! -s conftest.err
   1728        }; then :
   1729   ac_retval=0
   1730 else
   1731   $as_echo "$as_me: failed program was:" >&5
   1732 sed 's/^/| /' conftest.$ac_ext >&5
   1733 
   1734     ac_retval=1
   1735 fi
   1736   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1737   as_fn_set_status $ac_retval
   1738 
   1739 } # ac_fn_c_try_cpp
   1740 
   1741 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1742 # -------------------------------------------------------
   1743 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1744 # the include files in INCLUDES and setting the cache variable VAR
   1745 # accordingly.
   1746 ac_fn_c_check_header_mongrel ()
   1747 {
   1748   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1749   if eval \${$3+:} false; then :
   1750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1751 $as_echo_n "checking for $2... " >&6; }
   1752 if eval \${$3+:} false; then :
   1753   $as_echo_n "(cached) " >&6
   1754 fi
   1755 eval ac_res=\$$3
   1756 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1757 $as_echo "$ac_res" >&6; }
   1758 else
   1759   # Is the header compilable?
   1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1761 $as_echo_n "checking $2 usability... " >&6; }
   1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1763 /* end confdefs.h.  */
   1764 $4
   1765 #include <$2>
   1766 _ACEOF
   1767 if ac_fn_c_try_compile "$LINENO"; then :
   1768   ac_header_compiler=yes
   1769 else
   1770   ac_header_compiler=no
   1771 fi
   1772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1774 $as_echo "$ac_header_compiler" >&6; }
   1775 
   1776 # Is the header present?
   1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1778 $as_echo_n "checking $2 presence... " >&6; }
   1779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1780 /* end confdefs.h.  */
   1781 #include <$2>
   1782 _ACEOF
   1783 if ac_fn_c_try_cpp "$LINENO"; then :
   1784   ac_header_preproc=yes
   1785 else
   1786   ac_header_preproc=no
   1787 fi
   1788 rm -f conftest.err conftest.i conftest.$ac_ext
   1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1790 $as_echo "$ac_header_preproc" >&6; }
   1791 
   1792 # So?  What about this header?
   1793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1794   yes:no: )
   1795     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1796 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1797     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1798 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1799     ;;
   1800   no:yes:* )
   1801     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1802 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1803     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1804 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1805     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1806 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1807     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1808 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1809     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1810 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1811 ( $as_echo "## ---------------------------------------------------------------------- ##
   1812 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1813 ## ---------------------------------------------------------------------- ##"
   1814      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1815     ;;
   1816 esac
   1817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1818 $as_echo_n "checking for $2... " >&6; }
   1819 if eval \${$3+:} false; then :
   1820   $as_echo_n "(cached) " >&6
   1821 else
   1822   eval "$3=\$ac_header_compiler"
   1823 fi
   1824 eval ac_res=\$$3
   1825 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1826 $as_echo "$ac_res" >&6; }
   1827 fi
   1828   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1829 
   1830 } # ac_fn_c_check_header_mongrel
   1831 
   1832 # ac_fn_c_try_run LINENO
   1833 # ----------------------
   1834 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1835 # that executables *can* be run.
   1836 ac_fn_c_try_run ()
   1837 {
   1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1839   if { { ac_try="$ac_link"
   1840 case "(($ac_try" in
   1841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1842   *) ac_try_echo=$ac_try;;
   1843 esac
   1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1845 $as_echo "$ac_try_echo"; } >&5
   1846   (eval "$ac_link") 2>&5
   1847   ac_status=$?
   1848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1849   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1850   { { case "(($ac_try" in
   1851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1852   *) ac_try_echo=$ac_try;;
   1853 esac
   1854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1855 $as_echo "$ac_try_echo"; } >&5
   1856   (eval "$ac_try") 2>&5
   1857   ac_status=$?
   1858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1859   test $ac_status = 0; }; }; then :
   1860   ac_retval=0
   1861 else
   1862   $as_echo "$as_me: program exited with status $ac_status" >&5
   1863        $as_echo "$as_me: failed program was:" >&5
   1864 sed 's/^/| /' conftest.$ac_ext >&5
   1865 
   1866        ac_retval=$ac_status
   1867 fi
   1868   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1869   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1870   as_fn_set_status $ac_retval
   1871 
   1872 } # ac_fn_c_try_run
   1873 
   1874 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1875 # -------------------------------------------------------
   1876 # Tests whether HEADER exists and can be compiled using the include files in
   1877 # INCLUDES, setting the cache variable VAR accordingly.
   1878 ac_fn_c_check_header_compile ()
   1879 {
   1880   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1882 $as_echo_n "checking for $2... " >&6; }
   1883 if eval \${$3+:} false; then :
   1884   $as_echo_n "(cached) " >&6
   1885 else
   1886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1887 /* end confdefs.h.  */
   1888 $4
   1889 #include <$2>
   1890 _ACEOF
   1891 if ac_fn_c_try_compile "$LINENO"; then :
   1892   eval "$3=yes"
   1893 else
   1894   eval "$3=no"
   1895 fi
   1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1897 fi
   1898 eval ac_res=\$$3
   1899 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1900 $as_echo "$ac_res" >&6; }
   1901   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1902 
   1903 } # ac_fn_c_check_header_compile
   1904 
   1905 # ac_fn_c_try_link LINENO
   1906 # -----------------------
   1907 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1908 ac_fn_c_try_link ()
   1909 {
   1910   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1911   rm -f conftest.$ac_objext conftest$ac_exeext
   1912   if { { ac_try="$ac_link"
   1913 case "(($ac_try" in
   1914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1915   *) ac_try_echo=$ac_try;;
   1916 esac
   1917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1918 $as_echo "$ac_try_echo"; } >&5
   1919   (eval "$ac_link") 2>conftest.err
   1920   ac_status=$?
   1921   if test -s conftest.err; then
   1922     grep -v '^ *+' conftest.err >conftest.er1
   1923     cat conftest.er1 >&5
   1924     mv -f conftest.er1 conftest.err
   1925   fi
   1926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1927   test $ac_status = 0; } && {
   1928 	 test -z "$ac_c_werror_flag" ||
   1929 	 test ! -s conftest.err
   1930        } && test -s conftest$ac_exeext && {
   1931 	 test "$cross_compiling" = yes ||
   1932 	 $as_test_x conftest$ac_exeext
   1933        }; then :
   1934   ac_retval=0
   1935 else
   1936   $as_echo "$as_me: failed program was:" >&5
   1937 sed 's/^/| /' conftest.$ac_ext >&5
   1938 
   1939 	ac_retval=1
   1940 fi
   1941   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1942   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1943   # interfere with the next link command; also delete a directory that is
   1944   # left behind by Apple's compiler.  We do this before executing the actions.
   1945   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1946   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1947   as_fn_set_status $ac_retval
   1948 
   1949 } # ac_fn_c_try_link
   1950 
   1951 # ac_fn_c_check_func LINENO FUNC VAR
   1952 # ----------------------------------
   1953 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1954 ac_fn_c_check_func ()
   1955 {
   1956   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1958 $as_echo_n "checking for $2... " >&6; }
   1959 if eval \${$3+:} false; then :
   1960   $as_echo_n "(cached) " >&6
   1961 else
   1962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1963 /* end confdefs.h.  */
   1964 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1965    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1966 #define $2 innocuous_$2
   1967 
   1968 /* System header to define __stub macros and hopefully few prototypes,
   1969     which can conflict with char $2 (); below.
   1970     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1971     <limits.h> exists even on freestanding compilers.  */
   1972 
   1973 #ifdef __STDC__
   1974 # include <limits.h>
   1975 #else
   1976 # include <assert.h>
   1977 #endif
   1978 
   1979 #undef $2
   1980 
   1981 /* Override any GCC internal prototype to avoid an error.
   1982    Use char because int might match the return type of a GCC
   1983    builtin and then its argument prototype would still apply.  */
   1984 #ifdef __cplusplus
   1985 extern "C"
   1986 #endif
   1987 char $2 ();
   1988 /* The GNU C library defines this for functions which it implements
   1989     to always fail with ENOSYS.  Some functions are actually named
   1990     something starting with __ and the normal name is an alias.  */
   1991 #if defined __stub_$2 || defined __stub___$2
   1992 choke me
   1993 #endif
   1994 
   1995 int
   1996 main ()
   1997 {
   1998 return $2 ();
   1999   ;
   2000   return 0;
   2001 }
   2002 _ACEOF
   2003 if ac_fn_c_try_link "$LINENO"; then :
   2004   eval "$3=yes"
   2005 else
   2006   eval "$3=no"
   2007 fi
   2008 rm -f core conftest.err conftest.$ac_objext \
   2009     conftest$ac_exeext conftest.$ac_ext
   2010 fi
   2011 eval ac_res=\$$3
   2012 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2013 $as_echo "$ac_res" >&6; }
   2014   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2015 
   2016 } # ac_fn_c_check_func
   2017 
   2018 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2019 # ---------------------------------------------
   2020 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2021 # accordingly.
   2022 ac_fn_c_check_decl ()
   2023 {
   2024   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2025   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2026   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2028 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2029 if eval \${$3+:} false; then :
   2030   $as_echo_n "(cached) " >&6
   2031 else
   2032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2033 /* end confdefs.h.  */
   2034 $4
   2035 int
   2036 main ()
   2037 {
   2038 #ifndef $as_decl_name
   2039 #ifdef __cplusplus
   2040   (void) $as_decl_use;
   2041 #else
   2042   (void) $as_decl_name;
   2043 #endif
   2044 #endif
   2045 
   2046   ;
   2047   return 0;
   2048 }
   2049 _ACEOF
   2050 if ac_fn_c_try_compile "$LINENO"; then :
   2051   eval "$3=yes"
   2052 else
   2053   eval "$3=no"
   2054 fi
   2055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2056 fi
   2057 eval ac_res=\$$3
   2058 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2059 $as_echo "$ac_res" >&6; }
   2060   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2061 
   2062 } # ac_fn_c_check_decl
   2063 
   2064 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2065 # ----------------------------------------------------
   2066 # Tries to find if the field MEMBER exists in type AGGR, after including
   2067 # INCLUDES, setting cache variable VAR accordingly.
   2068 ac_fn_c_check_member ()
   2069 {
   2070   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2072 $as_echo_n "checking for $2.$3... " >&6; }
   2073 if eval \${$4+:} false; then :
   2074   $as_echo_n "(cached) " >&6
   2075 else
   2076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2077 /* end confdefs.h.  */
   2078 $5
   2079 int
   2080 main ()
   2081 {
   2082 static $2 ac_aggr;
   2083 if (ac_aggr.$3)
   2084 return 0;
   2085   ;
   2086   return 0;
   2087 }
   2088 _ACEOF
   2089 if ac_fn_c_try_compile "$LINENO"; then :
   2090   eval "$4=yes"
   2091 else
   2092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2093 /* end confdefs.h.  */
   2094 $5
   2095 int
   2096 main ()
   2097 {
   2098 static $2 ac_aggr;
   2099 if (sizeof ac_aggr.$3)
   2100 return 0;
   2101   ;
   2102   return 0;
   2103 }
   2104 _ACEOF
   2105 if ac_fn_c_try_compile "$LINENO"; then :
   2106   eval "$4=yes"
   2107 else
   2108   eval "$4=no"
   2109 fi
   2110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2111 fi
   2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2113 fi
   2114 eval ac_res=\$$4
   2115 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2116 $as_echo "$ac_res" >&6; }
   2117   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2118 
   2119 } # ac_fn_c_check_member
   2120 
   2121 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2122 # -------------------------------------------
   2123 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2124 # variable VAR accordingly.
   2125 ac_fn_c_check_type ()
   2126 {
   2127   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2129 $as_echo_n "checking for $2... " >&6; }
   2130 if eval \${$3+:} false; then :
   2131   $as_echo_n "(cached) " >&6
   2132 else
   2133   eval "$3=no"
   2134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2135 /* end confdefs.h.  */
   2136 $4
   2137 int
   2138 main ()
   2139 {
   2140 if (sizeof ($2))
   2141 	 return 0;
   2142   ;
   2143   return 0;
   2144 }
   2145 _ACEOF
   2146 if ac_fn_c_try_compile "$LINENO"; then :
   2147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2148 /* end confdefs.h.  */
   2149 $4
   2150 int
   2151 main ()
   2152 {
   2153 if (sizeof (($2)))
   2154 	    return 0;
   2155   ;
   2156   return 0;
   2157 }
   2158 _ACEOF
   2159 if ac_fn_c_try_compile "$LINENO"; then :
   2160 
   2161 else
   2162   eval "$3=yes"
   2163 fi
   2164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2165 fi
   2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2167 fi
   2168 eval ac_res=\$$3
   2169 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2170 $as_echo "$ac_res" >&6; }
   2171   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2172 
   2173 } # ac_fn_c_check_type
   2174 cat >config.log <<_ACEOF
   2175 This file contains any messages produced by compilers while
   2176 running configure, to aid debugging if configure makes a mistake.
   2177 
   2178 It was created by libXfont $as_me 1.4.8, which was
   2179 generated by GNU Autoconf 2.68.  Invocation command line was
   2180 
   2181   $ $0 $@
   2182 
   2183 _ACEOF
   2184 exec 5>>config.log
   2185 {
   2186 cat <<_ASUNAME
   2187 ## --------- ##
   2188 ## Platform. ##
   2189 ## --------- ##
   2190 
   2191 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2192 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2193 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2194 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2195 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2196 
   2197 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2198 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2199 
   2200 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2201 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2202 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2203 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2204 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2205 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2206 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2207 
   2208 _ASUNAME
   2209 
   2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2211 for as_dir in $PATH
   2212 do
   2213   IFS=$as_save_IFS
   2214   test -z "$as_dir" && as_dir=.
   2215     $as_echo "PATH: $as_dir"
   2216   done
   2217 IFS=$as_save_IFS
   2218 
   2219 } >&5
   2220 
   2221 cat >&5 <<_ACEOF
   2222 
   2223 
   2224 ## ----------- ##
   2225 ## Core tests. ##
   2226 ## ----------- ##
   2227 
   2228 _ACEOF
   2229 
   2230 
   2231 # Keep a trace of the command line.
   2232 # Strip out --no-create and --no-recursion so they do not pile up.
   2233 # Strip out --silent because we don't want to record it for future runs.
   2234 # Also quote any args containing shell meta-characters.
   2235 # Make two passes to allow for proper duplicate-argument suppression.
   2236 ac_configure_args=
   2237 ac_configure_args0=
   2238 ac_configure_args1=
   2239 ac_must_keep_next=false
   2240 for ac_pass in 1 2
   2241 do
   2242   for ac_arg
   2243   do
   2244     case $ac_arg in
   2245     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2246     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2247     | -silent | --silent | --silen | --sile | --sil)
   2248       continue ;;
   2249     *\'*)
   2250       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2251     esac
   2252     case $ac_pass in
   2253     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2254     2)
   2255       as_fn_append ac_configure_args1 " '$ac_arg'"
   2256       if test $ac_must_keep_next = true; then
   2257 	ac_must_keep_next=false # Got value, back to normal.
   2258       else
   2259 	case $ac_arg in
   2260 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2261 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2262 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2263 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2264 	    case "$ac_configure_args0 " in
   2265 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2266 	    esac
   2267 	    ;;
   2268 	  -* ) ac_must_keep_next=true ;;
   2269 	esac
   2270       fi
   2271       as_fn_append ac_configure_args " '$ac_arg'"
   2272       ;;
   2273     esac
   2274   done
   2275 done
   2276 { ac_configure_args0=; unset ac_configure_args0;}
   2277 { ac_configure_args1=; unset ac_configure_args1;}
   2278 
   2279 # When interrupted or exit'd, cleanup temporary files, and complete
   2280 # config.log.  We remove comments because anyway the quotes in there
   2281 # would cause problems or look ugly.
   2282 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2283 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2284 trap 'exit_status=$?
   2285   # Save into config.log some information that might help in debugging.
   2286   {
   2287     echo
   2288 
   2289     $as_echo "## ---------------- ##
   2290 ## Cache variables. ##
   2291 ## ---------------- ##"
   2292     echo
   2293     # The following way of writing the cache mishandles newlines in values,
   2294 (
   2295   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2296     eval ac_val=\$$ac_var
   2297     case $ac_val in #(
   2298     *${as_nl}*)
   2299       case $ac_var in #(
   2300       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2301 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2302       esac
   2303       case $ac_var in #(
   2304       _ | IFS | as_nl) ;; #(
   2305       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2306       *) { eval $ac_var=; unset $ac_var;} ;;
   2307       esac ;;
   2308     esac
   2309   done
   2310   (set) 2>&1 |
   2311     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2312     *${as_nl}ac_space=\ *)
   2313       sed -n \
   2314 	"s/'\''/'\''\\\\'\'''\''/g;
   2315 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2316       ;; #(
   2317     *)
   2318       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2319       ;;
   2320     esac |
   2321     sort
   2322 )
   2323     echo
   2324 
   2325     $as_echo "## ----------------- ##
   2326 ## Output variables. ##
   2327 ## ----------------- ##"
   2328     echo
   2329     for ac_var in $ac_subst_vars
   2330     do
   2331       eval ac_val=\$$ac_var
   2332       case $ac_val in
   2333       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2334       esac
   2335       $as_echo "$ac_var='\''$ac_val'\''"
   2336     done | sort
   2337     echo
   2338 
   2339     if test -n "$ac_subst_files"; then
   2340       $as_echo "## ------------------- ##
   2341 ## File substitutions. ##
   2342 ## ------------------- ##"
   2343       echo
   2344       for ac_var in $ac_subst_files
   2345       do
   2346 	eval ac_val=\$$ac_var
   2347 	case $ac_val in
   2348 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2349 	esac
   2350 	$as_echo "$ac_var='\''$ac_val'\''"
   2351       done | sort
   2352       echo
   2353     fi
   2354 
   2355     if test -s confdefs.h; then
   2356       $as_echo "## ----------- ##
   2357 ## confdefs.h. ##
   2358 ## ----------- ##"
   2359       echo
   2360       cat confdefs.h
   2361       echo
   2362     fi
   2363     test "$ac_signal" != 0 &&
   2364       $as_echo "$as_me: caught signal $ac_signal"
   2365     $as_echo "$as_me: exit $exit_status"
   2366   } >&5
   2367   rm -f core *.core core.conftest.* &&
   2368     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2369     exit $exit_status
   2370 ' 0
   2371 for ac_signal in 1 2 13 15; do
   2372   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2373 done
   2374 ac_signal=0
   2375 
   2376 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2377 rm -f -r conftest* confdefs.h
   2378 
   2379 $as_echo "/* confdefs.h */" > confdefs.h
   2380 
   2381 # Predefined preprocessor variables.
   2382 
   2383 cat >>confdefs.h <<_ACEOF
   2384 #define PACKAGE_NAME "$PACKAGE_NAME"
   2385 _ACEOF
   2386 
   2387 cat >>confdefs.h <<_ACEOF
   2388 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2389 _ACEOF
   2390 
   2391 cat >>confdefs.h <<_ACEOF
   2392 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2393 _ACEOF
   2394 
   2395 cat >>confdefs.h <<_ACEOF
   2396 #define PACKAGE_STRING "$PACKAGE_STRING"
   2397 _ACEOF
   2398 
   2399 cat >>confdefs.h <<_ACEOF
   2400 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2401 _ACEOF
   2402 
   2403 cat >>confdefs.h <<_ACEOF
   2404 #define PACKAGE_URL "$PACKAGE_URL"
   2405 _ACEOF
   2406 
   2407 
   2408 # Let the site file select an alternate cache file if it wants to.
   2409 # Prefer an explicitly selected file to automatically selected ones.
   2410 ac_site_file1=NONE
   2411 ac_site_file2=NONE
   2412 if test -n "$CONFIG_SITE"; then
   2413   # We do not want a PATH search for config.site.
   2414   case $CONFIG_SITE in #((
   2415     -*)  ac_site_file1=./$CONFIG_SITE;;
   2416     */*) ac_site_file1=$CONFIG_SITE;;
   2417     *)   ac_site_file1=./$CONFIG_SITE;;
   2418   esac
   2419 elif test "x$prefix" != xNONE; then
   2420   ac_site_file1=$prefix/share/config.site
   2421   ac_site_file2=$prefix/etc/config.site
   2422 else
   2423   ac_site_file1=$ac_default_prefix/share/config.site
   2424   ac_site_file2=$ac_default_prefix/etc/config.site
   2425 fi
   2426 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2427 do
   2428   test "x$ac_site_file" = xNONE && continue
   2429   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2430     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2431 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2432     sed 's/^/| /' "$ac_site_file" >&5
   2433     . "$ac_site_file" \
   2434       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2436 as_fn_error $? "failed to load site script $ac_site_file
   2437 See \`config.log' for more details" "$LINENO" 5; }
   2438   fi
   2439 done
   2440 
   2441 if test -r "$cache_file"; then
   2442   # Some versions of bash will fail to source /dev/null (special files
   2443   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2444   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2445     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2446 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2447     case $cache_file in
   2448       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2449       *)                      . "./$cache_file";;
   2450     esac
   2451   fi
   2452 else
   2453   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2454 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2455   >$cache_file
   2456 fi
   2457 
   2458 # Check that the precious variables saved in the cache have kept the same
   2459 # value.
   2460 ac_cache_corrupted=false
   2461 for ac_var in $ac_precious_vars; do
   2462   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2463   eval ac_new_set=\$ac_env_${ac_var}_set
   2464   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2465   eval ac_new_val=\$ac_env_${ac_var}_value
   2466   case $ac_old_set,$ac_new_set in
   2467     set,)
   2468       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2469 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2470       ac_cache_corrupted=: ;;
   2471     ,set)
   2472       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2473 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2474       ac_cache_corrupted=: ;;
   2475     ,);;
   2476     *)
   2477       if test "x$ac_old_val" != "x$ac_new_val"; then
   2478 	# differences in whitespace do not lead to failure.
   2479 	ac_old_val_w=`echo x $ac_old_val`
   2480 	ac_new_val_w=`echo x $ac_new_val`
   2481 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2482 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2483 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2484 	  ac_cache_corrupted=:
   2485 	else
   2486 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2487 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2488 	  eval $ac_var=\$ac_old_val
   2489 	fi
   2490 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2491 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2492 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2493 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2494       fi;;
   2495   esac
   2496   # Pass precious variables to config.status.
   2497   if test "$ac_new_set" = set; then
   2498     case $ac_new_val in
   2499     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2500     *) ac_arg=$ac_var=$ac_new_val ;;
   2501     esac
   2502     case " $ac_configure_args " in
   2503       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2504       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2505     esac
   2506   fi
   2507 done
   2508 if $ac_cache_corrupted; then
   2509   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2511   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2512 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2513   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2514 fi
   2515 ## -------------------- ##
   2516 ## Main body of script. ##
   2517 ## -------------------- ##
   2518 
   2519 ac_ext=c
   2520 ac_cpp='$CPP $CPPFLAGS'
   2521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2524 
   2525 
   2526 
   2527 ac_config_headers="$ac_config_headers config.h include/X11/fonts/fontconf.h"
   2528 
   2529 
   2530 # Initialize Automake
   2531 am__api_version='1.14'
   2532 
   2533 ac_aux_dir=
   2534 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2535   if test -f "$ac_dir/install-sh"; then
   2536     ac_aux_dir=$ac_dir
   2537     ac_install_sh="$ac_aux_dir/install-sh -c"
   2538     break
   2539   elif test -f "$ac_dir/install.sh"; then
   2540     ac_aux_dir=$ac_dir
   2541     ac_install_sh="$ac_aux_dir/install.sh -c"
   2542     break
   2543   elif test -f "$ac_dir/shtool"; then
   2544     ac_aux_dir=$ac_dir
   2545     ac_install_sh="$ac_aux_dir/shtool install -c"
   2546     break
   2547   fi
   2548 done
   2549 if test -z "$ac_aux_dir"; then
   2550   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2551 fi
   2552 
   2553 # These three variables are undocumented and unsupported,
   2554 # and are intended to be withdrawn in a future Autoconf release.
   2555 # They can cause serious problems if a builder's source tree is in a directory
   2556 # whose full name contains unusual characters.
   2557 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2558 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2559 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2560 
   2561 
   2562 # Find a good install program.  We prefer a C program (faster),
   2563 # so one script is as good as another.  But avoid the broken or
   2564 # incompatible versions:
   2565 # SysV /etc/install, /usr/sbin/install
   2566 # SunOS /usr/etc/install
   2567 # IRIX /sbin/install
   2568 # AIX /bin/install
   2569 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2573 # OS/2's system install, which has a completely different semantic
   2574 # ./install, which can be erroneously created by make from ./install.sh.
   2575 # Reject install programs that cannot install multiple files.
   2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2577 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2578 if test -z "$INSTALL"; then
   2579 if ${ac_cv_path_install+:} false; then :
   2580   $as_echo_n "(cached) " >&6
   2581 else
   2582   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2583 for as_dir in $PATH
   2584 do
   2585   IFS=$as_save_IFS
   2586   test -z "$as_dir" && as_dir=.
   2587     # Account for people who put trailing slashes in PATH elements.
   2588 case $as_dir/ in #((
   2589   ./ | .// | /[cC]/* | \
   2590   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2591   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2592   /usr/ucb/* ) ;;
   2593   *)
   2594     # OSF1 and SCO ODT 3.0 have their own names for install.
   2595     # Don't use installbsd from OSF since it installs stuff as root
   2596     # by default.
   2597     for ac_prog in ginstall scoinst install; do
   2598       for ac_exec_ext in '' $ac_executable_extensions; do
   2599 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2600 	  if test $ac_prog = install &&
   2601 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2602 	    # AIX install.  It has an incompatible calling convention.
   2603 	    :
   2604 	  elif test $ac_prog = install &&
   2605 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2606 	    # program-specific install script used by HP pwplus--don't use.
   2607 	    :
   2608 	  else
   2609 	    rm -rf conftest.one conftest.two conftest.dir
   2610 	    echo one > conftest.one
   2611 	    echo two > conftest.two
   2612 	    mkdir conftest.dir
   2613 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2614 	      test -s conftest.one && test -s conftest.two &&
   2615 	      test -s conftest.dir/conftest.one &&
   2616 	      test -s conftest.dir/conftest.two
   2617 	    then
   2618 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2619 	      break 3
   2620 	    fi
   2621 	  fi
   2622 	fi
   2623       done
   2624     done
   2625     ;;
   2626 esac
   2627 
   2628   done
   2629 IFS=$as_save_IFS
   2630 
   2631 rm -rf conftest.one conftest.two conftest.dir
   2632 
   2633 fi
   2634   if test "${ac_cv_path_install+set}" = set; then
   2635     INSTALL=$ac_cv_path_install
   2636   else
   2637     # As a last resort, use the slow shell script.  Don't cache a
   2638     # value for INSTALL within a source directory, because that will
   2639     # break other packages using the cache if that directory is
   2640     # removed, or if the value is a relative name.
   2641     INSTALL=$ac_install_sh
   2642   fi
   2643 fi
   2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2645 $as_echo "$INSTALL" >&6; }
   2646 
   2647 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2648 # It thinks the first close brace ends the variable substitution.
   2649 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2650 
   2651 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2652 
   2653 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2654 
   2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2656 $as_echo_n "checking whether build environment is sane... " >&6; }
   2657 # Reject unsafe characters in $srcdir or the absolute working directory
   2658 # name.  Accept space and tab only in the latter.
   2659 am_lf='
   2660 '
   2661 case `pwd` in
   2662   *[\\\"\#\$\&\'\`$am_lf]*)
   2663     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2664 esac
   2665 case $srcdir in
   2666   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2667     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2668 esac
   2669 
   2670 # Do 'set' in a subshell so we don't clobber the current shell's
   2671 # arguments.  Must try -L first in case configure is actually a
   2672 # symlink; some systems play weird games with the mod time of symlinks
   2673 # (eg FreeBSD returns the mod time of the symlink's containing
   2674 # directory).
   2675 if (
   2676    am_has_slept=no
   2677    for am_try in 1 2; do
   2678      echo "timestamp, slept: $am_has_slept" > conftest.file
   2679      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2680      if test "$*" = "X"; then
   2681 	# -L didn't work.
   2682 	set X `ls -t "$srcdir/configure" conftest.file`
   2683      fi
   2684      if test "$*" != "X $srcdir/configure conftest.file" \
   2685 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2686 
   2687 	# If neither matched, then we have a broken ls.  This can happen
   2688 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2689 	# broken ls alias from the environment.  This has actually
   2690 	# happened.  Such a system could not be considered "sane".
   2691 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2692   alias in your environment" "$LINENO" 5
   2693      fi
   2694      if test "$2" = conftest.file || test $am_try -eq 2; then
   2695        break
   2696      fi
   2697      # Just in case.
   2698      sleep 1
   2699      am_has_slept=yes
   2700    done
   2701    test "$2" = conftest.file
   2702    )
   2703 then
   2704    # Ok.
   2705    :
   2706 else
   2707    as_fn_error $? "newly created file is older than distributed files!
   2708 Check your system clock" "$LINENO" 5
   2709 fi
   2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2711 $as_echo "yes" >&6; }
   2712 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2713 # generated files are strictly newer.
   2714 am_sleep_pid=
   2715 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2716   ( sleep 1 ) &
   2717   am_sleep_pid=$!
   2718 fi
   2719 
   2720 rm -f conftest.file
   2721 
   2722 test "$program_prefix" != NONE &&
   2723   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2724 # Use a double $ so make ignores it.
   2725 test "$program_suffix" != NONE &&
   2726   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2727 # Double any \ or $.
   2728 # By default was `s,x,x', remove it if useless.
   2729 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2730 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2731 
   2732 # expand $ac_aux_dir to an absolute path
   2733 am_aux_dir=`cd $ac_aux_dir && pwd`
   2734 
   2735 if test x"${MISSING+set}" != xset; then
   2736   case $am_aux_dir in
   2737   *\ * | *\	*)
   2738     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2739   *)
   2740     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2741   esac
   2742 fi
   2743 # Use eval to expand $SHELL
   2744 if eval "$MISSING --is-lightweight"; then
   2745   am_missing_run="$MISSING "
   2746 else
   2747   am_missing_run=
   2748   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2749 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2750 fi
   2751 
   2752 if test x"${install_sh}" != xset; then
   2753   case $am_aux_dir in
   2754   *\ * | *\	*)
   2755     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2756   *)
   2757     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2758   esac
   2759 fi
   2760 
   2761 # Installed binaries are usually stripped using 'strip' when the user
   2762 # run "make install-strip".  However 'strip' might not be the right
   2763 # tool to use in cross-compilation environments, therefore Automake
   2764 # will honor the 'STRIP' environment variable to overrule this program.
   2765 if test "$cross_compiling" != no; then
   2766   if test -n "$ac_tool_prefix"; then
   2767   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2768 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2770 $as_echo_n "checking for $ac_word... " >&6; }
   2771 if ${ac_cv_prog_STRIP+:} false; then :
   2772   $as_echo_n "(cached) " >&6
   2773 else
   2774   if test -n "$STRIP"; then
   2775   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2776 else
   2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2778 for as_dir in $PATH
   2779 do
   2780   IFS=$as_save_IFS
   2781   test -z "$as_dir" && as_dir=.
   2782     for ac_exec_ext in '' $ac_executable_extensions; do
   2783   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2784     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2786     break 2
   2787   fi
   2788 done
   2789   done
   2790 IFS=$as_save_IFS
   2791 
   2792 fi
   2793 fi
   2794 STRIP=$ac_cv_prog_STRIP
   2795 if test -n "$STRIP"; then
   2796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2797 $as_echo "$STRIP" >&6; }
   2798 else
   2799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2800 $as_echo "no" >&6; }
   2801 fi
   2802 
   2803 
   2804 fi
   2805 if test -z "$ac_cv_prog_STRIP"; then
   2806   ac_ct_STRIP=$STRIP
   2807   # Extract the first word of "strip", so it can be a program name with args.
   2808 set dummy strip; ac_word=$2
   2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2810 $as_echo_n "checking for $ac_word... " >&6; }
   2811 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2812   $as_echo_n "(cached) " >&6
   2813 else
   2814   if test -n "$ac_ct_STRIP"; then
   2815   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2816 else
   2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2818 for as_dir in $PATH
   2819 do
   2820   IFS=$as_save_IFS
   2821   test -z "$as_dir" && as_dir=.
   2822     for ac_exec_ext in '' $ac_executable_extensions; do
   2823   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2824     ac_cv_prog_ac_ct_STRIP="strip"
   2825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2826     break 2
   2827   fi
   2828 done
   2829   done
   2830 IFS=$as_save_IFS
   2831 
   2832 fi
   2833 fi
   2834 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2835 if test -n "$ac_ct_STRIP"; then
   2836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2837 $as_echo "$ac_ct_STRIP" >&6; }
   2838 else
   2839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2840 $as_echo "no" >&6; }
   2841 fi
   2842 
   2843   if test "x$ac_ct_STRIP" = x; then
   2844     STRIP=":"
   2845   else
   2846     case $cross_compiling:$ac_tool_warned in
   2847 yes:)
   2848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2850 ac_tool_warned=yes ;;
   2851 esac
   2852     STRIP=$ac_ct_STRIP
   2853   fi
   2854 else
   2855   STRIP="$ac_cv_prog_STRIP"
   2856 fi
   2857 
   2858 fi
   2859 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2860 
   2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2862 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2863 if test -z "$MKDIR_P"; then
   2864   if ${ac_cv_path_mkdir+:} false; then :
   2865   $as_echo_n "(cached) " >&6
   2866 else
   2867   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2868 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2869 do
   2870   IFS=$as_save_IFS
   2871   test -z "$as_dir" && as_dir=.
   2872     for ac_prog in mkdir gmkdir; do
   2873 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2874 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2875 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2876 	     'mkdir (GNU coreutils) '* | \
   2877 	     'mkdir (coreutils) '* | \
   2878 	     'mkdir (fileutils) '4.1*)
   2879 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2880 	       break 3;;
   2881 	   esac
   2882 	 done
   2883        done
   2884   done
   2885 IFS=$as_save_IFS
   2886 
   2887 fi
   2888 
   2889   test -d ./--version && rmdir ./--version
   2890   if test "${ac_cv_path_mkdir+set}" = set; then
   2891     MKDIR_P="$ac_cv_path_mkdir -p"
   2892   else
   2893     # As a last resort, use the slow shell script.  Don't cache a
   2894     # value for MKDIR_P within a source directory, because that will
   2895     # break other packages using the cache if that directory is
   2896     # removed, or if the value is a relative name.
   2897     MKDIR_P="$ac_install_sh -d"
   2898   fi
   2899 fi
   2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2901 $as_echo "$MKDIR_P" >&6; }
   2902 
   2903 for ac_prog in gawk mawk nawk awk
   2904 do
   2905   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2906 set dummy $ac_prog; ac_word=$2
   2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2908 $as_echo_n "checking for $ac_word... " >&6; }
   2909 if ${ac_cv_prog_AWK+:} false; then :
   2910   $as_echo_n "(cached) " >&6
   2911 else
   2912   if test -n "$AWK"; then
   2913   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2914 else
   2915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2916 for as_dir in $PATH
   2917 do
   2918   IFS=$as_save_IFS
   2919   test -z "$as_dir" && as_dir=.
   2920     for ac_exec_ext in '' $ac_executable_extensions; do
   2921   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2922     ac_cv_prog_AWK="$ac_prog"
   2923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2924     break 2
   2925   fi
   2926 done
   2927   done
   2928 IFS=$as_save_IFS
   2929 
   2930 fi
   2931 fi
   2932 AWK=$ac_cv_prog_AWK
   2933 if test -n "$AWK"; then
   2934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2935 $as_echo "$AWK" >&6; }
   2936 else
   2937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2938 $as_echo "no" >&6; }
   2939 fi
   2940 
   2941 
   2942   test -n "$AWK" && break
   2943 done
   2944 
   2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2946 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2947 set x ${MAKE-make}
   2948 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2949 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2950   $as_echo_n "(cached) " >&6
   2951 else
   2952   cat >conftest.make <<\_ACEOF
   2953 SHELL = /bin/sh
   2954 all:
   2955 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2956 _ACEOF
   2957 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2958 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2959   *@@@%%%=?*=@@@%%%*)
   2960     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2961   *)
   2962     eval ac_cv_prog_make_${ac_make}_set=no;;
   2963 esac
   2964 rm -f conftest.make
   2965 fi
   2966 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2968 $as_echo "yes" >&6; }
   2969   SET_MAKE=
   2970 else
   2971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2972 $as_echo "no" >&6; }
   2973   SET_MAKE="MAKE=${MAKE-make}"
   2974 fi
   2975 
   2976 rm -rf .tst 2>/dev/null
   2977 mkdir .tst 2>/dev/null
   2978 if test -d .tst; then
   2979   am__leading_dot=.
   2980 else
   2981   am__leading_dot=_
   2982 fi
   2983 rmdir .tst 2>/dev/null
   2984 
   2985 # Check whether --enable-silent-rules was given.
   2986 if test "${enable_silent_rules+set}" = set; then :
   2987   enableval=$enable_silent_rules;
   2988 fi
   2989 
   2990 case $enable_silent_rules in # (((
   2991   yes) AM_DEFAULT_VERBOSITY=0;;
   2992    no) AM_DEFAULT_VERBOSITY=1;;
   2993     *) AM_DEFAULT_VERBOSITY=1;;
   2994 esac
   2995 am_make=${MAKE-make}
   2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2997 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2998 if ${am_cv_make_support_nested_variables+:} false; then :
   2999   $as_echo_n "(cached) " >&6
   3000 else
   3001   if $as_echo 'TRUE=$(BAR$(V))
   3002 BAR0=false
   3003 BAR1=true
   3004 V=1
   3005 am__doit:
   3006 	@$(TRUE)
   3007 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3008   am_cv_make_support_nested_variables=yes
   3009 else
   3010   am_cv_make_support_nested_variables=no
   3011 fi
   3012 fi
   3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3014 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3015 if test $am_cv_make_support_nested_variables = yes; then
   3016     AM_V='$(V)'
   3017   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3018 else
   3019   AM_V=$AM_DEFAULT_VERBOSITY
   3020   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3021 fi
   3022 AM_BACKSLASH='\'
   3023 
   3024 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3025   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3026   # is not polluted with repeated "-I."
   3027   am__isrc=' -I$(srcdir)'
   3028   # test to see if srcdir already configured
   3029   if test -f $srcdir/config.status; then
   3030     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3031   fi
   3032 fi
   3033 
   3034 # test whether we have cygpath
   3035 if test -z "$CYGPATH_W"; then
   3036   if (cygpath --version) >/dev/null 2>/dev/null; then
   3037     CYGPATH_W='cygpath -w'
   3038   else
   3039     CYGPATH_W=echo
   3040   fi
   3041 fi
   3042 
   3043 
   3044 # Define the identity of the package.
   3045  PACKAGE='libXfont'
   3046  VERSION='1.4.8'
   3047 
   3048 
   3049 cat >>confdefs.h <<_ACEOF
   3050 #define PACKAGE "$PACKAGE"
   3051 _ACEOF
   3052 
   3053 
   3054 cat >>confdefs.h <<_ACEOF
   3055 #define VERSION "$VERSION"
   3056 _ACEOF
   3057 
   3058 # Some tools Automake needs.
   3059 
   3060 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3061 
   3062 
   3063 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3064 
   3065 
   3066 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3067 
   3068 
   3069 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3070 
   3071 
   3072 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3073 
   3074 # For better backward compatibility.  To be removed once Automake 1.9.x
   3075 # dies out for good.  For more background, see:
   3076 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3077 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3078 mkdir_p='$(MKDIR_P)'
   3079 
   3080 # We need awk for the "check" target.  The system "awk" is bad on
   3081 # some platforms.
   3082 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3083 # in the wild :-(  We should find a proper way to deprecate it ...
   3084 AMTAR='$${TAR-tar}'
   3085 
   3086 
   3087 # We'll loop over all known methods to create a tar archive until one works.
   3088 _am_tools='gnutar  pax cpio none'
   3089 
   3090 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3091 
   3092 
   3093 
   3094 
   3095 
   3096 
   3097 # POSIX will say in a future version that running "rm -f" with no argument
   3098 # is OK; and we want to be able to make that assumption in our Makefile
   3099 # recipes.  So use an aggressive probe to check that the usage we want is
   3100 # actually supported "in the wild" to an acceptable degree.
   3101 # See automake bug#10828.
   3102 # To make any issue more visible, cause the running configure to be aborted
   3103 # by default if the 'rm' program in use doesn't match our expectations; the
   3104 # user can still override this though.
   3105 if rm -f && rm -fr && rm -rf; then : OK; else
   3106   cat >&2 <<'END'
   3107 Oops!
   3108 
   3109 Your 'rm' program seems unable to run without file operands specified
   3110 on the command line, even when the '-f' option is present.  This is contrary
   3111 to the behaviour of most rm programs out there, and not conforming with
   3112 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3113 
   3114 Please tell bug-automake@gnu.org about your system, including the value
   3115 of your $PATH and any error possibly output before this message.  This
   3116 can help us improve future automake versions.
   3117 
   3118 END
   3119   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3120     echo 'Configuration will proceed anyway, since you have set the' >&2
   3121     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3122     echo >&2
   3123   else
   3124     cat >&2 <<'END'
   3125 Aborting the configuration process, to ensure you take notice of the issue.
   3126 
   3127 You can download and install GNU coreutils to get an 'rm' implementation
   3128 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3129 
   3130 If you want to complete the configuration process using your problematic
   3131 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3132 to "yes", and re-run configure.
   3133 
   3134 END
   3135     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3136   fi
   3137 fi
   3138 
   3139 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3140 # Must be called before any macros that run the compiler (like
   3141 # AC_PROG_LIBTOOL) to avoid autoconf errors.
   3142 DEPDIR="${am__leading_dot}deps"
   3143 
   3144 ac_config_commands="$ac_config_commands depfiles"
   3145 
   3146 
   3147 am_make=${MAKE-make}
   3148 cat > confinc << 'END'
   3149 am__doit:
   3150 	@echo this is the am__doit target
   3151 .PHONY: am__doit
   3152 END
   3153 # If we don't find an include directive, just comment out the code.
   3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3155 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3156 am__include="#"
   3157 am__quote=
   3158 _am_result=none
   3159 # First try GNU make style include.
   3160 echo "include confinc" > confmf
   3161 # Ignore all kinds of additional output from 'make'.
   3162 case `$am_make -s -f confmf 2> /dev/null` in #(
   3163 *the\ am__doit\ target*)
   3164   am__include=include
   3165   am__quote=
   3166   _am_result=GNU
   3167   ;;
   3168 esac
   3169 # Now try BSD make style include.
   3170 if test "$am__include" = "#"; then
   3171    echo '.include "confinc"' > confmf
   3172    case `$am_make -s -f confmf 2> /dev/null` in #(
   3173    *the\ am__doit\ target*)
   3174      am__include=.include
   3175      am__quote="\""
   3176      _am_result=BSD
   3177      ;;
   3178    esac
   3179 fi
   3180 
   3181 
   3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3183 $as_echo "$_am_result" >&6; }
   3184 rm -f confinc confmf
   3185 
   3186 # Check whether --enable-dependency-tracking was given.
   3187 if test "${enable_dependency_tracking+set}" = set; then :
   3188   enableval=$enable_dependency_tracking;
   3189 fi
   3190 
   3191 if test "x$enable_dependency_tracking" != xno; then
   3192   am_depcomp="$ac_aux_dir/depcomp"
   3193   AMDEPBACKSLASH='\'
   3194   am__nodep='_no'
   3195 fi
   3196  if test "x$enable_dependency_tracking" != xno; then
   3197   AMDEP_TRUE=
   3198   AMDEP_FALSE='#'
   3199 else
   3200   AMDEP_TRUE='#'
   3201   AMDEP_FALSE=
   3202 fi
   3203 
   3204 
   3205 ac_ext=c
   3206 ac_cpp='$CPP $CPPFLAGS'
   3207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3210 if test -n "$ac_tool_prefix"; then
   3211   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3212 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3214 $as_echo_n "checking for $ac_word... " >&6; }
   3215 if ${ac_cv_prog_CC+:} false; then :
   3216   $as_echo_n "(cached) " >&6
   3217 else
   3218   if test -n "$CC"; then
   3219   ac_cv_prog_CC="$CC" # Let the user override the test.
   3220 else
   3221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3222 for as_dir in $PATH
   3223 do
   3224   IFS=$as_save_IFS
   3225   test -z "$as_dir" && as_dir=.
   3226     for ac_exec_ext in '' $ac_executable_extensions; do
   3227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3228     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3230     break 2
   3231   fi
   3232 done
   3233   done
   3234 IFS=$as_save_IFS
   3235 
   3236 fi
   3237 fi
   3238 CC=$ac_cv_prog_CC
   3239 if test -n "$CC"; then
   3240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3241 $as_echo "$CC" >&6; }
   3242 else
   3243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3244 $as_echo "no" >&6; }
   3245 fi
   3246 
   3247 
   3248 fi
   3249 if test -z "$ac_cv_prog_CC"; then
   3250   ac_ct_CC=$CC
   3251   # Extract the first word of "gcc", so it can be a program name with args.
   3252 set dummy gcc; ac_word=$2
   3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3254 $as_echo_n "checking for $ac_word... " >&6; }
   3255 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3256   $as_echo_n "(cached) " >&6
   3257 else
   3258   if test -n "$ac_ct_CC"; then
   3259   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3260 else
   3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3262 for as_dir in $PATH
   3263 do
   3264   IFS=$as_save_IFS
   3265   test -z "$as_dir" && as_dir=.
   3266     for ac_exec_ext in '' $ac_executable_extensions; do
   3267   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3268     ac_cv_prog_ac_ct_CC="gcc"
   3269     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3270     break 2
   3271   fi
   3272 done
   3273   done
   3274 IFS=$as_save_IFS
   3275 
   3276 fi
   3277 fi
   3278 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3279 if test -n "$ac_ct_CC"; then
   3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3281 $as_echo "$ac_ct_CC" >&6; }
   3282 else
   3283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3284 $as_echo "no" >&6; }
   3285 fi
   3286 
   3287   if test "x$ac_ct_CC" = x; then
   3288     CC=""
   3289   else
   3290     case $cross_compiling:$ac_tool_warned in
   3291 yes:)
   3292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3294 ac_tool_warned=yes ;;
   3295 esac
   3296     CC=$ac_ct_CC
   3297   fi
   3298 else
   3299   CC="$ac_cv_prog_CC"
   3300 fi
   3301 
   3302 if test -z "$CC"; then
   3303           if test -n "$ac_tool_prefix"; then
   3304     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3305 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3307 $as_echo_n "checking for $ac_word... " >&6; }
   3308 if ${ac_cv_prog_CC+:} false; then :
   3309   $as_echo_n "(cached) " >&6
   3310 else
   3311   if test -n "$CC"; then
   3312   ac_cv_prog_CC="$CC" # Let the user override the test.
   3313 else
   3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3315 for as_dir in $PATH
   3316 do
   3317   IFS=$as_save_IFS
   3318   test -z "$as_dir" && as_dir=.
   3319     for ac_exec_ext in '' $ac_executable_extensions; do
   3320   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3321     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3322     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3323     break 2
   3324   fi
   3325 done
   3326   done
   3327 IFS=$as_save_IFS
   3328 
   3329 fi
   3330 fi
   3331 CC=$ac_cv_prog_CC
   3332 if test -n "$CC"; then
   3333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3334 $as_echo "$CC" >&6; }
   3335 else
   3336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3337 $as_echo "no" >&6; }
   3338 fi
   3339 
   3340 
   3341   fi
   3342 fi
   3343 if test -z "$CC"; then
   3344   # Extract the first word of "cc", so it can be a program name with args.
   3345 set dummy cc; ac_word=$2
   3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3347 $as_echo_n "checking for $ac_word... " >&6; }
   3348 if ${ac_cv_prog_CC+:} false; then :
   3349   $as_echo_n "(cached) " >&6
   3350 else
   3351   if test -n "$CC"; then
   3352   ac_cv_prog_CC="$CC" # Let the user override the test.
   3353 else
   3354   ac_prog_rejected=no
   3355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3356 for as_dir in $PATH
   3357 do
   3358   IFS=$as_save_IFS
   3359   test -z "$as_dir" && as_dir=.
   3360     for ac_exec_ext in '' $ac_executable_extensions; do
   3361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3362     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3363        ac_prog_rejected=yes
   3364        continue
   3365      fi
   3366     ac_cv_prog_CC="cc"
   3367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3368     break 2
   3369   fi
   3370 done
   3371   done
   3372 IFS=$as_save_IFS
   3373 
   3374 if test $ac_prog_rejected = yes; then
   3375   # We found a bogon in the path, so make sure we never use it.
   3376   set dummy $ac_cv_prog_CC
   3377   shift
   3378   if test $# != 0; then
   3379     # We chose a different compiler from the bogus one.
   3380     # However, it has the same basename, so the bogon will be chosen
   3381     # first if we set CC to just the basename; use the full file name.
   3382     shift
   3383     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3384   fi
   3385 fi
   3386 fi
   3387 fi
   3388 CC=$ac_cv_prog_CC
   3389 if test -n "$CC"; then
   3390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3391 $as_echo "$CC" >&6; }
   3392 else
   3393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3394 $as_echo "no" >&6; }
   3395 fi
   3396 
   3397 
   3398 fi
   3399 if test -z "$CC"; then
   3400   if test -n "$ac_tool_prefix"; then
   3401   for ac_prog in cl.exe
   3402   do
   3403     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3406 $as_echo_n "checking for $ac_word... " >&6; }
   3407 if ${ac_cv_prog_CC+:} false; then :
   3408   $as_echo_n "(cached) " >&6
   3409 else
   3410   if test -n "$CC"; then
   3411   ac_cv_prog_CC="$CC" # Let the user override the test.
   3412 else
   3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3414 for as_dir in $PATH
   3415 do
   3416   IFS=$as_save_IFS
   3417   test -z "$as_dir" && as_dir=.
   3418     for ac_exec_ext in '' $ac_executable_extensions; do
   3419   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3420     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3422     break 2
   3423   fi
   3424 done
   3425   done
   3426 IFS=$as_save_IFS
   3427 
   3428 fi
   3429 fi
   3430 CC=$ac_cv_prog_CC
   3431 if test -n "$CC"; then
   3432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3433 $as_echo "$CC" >&6; }
   3434 else
   3435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3436 $as_echo "no" >&6; }
   3437 fi
   3438 
   3439 
   3440     test -n "$CC" && break
   3441   done
   3442 fi
   3443 if test -z "$CC"; then
   3444   ac_ct_CC=$CC
   3445   for ac_prog in cl.exe
   3446 do
   3447   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3448 set dummy $ac_prog; ac_word=$2
   3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3450 $as_echo_n "checking for $ac_word... " >&6; }
   3451 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3452   $as_echo_n "(cached) " >&6
   3453 else
   3454   if test -n "$ac_ct_CC"; then
   3455   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3456 else
   3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3458 for as_dir in $PATH
   3459 do
   3460   IFS=$as_save_IFS
   3461   test -z "$as_dir" && as_dir=.
   3462     for ac_exec_ext in '' $ac_executable_extensions; do
   3463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3464     ac_cv_prog_ac_ct_CC="$ac_prog"
   3465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3466     break 2
   3467   fi
   3468 done
   3469   done
   3470 IFS=$as_save_IFS
   3471 
   3472 fi
   3473 fi
   3474 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3475 if test -n "$ac_ct_CC"; then
   3476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3477 $as_echo "$ac_ct_CC" >&6; }
   3478 else
   3479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3480 $as_echo "no" >&6; }
   3481 fi
   3482 
   3483 
   3484   test -n "$ac_ct_CC" && break
   3485 done
   3486 
   3487   if test "x$ac_ct_CC" = x; then
   3488     CC=""
   3489   else
   3490     case $cross_compiling:$ac_tool_warned in
   3491 yes:)
   3492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3494 ac_tool_warned=yes ;;
   3495 esac
   3496     CC=$ac_ct_CC
   3497   fi
   3498 fi
   3499 
   3500 fi
   3501 
   3502 
   3503 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3505 as_fn_error $? "no acceptable C compiler found in \$PATH
   3506 See \`config.log' for more details" "$LINENO" 5; }
   3507 
   3508 # Provide some information about the compiler.
   3509 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3510 set X $ac_compile
   3511 ac_compiler=$2
   3512 for ac_option in --version -v -V -qversion; do
   3513   { { ac_try="$ac_compiler $ac_option >&5"
   3514 case "(($ac_try" in
   3515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3516   *) ac_try_echo=$ac_try;;
   3517 esac
   3518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3519 $as_echo "$ac_try_echo"; } >&5
   3520   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3521   ac_status=$?
   3522   if test -s conftest.err; then
   3523     sed '10a\
   3524 ... rest of stderr output deleted ...
   3525          10q' conftest.err >conftest.er1
   3526     cat conftest.er1 >&5
   3527   fi
   3528   rm -f conftest.er1 conftest.err
   3529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3530   test $ac_status = 0; }
   3531 done
   3532 
   3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3534 /* end confdefs.h.  */
   3535 
   3536 int
   3537 main ()
   3538 {
   3539 
   3540   ;
   3541   return 0;
   3542 }
   3543 _ACEOF
   3544 ac_clean_files_save=$ac_clean_files
   3545 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3546 # Try to create an executable without -o first, disregard a.out.
   3547 # It will help us diagnose broken compilers, and finding out an intuition
   3548 # of exeext.
   3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3550 $as_echo_n "checking whether the C compiler works... " >&6; }
   3551 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3552 
   3553 # The possible output files:
   3554 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3555 
   3556 ac_rmfiles=
   3557 for ac_file in $ac_files
   3558 do
   3559   case $ac_file in
   3560     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3561     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3562   esac
   3563 done
   3564 rm -f $ac_rmfiles
   3565 
   3566 if { { ac_try="$ac_link_default"
   3567 case "(($ac_try" in
   3568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3569   *) ac_try_echo=$ac_try;;
   3570 esac
   3571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3572 $as_echo "$ac_try_echo"; } >&5
   3573   (eval "$ac_link_default") 2>&5
   3574   ac_status=$?
   3575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3576   test $ac_status = 0; }; then :
   3577   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3578 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3579 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3580 # so that the user can short-circuit this test for compilers unknown to
   3581 # Autoconf.
   3582 for ac_file in $ac_files ''
   3583 do
   3584   test -f "$ac_file" || continue
   3585   case $ac_file in
   3586     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3587 	;;
   3588     [ab].out )
   3589 	# We found the default executable, but exeext='' is most
   3590 	# certainly right.
   3591 	break;;
   3592     *.* )
   3593 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3594 	then :; else
   3595 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3596 	fi
   3597 	# We set ac_cv_exeext here because the later test for it is not
   3598 	# safe: cross compilers may not add the suffix if given an `-o'
   3599 	# argument, so we may need to know it at that point already.
   3600 	# Even if this section looks crufty: it has the advantage of
   3601 	# actually working.
   3602 	break;;
   3603     * )
   3604 	break;;
   3605   esac
   3606 done
   3607 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3608 
   3609 else
   3610   ac_file=''
   3611 fi
   3612 if test -z "$ac_file"; then :
   3613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3614 $as_echo "no" >&6; }
   3615 $as_echo "$as_me: failed program was:" >&5
   3616 sed 's/^/| /' conftest.$ac_ext >&5
   3617 
   3618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3620 as_fn_error 77 "C compiler cannot create executables
   3621 See \`config.log' for more details" "$LINENO" 5; }
   3622 else
   3623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3624 $as_echo "yes" >&6; }
   3625 fi
   3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3627 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3629 $as_echo "$ac_file" >&6; }
   3630 ac_exeext=$ac_cv_exeext
   3631 
   3632 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3633 ac_clean_files=$ac_clean_files_save
   3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3635 $as_echo_n "checking for suffix of executables... " >&6; }
   3636 if { { ac_try="$ac_link"
   3637 case "(($ac_try" in
   3638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3639   *) ac_try_echo=$ac_try;;
   3640 esac
   3641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3642 $as_echo "$ac_try_echo"; } >&5
   3643   (eval "$ac_link") 2>&5
   3644   ac_status=$?
   3645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3646   test $ac_status = 0; }; then :
   3647   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3648 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3649 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3650 # `rm'.
   3651 for ac_file in conftest.exe conftest conftest.*; do
   3652   test -f "$ac_file" || continue
   3653   case $ac_file in
   3654     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3655     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3656 	  break;;
   3657     * ) break;;
   3658   esac
   3659 done
   3660 else
   3661   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3663 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3664 See \`config.log' for more details" "$LINENO" 5; }
   3665 fi
   3666 rm -f conftest conftest$ac_cv_exeext
   3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3668 $as_echo "$ac_cv_exeext" >&6; }
   3669 
   3670 rm -f conftest.$ac_ext
   3671 EXEEXT=$ac_cv_exeext
   3672 ac_exeext=$EXEEXT
   3673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3674 /* end confdefs.h.  */
   3675 #include <stdio.h>
   3676 int
   3677 main ()
   3678 {
   3679 FILE *f = fopen ("conftest.out", "w");
   3680  return ferror (f) || fclose (f) != 0;
   3681 
   3682   ;
   3683   return 0;
   3684 }
   3685 _ACEOF
   3686 ac_clean_files="$ac_clean_files conftest.out"
   3687 # Check that the compiler produces executables we can run.  If not, either
   3688 # the compiler is broken, or we cross compile.
   3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3690 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3691 if test "$cross_compiling" != yes; then
   3692   { { ac_try="$ac_link"
   3693 case "(($ac_try" in
   3694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3695   *) ac_try_echo=$ac_try;;
   3696 esac
   3697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3698 $as_echo "$ac_try_echo"; } >&5
   3699   (eval "$ac_link") 2>&5
   3700   ac_status=$?
   3701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3702   test $ac_status = 0; }
   3703   if { ac_try='./conftest$ac_cv_exeext'
   3704   { { case "(($ac_try" in
   3705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3706   *) ac_try_echo=$ac_try;;
   3707 esac
   3708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3709 $as_echo "$ac_try_echo"; } >&5
   3710   (eval "$ac_try") 2>&5
   3711   ac_status=$?
   3712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3713   test $ac_status = 0; }; }; then
   3714     cross_compiling=no
   3715   else
   3716     if test "$cross_compiling" = maybe; then
   3717 	cross_compiling=yes
   3718     else
   3719 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3721 as_fn_error $? "cannot run C compiled programs.
   3722 If you meant to cross compile, use \`--host'.
   3723 See \`config.log' for more details" "$LINENO" 5; }
   3724     fi
   3725   fi
   3726 fi
   3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3728 $as_echo "$cross_compiling" >&6; }
   3729 
   3730 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3731 ac_clean_files=$ac_clean_files_save
   3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3733 $as_echo_n "checking for suffix of object files... " >&6; }
   3734 if ${ac_cv_objext+:} false; then :
   3735   $as_echo_n "(cached) " >&6
   3736 else
   3737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3738 /* end confdefs.h.  */
   3739 
   3740 int
   3741 main ()
   3742 {
   3743 
   3744   ;
   3745   return 0;
   3746 }
   3747 _ACEOF
   3748 rm -f conftest.o conftest.obj
   3749 if { { ac_try="$ac_compile"
   3750 case "(($ac_try" in
   3751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3752   *) ac_try_echo=$ac_try;;
   3753 esac
   3754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3755 $as_echo "$ac_try_echo"; } >&5
   3756   (eval "$ac_compile") 2>&5
   3757   ac_status=$?
   3758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3759   test $ac_status = 0; }; then :
   3760   for ac_file in conftest.o conftest.obj conftest.*; do
   3761   test -f "$ac_file" || continue;
   3762   case $ac_file in
   3763     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3764     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3765        break;;
   3766   esac
   3767 done
   3768 else
   3769   $as_echo "$as_me: failed program was:" >&5
   3770 sed 's/^/| /' conftest.$ac_ext >&5
   3771 
   3772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3774 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3775 See \`config.log' for more details" "$LINENO" 5; }
   3776 fi
   3777 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3778 fi
   3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3780 $as_echo "$ac_cv_objext" >&6; }
   3781 OBJEXT=$ac_cv_objext
   3782 ac_objext=$OBJEXT
   3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3784 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3785 if ${ac_cv_c_compiler_gnu+:} false; then :
   3786   $as_echo_n "(cached) " >&6
   3787 else
   3788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3789 /* end confdefs.h.  */
   3790 
   3791 int
   3792 main ()
   3793 {
   3794 #ifndef __GNUC__
   3795        choke me
   3796 #endif
   3797 
   3798   ;
   3799   return 0;
   3800 }
   3801 _ACEOF
   3802 if ac_fn_c_try_compile "$LINENO"; then :
   3803   ac_compiler_gnu=yes
   3804 else
   3805   ac_compiler_gnu=no
   3806 fi
   3807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3808 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3809 
   3810 fi
   3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3812 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3813 if test $ac_compiler_gnu = yes; then
   3814   GCC=yes
   3815 else
   3816   GCC=
   3817 fi
   3818 ac_test_CFLAGS=${CFLAGS+set}
   3819 ac_save_CFLAGS=$CFLAGS
   3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3821 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3822 if ${ac_cv_prog_cc_g+:} false; then :
   3823   $as_echo_n "(cached) " >&6
   3824 else
   3825   ac_save_c_werror_flag=$ac_c_werror_flag
   3826    ac_c_werror_flag=yes
   3827    ac_cv_prog_cc_g=no
   3828    CFLAGS="-g"
   3829    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3830 /* end confdefs.h.  */
   3831 
   3832 int
   3833 main ()
   3834 {
   3835 
   3836   ;
   3837   return 0;
   3838 }
   3839 _ACEOF
   3840 if ac_fn_c_try_compile "$LINENO"; then :
   3841   ac_cv_prog_cc_g=yes
   3842 else
   3843   CFLAGS=""
   3844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3845 /* end confdefs.h.  */
   3846 
   3847 int
   3848 main ()
   3849 {
   3850 
   3851   ;
   3852   return 0;
   3853 }
   3854 _ACEOF
   3855 if ac_fn_c_try_compile "$LINENO"; then :
   3856 
   3857 else
   3858   ac_c_werror_flag=$ac_save_c_werror_flag
   3859 	 CFLAGS="-g"
   3860 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3861 /* end confdefs.h.  */
   3862 
   3863 int
   3864 main ()
   3865 {
   3866 
   3867   ;
   3868   return 0;
   3869 }
   3870 _ACEOF
   3871 if ac_fn_c_try_compile "$LINENO"; then :
   3872   ac_cv_prog_cc_g=yes
   3873 fi
   3874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3875 fi
   3876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3877 fi
   3878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3879    ac_c_werror_flag=$ac_save_c_werror_flag
   3880 fi
   3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3882 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3883 if test "$ac_test_CFLAGS" = set; then
   3884   CFLAGS=$ac_save_CFLAGS
   3885 elif test $ac_cv_prog_cc_g = yes; then
   3886   if test "$GCC" = yes; then
   3887     CFLAGS="-g -O2"
   3888   else
   3889     CFLAGS="-g"
   3890   fi
   3891 else
   3892   if test "$GCC" = yes; then
   3893     CFLAGS="-O2"
   3894   else
   3895     CFLAGS=
   3896   fi
   3897 fi
   3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3899 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3900 if ${ac_cv_prog_cc_c89+:} false; then :
   3901   $as_echo_n "(cached) " >&6
   3902 else
   3903   ac_cv_prog_cc_c89=no
   3904 ac_save_CC=$CC
   3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3906 /* end confdefs.h.  */
   3907 #include <stdarg.h>
   3908 #include <stdio.h>
   3909 #include <sys/types.h>
   3910 #include <sys/stat.h>
   3911 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3912 struct buf { int x; };
   3913 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3914 static char *e (p, i)
   3915      char **p;
   3916      int i;
   3917 {
   3918   return p[i];
   3919 }
   3920 static char *f (char * (*g) (char **, int), char **p, ...)
   3921 {
   3922   char *s;
   3923   va_list v;
   3924   va_start (v,p);
   3925   s = g (p, va_arg (v,int));
   3926   va_end (v);
   3927   return s;
   3928 }
   3929 
   3930 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3931    function prototypes and stuff, but not '\xHH' hex character constants.
   3932    These don't provoke an error unfortunately, instead are silently treated
   3933    as 'x'.  The following induces an error, until -std is added to get
   3934    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3935    array size at least.  It's necessary to write '\x00'==0 to get something
   3936    that's true only with -std.  */
   3937 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3938 
   3939 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3940    inside strings and character constants.  */
   3941 #define FOO(x) 'x'
   3942 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3943 
   3944 int test (int i, double x);
   3945 struct s1 {int (*f) (int a);};
   3946 struct s2 {int (*f) (double a);};
   3947 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3948 int argc;
   3949 char **argv;
   3950 int
   3951 main ()
   3952 {
   3953 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3954   ;
   3955   return 0;
   3956 }
   3957 _ACEOF
   3958 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3959 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3960 do
   3961   CC="$ac_save_CC $ac_arg"
   3962   if ac_fn_c_try_compile "$LINENO"; then :
   3963   ac_cv_prog_cc_c89=$ac_arg
   3964 fi
   3965 rm -f core conftest.err conftest.$ac_objext
   3966   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3967 done
   3968 rm -f conftest.$ac_ext
   3969 CC=$ac_save_CC
   3970 
   3971 fi
   3972 # AC_CACHE_VAL
   3973 case "x$ac_cv_prog_cc_c89" in
   3974   x)
   3975     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3976 $as_echo "none needed" >&6; } ;;
   3977   xno)
   3978     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3979 $as_echo "unsupported" >&6; } ;;
   3980   *)
   3981     CC="$CC $ac_cv_prog_cc_c89"
   3982     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3983 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3984 esac
   3985 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3986 
   3987 fi
   3988 
   3989 ac_ext=c
   3990 ac_cpp='$CPP $CPPFLAGS'
   3991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3994 
   3995 ac_ext=c
   3996 ac_cpp='$CPP $CPPFLAGS'
   3997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4001 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4002 if ${am_cv_prog_cc_c_o+:} false; then :
   4003   $as_echo_n "(cached) " >&6
   4004 else
   4005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4006 /* end confdefs.h.  */
   4007 
   4008 int
   4009 main ()
   4010 {
   4011 
   4012   ;
   4013   return 0;
   4014 }
   4015 _ACEOF
   4016   # Make sure it works both with $CC and with simple cc.
   4017   # Following AC_PROG_CC_C_O, we do the test twice because some
   4018   # compilers refuse to overwrite an existing .o file with -o,
   4019   # though they will create one.
   4020   am_cv_prog_cc_c_o=yes
   4021   for am_i in 1 2; do
   4022     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4023    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4024    ac_status=$?
   4025    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4026    (exit $ac_status); } \
   4027          && test -f conftest2.$ac_objext; then
   4028       : OK
   4029     else
   4030       am_cv_prog_cc_c_o=no
   4031       break
   4032     fi
   4033   done
   4034   rm -f core conftest*
   4035   unset am_i
   4036 fi
   4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4038 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4039 if test "$am_cv_prog_cc_c_o" != yes; then
   4040    # Losing compiler, so override with the script.
   4041    # FIXME: It is wrong to rewrite CC.
   4042    # But if we don't then we get into trouble of one sort or another.
   4043    # A longer-term fix would be to have automake use am__CC in this case,
   4044    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4045    CC="$am_aux_dir/compile $CC"
   4046 fi
   4047 ac_ext=c
   4048 ac_cpp='$CPP $CPPFLAGS'
   4049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4052 
   4053 
   4054 depcc="$CC"   am_compiler_list=
   4055 
   4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4057 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4058 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4059   $as_echo_n "(cached) " >&6
   4060 else
   4061   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4062   # We make a subdir and do the tests there.  Otherwise we can end up
   4063   # making bogus files that we don't know about and never remove.  For
   4064   # instance it was reported that on HP-UX the gcc test will end up
   4065   # making a dummy file named 'D' -- because '-MD' means "put the output
   4066   # in D".
   4067   rm -rf conftest.dir
   4068   mkdir conftest.dir
   4069   # Copy depcomp to subdir because otherwise we won't find it if we're
   4070   # using a relative directory.
   4071   cp "$am_depcomp" conftest.dir
   4072   cd conftest.dir
   4073   # We will build objects and dependencies in a subdirectory because
   4074   # it helps to detect inapplicable dependency modes.  For instance
   4075   # both Tru64's cc and ICC support -MD to output dependencies as a
   4076   # side effect of compilation, but ICC will put the dependencies in
   4077   # the current directory while Tru64 will put them in the object
   4078   # directory.
   4079   mkdir sub
   4080 
   4081   am_cv_CC_dependencies_compiler_type=none
   4082   if test "$am_compiler_list" = ""; then
   4083      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4084   fi
   4085   am__universal=false
   4086   case " $depcc " in #(
   4087      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4088      esac
   4089 
   4090   for depmode in $am_compiler_list; do
   4091     # Setup a source with many dependencies, because some compilers
   4092     # like to wrap large dependency lists on column 80 (with \), and
   4093     # we should not choose a depcomp mode which is confused by this.
   4094     #
   4095     # We need to recreate these files for each test, as the compiler may
   4096     # overwrite some of them when testing with obscure command lines.
   4097     # This happens at least with the AIX C compiler.
   4098     : > sub/conftest.c
   4099     for i in 1 2 3 4 5 6; do
   4100       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4101       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4102       # Solaris 10 /bin/sh.
   4103       echo '/* dummy */' > sub/conftst$i.h
   4104     done
   4105     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4106 
   4107     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4108     # mode.  It turns out that the SunPro C++ compiler does not properly
   4109     # handle '-M -o', and we need to detect this.  Also, some Intel
   4110     # versions had trouble with output in subdirs.
   4111     am__obj=sub/conftest.${OBJEXT-o}
   4112     am__minus_obj="-o $am__obj"
   4113     case $depmode in
   4114     gcc)
   4115       # This depmode causes a compiler race in universal mode.
   4116       test "$am__universal" = false || continue
   4117       ;;
   4118     nosideeffect)
   4119       # After this tag, mechanisms are not by side-effect, so they'll
   4120       # only be used when explicitly requested.
   4121       if test "x$enable_dependency_tracking" = xyes; then
   4122 	continue
   4123       else
   4124 	break
   4125       fi
   4126       ;;
   4127     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4128       # This compiler won't grok '-c -o', but also, the minuso test has
   4129       # not run yet.  These depmodes are late enough in the game, and
   4130       # so weak that their functioning should not be impacted.
   4131       am__obj=conftest.${OBJEXT-o}
   4132       am__minus_obj=
   4133       ;;
   4134     none) break ;;
   4135     esac
   4136     if depmode=$depmode \
   4137        source=sub/conftest.c object=$am__obj \
   4138        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4139        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4140          >/dev/null 2>conftest.err &&
   4141        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4142        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4143        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4144        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4145       # icc doesn't choke on unknown options, it will just issue warnings
   4146       # or remarks (even with -Werror).  So we grep stderr for any message
   4147       # that says an option was ignored or not supported.
   4148       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4149       #   icc: Command line warning: ignoring option '-M'; no argument required
   4150       # The diagnosis changed in icc 8.0:
   4151       #   icc: Command line remark: option '-MP' not supported
   4152       if (grep 'ignoring option' conftest.err ||
   4153           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4154         am_cv_CC_dependencies_compiler_type=$depmode
   4155         break
   4156       fi
   4157     fi
   4158   done
   4159 
   4160   cd ..
   4161   rm -rf conftest.dir
   4162 else
   4163   am_cv_CC_dependencies_compiler_type=none
   4164 fi
   4165 
   4166 fi
   4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4168 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4169 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4170 
   4171  if
   4172   test "x$enable_dependency_tracking" != xno \
   4173   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4174   am__fastdepCC_TRUE=
   4175   am__fastdepCC_FALSE='#'
   4176 else
   4177   am__fastdepCC_TRUE='#'
   4178   am__fastdepCC_FALSE=
   4179 fi
   4180 
   4181 
   4182 
   4183 ac_ext=c
   4184 ac_cpp='$CPP $CPPFLAGS'
   4185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4189 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4190 # On Suns, sometimes $CPP names a directory.
   4191 if test -n "$CPP" && test -d "$CPP"; then
   4192   CPP=
   4193 fi
   4194 if test -z "$CPP"; then
   4195   if ${ac_cv_prog_CPP+:} false; then :
   4196   $as_echo_n "(cached) " >&6
   4197 else
   4198       # Double quotes because CPP needs to be expanded
   4199     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4200     do
   4201       ac_preproc_ok=false
   4202 for ac_c_preproc_warn_flag in '' yes
   4203 do
   4204   # Use a header file that comes with gcc, so configuring glibc
   4205   # with a fresh cross-compiler works.
   4206   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4207   # <limits.h> exists even on freestanding compilers.
   4208   # On the NeXT, cc -E runs the code through the compiler's parser,
   4209   # not just through cpp. "Syntax error" is here to catch this case.
   4210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4211 /* end confdefs.h.  */
   4212 #ifdef __STDC__
   4213 # include <limits.h>
   4214 #else
   4215 # include <assert.h>
   4216 #endif
   4217 		     Syntax error
   4218 _ACEOF
   4219 if ac_fn_c_try_cpp "$LINENO"; then :
   4220 
   4221 else
   4222   # Broken: fails on valid input.
   4223 continue
   4224 fi
   4225 rm -f conftest.err conftest.i conftest.$ac_ext
   4226 
   4227   # OK, works on sane cases.  Now check whether nonexistent headers
   4228   # can be detected and how.
   4229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4230 /* end confdefs.h.  */
   4231 #include <ac_nonexistent.h>
   4232 _ACEOF
   4233 if ac_fn_c_try_cpp "$LINENO"; then :
   4234   # Broken: success on invalid input.
   4235 continue
   4236 else
   4237   # Passes both tests.
   4238 ac_preproc_ok=:
   4239 break
   4240 fi
   4241 rm -f conftest.err conftest.i conftest.$ac_ext
   4242 
   4243 done
   4244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4245 rm -f conftest.i conftest.err conftest.$ac_ext
   4246 if $ac_preproc_ok; then :
   4247   break
   4248 fi
   4249 
   4250     done
   4251     ac_cv_prog_CPP=$CPP
   4252 
   4253 fi
   4254   CPP=$ac_cv_prog_CPP
   4255 else
   4256   ac_cv_prog_CPP=$CPP
   4257 fi
   4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4259 $as_echo "$CPP" >&6; }
   4260 ac_preproc_ok=false
   4261 for ac_c_preproc_warn_flag in '' yes
   4262 do
   4263   # Use a header file that comes with gcc, so configuring glibc
   4264   # with a fresh cross-compiler works.
   4265   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4266   # <limits.h> exists even on freestanding compilers.
   4267   # On the NeXT, cc -E runs the code through the compiler's parser,
   4268   # not just through cpp. "Syntax error" is here to catch this case.
   4269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4270 /* end confdefs.h.  */
   4271 #ifdef __STDC__
   4272 # include <limits.h>
   4273 #else
   4274 # include <assert.h>
   4275 #endif
   4276 		     Syntax error
   4277 _ACEOF
   4278 if ac_fn_c_try_cpp "$LINENO"; then :
   4279 
   4280 else
   4281   # Broken: fails on valid input.
   4282 continue
   4283 fi
   4284 rm -f conftest.err conftest.i conftest.$ac_ext
   4285 
   4286   # OK, works on sane cases.  Now check whether nonexistent headers
   4287   # can be detected and how.
   4288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4289 /* end confdefs.h.  */
   4290 #include <ac_nonexistent.h>
   4291 _ACEOF
   4292 if ac_fn_c_try_cpp "$LINENO"; then :
   4293   # Broken: success on invalid input.
   4294 continue
   4295 else
   4296   # Passes both tests.
   4297 ac_preproc_ok=:
   4298 break
   4299 fi
   4300 rm -f conftest.err conftest.i conftest.$ac_ext
   4301 
   4302 done
   4303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4304 rm -f conftest.i conftest.err conftest.$ac_ext
   4305 if $ac_preproc_ok; then :
   4306 
   4307 else
   4308   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4310 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4311 See \`config.log' for more details" "$LINENO" 5; }
   4312 fi
   4313 
   4314 ac_ext=c
   4315 ac_cpp='$CPP $CPPFLAGS'
   4316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4319 
   4320 
   4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4322 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4323 if ${ac_cv_path_GREP+:} false; then :
   4324   $as_echo_n "(cached) " >&6
   4325 else
   4326   if test -z "$GREP"; then
   4327   ac_path_GREP_found=false
   4328   # Loop through the user's path and test for each of PROGNAME-LIST
   4329   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4330 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4331 do
   4332   IFS=$as_save_IFS
   4333   test -z "$as_dir" && as_dir=.
   4334     for ac_prog in grep ggrep; do
   4335     for ac_exec_ext in '' $ac_executable_extensions; do
   4336       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4337       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4338 # Check for GNU ac_path_GREP and select it if it is found.
   4339   # Check for GNU $ac_path_GREP
   4340 case `"$ac_path_GREP" --version 2>&1` in
   4341 *GNU*)
   4342   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4343 *)
   4344   ac_count=0
   4345   $as_echo_n 0123456789 >"conftest.in"
   4346   while :
   4347   do
   4348     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4349     mv "conftest.tmp" "conftest.in"
   4350     cp "conftest.in" "conftest.nl"
   4351     $as_echo 'GREP' >> "conftest.nl"
   4352     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4353     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4354     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4355     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4356       # Best one so far, save it but keep looking for a better one
   4357       ac_cv_path_GREP="$ac_path_GREP"
   4358       ac_path_GREP_max=$ac_count
   4359     fi
   4360     # 10*(2^10) chars as input seems more than enough
   4361     test $ac_count -gt 10 && break
   4362   done
   4363   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4364 esac
   4365 
   4366       $ac_path_GREP_found && break 3
   4367     done
   4368   done
   4369   done
   4370 IFS=$as_save_IFS
   4371   if test -z "$ac_cv_path_GREP"; then
   4372     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4373   fi
   4374 else
   4375   ac_cv_path_GREP=$GREP
   4376 fi
   4377 
   4378 fi
   4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4380 $as_echo "$ac_cv_path_GREP" >&6; }
   4381  GREP="$ac_cv_path_GREP"
   4382 
   4383 
   4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4385 $as_echo_n "checking for egrep... " >&6; }
   4386 if ${ac_cv_path_EGREP+:} false; then :
   4387   $as_echo_n "(cached) " >&6
   4388 else
   4389   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4390    then ac_cv_path_EGREP="$GREP -E"
   4391    else
   4392      if test -z "$EGREP"; then
   4393   ac_path_EGREP_found=false
   4394   # Loop through the user's path and test for each of PROGNAME-LIST
   4395   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4396 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4397 do
   4398   IFS=$as_save_IFS
   4399   test -z "$as_dir" && as_dir=.
   4400     for ac_prog in egrep; do
   4401     for ac_exec_ext in '' $ac_executable_extensions; do
   4402       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4403       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4404 # Check for GNU ac_path_EGREP and select it if it is found.
   4405   # Check for GNU $ac_path_EGREP
   4406 case `"$ac_path_EGREP" --version 2>&1` in
   4407 *GNU*)
   4408   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4409 *)
   4410   ac_count=0
   4411   $as_echo_n 0123456789 >"conftest.in"
   4412   while :
   4413   do
   4414     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4415     mv "conftest.tmp" "conftest.in"
   4416     cp "conftest.in" "conftest.nl"
   4417     $as_echo 'EGREP' >> "conftest.nl"
   4418     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4419     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4420     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4421     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4422       # Best one so far, save it but keep looking for a better one
   4423       ac_cv_path_EGREP="$ac_path_EGREP"
   4424       ac_path_EGREP_max=$ac_count
   4425     fi
   4426     # 10*(2^10) chars as input seems more than enough
   4427     test $ac_count -gt 10 && break
   4428   done
   4429   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4430 esac
   4431 
   4432       $ac_path_EGREP_found && break 3
   4433     done
   4434   done
   4435   done
   4436 IFS=$as_save_IFS
   4437   if test -z "$ac_cv_path_EGREP"; then
   4438     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4439   fi
   4440 else
   4441   ac_cv_path_EGREP=$EGREP
   4442 fi
   4443 
   4444    fi
   4445 fi
   4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4447 $as_echo "$ac_cv_path_EGREP" >&6; }
   4448  EGREP="$ac_cv_path_EGREP"
   4449 
   4450 
   4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4452 $as_echo_n "checking for ANSI C header files... " >&6; }
   4453 if ${ac_cv_header_stdc+:} false; then :
   4454   $as_echo_n "(cached) " >&6
   4455 else
   4456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4457 /* end confdefs.h.  */
   4458 #include <stdlib.h>
   4459 #include <stdarg.h>
   4460 #include <string.h>
   4461 #include <float.h>
   4462 
   4463 int
   4464 main ()
   4465 {
   4466 
   4467   ;
   4468   return 0;
   4469 }
   4470 _ACEOF
   4471 if ac_fn_c_try_compile "$LINENO"; then :
   4472   ac_cv_header_stdc=yes
   4473 else
   4474   ac_cv_header_stdc=no
   4475 fi
   4476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4477 
   4478 if test $ac_cv_header_stdc = yes; then
   4479   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4481 /* end confdefs.h.  */
   4482 #include <string.h>
   4483 
   4484 _ACEOF
   4485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4486   $EGREP "memchr" >/dev/null 2>&1; then :
   4487 
   4488 else
   4489   ac_cv_header_stdc=no
   4490 fi
   4491 rm -f conftest*
   4492 
   4493 fi
   4494 
   4495 if test $ac_cv_header_stdc = yes; then
   4496   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4498 /* end confdefs.h.  */
   4499 #include <stdlib.h>
   4500 
   4501 _ACEOF
   4502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4503   $EGREP "free" >/dev/null 2>&1; then :
   4504 
   4505 else
   4506   ac_cv_header_stdc=no
   4507 fi
   4508 rm -f conftest*
   4509 
   4510 fi
   4511 
   4512 if test $ac_cv_header_stdc = yes; then
   4513   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4514   if test "$cross_compiling" = yes; then :
   4515   :
   4516 else
   4517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4518 /* end confdefs.h.  */
   4519 #include <ctype.h>
   4520 #include <stdlib.h>
   4521 #if ((' ' & 0x0FF) == 0x020)
   4522 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4523 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4524 #else
   4525 # define ISLOWER(c) \
   4526 		   (('a' <= (c) && (c) <= 'i') \
   4527 		     || ('j' <= (c) && (c) <= 'r') \
   4528 		     || ('s' <= (c) && (c) <= 'z'))
   4529 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4530 #endif
   4531 
   4532 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4533 int
   4534 main ()
   4535 {
   4536   int i;
   4537   for (i = 0; i < 256; i++)
   4538     if (XOR (islower (i), ISLOWER (i))
   4539 	|| toupper (i) != TOUPPER (i))
   4540       return 2;
   4541   return 0;
   4542 }
   4543 _ACEOF
   4544 if ac_fn_c_try_run "$LINENO"; then :
   4545 
   4546 else
   4547   ac_cv_header_stdc=no
   4548 fi
   4549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4550   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4551 fi
   4552 
   4553 fi
   4554 fi
   4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4556 $as_echo "$ac_cv_header_stdc" >&6; }
   4557 if test $ac_cv_header_stdc = yes; then
   4558 
   4559 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4560 
   4561 fi
   4562 
   4563 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4564 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4565 		  inttypes.h stdint.h unistd.h
   4566 do :
   4567   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4568 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4569 "
   4570 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4571   cat >>confdefs.h <<_ACEOF
   4572 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4573 _ACEOF
   4574 
   4575 fi
   4576 
   4577 done
   4578 
   4579 
   4580 
   4581   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4582 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4583   MINIX=yes
   4584 else
   4585   MINIX=
   4586 fi
   4587 
   4588 
   4589   if test "$MINIX" = yes; then
   4590 
   4591 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4592 
   4593 
   4594 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4595 
   4596 
   4597 $as_echo "#define _MINIX 1" >>confdefs.h
   4598 
   4599   fi
   4600 
   4601 
   4602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4603 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4604 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4605   $as_echo_n "(cached) " >&6
   4606 else
   4607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4608 /* end confdefs.h.  */
   4609 
   4610 #	  define __EXTENSIONS__ 1
   4611 	  $ac_includes_default
   4612 int
   4613 main ()
   4614 {
   4615 
   4616   ;
   4617   return 0;
   4618 }
   4619 _ACEOF
   4620 if ac_fn_c_try_compile "$LINENO"; then :
   4621   ac_cv_safe_to_define___extensions__=yes
   4622 else
   4623   ac_cv_safe_to_define___extensions__=no
   4624 fi
   4625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4626 fi
   4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4628 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4629   test $ac_cv_safe_to_define___extensions__ = yes &&
   4630     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4631 
   4632   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4633 
   4634   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4635 
   4636   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4637 
   4638   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4639 
   4640 
   4641 
   4642 # Initialize libtool
   4643 case `pwd` in
   4644   *\ * | *\	*)
   4645     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4646 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4647 esac
   4648 
   4649 
   4650 
   4651 macro_version='2.4.2'
   4652 macro_revision='1.3337'
   4653 
   4654 
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 
   4665 
   4666 ltmain="$ac_aux_dir/ltmain.sh"
   4667 
   4668 # Make sure we can run config.sub.
   4669 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4670   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4671 
   4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4673 $as_echo_n "checking build system type... " >&6; }
   4674 if ${ac_cv_build+:} false; then :
   4675   $as_echo_n "(cached) " >&6
   4676 else
   4677   ac_build_alias=$build_alias
   4678 test "x$ac_build_alias" = x &&
   4679   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4680 test "x$ac_build_alias" = x &&
   4681   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4682 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4683   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4684 
   4685 fi
   4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4687 $as_echo "$ac_cv_build" >&6; }
   4688 case $ac_cv_build in
   4689 *-*-*) ;;
   4690 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4691 esac
   4692 build=$ac_cv_build
   4693 ac_save_IFS=$IFS; IFS='-'
   4694 set x $ac_cv_build
   4695 shift
   4696 build_cpu=$1
   4697 build_vendor=$2
   4698 shift; shift
   4699 # Remember, the first character of IFS is used to create $*,
   4700 # except with old shells:
   4701 build_os=$*
   4702 IFS=$ac_save_IFS
   4703 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4704 
   4705 
   4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4707 $as_echo_n "checking host system type... " >&6; }
   4708 if ${ac_cv_host+:} false; then :
   4709   $as_echo_n "(cached) " >&6
   4710 else
   4711   if test "x$host_alias" = x; then
   4712   ac_cv_host=$ac_cv_build
   4713 else
   4714   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4715     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4716 fi
   4717 
   4718 fi
   4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4720 $as_echo "$ac_cv_host" >&6; }
   4721 case $ac_cv_host in
   4722 *-*-*) ;;
   4723 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4724 esac
   4725 host=$ac_cv_host
   4726 ac_save_IFS=$IFS; IFS='-'
   4727 set x $ac_cv_host
   4728 shift
   4729 host_cpu=$1
   4730 host_vendor=$2
   4731 shift; shift
   4732 # Remember, the first character of IFS is used to create $*,
   4733 # except with old shells:
   4734 host_os=$*
   4735 IFS=$ac_save_IFS
   4736 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4737 
   4738 
   4739 # Backslashify metacharacters that are still active within
   4740 # double-quoted strings.
   4741 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4742 
   4743 # Same as above, but do not quote variable references.
   4744 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4745 
   4746 # Sed substitution to delay expansion of an escaped shell variable in a
   4747 # double_quote_subst'ed string.
   4748 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4749 
   4750 # Sed substitution to delay expansion of an escaped single quote.
   4751 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4752 
   4753 # Sed substitution to avoid accidental globbing in evaled expressions
   4754 no_glob_subst='s/\*/\\\*/g'
   4755 
   4756 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4757 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4758 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4759 
   4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4761 $as_echo_n "checking how to print strings... " >&6; }
   4762 # Test print first, because it will be a builtin if present.
   4763 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4764    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4765   ECHO='print -r --'
   4766 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4767   ECHO='printf %s\n'
   4768 else
   4769   # Use this function as a fallback that always works.
   4770   func_fallback_echo ()
   4771   {
   4772     eval 'cat <<_LTECHO_EOF
   4773 $1
   4774 _LTECHO_EOF'
   4775   }
   4776   ECHO='func_fallback_echo'
   4777 fi
   4778 
   4779 # func_echo_all arg...
   4780 # Invoke $ECHO with all args, space-separated.
   4781 func_echo_all ()
   4782 {
   4783     $ECHO ""
   4784 }
   4785 
   4786 case "$ECHO" in
   4787   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4788 $as_echo "printf" >&6; } ;;
   4789   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4790 $as_echo "print -r" >&6; } ;;
   4791   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4792 $as_echo "cat" >&6; } ;;
   4793 esac
   4794 
   4795 
   4796 
   4797 
   4798 
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4809 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4810 if ${ac_cv_path_SED+:} false; then :
   4811   $as_echo_n "(cached) " >&6
   4812 else
   4813             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4814      for ac_i in 1 2 3 4 5 6 7; do
   4815        ac_script="$ac_script$as_nl$ac_script"
   4816      done
   4817      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4818      { ac_script=; unset ac_script;}
   4819      if test -z "$SED"; then
   4820   ac_path_SED_found=false
   4821   # Loop through the user's path and test for each of PROGNAME-LIST
   4822   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4823 for as_dir in $PATH
   4824 do
   4825   IFS=$as_save_IFS
   4826   test -z "$as_dir" && as_dir=.
   4827     for ac_prog in sed gsed; do
   4828     for ac_exec_ext in '' $ac_executable_extensions; do
   4829       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4830       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4831 # Check for GNU ac_path_SED and select it if it is found.
   4832   # Check for GNU $ac_path_SED
   4833 case `"$ac_path_SED" --version 2>&1` in
   4834 *GNU*)
   4835   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4836 *)
   4837   ac_count=0
   4838   $as_echo_n 0123456789 >"conftest.in"
   4839   while :
   4840   do
   4841     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4842     mv "conftest.tmp" "conftest.in"
   4843     cp "conftest.in" "conftest.nl"
   4844     $as_echo '' >> "conftest.nl"
   4845     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4846     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4847     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4848     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4849       # Best one so far, save it but keep looking for a better one
   4850       ac_cv_path_SED="$ac_path_SED"
   4851       ac_path_SED_max=$ac_count
   4852     fi
   4853     # 10*(2^10) chars as input seems more than enough
   4854     test $ac_count -gt 10 && break
   4855   done
   4856   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4857 esac
   4858 
   4859       $ac_path_SED_found && break 3
   4860     done
   4861   done
   4862   done
   4863 IFS=$as_save_IFS
   4864   if test -z "$ac_cv_path_SED"; then
   4865     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4866   fi
   4867 else
   4868   ac_cv_path_SED=$SED
   4869 fi
   4870 
   4871 fi
   4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4873 $as_echo "$ac_cv_path_SED" >&6; }
   4874  SED="$ac_cv_path_SED"
   4875   rm -f conftest.sed
   4876 
   4877 test -z "$SED" && SED=sed
   4878 Xsed="$SED -e 1s/^X//"
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4891 $as_echo_n "checking for fgrep... " >&6; }
   4892 if ${ac_cv_path_FGREP+:} false; then :
   4893   $as_echo_n "(cached) " >&6
   4894 else
   4895   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4896    then ac_cv_path_FGREP="$GREP -F"
   4897    else
   4898      if test -z "$FGREP"; then
   4899   ac_path_FGREP_found=false
   4900   # Loop through the user's path and test for each of PROGNAME-LIST
   4901   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4902 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4903 do
   4904   IFS=$as_save_IFS
   4905   test -z "$as_dir" && as_dir=.
   4906     for ac_prog in fgrep; do
   4907     for ac_exec_ext in '' $ac_executable_extensions; do
   4908       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4909       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4910 # Check for GNU ac_path_FGREP and select it if it is found.
   4911   # Check for GNU $ac_path_FGREP
   4912 case `"$ac_path_FGREP" --version 2>&1` in
   4913 *GNU*)
   4914   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4915 *)
   4916   ac_count=0
   4917   $as_echo_n 0123456789 >"conftest.in"
   4918   while :
   4919   do
   4920     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4921     mv "conftest.tmp" "conftest.in"
   4922     cp "conftest.in" "conftest.nl"
   4923     $as_echo 'FGREP' >> "conftest.nl"
   4924     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4925     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4926     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4927     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4928       # Best one so far, save it but keep looking for a better one
   4929       ac_cv_path_FGREP="$ac_path_FGREP"
   4930       ac_path_FGREP_max=$ac_count
   4931     fi
   4932     # 10*(2^10) chars as input seems more than enough
   4933     test $ac_count -gt 10 && break
   4934   done
   4935   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4936 esac
   4937 
   4938       $ac_path_FGREP_found && break 3
   4939     done
   4940   done
   4941   done
   4942 IFS=$as_save_IFS
   4943   if test -z "$ac_cv_path_FGREP"; then
   4944     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4945   fi
   4946 else
   4947   ac_cv_path_FGREP=$FGREP
   4948 fi
   4949 
   4950    fi
   4951 fi
   4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4953 $as_echo "$ac_cv_path_FGREP" >&6; }
   4954  FGREP="$ac_cv_path_FGREP"
   4955 
   4956 
   4957 test -z "$GREP" && GREP=grep
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 # Check whether --with-gnu-ld was given.
   4978 if test "${with_gnu_ld+set}" = set; then :
   4979   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4980 else
   4981   with_gnu_ld=no
   4982 fi
   4983 
   4984 ac_prog=ld
   4985 if test "$GCC" = yes; then
   4986   # Check if gcc -print-prog-name=ld gives a path.
   4987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4988 $as_echo_n "checking for ld used by $CC... " >&6; }
   4989   case $host in
   4990   *-*-mingw*)
   4991     # gcc leaves a trailing carriage return which upsets mingw
   4992     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4993   *)
   4994     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4995   esac
   4996   case $ac_prog in
   4997     # Accept absolute paths.
   4998     [\\/]* | ?:[\\/]*)
   4999       re_direlt='/[^/][^/]*/\.\./'
   5000       # Canonicalize the pathname of ld
   5001       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5002       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5003 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5004       done
   5005       test -z "$LD" && LD="$ac_prog"
   5006       ;;
   5007   "")
   5008     # If it fails, then pretend we aren't using GCC.
   5009     ac_prog=ld
   5010     ;;
   5011   *)
   5012     # If it is relative, then search for the first ld in PATH.
   5013     with_gnu_ld=unknown
   5014     ;;
   5015   esac
   5016 elif test "$with_gnu_ld" = yes; then
   5017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5018 $as_echo_n "checking for GNU ld... " >&6; }
   5019 else
   5020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5021 $as_echo_n "checking for non-GNU ld... " >&6; }
   5022 fi
   5023 if ${lt_cv_path_LD+:} false; then :
   5024   $as_echo_n "(cached) " >&6
   5025 else
   5026   if test -z "$LD"; then
   5027   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5028   for ac_dir in $PATH; do
   5029     IFS="$lt_save_ifs"
   5030     test -z "$ac_dir" && ac_dir=.
   5031     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5032       lt_cv_path_LD="$ac_dir/$ac_prog"
   5033       # Check to see if the program is GNU ld.  I'd rather use --version,
   5034       # but apparently some variants of GNU ld only accept -v.
   5035       # Break only if it was the GNU/non-GNU ld that we prefer.
   5036       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5037       *GNU* | *'with BFD'*)
   5038 	test "$with_gnu_ld" != no && break
   5039 	;;
   5040       *)
   5041 	test "$with_gnu_ld" != yes && break
   5042 	;;
   5043       esac
   5044     fi
   5045   done
   5046   IFS="$lt_save_ifs"
   5047 else
   5048   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5049 fi
   5050 fi
   5051 
   5052 LD="$lt_cv_path_LD"
   5053 if test -n "$LD"; then
   5054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5055 $as_echo "$LD" >&6; }
   5056 else
   5057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5058 $as_echo "no" >&6; }
   5059 fi
   5060 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5062 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5063 if ${lt_cv_prog_gnu_ld+:} false; then :
   5064   $as_echo_n "(cached) " >&6
   5065 else
   5066   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5067 case `$LD -v 2>&1 </dev/null` in
   5068 *GNU* | *'with BFD'*)
   5069   lt_cv_prog_gnu_ld=yes
   5070   ;;
   5071 *)
   5072   lt_cv_prog_gnu_ld=no
   5073   ;;
   5074 esac
   5075 fi
   5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5077 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5078 with_gnu_ld=$lt_cv_prog_gnu_ld
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5089 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5090 if ${lt_cv_path_NM+:} false; then :
   5091   $as_echo_n "(cached) " >&6
   5092 else
   5093   if test -n "$NM"; then
   5094   # Let the user override the test.
   5095   lt_cv_path_NM="$NM"
   5096 else
   5097   lt_nm_to_check="${ac_tool_prefix}nm"
   5098   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5099     lt_nm_to_check="$lt_nm_to_check nm"
   5100   fi
   5101   for lt_tmp_nm in $lt_nm_to_check; do
   5102     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5103     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5104       IFS="$lt_save_ifs"
   5105       test -z "$ac_dir" && ac_dir=.
   5106       tmp_nm="$ac_dir/$lt_tmp_nm"
   5107       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5108 	# Check to see if the nm accepts a BSD-compat flag.
   5109 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5110 	#   nm: unknown option "B" ignored
   5111 	# Tru64's nm complains that /dev/null is an invalid object file
   5112 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5113 	*/dev/null* | *'Invalid file or object type'*)
   5114 	  lt_cv_path_NM="$tmp_nm -B"
   5115 	  break
   5116 	  ;;
   5117 	*)
   5118 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5119 	  */dev/null*)
   5120 	    lt_cv_path_NM="$tmp_nm -p"
   5121 	    break
   5122 	    ;;
   5123 	  *)
   5124 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5125 	    continue # so that we can try to find one that supports BSD flags
   5126 	    ;;
   5127 	  esac
   5128 	  ;;
   5129 	esac
   5130       fi
   5131     done
   5132     IFS="$lt_save_ifs"
   5133   done
   5134   : ${lt_cv_path_NM=no}
   5135 fi
   5136 fi
   5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5138 $as_echo "$lt_cv_path_NM" >&6; }
   5139 if test "$lt_cv_path_NM" != "no"; then
   5140   NM="$lt_cv_path_NM"
   5141 else
   5142   # Didn't find any BSD compatible name lister, look for dumpbin.
   5143   if test -n "$DUMPBIN"; then :
   5144     # Let the user override the test.
   5145   else
   5146     if test -n "$ac_tool_prefix"; then
   5147   for ac_prog in dumpbin "link -dump"
   5148   do
   5149     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5150 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5152 $as_echo_n "checking for $ac_word... " >&6; }
   5153 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5154   $as_echo_n "(cached) " >&6
   5155 else
   5156   if test -n "$DUMPBIN"; then
   5157   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5158 else
   5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5160 for as_dir in $PATH
   5161 do
   5162   IFS=$as_save_IFS
   5163   test -z "$as_dir" && as_dir=.
   5164     for ac_exec_ext in '' $ac_executable_extensions; do
   5165   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5166     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5167     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5168     break 2
   5169   fi
   5170 done
   5171   done
   5172 IFS=$as_save_IFS
   5173 
   5174 fi
   5175 fi
   5176 DUMPBIN=$ac_cv_prog_DUMPBIN
   5177 if test -n "$DUMPBIN"; then
   5178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5179 $as_echo "$DUMPBIN" >&6; }
   5180 else
   5181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5182 $as_echo "no" >&6; }
   5183 fi
   5184 
   5185 
   5186     test -n "$DUMPBIN" && break
   5187   done
   5188 fi
   5189 if test -z "$DUMPBIN"; then
   5190   ac_ct_DUMPBIN=$DUMPBIN
   5191   for ac_prog in dumpbin "link -dump"
   5192 do
   5193   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5194 set dummy $ac_prog; ac_word=$2
   5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5196 $as_echo_n "checking for $ac_word... " >&6; }
   5197 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5198   $as_echo_n "(cached) " >&6
   5199 else
   5200   if test -n "$ac_ct_DUMPBIN"; then
   5201   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5202 else
   5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5204 for as_dir in $PATH
   5205 do
   5206   IFS=$as_save_IFS
   5207   test -z "$as_dir" && as_dir=.
   5208     for ac_exec_ext in '' $ac_executable_extensions; do
   5209   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5210     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5212     break 2
   5213   fi
   5214 done
   5215   done
   5216 IFS=$as_save_IFS
   5217 
   5218 fi
   5219 fi
   5220 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5221 if test -n "$ac_ct_DUMPBIN"; then
   5222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5223 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5224 else
   5225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5226 $as_echo "no" >&6; }
   5227 fi
   5228 
   5229 
   5230   test -n "$ac_ct_DUMPBIN" && break
   5231 done
   5232 
   5233   if test "x$ac_ct_DUMPBIN" = x; then
   5234     DUMPBIN=":"
   5235   else
   5236     case $cross_compiling:$ac_tool_warned in
   5237 yes:)
   5238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5240 ac_tool_warned=yes ;;
   5241 esac
   5242     DUMPBIN=$ac_ct_DUMPBIN
   5243   fi
   5244 fi
   5245 
   5246     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5247     *COFF*)
   5248       DUMPBIN="$DUMPBIN -symbols"
   5249       ;;
   5250     *)
   5251       DUMPBIN=:
   5252       ;;
   5253     esac
   5254   fi
   5255 
   5256   if test "$DUMPBIN" != ":"; then
   5257     NM="$DUMPBIN"
   5258   fi
   5259 fi
   5260 test -z "$NM" && NM=nm
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5268 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5269 if ${lt_cv_nm_interface+:} false; then :
   5270   $as_echo_n "(cached) " >&6
   5271 else
   5272   lt_cv_nm_interface="BSD nm"
   5273   echo "int some_variable = 0;" > conftest.$ac_ext
   5274   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5275   (eval "$ac_compile" 2>conftest.err)
   5276   cat conftest.err >&5
   5277   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5278   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5279   cat conftest.err >&5
   5280   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5281   cat conftest.out >&5
   5282   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5283     lt_cv_nm_interface="MS dumpbin"
   5284   fi
   5285   rm -f conftest*
   5286 fi
   5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5288 $as_echo "$lt_cv_nm_interface" >&6; }
   5289 
   5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5291 $as_echo_n "checking whether ln -s works... " >&6; }
   5292 LN_S=$as_ln_s
   5293 if test "$LN_S" = "ln -s"; then
   5294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5295 $as_echo "yes" >&6; }
   5296 else
   5297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5298 $as_echo "no, using $LN_S" >&6; }
   5299 fi
   5300 
   5301 # find the maximum length of command line arguments
   5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5303 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5304 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5305   $as_echo_n "(cached) " >&6
   5306 else
   5307     i=0
   5308   teststring="ABCD"
   5309 
   5310   case $build_os in
   5311   msdosdjgpp*)
   5312     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5313     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5314     # during glob expansion).  Even if it were fixed, the result of this
   5315     # check would be larger than it should be.
   5316     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5317     ;;
   5318 
   5319   gnu*)
   5320     # Under GNU Hurd, this test is not required because there is
   5321     # no limit to the length of command line arguments.
   5322     # Libtool will interpret -1 as no limit whatsoever
   5323     lt_cv_sys_max_cmd_len=-1;
   5324     ;;
   5325 
   5326   cygwin* | mingw* | cegcc*)
   5327     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5328     # about 5 minutes as the teststring grows exponentially.
   5329     # Worse, since 9x/ME are not pre-emptively multitasking,
   5330     # you end up with a "frozen" computer, even though with patience
   5331     # the test eventually succeeds (with a max line length of 256k).
   5332     # Instead, let's just punt: use the minimum linelength reported by
   5333     # all of the supported platforms: 8192 (on NT/2K/XP).
   5334     lt_cv_sys_max_cmd_len=8192;
   5335     ;;
   5336 
   5337   mint*)
   5338     # On MiNT this can take a long time and run out of memory.
   5339     lt_cv_sys_max_cmd_len=8192;
   5340     ;;
   5341 
   5342   amigaos*)
   5343     # On AmigaOS with pdksh, this test takes hours, literally.
   5344     # So we just punt and use a minimum line length of 8192.
   5345     lt_cv_sys_max_cmd_len=8192;
   5346     ;;
   5347 
   5348   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5349     # This has been around since 386BSD, at least.  Likely further.
   5350     if test -x /sbin/sysctl; then
   5351       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5352     elif test -x /usr/sbin/sysctl; then
   5353       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5354     else
   5355       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5356     fi
   5357     # And add a safety zone
   5358     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5359     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5360     ;;
   5361 
   5362   interix*)
   5363     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5364     lt_cv_sys_max_cmd_len=196608
   5365     ;;
   5366 
   5367   os2*)
   5368     # The test takes a long time on OS/2.
   5369     lt_cv_sys_max_cmd_len=8192
   5370     ;;
   5371 
   5372   osf*)
   5373     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5374     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5375     # nice to cause kernel panics so lets avoid the loop below.
   5376     # First set a reasonable default.
   5377     lt_cv_sys_max_cmd_len=16384
   5378     #
   5379     if test -x /sbin/sysconfig; then
   5380       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5381         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5382       esac
   5383     fi
   5384     ;;
   5385   sco3.2v5*)
   5386     lt_cv_sys_max_cmd_len=102400
   5387     ;;
   5388   sysv5* | sco5v6* | sysv4.2uw2*)
   5389     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5390     if test -n "$kargmax"; then
   5391       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5392     else
   5393       lt_cv_sys_max_cmd_len=32768
   5394     fi
   5395     ;;
   5396   *)
   5397     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5398     if test -n "$lt_cv_sys_max_cmd_len"; then
   5399       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5400       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5401     else
   5402       # Make teststring a little bigger before we do anything with it.
   5403       # a 1K string should be a reasonable start.
   5404       for i in 1 2 3 4 5 6 7 8 ; do
   5405         teststring=$teststring$teststring
   5406       done
   5407       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5408       # If test is not a shell built-in, we'll probably end up computing a
   5409       # maximum length that is only half of the actual maximum length, but
   5410       # we can't tell.
   5411       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   5412 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5413 	      test $i != 17 # 1/2 MB should be enough
   5414       do
   5415         i=`expr $i + 1`
   5416         teststring=$teststring$teststring
   5417       done
   5418       # Only check the string length outside the loop.
   5419       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5420       teststring=
   5421       # Add a significant safety factor because C++ compilers can tack on
   5422       # massive amounts of additional arguments before passing them to the
   5423       # linker.  It appears as though 1/2 is a usable value.
   5424       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5425     fi
   5426     ;;
   5427   esac
   5428 
   5429 fi
   5430 
   5431 if test -n $lt_cv_sys_max_cmd_len ; then
   5432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5433 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5434 else
   5435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5436 $as_echo "none" >&6; }
   5437 fi
   5438 max_cmd_len=$lt_cv_sys_max_cmd_len
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 : ${CP="cp -f"}
   5446 : ${MV="mv -f"}
   5447 : ${RM="rm -f"}
   5448 
   5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5450 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5451 # Try some XSI features
   5452 xsi_shell=no
   5453 ( _lt_dummy="a/b/c"
   5454   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5455       = c,a/b,b/c, \
   5456     && eval 'test $(( 1 + 1 )) -eq 2 \
   5457     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5458   && xsi_shell=yes
   5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5460 $as_echo "$xsi_shell" >&6; }
   5461 
   5462 
   5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5464 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5465 lt_shell_append=no
   5466 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5467     >/dev/null 2>&1 \
   5468   && lt_shell_append=yes
   5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5470 $as_echo "$lt_shell_append" >&6; }
   5471 
   5472 
   5473 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5474   lt_unset=unset
   5475 else
   5476   lt_unset=false
   5477 fi
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 # test EBCDIC or ASCII
   5484 case `echo X|tr X '\101'` in
   5485  A) # ASCII based system
   5486     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5487   lt_SP2NL='tr \040 \012'
   5488   lt_NL2SP='tr \015\012 \040\040'
   5489   ;;
   5490  *) # EBCDIC based system
   5491   lt_SP2NL='tr \100 \n'
   5492   lt_NL2SP='tr \r\n \100\100'
   5493   ;;
   5494 esac
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5505 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5506 if ${lt_cv_to_host_file_cmd+:} false; then :
   5507   $as_echo_n "(cached) " >&6
   5508 else
   5509   case $host in
   5510   *-*-mingw* )
   5511     case $build in
   5512       *-*-mingw* ) # actually msys
   5513         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5514         ;;
   5515       *-*-cygwin* )
   5516         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5517         ;;
   5518       * ) # otherwise, assume *nix
   5519         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5520         ;;
   5521     esac
   5522     ;;
   5523   *-*-cygwin* )
   5524     case $build in
   5525       *-*-mingw* ) # actually msys
   5526         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5527         ;;
   5528       *-*-cygwin* )
   5529         lt_cv_to_host_file_cmd=func_convert_file_noop
   5530         ;;
   5531       * ) # otherwise, assume *nix
   5532         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5533         ;;
   5534     esac
   5535     ;;
   5536   * ) # unhandled hosts (and "normal" native builds)
   5537     lt_cv_to_host_file_cmd=func_convert_file_noop
   5538     ;;
   5539 esac
   5540 
   5541 fi
   5542 
   5543 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5545 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5552 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5553 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5554   $as_echo_n "(cached) " >&6
   5555 else
   5556   #assume ordinary cross tools, or native build.
   5557 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5558 case $host in
   5559   *-*-mingw* )
   5560     case $build in
   5561       *-*-mingw* ) # actually msys
   5562         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5563         ;;
   5564     esac
   5565     ;;
   5566 esac
   5567 
   5568 fi
   5569 
   5570 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5572 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5579 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5580 if ${lt_cv_ld_reload_flag+:} false; then :
   5581   $as_echo_n "(cached) " >&6
   5582 else
   5583   lt_cv_ld_reload_flag='-r'
   5584 fi
   5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5586 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5587 reload_flag=$lt_cv_ld_reload_flag
   5588 case $reload_flag in
   5589 "" | " "*) ;;
   5590 *) reload_flag=" $reload_flag" ;;
   5591 esac
   5592 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5593 case $host_os in
   5594   cygwin* | mingw* | pw32* | cegcc*)
   5595     if test "$GCC" != yes; then
   5596       reload_cmds=false
   5597     fi
   5598     ;;
   5599   darwin*)
   5600     if test "$GCC" = yes; then
   5601       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5602     else
   5603       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5604     fi
   5605     ;;
   5606 esac
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 if test -n "$ac_tool_prefix"; then
   5617   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5618 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5620 $as_echo_n "checking for $ac_word... " >&6; }
   5621 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5622   $as_echo_n "(cached) " >&6
   5623 else
   5624   if test -n "$OBJDUMP"; then
   5625   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5626 else
   5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5628 for as_dir in $PATH
   5629 do
   5630   IFS=$as_save_IFS
   5631   test -z "$as_dir" && as_dir=.
   5632     for ac_exec_ext in '' $ac_executable_extensions; do
   5633   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5634     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5636     break 2
   5637   fi
   5638 done
   5639   done
   5640 IFS=$as_save_IFS
   5641 
   5642 fi
   5643 fi
   5644 OBJDUMP=$ac_cv_prog_OBJDUMP
   5645 if test -n "$OBJDUMP"; then
   5646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5647 $as_echo "$OBJDUMP" >&6; }
   5648 else
   5649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5650 $as_echo "no" >&6; }
   5651 fi
   5652 
   5653 
   5654 fi
   5655 if test -z "$ac_cv_prog_OBJDUMP"; then
   5656   ac_ct_OBJDUMP=$OBJDUMP
   5657   # Extract the first word of "objdump", so it can be a program name with args.
   5658 set dummy objdump; ac_word=$2
   5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5660 $as_echo_n "checking for $ac_word... " >&6; }
   5661 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5662   $as_echo_n "(cached) " >&6
   5663 else
   5664   if test -n "$ac_ct_OBJDUMP"; then
   5665   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5666 else
   5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5668 for as_dir in $PATH
   5669 do
   5670   IFS=$as_save_IFS
   5671   test -z "$as_dir" && as_dir=.
   5672     for ac_exec_ext in '' $ac_executable_extensions; do
   5673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5674     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5676     break 2
   5677   fi
   5678 done
   5679   done
   5680 IFS=$as_save_IFS
   5681 
   5682 fi
   5683 fi
   5684 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5685 if test -n "$ac_ct_OBJDUMP"; then
   5686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5687 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5688 else
   5689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5690 $as_echo "no" >&6; }
   5691 fi
   5692 
   5693   if test "x$ac_ct_OBJDUMP" = x; then
   5694     OBJDUMP="false"
   5695   else
   5696     case $cross_compiling:$ac_tool_warned in
   5697 yes:)
   5698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5700 ac_tool_warned=yes ;;
   5701 esac
   5702     OBJDUMP=$ac_ct_OBJDUMP
   5703   fi
   5704 else
   5705   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5706 fi
   5707 
   5708 test -z "$OBJDUMP" && OBJDUMP=objdump
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5719 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5720 if ${lt_cv_deplibs_check_method+:} false; then :
   5721   $as_echo_n "(cached) " >&6
   5722 else
   5723   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5724 lt_cv_file_magic_test_file=
   5725 lt_cv_deplibs_check_method='unknown'
   5726 # Need to set the preceding variable on all platforms that support
   5727 # interlibrary dependencies.
   5728 # 'none' -- dependencies not supported.
   5729 # `unknown' -- same as none, but documents that we really don't know.
   5730 # 'pass_all' -- all dependencies passed with no checks.
   5731 # 'test_compile' -- check by making test program.
   5732 # 'file_magic [[regex]]' -- check by looking for files in library path
   5733 # which responds to the $file_magic_cmd with a given extended regex.
   5734 # If you have `file' or equivalent on your system and you're not sure
   5735 # whether `pass_all' will *always* work, you probably want this one.
   5736 
   5737 case $host_os in
   5738 aix[4-9]*)
   5739   lt_cv_deplibs_check_method=pass_all
   5740   ;;
   5741 
   5742 beos*)
   5743   lt_cv_deplibs_check_method=pass_all
   5744   ;;
   5745 
   5746 bsdi[45]*)
   5747   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5748   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5749   lt_cv_file_magic_test_file=/shlib/libc.so
   5750   ;;
   5751 
   5752 cygwin*)
   5753   # func_win32_libid is a shell function defined in ltmain.sh
   5754   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5755   lt_cv_file_magic_cmd='func_win32_libid'
   5756   ;;
   5757 
   5758 mingw* | pw32*)
   5759   # Base MSYS/MinGW do not provide the 'file' command needed by
   5760   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5761   # unless we find 'file', for example because we are cross-compiling.
   5762   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5763   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5764     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5765     lt_cv_file_magic_cmd='func_win32_libid'
   5766   else
   5767     # Keep this pattern in sync with the one in func_win32_libid.
   5768     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5769     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5770   fi
   5771   ;;
   5772 
   5773 cegcc*)
   5774   # use the weaker test based on 'objdump'. See mingw*.
   5775   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5776   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5777   ;;
   5778 
   5779 darwin* | rhapsody*)
   5780   lt_cv_deplibs_check_method=pass_all
   5781   ;;
   5782 
   5783 freebsd* | dragonfly*)
   5784   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5785     case $host_cpu in
   5786     i*86 )
   5787       # Not sure whether the presence of OpenBSD here was a mistake.
   5788       # Let's accept both of them until this is cleared up.
   5789       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5790       lt_cv_file_magic_cmd=/usr/bin/file
   5791       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5792       ;;
   5793     esac
   5794   else
   5795     lt_cv_deplibs_check_method=pass_all
   5796   fi
   5797   ;;
   5798 
   5799 gnu*)
   5800   lt_cv_deplibs_check_method=pass_all
   5801   ;;
   5802 
   5803 haiku*)
   5804   lt_cv_deplibs_check_method=pass_all
   5805   ;;
   5806 
   5807 hpux10.20* | hpux11*)
   5808   lt_cv_file_magic_cmd=/usr/bin/file
   5809   case $host_cpu in
   5810   ia64*)
   5811     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5812     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5813     ;;
   5814   hppa*64*)
   5815     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]'
   5816     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5817     ;;
   5818   *)
   5819     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5820     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5821     ;;
   5822   esac
   5823   ;;
   5824 
   5825 interix[3-9]*)
   5826   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5827   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5828   ;;
   5829 
   5830 irix5* | irix6* | nonstopux*)
   5831   case $LD in
   5832   *-32|*"-32 ") libmagic=32-bit;;
   5833   *-n32|*"-n32 ") libmagic=N32;;
   5834   *-64|*"-64 ") libmagic=64-bit;;
   5835   *) libmagic=never-match;;
   5836   esac
   5837   lt_cv_deplibs_check_method=pass_all
   5838   ;;
   5839 
   5840 # This must be glibc/ELF.
   5841 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5842   lt_cv_deplibs_check_method=pass_all
   5843   ;;
   5844 
   5845 netbsd*)
   5846   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5847     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5848   else
   5849     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5850   fi
   5851   ;;
   5852 
   5853 newos6*)
   5854   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5855   lt_cv_file_magic_cmd=/usr/bin/file
   5856   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5857   ;;
   5858 
   5859 *nto* | *qnx*)
   5860   lt_cv_deplibs_check_method=pass_all
   5861   ;;
   5862 
   5863 openbsd*)
   5864   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5865     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5866   else
   5867     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5868   fi
   5869   ;;
   5870 
   5871 osf3* | osf4* | osf5*)
   5872   lt_cv_deplibs_check_method=pass_all
   5873   ;;
   5874 
   5875 rdos*)
   5876   lt_cv_deplibs_check_method=pass_all
   5877   ;;
   5878 
   5879 solaris*)
   5880   lt_cv_deplibs_check_method=pass_all
   5881   ;;
   5882 
   5883 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5884   lt_cv_deplibs_check_method=pass_all
   5885   ;;
   5886 
   5887 sysv4 | sysv4.3*)
   5888   case $host_vendor in
   5889   motorola)
   5890     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]'
   5891     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5892     ;;
   5893   ncr)
   5894     lt_cv_deplibs_check_method=pass_all
   5895     ;;
   5896   sequent)
   5897     lt_cv_file_magic_cmd='/bin/file'
   5898     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5899     ;;
   5900   sni)
   5901     lt_cv_file_magic_cmd='/bin/file'
   5902     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5903     lt_cv_file_magic_test_file=/lib/libc.so
   5904     ;;
   5905   siemens)
   5906     lt_cv_deplibs_check_method=pass_all
   5907     ;;
   5908   pc)
   5909     lt_cv_deplibs_check_method=pass_all
   5910     ;;
   5911   esac
   5912   ;;
   5913 
   5914 tpf*)
   5915   lt_cv_deplibs_check_method=pass_all
   5916   ;;
   5917 esac
   5918 
   5919 fi
   5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5921 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5922 
   5923 file_magic_glob=
   5924 want_nocaseglob=no
   5925 if test "$build" = "$host"; then
   5926   case $host_os in
   5927   mingw* | pw32*)
   5928     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5929       want_nocaseglob=yes
   5930     else
   5931       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5932     fi
   5933     ;;
   5934   esac
   5935 fi
   5936 
   5937 file_magic_cmd=$lt_cv_file_magic_cmd
   5938 deplibs_check_method=$lt_cv_deplibs_check_method
   5939 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 if test -n "$ac_tool_prefix"; then
   5963   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5964 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5966 $as_echo_n "checking for $ac_word... " >&6; }
   5967 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5968   $as_echo_n "(cached) " >&6
   5969 else
   5970   if test -n "$DLLTOOL"; then
   5971   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5972 else
   5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5974 for as_dir in $PATH
   5975 do
   5976   IFS=$as_save_IFS
   5977   test -z "$as_dir" && as_dir=.
   5978     for ac_exec_ext in '' $ac_executable_extensions; do
   5979   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5980     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5982     break 2
   5983   fi
   5984 done
   5985   done
   5986 IFS=$as_save_IFS
   5987 
   5988 fi
   5989 fi
   5990 DLLTOOL=$ac_cv_prog_DLLTOOL
   5991 if test -n "$DLLTOOL"; then
   5992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5993 $as_echo "$DLLTOOL" >&6; }
   5994 else
   5995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5996 $as_echo "no" >&6; }
   5997 fi
   5998 
   5999 
   6000 fi
   6001 if test -z "$ac_cv_prog_DLLTOOL"; then
   6002   ac_ct_DLLTOOL=$DLLTOOL
   6003   # Extract the first word of "dlltool", so it can be a program name with args.
   6004 set dummy dlltool; ac_word=$2
   6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6006 $as_echo_n "checking for $ac_word... " >&6; }
   6007 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6008   $as_echo_n "(cached) " >&6
   6009 else
   6010   if test -n "$ac_ct_DLLTOOL"; then
   6011   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6012 else
   6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6014 for as_dir in $PATH
   6015 do
   6016   IFS=$as_save_IFS
   6017   test -z "$as_dir" && as_dir=.
   6018     for ac_exec_ext in '' $ac_executable_extensions; do
   6019   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6020     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6022     break 2
   6023   fi
   6024 done
   6025   done
   6026 IFS=$as_save_IFS
   6027 
   6028 fi
   6029 fi
   6030 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6031 if test -n "$ac_ct_DLLTOOL"; then
   6032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6033 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6034 else
   6035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6036 $as_echo "no" >&6; }
   6037 fi
   6038 
   6039   if test "x$ac_ct_DLLTOOL" = x; then
   6040     DLLTOOL="false"
   6041   else
   6042     case $cross_compiling:$ac_tool_warned in
   6043 yes:)
   6044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6046 ac_tool_warned=yes ;;
   6047 esac
   6048     DLLTOOL=$ac_ct_DLLTOOL
   6049   fi
   6050 else
   6051   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6052 fi
   6053 
   6054 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6066 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6067 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6068   $as_echo_n "(cached) " >&6
   6069 else
   6070   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6071 
   6072 case $host_os in
   6073 cygwin* | mingw* | pw32* | cegcc*)
   6074   # two different shell functions defined in ltmain.sh
   6075   # decide which to use based on capabilities of $DLLTOOL
   6076   case `$DLLTOOL --help 2>&1` in
   6077   *--identify-strict*)
   6078     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6079     ;;
   6080   *)
   6081     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6082     ;;
   6083   esac
   6084   ;;
   6085 *)
   6086   # fallback: assume linklib IS sharedlib
   6087   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   6088   ;;
   6089 esac
   6090 
   6091 fi
   6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6093 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6094 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6095 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6096 
   6097 
   6098 
   6099 
   6100 
   6101 
   6102 
   6103 if test -n "$ac_tool_prefix"; then
   6104   for ac_prog in ar
   6105   do
   6106     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6107 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6109 $as_echo_n "checking for $ac_word... " >&6; }
   6110 if ${ac_cv_prog_AR+:} false; then :
   6111   $as_echo_n "(cached) " >&6
   6112 else
   6113   if test -n "$AR"; then
   6114   ac_cv_prog_AR="$AR" # Let the user override the test.
   6115 else
   6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6117 for as_dir in $PATH
   6118 do
   6119   IFS=$as_save_IFS
   6120   test -z "$as_dir" && as_dir=.
   6121     for ac_exec_ext in '' $ac_executable_extensions; do
   6122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6123     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6125     break 2
   6126   fi
   6127 done
   6128   done
   6129 IFS=$as_save_IFS
   6130 
   6131 fi
   6132 fi
   6133 AR=$ac_cv_prog_AR
   6134 if test -n "$AR"; then
   6135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6136 $as_echo "$AR" >&6; }
   6137 else
   6138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6139 $as_echo "no" >&6; }
   6140 fi
   6141 
   6142 
   6143     test -n "$AR" && break
   6144   done
   6145 fi
   6146 if test -z "$AR"; then
   6147   ac_ct_AR=$AR
   6148   for ac_prog in ar
   6149 do
   6150   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6151 set dummy $ac_prog; ac_word=$2
   6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6153 $as_echo_n "checking for $ac_word... " >&6; }
   6154 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6155   $as_echo_n "(cached) " >&6
   6156 else
   6157   if test -n "$ac_ct_AR"; then
   6158   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6159 else
   6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6161 for as_dir in $PATH
   6162 do
   6163   IFS=$as_save_IFS
   6164   test -z "$as_dir" && as_dir=.
   6165     for ac_exec_ext in '' $ac_executable_extensions; do
   6166   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6167     ac_cv_prog_ac_ct_AR="$ac_prog"
   6168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6169     break 2
   6170   fi
   6171 done
   6172   done
   6173 IFS=$as_save_IFS
   6174 
   6175 fi
   6176 fi
   6177 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6178 if test -n "$ac_ct_AR"; then
   6179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6180 $as_echo "$ac_ct_AR" >&6; }
   6181 else
   6182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6183 $as_echo "no" >&6; }
   6184 fi
   6185 
   6186 
   6187   test -n "$ac_ct_AR" && break
   6188 done
   6189 
   6190   if test "x$ac_ct_AR" = x; then
   6191     AR="false"
   6192   else
   6193     case $cross_compiling:$ac_tool_warned in
   6194 yes:)
   6195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6197 ac_tool_warned=yes ;;
   6198 esac
   6199     AR=$ac_ct_AR
   6200   fi
   6201 fi
   6202 
   6203 : ${AR=ar}
   6204 : ${AR_FLAGS=cru}
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6217 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6218 if ${lt_cv_ar_at_file+:} false; then :
   6219   $as_echo_n "(cached) " >&6
   6220 else
   6221   lt_cv_ar_at_file=no
   6222    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6223 /* end confdefs.h.  */
   6224 
   6225 int
   6226 main ()
   6227 {
   6228 
   6229   ;
   6230   return 0;
   6231 }
   6232 _ACEOF
   6233 if ac_fn_c_try_compile "$LINENO"; then :
   6234   echo conftest.$ac_objext > conftest.lst
   6235       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6236       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6237   (eval $lt_ar_try) 2>&5
   6238   ac_status=$?
   6239   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6240   test $ac_status = 0; }
   6241       if test "$ac_status" -eq 0; then
   6242 	# Ensure the archiver fails upon bogus file names.
   6243 	rm -f conftest.$ac_objext libconftest.a
   6244 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6245   (eval $lt_ar_try) 2>&5
   6246   ac_status=$?
   6247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6248   test $ac_status = 0; }
   6249 	if test "$ac_status" -ne 0; then
   6250           lt_cv_ar_at_file=@
   6251         fi
   6252       fi
   6253       rm -f conftest.* libconftest.a
   6254 
   6255 fi
   6256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6257 
   6258 fi
   6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6260 $as_echo "$lt_cv_ar_at_file" >&6; }
   6261 
   6262 if test "x$lt_cv_ar_at_file" = xno; then
   6263   archiver_list_spec=
   6264 else
   6265   archiver_list_spec=$lt_cv_ar_at_file
   6266 fi
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 if test -n "$ac_tool_prefix"; then
   6275   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6276 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6278 $as_echo_n "checking for $ac_word... " >&6; }
   6279 if ${ac_cv_prog_STRIP+:} false; then :
   6280   $as_echo_n "(cached) " >&6
   6281 else
   6282   if test -n "$STRIP"; then
   6283   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6284 else
   6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6286 for as_dir in $PATH
   6287 do
   6288   IFS=$as_save_IFS
   6289   test -z "$as_dir" && as_dir=.
   6290     for ac_exec_ext in '' $ac_executable_extensions; do
   6291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6292     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6293     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6294     break 2
   6295   fi
   6296 done
   6297   done
   6298 IFS=$as_save_IFS
   6299 
   6300 fi
   6301 fi
   6302 STRIP=$ac_cv_prog_STRIP
   6303 if test -n "$STRIP"; then
   6304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6305 $as_echo "$STRIP" >&6; }
   6306 else
   6307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6308 $as_echo "no" >&6; }
   6309 fi
   6310 
   6311 
   6312 fi
   6313 if test -z "$ac_cv_prog_STRIP"; then
   6314   ac_ct_STRIP=$STRIP
   6315   # Extract the first word of "strip", so it can be a program name with args.
   6316 set dummy strip; ac_word=$2
   6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6318 $as_echo_n "checking for $ac_word... " >&6; }
   6319 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6320   $as_echo_n "(cached) " >&6
   6321 else
   6322   if test -n "$ac_ct_STRIP"; then
   6323   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6324 else
   6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6326 for as_dir in $PATH
   6327 do
   6328   IFS=$as_save_IFS
   6329   test -z "$as_dir" && as_dir=.
   6330     for ac_exec_ext in '' $ac_executable_extensions; do
   6331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6332     ac_cv_prog_ac_ct_STRIP="strip"
   6333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6334     break 2
   6335   fi
   6336 done
   6337   done
   6338 IFS=$as_save_IFS
   6339 
   6340 fi
   6341 fi
   6342 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6343 if test -n "$ac_ct_STRIP"; then
   6344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6345 $as_echo "$ac_ct_STRIP" >&6; }
   6346 else
   6347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6348 $as_echo "no" >&6; }
   6349 fi
   6350 
   6351   if test "x$ac_ct_STRIP" = x; then
   6352     STRIP=":"
   6353   else
   6354     case $cross_compiling:$ac_tool_warned in
   6355 yes:)
   6356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6358 ac_tool_warned=yes ;;
   6359 esac
   6360     STRIP=$ac_ct_STRIP
   6361   fi
   6362 else
   6363   STRIP="$ac_cv_prog_STRIP"
   6364 fi
   6365 
   6366 test -z "$STRIP" && STRIP=:
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 if test -n "$ac_tool_prefix"; then
   6374   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6375 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6377 $as_echo_n "checking for $ac_word... " >&6; }
   6378 if ${ac_cv_prog_RANLIB+:} false; then :
   6379   $as_echo_n "(cached) " >&6
   6380 else
   6381   if test -n "$RANLIB"; then
   6382   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6383 else
   6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6385 for as_dir in $PATH
   6386 do
   6387   IFS=$as_save_IFS
   6388   test -z "$as_dir" && as_dir=.
   6389     for ac_exec_ext in '' $ac_executable_extensions; do
   6390   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6391     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6393     break 2
   6394   fi
   6395 done
   6396   done
   6397 IFS=$as_save_IFS
   6398 
   6399 fi
   6400 fi
   6401 RANLIB=$ac_cv_prog_RANLIB
   6402 if test -n "$RANLIB"; then
   6403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6404 $as_echo "$RANLIB" >&6; }
   6405 else
   6406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6407 $as_echo "no" >&6; }
   6408 fi
   6409 
   6410 
   6411 fi
   6412 if test -z "$ac_cv_prog_RANLIB"; then
   6413   ac_ct_RANLIB=$RANLIB
   6414   # Extract the first word of "ranlib", so it can be a program name with args.
   6415 set dummy ranlib; ac_word=$2
   6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6417 $as_echo_n "checking for $ac_word... " >&6; }
   6418 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6419   $as_echo_n "(cached) " >&6
   6420 else
   6421   if test -n "$ac_ct_RANLIB"; then
   6422   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6423 else
   6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6425 for as_dir in $PATH
   6426 do
   6427   IFS=$as_save_IFS
   6428   test -z "$as_dir" && as_dir=.
   6429     for ac_exec_ext in '' $ac_executable_extensions; do
   6430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6431     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6433     break 2
   6434   fi
   6435 done
   6436   done
   6437 IFS=$as_save_IFS
   6438 
   6439 fi
   6440 fi
   6441 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6442 if test -n "$ac_ct_RANLIB"; then
   6443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6444 $as_echo "$ac_ct_RANLIB" >&6; }
   6445 else
   6446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6447 $as_echo "no" >&6; }
   6448 fi
   6449 
   6450   if test "x$ac_ct_RANLIB" = x; then
   6451     RANLIB=":"
   6452   else
   6453     case $cross_compiling:$ac_tool_warned in
   6454 yes:)
   6455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6457 ac_tool_warned=yes ;;
   6458 esac
   6459     RANLIB=$ac_ct_RANLIB
   6460   fi
   6461 else
   6462   RANLIB="$ac_cv_prog_RANLIB"
   6463 fi
   6464 
   6465 test -z "$RANLIB" && RANLIB=:
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 # Determine commands to create old-style static archives.
   6473 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6474 old_postinstall_cmds='chmod 644 $oldlib'
   6475 old_postuninstall_cmds=
   6476 
   6477 if test -n "$RANLIB"; then
   6478   case $host_os in
   6479   openbsd*)
   6480     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6481     ;;
   6482   *)
   6483     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6484     ;;
   6485   esac
   6486   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6487 fi
   6488 
   6489 case $host_os in
   6490   darwin*)
   6491     lock_old_archive_extraction=yes ;;
   6492   *)
   6493     lock_old_archive_extraction=no ;;
   6494 esac
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 # If no C compiler was specified, use CC.
   6535 LTCC=${LTCC-"$CC"}
   6536 
   6537 # If no C compiler flags were specified, use CFLAGS.
   6538 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6539 
   6540 # Allow CC to be a program name with arguments.
   6541 compiler=$CC
   6542 
   6543 
   6544 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6546 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6547 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6548   $as_echo_n "(cached) " >&6
   6549 else
   6550 
   6551 # These are sane defaults that work on at least a few old systems.
   6552 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6553 
   6554 # Character class describing NM global symbol codes.
   6555 symcode='[BCDEGRST]'
   6556 
   6557 # Regexp to match symbols that can be accessed directly from C.
   6558 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6559 
   6560 # Define system-specific variables.
   6561 case $host_os in
   6562 aix*)
   6563   symcode='[BCDT]'
   6564   ;;
   6565 cygwin* | mingw* | pw32* | cegcc*)
   6566   symcode='[ABCDGISTW]'
   6567   ;;
   6568 hpux*)
   6569   if test "$host_cpu" = ia64; then
   6570     symcode='[ABCDEGRST]'
   6571   fi
   6572   ;;
   6573 irix* | nonstopux*)
   6574   symcode='[BCDEGRST]'
   6575   ;;
   6576 osf*)
   6577   symcode='[BCDEGQRST]'
   6578   ;;
   6579 solaris*)
   6580   symcode='[BDRT]'
   6581   ;;
   6582 sco3.2v5*)
   6583   symcode='[DT]'
   6584   ;;
   6585 sysv4.2uw2*)
   6586   symcode='[DT]'
   6587   ;;
   6588 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6589   symcode='[ABDT]'
   6590   ;;
   6591 sysv4)
   6592   symcode='[DFNSTU]'
   6593   ;;
   6594 esac
   6595 
   6596 # If we're using GNU nm, then use its standard symbol codes.
   6597 case `$NM -V 2>&1` in
   6598 *GNU* | *'with BFD'*)
   6599   symcode='[ABCDGIRSTW]' ;;
   6600 esac
   6601 
   6602 # Transform an extracted symbol line into a proper C declaration.
   6603 # Some systems (esp. on ia64) link data and code symbols differently,
   6604 # so use this general approach.
   6605 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6606 
   6607 # Transform an extracted symbol line into symbol name and symbol address
   6608 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6609 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'"
   6610 
   6611 # Handle CRLF in mingw tool chain
   6612 opt_cr=
   6613 case $build_os in
   6614 mingw*)
   6615   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6616   ;;
   6617 esac
   6618 
   6619 # Try without a prefix underscore, then with it.
   6620 for ac_symprfx in "" "_"; do
   6621 
   6622   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6623   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6624 
   6625   # Write the raw and C identifiers.
   6626   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6627     # Fake it for dumpbin and say T for any non-static function
   6628     # and D for any global variable.
   6629     # Also find C++ and __fastcall symbols from MSVC++,
   6630     # which start with @ or ?.
   6631     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6632 "     {last_section=section; section=\$ 3};"\
   6633 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6634 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6635 "     \$ 0!~/External *\|/{next};"\
   6636 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6637 "     {if(hide[section]) next};"\
   6638 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6639 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6640 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6641 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6642 "     ' prfx=^$ac_symprfx"
   6643   else
   6644     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6645   fi
   6646   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6647 
   6648   # Check to see that the pipe works correctly.
   6649   pipe_works=no
   6650 
   6651   rm -f conftest*
   6652   cat > conftest.$ac_ext <<_LT_EOF
   6653 #ifdef __cplusplus
   6654 extern "C" {
   6655 #endif
   6656 char nm_test_var;
   6657 void nm_test_func(void);
   6658 void nm_test_func(void){}
   6659 #ifdef __cplusplus
   6660 }
   6661 #endif
   6662 int main(){nm_test_var='a';nm_test_func();return(0);}
   6663 _LT_EOF
   6664 
   6665   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6666   (eval $ac_compile) 2>&5
   6667   ac_status=$?
   6668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6669   test $ac_status = 0; }; then
   6670     # Now try to grab the symbols.
   6671     nlist=conftest.nm
   6672     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6673   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6674   ac_status=$?
   6675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6676   test $ac_status = 0; } && test -s "$nlist"; then
   6677       # Try sorting and uniquifying the output.
   6678       if sort "$nlist" | uniq > "$nlist"T; then
   6679 	mv -f "$nlist"T "$nlist"
   6680       else
   6681 	rm -f "$nlist"T
   6682       fi
   6683 
   6684       # Make sure that we snagged all the symbols we need.
   6685       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6686 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6687 	  cat <<_LT_EOF > conftest.$ac_ext
   6688 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6689 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6690 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6691    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6692 # define LT_DLSYM_CONST
   6693 #elif defined(__osf__)
   6694 /* This system does not cope well with relocations in const data.  */
   6695 # define LT_DLSYM_CONST
   6696 #else
   6697 # define LT_DLSYM_CONST const
   6698 #endif
   6699 
   6700 #ifdef __cplusplus
   6701 extern "C" {
   6702 #endif
   6703 
   6704 _LT_EOF
   6705 	  # Now generate the symbol file.
   6706 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6707 
   6708 	  cat <<_LT_EOF >> conftest.$ac_ext
   6709 
   6710 /* The mapping between symbol names and symbols.  */
   6711 LT_DLSYM_CONST struct {
   6712   const char *name;
   6713   void       *address;
   6714 }
   6715 lt__PROGRAM__LTX_preloaded_symbols[] =
   6716 {
   6717   { "@PROGRAM@", (void *) 0 },
   6718 _LT_EOF
   6719 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6720 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6721   {0, (void *) 0}
   6722 };
   6723 
   6724 /* This works around a problem in FreeBSD linker */
   6725 #ifdef FREEBSD_WORKAROUND
   6726 static const void *lt_preloaded_setup() {
   6727   return lt__PROGRAM__LTX_preloaded_symbols;
   6728 }
   6729 #endif
   6730 
   6731 #ifdef __cplusplus
   6732 }
   6733 #endif
   6734 _LT_EOF
   6735 	  # Now try linking the two files.
   6736 	  mv conftest.$ac_objext conftstm.$ac_objext
   6737 	  lt_globsym_save_LIBS=$LIBS
   6738 	  lt_globsym_save_CFLAGS=$CFLAGS
   6739 	  LIBS="conftstm.$ac_objext"
   6740 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6741 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6742   (eval $ac_link) 2>&5
   6743   ac_status=$?
   6744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6745   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6746 	    pipe_works=yes
   6747 	  fi
   6748 	  LIBS=$lt_globsym_save_LIBS
   6749 	  CFLAGS=$lt_globsym_save_CFLAGS
   6750 	else
   6751 	  echo "cannot find nm_test_func in $nlist" >&5
   6752 	fi
   6753       else
   6754 	echo "cannot find nm_test_var in $nlist" >&5
   6755       fi
   6756     else
   6757       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6758     fi
   6759   else
   6760     echo "$progname: failed program was:" >&5
   6761     cat conftest.$ac_ext >&5
   6762   fi
   6763   rm -rf conftest* conftst*
   6764 
   6765   # Do not use the global_symbol_pipe unless it works.
   6766   if test "$pipe_works" = yes; then
   6767     break
   6768   else
   6769     lt_cv_sys_global_symbol_pipe=
   6770   fi
   6771 done
   6772 
   6773 fi
   6774 
   6775 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6776   lt_cv_sys_global_symbol_to_cdecl=
   6777 fi
   6778 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6780 $as_echo "failed" >&6; }
   6781 else
   6782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6783 $as_echo "ok" >&6; }
   6784 fi
   6785 
   6786 # Response file support.
   6787 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6788   nm_file_list_spec='@'
   6789 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6790   nm_file_list_spec='@'
   6791 fi
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6820 $as_echo_n "checking for sysroot... " >&6; }
   6821 
   6822 # Check whether --with-sysroot was given.
   6823 if test "${with_sysroot+set}" = set; then :
   6824   withval=$with_sysroot;
   6825 else
   6826   with_sysroot=no
   6827 fi
   6828 
   6829 
   6830 lt_sysroot=
   6831 case ${with_sysroot} in #(
   6832  yes)
   6833    if test "$GCC" = yes; then
   6834      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6835    fi
   6836    ;; #(
   6837  /*)
   6838    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6839    ;; #(
   6840  no|'')
   6841    ;; #(
   6842  *)
   6843    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6844 $as_echo "${with_sysroot}" >&6; }
   6845    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6846    ;;
   6847 esac
   6848 
   6849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6850 $as_echo "${lt_sysroot:-no}" >&6; }
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 # Check whether --enable-libtool-lock was given.
   6857 if test "${enable_libtool_lock+set}" = set; then :
   6858   enableval=$enable_libtool_lock;
   6859 fi
   6860 
   6861 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6862 
   6863 # Some flags need to be propagated to the compiler or linker for good
   6864 # libtool support.
   6865 case $host in
   6866 ia64-*-hpux*)
   6867   # Find out which ABI we are using.
   6868   echo 'int i;' > conftest.$ac_ext
   6869   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6870   (eval $ac_compile) 2>&5
   6871   ac_status=$?
   6872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6873   test $ac_status = 0; }; then
   6874     case `/usr/bin/file conftest.$ac_objext` in
   6875       *ELF-32*)
   6876 	HPUX_IA64_MODE="32"
   6877 	;;
   6878       *ELF-64*)
   6879 	HPUX_IA64_MODE="64"
   6880 	;;
   6881     esac
   6882   fi
   6883   rm -rf conftest*
   6884   ;;
   6885 *-*-irix6*)
   6886   # Find out which ABI we are using.
   6887   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6888   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6889   (eval $ac_compile) 2>&5
   6890   ac_status=$?
   6891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6892   test $ac_status = 0; }; then
   6893     if test "$lt_cv_prog_gnu_ld" = yes; then
   6894       case `/usr/bin/file conftest.$ac_objext` in
   6895 	*32-bit*)
   6896 	  LD="${LD-ld} -melf32bsmip"
   6897 	  ;;
   6898 	*N32*)
   6899 	  LD="${LD-ld} -melf32bmipn32"
   6900 	  ;;
   6901 	*64-bit*)
   6902 	  LD="${LD-ld} -melf64bmip"
   6903 	;;
   6904       esac
   6905     else
   6906       case `/usr/bin/file conftest.$ac_objext` in
   6907 	*32-bit*)
   6908 	  LD="${LD-ld} -32"
   6909 	  ;;
   6910 	*N32*)
   6911 	  LD="${LD-ld} -n32"
   6912 	  ;;
   6913 	*64-bit*)
   6914 	  LD="${LD-ld} -64"
   6915 	  ;;
   6916       esac
   6917     fi
   6918   fi
   6919   rm -rf conftest*
   6920   ;;
   6921 
   6922 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6923 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6924   # Find out which ABI we are using.
   6925   echo 'int i;' > conftest.$ac_ext
   6926   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6927   (eval $ac_compile) 2>&5
   6928   ac_status=$?
   6929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6930   test $ac_status = 0; }; then
   6931     case `/usr/bin/file conftest.o` in
   6932       *32-bit*)
   6933 	case $host in
   6934 	  x86_64-*kfreebsd*-gnu)
   6935 	    LD="${LD-ld} -m elf_i386_fbsd"
   6936 	    ;;
   6937 	  x86_64-*linux*)
   6938 	    LD="${LD-ld} -m elf_i386"
   6939 	    ;;
   6940 	  ppc64-*linux*|powerpc64-*linux*)
   6941 	    LD="${LD-ld} -m elf32ppclinux"
   6942 	    ;;
   6943 	  s390x-*linux*)
   6944 	    LD="${LD-ld} -m elf_s390"
   6945 	    ;;
   6946 	  sparc64-*linux*)
   6947 	    LD="${LD-ld} -m elf32_sparc"
   6948 	    ;;
   6949 	esac
   6950 	;;
   6951       *64-bit*)
   6952 	case $host in
   6953 	  x86_64-*kfreebsd*-gnu)
   6954 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6955 	    ;;
   6956 	  x86_64-*linux*)
   6957 	    LD="${LD-ld} -m elf_x86_64"
   6958 	    ;;
   6959 	  ppc*-*linux*|powerpc*-*linux*)
   6960 	    LD="${LD-ld} -m elf64ppc"
   6961 	    ;;
   6962 	  s390*-*linux*|s390*-*tpf*)
   6963 	    LD="${LD-ld} -m elf64_s390"
   6964 	    ;;
   6965 	  sparc*-*linux*)
   6966 	    LD="${LD-ld} -m elf64_sparc"
   6967 	    ;;
   6968 	esac
   6969 	;;
   6970     esac
   6971   fi
   6972   rm -rf conftest*
   6973   ;;
   6974 
   6975 *-*-sco3.2v5*)
   6976   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6977   SAVE_CFLAGS="$CFLAGS"
   6978   CFLAGS="$CFLAGS -belf"
   6979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6980 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6981 if ${lt_cv_cc_needs_belf+:} false; then :
   6982   $as_echo_n "(cached) " >&6
   6983 else
   6984   ac_ext=c
   6985 ac_cpp='$CPP $CPPFLAGS'
   6986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6989 
   6990      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6991 /* end confdefs.h.  */
   6992 
   6993 int
   6994 main ()
   6995 {
   6996 
   6997   ;
   6998   return 0;
   6999 }
   7000 _ACEOF
   7001 if ac_fn_c_try_link "$LINENO"; then :
   7002   lt_cv_cc_needs_belf=yes
   7003 else
   7004   lt_cv_cc_needs_belf=no
   7005 fi
   7006 rm -f core conftest.err conftest.$ac_objext \
   7007     conftest$ac_exeext conftest.$ac_ext
   7008      ac_ext=c
   7009 ac_cpp='$CPP $CPPFLAGS'
   7010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7013 
   7014 fi
   7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7016 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7017   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7018     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7019     CFLAGS="$SAVE_CFLAGS"
   7020   fi
   7021   ;;
   7022 *-*solaris*)
   7023   # Find out which ABI we are using.
   7024   echo 'int i;' > conftest.$ac_ext
   7025   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7026   (eval $ac_compile) 2>&5
   7027   ac_status=$?
   7028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7029   test $ac_status = 0; }; then
   7030     case `/usr/bin/file conftest.o` in
   7031     *64-bit*)
   7032       case $lt_cv_prog_gnu_ld in
   7033       yes*)
   7034         case $host in
   7035         i?86-*-solaris*)
   7036           LD="${LD-ld} -m elf_x86_64"
   7037           ;;
   7038         sparc*-*-solaris*)
   7039           LD="${LD-ld} -m elf64_sparc"
   7040           ;;
   7041         esac
   7042         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7043         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7044           LD="${LD-ld}_sol2"
   7045         fi
   7046         ;;
   7047       *)
   7048 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7049 	  LD="${LD-ld} -64"
   7050 	fi
   7051 	;;
   7052       esac
   7053       ;;
   7054     esac
   7055   fi
   7056   rm -rf conftest*
   7057   ;;
   7058 esac
   7059 
   7060 need_locks="$enable_libtool_lock"
   7061 
   7062 if test -n "$ac_tool_prefix"; then
   7063   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7064 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7066 $as_echo_n "checking for $ac_word... " >&6; }
   7067 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7068   $as_echo_n "(cached) " >&6
   7069 else
   7070   if test -n "$MANIFEST_TOOL"; then
   7071   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7072 else
   7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7074 for as_dir in $PATH
   7075 do
   7076   IFS=$as_save_IFS
   7077   test -z "$as_dir" && as_dir=.
   7078     for ac_exec_ext in '' $ac_executable_extensions; do
   7079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7080     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7082     break 2
   7083   fi
   7084 done
   7085   done
   7086 IFS=$as_save_IFS
   7087 
   7088 fi
   7089 fi
   7090 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7091 if test -n "$MANIFEST_TOOL"; then
   7092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7093 $as_echo "$MANIFEST_TOOL" >&6; }
   7094 else
   7095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7096 $as_echo "no" >&6; }
   7097 fi
   7098 
   7099 
   7100 fi
   7101 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7102   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7103   # Extract the first word of "mt", so it can be a program name with args.
   7104 set dummy mt; ac_word=$2
   7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7106 $as_echo_n "checking for $ac_word... " >&6; }
   7107 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7108   $as_echo_n "(cached) " >&6
   7109 else
   7110   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7111   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7112 else
   7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7114 for as_dir in $PATH
   7115 do
   7116   IFS=$as_save_IFS
   7117   test -z "$as_dir" && as_dir=.
   7118     for ac_exec_ext in '' $ac_executable_extensions; do
   7119   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7120     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7122     break 2
   7123   fi
   7124 done
   7125   done
   7126 IFS=$as_save_IFS
   7127 
   7128 fi
   7129 fi
   7130 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7131 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7133 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7134 else
   7135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7136 $as_echo "no" >&6; }
   7137 fi
   7138 
   7139   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7140     MANIFEST_TOOL=":"
   7141   else
   7142     case $cross_compiling:$ac_tool_warned in
   7143 yes:)
   7144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7146 ac_tool_warned=yes ;;
   7147 esac
   7148     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7149   fi
   7150 else
   7151   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7152 fi
   7153 
   7154 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7156 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7157 if ${lt_cv_path_mainfest_tool+:} false; then :
   7158   $as_echo_n "(cached) " >&6
   7159 else
   7160   lt_cv_path_mainfest_tool=no
   7161   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7162   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7163   cat conftest.err >&5
   7164   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7165     lt_cv_path_mainfest_tool=yes
   7166   fi
   7167   rm -f conftest*
   7168 fi
   7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7170 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7171 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   7172   MANIFEST_TOOL=:
   7173 fi
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180   case $host_os in
   7181     rhapsody* | darwin*)
   7182     if test -n "$ac_tool_prefix"; then
   7183   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7184 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7186 $as_echo_n "checking for $ac_word... " >&6; }
   7187 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7188   $as_echo_n "(cached) " >&6
   7189 else
   7190   if test -n "$DSYMUTIL"; then
   7191   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7192 else
   7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7194 for as_dir in $PATH
   7195 do
   7196   IFS=$as_save_IFS
   7197   test -z "$as_dir" && as_dir=.
   7198     for ac_exec_ext in '' $ac_executable_extensions; do
   7199   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7200     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7201     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7202     break 2
   7203   fi
   7204 done
   7205   done
   7206 IFS=$as_save_IFS
   7207 
   7208 fi
   7209 fi
   7210 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7211 if test -n "$DSYMUTIL"; then
   7212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7213 $as_echo "$DSYMUTIL" >&6; }
   7214 else
   7215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7216 $as_echo "no" >&6; }
   7217 fi
   7218 
   7219 
   7220 fi
   7221 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7222   ac_ct_DSYMUTIL=$DSYMUTIL
   7223   # Extract the first word of "dsymutil", so it can be a program name with args.
   7224 set dummy dsymutil; ac_word=$2
   7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7226 $as_echo_n "checking for $ac_word... " >&6; }
   7227 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7228   $as_echo_n "(cached) " >&6
   7229 else
   7230   if test -n "$ac_ct_DSYMUTIL"; then
   7231   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7232 else
   7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7234 for as_dir in $PATH
   7235 do
   7236   IFS=$as_save_IFS
   7237   test -z "$as_dir" && as_dir=.
   7238     for ac_exec_ext in '' $ac_executable_extensions; do
   7239   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7240     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7241     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7242     break 2
   7243   fi
   7244 done
   7245   done
   7246 IFS=$as_save_IFS
   7247 
   7248 fi
   7249 fi
   7250 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7251 if test -n "$ac_ct_DSYMUTIL"; then
   7252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7253 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7254 else
   7255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7256 $as_echo "no" >&6; }
   7257 fi
   7258 
   7259   if test "x$ac_ct_DSYMUTIL" = x; then
   7260     DSYMUTIL=":"
   7261   else
   7262     case $cross_compiling:$ac_tool_warned in
   7263 yes:)
   7264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7266 ac_tool_warned=yes ;;
   7267 esac
   7268     DSYMUTIL=$ac_ct_DSYMUTIL
   7269   fi
   7270 else
   7271   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7272 fi
   7273 
   7274     if test -n "$ac_tool_prefix"; then
   7275   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7276 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7278 $as_echo_n "checking for $ac_word... " >&6; }
   7279 if ${ac_cv_prog_NMEDIT+:} false; then :
   7280   $as_echo_n "(cached) " >&6
   7281 else
   7282   if test -n "$NMEDIT"; then
   7283   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7284 else
   7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7286 for as_dir in $PATH
   7287 do
   7288   IFS=$as_save_IFS
   7289   test -z "$as_dir" && as_dir=.
   7290     for ac_exec_ext in '' $ac_executable_extensions; do
   7291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7292     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7293     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7294     break 2
   7295   fi
   7296 done
   7297   done
   7298 IFS=$as_save_IFS
   7299 
   7300 fi
   7301 fi
   7302 NMEDIT=$ac_cv_prog_NMEDIT
   7303 if test -n "$NMEDIT"; then
   7304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7305 $as_echo "$NMEDIT" >&6; }
   7306 else
   7307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7308 $as_echo "no" >&6; }
   7309 fi
   7310 
   7311 
   7312 fi
   7313 if test -z "$ac_cv_prog_NMEDIT"; then
   7314   ac_ct_NMEDIT=$NMEDIT
   7315   # Extract the first word of "nmedit", so it can be a program name with args.
   7316 set dummy nmedit; ac_word=$2
   7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7318 $as_echo_n "checking for $ac_word... " >&6; }
   7319 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7320   $as_echo_n "(cached) " >&6
   7321 else
   7322   if test -n "$ac_ct_NMEDIT"; then
   7323   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7324 else
   7325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7326 for as_dir in $PATH
   7327 do
   7328   IFS=$as_save_IFS
   7329   test -z "$as_dir" && as_dir=.
   7330     for ac_exec_ext in '' $ac_executable_extensions; do
   7331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7332     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7334     break 2
   7335   fi
   7336 done
   7337   done
   7338 IFS=$as_save_IFS
   7339 
   7340 fi
   7341 fi
   7342 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7343 if test -n "$ac_ct_NMEDIT"; then
   7344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7345 $as_echo "$ac_ct_NMEDIT" >&6; }
   7346 else
   7347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7348 $as_echo "no" >&6; }
   7349 fi
   7350 
   7351   if test "x$ac_ct_NMEDIT" = x; then
   7352     NMEDIT=":"
   7353   else
   7354     case $cross_compiling:$ac_tool_warned in
   7355 yes:)
   7356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7358 ac_tool_warned=yes ;;
   7359 esac
   7360     NMEDIT=$ac_ct_NMEDIT
   7361   fi
   7362 else
   7363   NMEDIT="$ac_cv_prog_NMEDIT"
   7364 fi
   7365 
   7366     if test -n "$ac_tool_prefix"; then
   7367   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7368 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7370 $as_echo_n "checking for $ac_word... " >&6; }
   7371 if ${ac_cv_prog_LIPO+:} false; then :
   7372   $as_echo_n "(cached) " >&6
   7373 else
   7374   if test -n "$LIPO"; then
   7375   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7376 else
   7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7378 for as_dir in $PATH
   7379 do
   7380   IFS=$as_save_IFS
   7381   test -z "$as_dir" && as_dir=.
   7382     for ac_exec_ext in '' $ac_executable_extensions; do
   7383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7384     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7386     break 2
   7387   fi
   7388 done
   7389   done
   7390 IFS=$as_save_IFS
   7391 
   7392 fi
   7393 fi
   7394 LIPO=$ac_cv_prog_LIPO
   7395 if test -n "$LIPO"; then
   7396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7397 $as_echo "$LIPO" >&6; }
   7398 else
   7399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7400 $as_echo "no" >&6; }
   7401 fi
   7402 
   7403 
   7404 fi
   7405 if test -z "$ac_cv_prog_LIPO"; then
   7406   ac_ct_LIPO=$LIPO
   7407   # Extract the first word of "lipo", so it can be a program name with args.
   7408 set dummy lipo; ac_word=$2
   7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7410 $as_echo_n "checking for $ac_word... " >&6; }
   7411 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7412   $as_echo_n "(cached) " >&6
   7413 else
   7414   if test -n "$ac_ct_LIPO"; then
   7415   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7416 else
   7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7418 for as_dir in $PATH
   7419 do
   7420   IFS=$as_save_IFS
   7421   test -z "$as_dir" && as_dir=.
   7422     for ac_exec_ext in '' $ac_executable_extensions; do
   7423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7424     ac_cv_prog_ac_ct_LIPO="lipo"
   7425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7426     break 2
   7427   fi
   7428 done
   7429   done
   7430 IFS=$as_save_IFS
   7431 
   7432 fi
   7433 fi
   7434 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7435 if test -n "$ac_ct_LIPO"; then
   7436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7437 $as_echo "$ac_ct_LIPO" >&6; }
   7438 else
   7439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7440 $as_echo "no" >&6; }
   7441 fi
   7442 
   7443   if test "x$ac_ct_LIPO" = x; then
   7444     LIPO=":"
   7445   else
   7446     case $cross_compiling:$ac_tool_warned in
   7447 yes:)
   7448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7450 ac_tool_warned=yes ;;
   7451 esac
   7452     LIPO=$ac_ct_LIPO
   7453   fi
   7454 else
   7455   LIPO="$ac_cv_prog_LIPO"
   7456 fi
   7457 
   7458     if test -n "$ac_tool_prefix"; then
   7459   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7460 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7462 $as_echo_n "checking for $ac_word... " >&6; }
   7463 if ${ac_cv_prog_OTOOL+:} false; then :
   7464   $as_echo_n "(cached) " >&6
   7465 else
   7466   if test -n "$OTOOL"; then
   7467   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7468 else
   7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7470 for as_dir in $PATH
   7471 do
   7472   IFS=$as_save_IFS
   7473   test -z "$as_dir" && as_dir=.
   7474     for ac_exec_ext in '' $ac_executable_extensions; do
   7475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7476     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7478     break 2
   7479   fi
   7480 done
   7481   done
   7482 IFS=$as_save_IFS
   7483 
   7484 fi
   7485 fi
   7486 OTOOL=$ac_cv_prog_OTOOL
   7487 if test -n "$OTOOL"; then
   7488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7489 $as_echo "$OTOOL" >&6; }
   7490 else
   7491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7492 $as_echo "no" >&6; }
   7493 fi
   7494 
   7495 
   7496 fi
   7497 if test -z "$ac_cv_prog_OTOOL"; then
   7498   ac_ct_OTOOL=$OTOOL
   7499   # Extract the first word of "otool", so it can be a program name with args.
   7500 set dummy otool; ac_word=$2
   7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7502 $as_echo_n "checking for $ac_word... " >&6; }
   7503 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7504   $as_echo_n "(cached) " >&6
   7505 else
   7506   if test -n "$ac_ct_OTOOL"; then
   7507   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7508 else
   7509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7510 for as_dir in $PATH
   7511 do
   7512   IFS=$as_save_IFS
   7513   test -z "$as_dir" && as_dir=.
   7514     for ac_exec_ext in '' $ac_executable_extensions; do
   7515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7516     ac_cv_prog_ac_ct_OTOOL="otool"
   7517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7518     break 2
   7519   fi
   7520 done
   7521   done
   7522 IFS=$as_save_IFS
   7523 
   7524 fi
   7525 fi
   7526 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7527 if test -n "$ac_ct_OTOOL"; then
   7528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7529 $as_echo "$ac_ct_OTOOL" >&6; }
   7530 else
   7531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7532 $as_echo "no" >&6; }
   7533 fi
   7534 
   7535   if test "x$ac_ct_OTOOL" = x; then
   7536     OTOOL=":"
   7537   else
   7538     case $cross_compiling:$ac_tool_warned in
   7539 yes:)
   7540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7542 ac_tool_warned=yes ;;
   7543 esac
   7544     OTOOL=$ac_ct_OTOOL
   7545   fi
   7546 else
   7547   OTOOL="$ac_cv_prog_OTOOL"
   7548 fi
   7549 
   7550     if test -n "$ac_tool_prefix"; then
   7551   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7552 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7554 $as_echo_n "checking for $ac_word... " >&6; }
   7555 if ${ac_cv_prog_OTOOL64+:} false; then :
   7556   $as_echo_n "(cached) " >&6
   7557 else
   7558   if test -n "$OTOOL64"; then
   7559   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7560 else
   7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7562 for as_dir in $PATH
   7563 do
   7564   IFS=$as_save_IFS
   7565   test -z "$as_dir" && as_dir=.
   7566     for ac_exec_ext in '' $ac_executable_extensions; do
   7567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7568     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7570     break 2
   7571   fi
   7572 done
   7573   done
   7574 IFS=$as_save_IFS
   7575 
   7576 fi
   7577 fi
   7578 OTOOL64=$ac_cv_prog_OTOOL64
   7579 if test -n "$OTOOL64"; then
   7580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7581 $as_echo "$OTOOL64" >&6; }
   7582 else
   7583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7584 $as_echo "no" >&6; }
   7585 fi
   7586 
   7587 
   7588 fi
   7589 if test -z "$ac_cv_prog_OTOOL64"; then
   7590   ac_ct_OTOOL64=$OTOOL64
   7591   # Extract the first word of "otool64", so it can be a program name with args.
   7592 set dummy otool64; ac_word=$2
   7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7594 $as_echo_n "checking for $ac_word... " >&6; }
   7595 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7596   $as_echo_n "(cached) " >&6
   7597 else
   7598   if test -n "$ac_ct_OTOOL64"; then
   7599   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7600 else
   7601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7602 for as_dir in $PATH
   7603 do
   7604   IFS=$as_save_IFS
   7605   test -z "$as_dir" && as_dir=.
   7606     for ac_exec_ext in '' $ac_executable_extensions; do
   7607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7608     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7610     break 2
   7611   fi
   7612 done
   7613   done
   7614 IFS=$as_save_IFS
   7615 
   7616 fi
   7617 fi
   7618 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7619 if test -n "$ac_ct_OTOOL64"; then
   7620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7621 $as_echo "$ac_ct_OTOOL64" >&6; }
   7622 else
   7623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7624 $as_echo "no" >&6; }
   7625 fi
   7626 
   7627   if test "x$ac_ct_OTOOL64" = x; then
   7628     OTOOL64=":"
   7629   else
   7630     case $cross_compiling:$ac_tool_warned in
   7631 yes:)
   7632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7634 ac_tool_warned=yes ;;
   7635 esac
   7636     OTOOL64=$ac_ct_OTOOL64
   7637   fi
   7638 else
   7639   OTOOL64="$ac_cv_prog_OTOOL64"
   7640 fi
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7669 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7670 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7671   $as_echo_n "(cached) " >&6
   7672 else
   7673   lt_cv_apple_cc_single_mod=no
   7674       if test -z "${LT_MULTI_MODULE}"; then
   7675 	# By default we will add the -single_module flag. You can override
   7676 	# by either setting the environment variable LT_MULTI_MODULE
   7677 	# non-empty at configure time, or by adding -multi_module to the
   7678 	# link flags.
   7679 	rm -rf libconftest.dylib*
   7680 	echo "int foo(void){return 1;}" > conftest.c
   7681 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7682 -dynamiclib -Wl,-single_module conftest.c" >&5
   7683 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7684 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7685         _lt_result=$?
   7686 	# If there is a non-empty error log, and "single_module"
   7687 	# appears in it, assume the flag caused a linker warning
   7688         if test -s conftest.err && $GREP single_module conftest.err; then
   7689 	  cat conftest.err >&5
   7690 	# Otherwise, if the output was created with a 0 exit code from
   7691 	# the compiler, it worked.
   7692 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7693 	  lt_cv_apple_cc_single_mod=yes
   7694 	else
   7695 	  cat conftest.err >&5
   7696 	fi
   7697 	rm -rf libconftest.dylib*
   7698 	rm -f conftest.*
   7699       fi
   7700 fi
   7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7702 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7703 
   7704     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7705 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7706 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7707   $as_echo_n "(cached) " >&6
   7708 else
   7709   lt_cv_ld_exported_symbols_list=no
   7710       save_LDFLAGS=$LDFLAGS
   7711       echo "_main" > conftest.sym
   7712       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7714 /* end confdefs.h.  */
   7715 
   7716 int
   7717 main ()
   7718 {
   7719 
   7720   ;
   7721   return 0;
   7722 }
   7723 _ACEOF
   7724 if ac_fn_c_try_link "$LINENO"; then :
   7725   lt_cv_ld_exported_symbols_list=yes
   7726 else
   7727   lt_cv_ld_exported_symbols_list=no
   7728 fi
   7729 rm -f core conftest.err conftest.$ac_objext \
   7730     conftest$ac_exeext conftest.$ac_ext
   7731 	LDFLAGS="$save_LDFLAGS"
   7732 
   7733 fi
   7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7735 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7736 
   7737     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7738 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7739 if ${lt_cv_ld_force_load+:} false; then :
   7740   $as_echo_n "(cached) " >&6
   7741 else
   7742   lt_cv_ld_force_load=no
   7743       cat > conftest.c << _LT_EOF
   7744 int forced_loaded() { return 2;}
   7745 _LT_EOF
   7746       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7747       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7748       echo "$AR cru libconftest.a conftest.o" >&5
   7749       $AR cru libconftest.a conftest.o 2>&5
   7750       echo "$RANLIB libconftest.a" >&5
   7751       $RANLIB libconftest.a 2>&5
   7752       cat > conftest.c << _LT_EOF
   7753 int main() { return 0;}
   7754 _LT_EOF
   7755       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7756       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7757       _lt_result=$?
   7758       if test -s conftest.err && $GREP force_load conftest.err; then
   7759 	cat conftest.err >&5
   7760       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7761 	lt_cv_ld_force_load=yes
   7762       else
   7763 	cat conftest.err >&5
   7764       fi
   7765         rm -f conftest.err libconftest.a conftest conftest.c
   7766         rm -rf conftest.dSYM
   7767 
   7768 fi
   7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7770 $as_echo "$lt_cv_ld_force_load" >&6; }
   7771     case $host_os in
   7772     rhapsody* | darwin1.[012])
   7773       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7774     darwin1.*)
   7775       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7776     darwin*) # darwin 5.x on
   7777       # if running on 10.5 or later, the deployment target defaults
   7778       # to the OS version, if on x86, and 10.4, the deployment
   7779       # target defaults to 10.4. Don't you love it?
   7780       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7781 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7782 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7783 	10.[012]*)
   7784 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7785 	10.*)
   7786 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7787       esac
   7788     ;;
   7789   esac
   7790     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7791       _lt_dar_single_mod='$single_module'
   7792     fi
   7793     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7794       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7795     else
   7796       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7797     fi
   7798     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7799       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7800     else
   7801       _lt_dsymutil=
   7802     fi
   7803     ;;
   7804   esac
   7805 
   7806 for ac_header in dlfcn.h
   7807 do :
   7808   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7809 "
   7810 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7811   cat >>confdefs.h <<_ACEOF
   7812 #define HAVE_DLFCN_H 1
   7813 _ACEOF
   7814 
   7815 fi
   7816 
   7817 done
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 # Set options
   7824 
   7825 
   7826 
   7827         enable_dlopen=no
   7828 
   7829 
   7830   enable_win32_dll=no
   7831 
   7832 
   7833             # Check whether --enable-shared was given.
   7834 if test "${enable_shared+set}" = set; then :
   7835   enableval=$enable_shared; p=${PACKAGE-default}
   7836     case $enableval in
   7837     yes) enable_shared=yes ;;
   7838     no) enable_shared=no ;;
   7839     *)
   7840       enable_shared=no
   7841       # Look at the argument we got.  We use all the common list separators.
   7842       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7843       for pkg in $enableval; do
   7844 	IFS="$lt_save_ifs"
   7845 	if test "X$pkg" = "X$p"; then
   7846 	  enable_shared=yes
   7847 	fi
   7848       done
   7849       IFS="$lt_save_ifs"
   7850       ;;
   7851     esac
   7852 else
   7853   enable_shared=yes
   7854 fi
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864   # Check whether --enable-static was given.
   7865 if test "${enable_static+set}" = set; then :
   7866   enableval=$enable_static; p=${PACKAGE-default}
   7867     case $enableval in
   7868     yes) enable_static=yes ;;
   7869     no) enable_static=no ;;
   7870     *)
   7871      enable_static=no
   7872       # Look at the argument we got.  We use all the common list separators.
   7873       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7874       for pkg in $enableval; do
   7875 	IFS="$lt_save_ifs"
   7876 	if test "X$pkg" = "X$p"; then
   7877 	  enable_static=yes
   7878 	fi
   7879       done
   7880       IFS="$lt_save_ifs"
   7881       ;;
   7882     esac
   7883 else
   7884   enable_static=yes
   7885 fi
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 # Check whether --with-pic was given.
   7897 if test "${with_pic+set}" = set; then :
   7898   withval=$with_pic; lt_p=${PACKAGE-default}
   7899     case $withval in
   7900     yes|no) pic_mode=$withval ;;
   7901     *)
   7902       pic_mode=default
   7903       # Look at the argument we got.  We use all the common list separators.
   7904       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7905       for lt_pkg in $withval; do
   7906 	IFS="$lt_save_ifs"
   7907 	if test "X$lt_pkg" = "X$lt_p"; then
   7908 	  pic_mode=yes
   7909 	fi
   7910       done
   7911       IFS="$lt_save_ifs"
   7912       ;;
   7913     esac
   7914 else
   7915   pic_mode=default
   7916 fi
   7917 
   7918 
   7919 test -z "$pic_mode" && pic_mode=default
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927   # Check whether --enable-fast-install was given.
   7928 if test "${enable_fast_install+set}" = set; then :
   7929   enableval=$enable_fast_install; p=${PACKAGE-default}
   7930     case $enableval in
   7931     yes) enable_fast_install=yes ;;
   7932     no) enable_fast_install=no ;;
   7933     *)
   7934       enable_fast_install=no
   7935       # Look at the argument we got.  We use all the common list separators.
   7936       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7937       for pkg in $enableval; do
   7938 	IFS="$lt_save_ifs"
   7939 	if test "X$pkg" = "X$p"; then
   7940 	  enable_fast_install=yes
   7941 	fi
   7942       done
   7943       IFS="$lt_save_ifs"
   7944       ;;
   7945     esac
   7946 else
   7947   enable_fast_install=yes
   7948 fi
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 # This can be used to rebuild libtool when needed
   7961 LIBTOOL_DEPS="$ltmain"
   7962 
   7963 # Always use our own libtool.
   7964 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 
   7985 
   7986 
   7987 
   7988 
   7989 
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 test -z "$LN_S" && LN_S="ln -s"
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 if test -n "${ZSH_VERSION+set}" ; then
   8011    setopt NO_GLOB_SUBST
   8012 fi
   8013 
   8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8015 $as_echo_n "checking for objdir... " >&6; }
   8016 if ${lt_cv_objdir+:} false; then :
   8017   $as_echo_n "(cached) " >&6
   8018 else
   8019   rm -f .libs 2>/dev/null
   8020 mkdir .libs 2>/dev/null
   8021 if test -d .libs; then
   8022   lt_cv_objdir=.libs
   8023 else
   8024   # MS-DOS does not allow filenames that begin with a dot.
   8025   lt_cv_objdir=_libs
   8026 fi
   8027 rmdir .libs 2>/dev/null
   8028 fi
   8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8030 $as_echo "$lt_cv_objdir" >&6; }
   8031 objdir=$lt_cv_objdir
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 cat >>confdefs.h <<_ACEOF
   8038 #define LT_OBJDIR "$lt_cv_objdir/"
   8039 _ACEOF
   8040 
   8041 
   8042 
   8043 
   8044 case $host_os in
   8045 aix3*)
   8046   # AIX sometimes has problems with the GCC collect2 program.  For some
   8047   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8048   # vanish in a puff of smoke.
   8049   if test "X${COLLECT_NAMES+set}" != Xset; then
   8050     COLLECT_NAMES=
   8051     export COLLECT_NAMES
   8052   fi
   8053   ;;
   8054 esac
   8055 
   8056 # Global variables:
   8057 ofile=libtool
   8058 can_build_shared=yes
   8059 
   8060 # All known linkers require a `.a' archive for static linking (except MSVC,
   8061 # which needs '.lib').
   8062 libext=a
   8063 
   8064 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8065 
   8066 old_CC="$CC"
   8067 old_CFLAGS="$CFLAGS"
   8068 
   8069 # Set sane defaults for various variables
   8070 test -z "$CC" && CC=cc
   8071 test -z "$LTCC" && LTCC=$CC
   8072 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8073 test -z "$LD" && LD=ld
   8074 test -z "$ac_objext" && ac_objext=o
   8075 
   8076 for cc_temp in $compiler""; do
   8077   case $cc_temp in
   8078     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8079     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8080     \-*) ;;
   8081     *) break;;
   8082   esac
   8083 done
   8084 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8085 
   8086 
   8087 # Only perform the check for file, if the check method requires it
   8088 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8089 case $deplibs_check_method in
   8090 file_magic*)
   8091   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8093 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8094 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8095   $as_echo_n "(cached) " >&6
   8096 else
   8097   case $MAGIC_CMD in
   8098 [\\/*] |  ?:[\\/]*)
   8099   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8100   ;;
   8101 *)
   8102   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8103   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8104   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8105   for ac_dir in $ac_dummy; do
   8106     IFS="$lt_save_ifs"
   8107     test -z "$ac_dir" && ac_dir=.
   8108     if test -f $ac_dir/${ac_tool_prefix}file; then
   8109       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8110       if test -n "$file_magic_test_file"; then
   8111 	case $deplibs_check_method in
   8112 	"file_magic "*)
   8113 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8114 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8115 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8116 	    $EGREP "$file_magic_regex" > /dev/null; then
   8117 	    :
   8118 	  else
   8119 	    cat <<_LT_EOF 1>&2
   8120 
   8121 *** Warning: the command libtool uses to detect shared libraries,
   8122 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8123 *** The result is that libtool may fail to recognize shared libraries
   8124 *** as such.  This will affect the creation of libtool libraries that
   8125 *** depend on shared libraries, but programs linked with such libtool
   8126 *** libraries will work regardless of this problem.  Nevertheless, you
   8127 *** may want to report the problem to your system manager and/or to
   8128 *** bug-libtool@gnu.org
   8129 
   8130 _LT_EOF
   8131 	  fi ;;
   8132 	esac
   8133       fi
   8134       break
   8135     fi
   8136   done
   8137   IFS="$lt_save_ifs"
   8138   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8139   ;;
   8140 esac
   8141 fi
   8142 
   8143 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8144 if test -n "$MAGIC_CMD"; then
   8145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8146 $as_echo "$MAGIC_CMD" >&6; }
   8147 else
   8148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8149 $as_echo "no" >&6; }
   8150 fi
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8157   if test -n "$ac_tool_prefix"; then
   8158     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8159 $as_echo_n "checking for file... " >&6; }
   8160 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8161   $as_echo_n "(cached) " >&6
   8162 else
   8163   case $MAGIC_CMD in
   8164 [\\/*] |  ?:[\\/]*)
   8165   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8166   ;;
   8167 *)
   8168   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8169   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8170   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8171   for ac_dir in $ac_dummy; do
   8172     IFS="$lt_save_ifs"
   8173     test -z "$ac_dir" && ac_dir=.
   8174     if test -f $ac_dir/file; then
   8175       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8176       if test -n "$file_magic_test_file"; then
   8177 	case $deplibs_check_method in
   8178 	"file_magic "*)
   8179 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8180 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8181 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8182 	    $EGREP "$file_magic_regex" > /dev/null; then
   8183 	    :
   8184 	  else
   8185 	    cat <<_LT_EOF 1>&2
   8186 
   8187 *** Warning: the command libtool uses to detect shared libraries,
   8188 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8189 *** The result is that libtool may fail to recognize shared libraries
   8190 *** as such.  This will affect the creation of libtool libraries that
   8191 *** depend on shared libraries, but programs linked with such libtool
   8192 *** libraries will work regardless of this problem.  Nevertheless, you
   8193 *** may want to report the problem to your system manager and/or to
   8194 *** bug-libtool@gnu.org
   8195 
   8196 _LT_EOF
   8197 	  fi ;;
   8198 	esac
   8199       fi
   8200       break
   8201     fi
   8202   done
   8203   IFS="$lt_save_ifs"
   8204   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8205   ;;
   8206 esac
   8207 fi
   8208 
   8209 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8210 if test -n "$MAGIC_CMD"; then
   8211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8212 $as_echo "$MAGIC_CMD" >&6; }
   8213 else
   8214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8215 $as_echo "no" >&6; }
   8216 fi
   8217 
   8218 
   8219   else
   8220     MAGIC_CMD=:
   8221   fi
   8222 fi
   8223 
   8224   fi
   8225   ;;
   8226 esac
   8227 
   8228 # Use C for the default configuration in the libtool script
   8229 
   8230 lt_save_CC="$CC"
   8231 ac_ext=c
   8232 ac_cpp='$CPP $CPPFLAGS'
   8233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8236 
   8237 
   8238 # Source file extension for C test sources.
   8239 ac_ext=c
   8240 
   8241 # Object file extension for compiled C test sources.
   8242 objext=o
   8243 objext=$objext
   8244 
   8245 # Code to be used in simple compile tests
   8246 lt_simple_compile_test_code="int some_variable = 0;"
   8247 
   8248 # Code to be used in simple link tests
   8249 lt_simple_link_test_code='int main(){return(0);}'
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 # If no C compiler was specified, use CC.
   8258 LTCC=${LTCC-"$CC"}
   8259 
   8260 # If no C compiler flags were specified, use CFLAGS.
   8261 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8262 
   8263 # Allow CC to be a program name with arguments.
   8264 compiler=$CC
   8265 
   8266 # Save the default compiler, since it gets overwritten when the other
   8267 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8268 compiler_DEFAULT=$CC
   8269 
   8270 # save warnings/boilerplate of simple test code
   8271 ac_outfile=conftest.$ac_objext
   8272 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8273 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8274 _lt_compiler_boilerplate=`cat conftest.err`
   8275 $RM conftest*
   8276 
   8277 ac_outfile=conftest.$ac_objext
   8278 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8279 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8280 _lt_linker_boilerplate=`cat conftest.err`
   8281 $RM -r conftest*
   8282 
   8283 
   8284 if test -n "$compiler"; then
   8285 
   8286 lt_prog_compiler_no_builtin_flag=
   8287 
   8288 if test "$GCC" = yes; then
   8289   case $cc_basename in
   8290   nvcc*)
   8291     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8292   *)
   8293     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8294   esac
   8295 
   8296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8297 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8298 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8299   $as_echo_n "(cached) " >&6
   8300 else
   8301   lt_cv_prog_compiler_rtti_exceptions=no
   8302    ac_outfile=conftest.$ac_objext
   8303    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8304    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8305    # Insert the option either (1) after the last *FLAGS variable, or
   8306    # (2) before a word containing "conftest.", or (3) at the end.
   8307    # Note that $ac_compile itself does not contain backslashes and begins
   8308    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8309    # The option is referenced via a variable to avoid confusing sed.
   8310    lt_compile=`echo "$ac_compile" | $SED \
   8311    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8312    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8313    -e 's:$: $lt_compiler_flag:'`
   8314    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8315    (eval "$lt_compile" 2>conftest.err)
   8316    ac_status=$?
   8317    cat conftest.err >&5
   8318    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8319    if (exit $ac_status) && test -s "$ac_outfile"; then
   8320      # The compiler can only warn and ignore the option if not recognized
   8321      # So say no if there are warnings other than the usual output.
   8322      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8323      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8324      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8325        lt_cv_prog_compiler_rtti_exceptions=yes
   8326      fi
   8327    fi
   8328    $RM conftest*
   8329 
   8330 fi
   8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8332 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8333 
   8334 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8335     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8336 else
   8337     :
   8338 fi
   8339 
   8340 fi
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347   lt_prog_compiler_wl=
   8348 lt_prog_compiler_pic=
   8349 lt_prog_compiler_static=
   8350 
   8351 
   8352   if test "$GCC" = yes; then
   8353     lt_prog_compiler_wl='-Wl,'
   8354     lt_prog_compiler_static='-static'
   8355 
   8356     case $host_os in
   8357       aix*)
   8358       # All AIX code is PIC.
   8359       if test "$host_cpu" = ia64; then
   8360 	# AIX 5 now supports IA64 processor
   8361 	lt_prog_compiler_static='-Bstatic'
   8362       fi
   8363       ;;
   8364 
   8365     amigaos*)
   8366       case $host_cpu in
   8367       powerpc)
   8368             # see comment about AmigaOS4 .so support
   8369             lt_prog_compiler_pic='-fPIC'
   8370         ;;
   8371       m68k)
   8372             # FIXME: we need at least 68020 code to build shared libraries, but
   8373             # adding the `-m68020' flag to GCC prevents building anything better,
   8374             # like `-m68040'.
   8375             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8376         ;;
   8377       esac
   8378       ;;
   8379 
   8380     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8381       # PIC is the default for these OSes.
   8382       ;;
   8383 
   8384     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8385       # This hack is so that the source file can tell whether it is being
   8386       # built for inclusion in a dll (and should export symbols for example).
   8387       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8388       # (--disable-auto-import) libraries
   8389       lt_prog_compiler_pic='-DDLL_EXPORT'
   8390       ;;
   8391 
   8392     darwin* | rhapsody*)
   8393       # PIC is the default on this platform
   8394       # Common symbols not allowed in MH_DYLIB files
   8395       lt_prog_compiler_pic='-fno-common'
   8396       ;;
   8397 
   8398     haiku*)
   8399       # PIC is the default for Haiku.
   8400       # The "-static" flag exists, but is broken.
   8401       lt_prog_compiler_static=
   8402       ;;
   8403 
   8404     hpux*)
   8405       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8406       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8407       # sets the default TLS model and affects inlining.
   8408       case $host_cpu in
   8409       hppa*64*)
   8410 	# +Z the default
   8411 	;;
   8412       *)
   8413 	lt_prog_compiler_pic='-fPIC'
   8414 	;;
   8415       esac
   8416       ;;
   8417 
   8418     interix[3-9]*)
   8419       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8420       # Instead, we relocate shared libraries at runtime.
   8421       ;;
   8422 
   8423     msdosdjgpp*)
   8424       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8425       # on systems that don't support them.
   8426       lt_prog_compiler_can_build_shared=no
   8427       enable_shared=no
   8428       ;;
   8429 
   8430     *nto* | *qnx*)
   8431       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8432       # it will coredump.
   8433       lt_prog_compiler_pic='-fPIC -shared'
   8434       ;;
   8435 
   8436     sysv4*MP*)
   8437       if test -d /usr/nec; then
   8438 	lt_prog_compiler_pic=-Kconform_pic
   8439       fi
   8440       ;;
   8441 
   8442     *)
   8443       lt_prog_compiler_pic='-fPIC'
   8444       ;;
   8445     esac
   8446 
   8447     case $cc_basename in
   8448     nvcc*) # Cuda Compiler Driver 2.2
   8449       lt_prog_compiler_wl='-Xlinker '
   8450       if test -n "$lt_prog_compiler_pic"; then
   8451         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8452       fi
   8453       ;;
   8454     esac
   8455   else
   8456     # PORTME Check for flag to pass linker flags through the system compiler.
   8457     case $host_os in
   8458     aix*)
   8459       lt_prog_compiler_wl='-Wl,'
   8460       if test "$host_cpu" = ia64; then
   8461 	# AIX 5 now supports IA64 processor
   8462 	lt_prog_compiler_static='-Bstatic'
   8463       else
   8464 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8465       fi
   8466       ;;
   8467 
   8468     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8469       # This hack is so that the source file can tell whether it is being
   8470       # built for inclusion in a dll (and should export symbols for example).
   8471       lt_prog_compiler_pic='-DDLL_EXPORT'
   8472       ;;
   8473 
   8474     hpux9* | hpux10* | hpux11*)
   8475       lt_prog_compiler_wl='-Wl,'
   8476       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8477       # not for PA HP-UX.
   8478       case $host_cpu in
   8479       hppa*64*|ia64*)
   8480 	# +Z the default
   8481 	;;
   8482       *)
   8483 	lt_prog_compiler_pic='+Z'
   8484 	;;
   8485       esac
   8486       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8487       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8488       ;;
   8489 
   8490     irix5* | irix6* | nonstopux*)
   8491       lt_prog_compiler_wl='-Wl,'
   8492       # PIC (with -KPIC) is the default.
   8493       lt_prog_compiler_static='-non_shared'
   8494       ;;
   8495 
   8496     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8497       case $cc_basename in
   8498       # old Intel for x86_64 which still supported -KPIC.
   8499       ecc*)
   8500 	lt_prog_compiler_wl='-Wl,'
   8501 	lt_prog_compiler_pic='-KPIC'
   8502 	lt_prog_compiler_static='-static'
   8503         ;;
   8504       # icc used to be incompatible with GCC.
   8505       # ICC 10 doesn't accept -KPIC any more.
   8506       icc* | ifort*)
   8507 	lt_prog_compiler_wl='-Wl,'
   8508 	lt_prog_compiler_pic='-fPIC'
   8509 	lt_prog_compiler_static='-static'
   8510         ;;
   8511       # Lahey Fortran 8.1.
   8512       lf95*)
   8513 	lt_prog_compiler_wl='-Wl,'
   8514 	lt_prog_compiler_pic='--shared'
   8515 	lt_prog_compiler_static='--static'
   8516 	;;
   8517       nagfor*)
   8518 	# NAG Fortran compiler
   8519 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8520 	lt_prog_compiler_pic='-PIC'
   8521 	lt_prog_compiler_static='-Bstatic'
   8522 	;;
   8523       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8524         # Portland Group compilers (*not* the Pentium gcc compiler,
   8525 	# which looks to be a dead project)
   8526 	lt_prog_compiler_wl='-Wl,'
   8527 	lt_prog_compiler_pic='-fpic'
   8528 	lt_prog_compiler_static='-Bstatic'
   8529         ;;
   8530       ccc*)
   8531         lt_prog_compiler_wl='-Wl,'
   8532         # All Alpha code is PIC.
   8533         lt_prog_compiler_static='-non_shared'
   8534         ;;
   8535       xl* | bgxl* | bgf* | mpixl*)
   8536 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8537 	lt_prog_compiler_wl='-Wl,'
   8538 	lt_prog_compiler_pic='-qpic'
   8539 	lt_prog_compiler_static='-qstaticlink'
   8540 	;;
   8541       *)
   8542 	case `$CC -V 2>&1 | sed 5q` in
   8543 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8544 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8545 	  lt_prog_compiler_pic='-KPIC'
   8546 	  lt_prog_compiler_static='-Bstatic'
   8547 	  lt_prog_compiler_wl=''
   8548 	  ;;
   8549 	*Sun\ F* | *Sun*Fortran*)
   8550 	  lt_prog_compiler_pic='-KPIC'
   8551 	  lt_prog_compiler_static='-Bstatic'
   8552 	  lt_prog_compiler_wl='-Qoption ld '
   8553 	  ;;
   8554 	*Sun\ C*)
   8555 	  # Sun C 5.9
   8556 	  lt_prog_compiler_pic='-KPIC'
   8557 	  lt_prog_compiler_static='-Bstatic'
   8558 	  lt_prog_compiler_wl='-Wl,'
   8559 	  ;;
   8560         *Intel*\ [CF]*Compiler*)
   8561 	  lt_prog_compiler_wl='-Wl,'
   8562 	  lt_prog_compiler_pic='-fPIC'
   8563 	  lt_prog_compiler_static='-static'
   8564 	  ;;
   8565 	*Portland\ Group*)
   8566 	  lt_prog_compiler_wl='-Wl,'
   8567 	  lt_prog_compiler_pic='-fpic'
   8568 	  lt_prog_compiler_static='-Bstatic'
   8569 	  ;;
   8570 	esac
   8571 	;;
   8572       esac
   8573       ;;
   8574 
   8575     newsos6)
   8576       lt_prog_compiler_pic='-KPIC'
   8577       lt_prog_compiler_static='-Bstatic'
   8578       ;;
   8579 
   8580     *nto* | *qnx*)
   8581       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8582       # it will coredump.
   8583       lt_prog_compiler_pic='-fPIC -shared'
   8584       ;;
   8585 
   8586     osf3* | osf4* | osf5*)
   8587       lt_prog_compiler_wl='-Wl,'
   8588       # All OSF/1 code is PIC.
   8589       lt_prog_compiler_static='-non_shared'
   8590       ;;
   8591 
   8592     rdos*)
   8593       lt_prog_compiler_static='-non_shared'
   8594       ;;
   8595 
   8596     solaris*)
   8597       lt_prog_compiler_pic='-KPIC'
   8598       lt_prog_compiler_static='-Bstatic'
   8599       case $cc_basename in
   8600       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8601 	lt_prog_compiler_wl='-Qoption ld ';;
   8602       *)
   8603 	lt_prog_compiler_wl='-Wl,';;
   8604       esac
   8605       ;;
   8606 
   8607     sunos4*)
   8608       lt_prog_compiler_wl='-Qoption ld '
   8609       lt_prog_compiler_pic='-PIC'
   8610       lt_prog_compiler_static='-Bstatic'
   8611       ;;
   8612 
   8613     sysv4 | sysv4.2uw2* | sysv4.3*)
   8614       lt_prog_compiler_wl='-Wl,'
   8615       lt_prog_compiler_pic='-KPIC'
   8616       lt_prog_compiler_static='-Bstatic'
   8617       ;;
   8618 
   8619     sysv4*MP*)
   8620       if test -d /usr/nec ;then
   8621 	lt_prog_compiler_pic='-Kconform_pic'
   8622 	lt_prog_compiler_static='-Bstatic'
   8623       fi
   8624       ;;
   8625 
   8626     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8627       lt_prog_compiler_wl='-Wl,'
   8628       lt_prog_compiler_pic='-KPIC'
   8629       lt_prog_compiler_static='-Bstatic'
   8630       ;;
   8631 
   8632     unicos*)
   8633       lt_prog_compiler_wl='-Wl,'
   8634       lt_prog_compiler_can_build_shared=no
   8635       ;;
   8636 
   8637     uts4*)
   8638       lt_prog_compiler_pic='-pic'
   8639       lt_prog_compiler_static='-Bstatic'
   8640       ;;
   8641 
   8642     *)
   8643       lt_prog_compiler_can_build_shared=no
   8644       ;;
   8645     esac
   8646   fi
   8647 
   8648 case $host_os in
   8649   # For platforms which do not support PIC, -DPIC is meaningless:
   8650   *djgpp*)
   8651     lt_prog_compiler_pic=
   8652     ;;
   8653   *)
   8654     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8655     ;;
   8656 esac
   8657 
   8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8659 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8660 if ${lt_cv_prog_compiler_pic+:} false; then :
   8661   $as_echo_n "(cached) " >&6
   8662 else
   8663   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8664 fi
   8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8666 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8667 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8668 
   8669 #
   8670 # Check to make sure the PIC flag actually works.
   8671 #
   8672 if test -n "$lt_prog_compiler_pic"; then
   8673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8674 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8675 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8676   $as_echo_n "(cached) " >&6
   8677 else
   8678   lt_cv_prog_compiler_pic_works=no
   8679    ac_outfile=conftest.$ac_objext
   8680    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8681    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8682    # Insert the option either (1) after the last *FLAGS variable, or
   8683    # (2) before a word containing "conftest.", or (3) at the end.
   8684    # Note that $ac_compile itself does not contain backslashes and begins
   8685    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8686    # The option is referenced via a variable to avoid confusing sed.
   8687    lt_compile=`echo "$ac_compile" | $SED \
   8688    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8689    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8690    -e 's:$: $lt_compiler_flag:'`
   8691    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8692    (eval "$lt_compile" 2>conftest.err)
   8693    ac_status=$?
   8694    cat conftest.err >&5
   8695    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8696    if (exit $ac_status) && test -s "$ac_outfile"; then
   8697      # The compiler can only warn and ignore the option if not recognized
   8698      # So say no if there are warnings other than the usual output.
   8699      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8700      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8701      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8702        lt_cv_prog_compiler_pic_works=yes
   8703      fi
   8704    fi
   8705    $RM conftest*
   8706 
   8707 fi
   8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8709 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8710 
   8711 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8712     case $lt_prog_compiler_pic in
   8713      "" | " "*) ;;
   8714      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8715      esac
   8716 else
   8717     lt_prog_compiler_pic=
   8718      lt_prog_compiler_can_build_shared=no
   8719 fi
   8720 
   8721 fi
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 #
   8734 # Check to make sure the static flag actually works.
   8735 #
   8736 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8738 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8739 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8740   $as_echo_n "(cached) " >&6
   8741 else
   8742   lt_cv_prog_compiler_static_works=no
   8743    save_LDFLAGS="$LDFLAGS"
   8744    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8745    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8746    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8747      # The linker can only warn and ignore the option if not recognized
   8748      # So say no if there are warnings
   8749      if test -s conftest.err; then
   8750        # Append any errors to the config.log.
   8751        cat conftest.err 1>&5
   8752        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8753        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8754        if diff conftest.exp conftest.er2 >/dev/null; then
   8755          lt_cv_prog_compiler_static_works=yes
   8756        fi
   8757      else
   8758        lt_cv_prog_compiler_static_works=yes
   8759      fi
   8760    fi
   8761    $RM -r conftest*
   8762    LDFLAGS="$save_LDFLAGS"
   8763 
   8764 fi
   8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8766 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8767 
   8768 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8769     :
   8770 else
   8771     lt_prog_compiler_static=
   8772 fi
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8781 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8782 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8783   $as_echo_n "(cached) " >&6
   8784 else
   8785   lt_cv_prog_compiler_c_o=no
   8786    $RM -r conftest 2>/dev/null
   8787    mkdir conftest
   8788    cd conftest
   8789    mkdir out
   8790    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8791 
   8792    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8793    # Insert the option either (1) after the last *FLAGS variable, or
   8794    # (2) before a word containing "conftest.", or (3) at the end.
   8795    # Note that $ac_compile itself does not contain backslashes and begins
   8796    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8797    lt_compile=`echo "$ac_compile" | $SED \
   8798    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8799    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8800    -e 's:$: $lt_compiler_flag:'`
   8801    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8802    (eval "$lt_compile" 2>out/conftest.err)
   8803    ac_status=$?
   8804    cat out/conftest.err >&5
   8805    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8806    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8807    then
   8808      # The compiler can only warn and ignore the option if not recognized
   8809      # So say no if there are warnings
   8810      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8811      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8812      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8813        lt_cv_prog_compiler_c_o=yes
   8814      fi
   8815    fi
   8816    chmod u+w . 2>&5
   8817    $RM conftest*
   8818    # SGI C++ compiler will create directory out/ii_files/ for
   8819    # template instantiation
   8820    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8821    $RM out/* && rmdir out
   8822    cd ..
   8823    $RM -r conftest
   8824    $RM conftest*
   8825 
   8826 fi
   8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8828 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8836 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8837 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8838   $as_echo_n "(cached) " >&6
   8839 else
   8840   lt_cv_prog_compiler_c_o=no
   8841    $RM -r conftest 2>/dev/null
   8842    mkdir conftest
   8843    cd conftest
   8844    mkdir out
   8845    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8846 
   8847    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8848    # Insert the option either (1) after the last *FLAGS variable, or
   8849    # (2) before a word containing "conftest.", or (3) at the end.
   8850    # Note that $ac_compile itself does not contain backslashes and begins
   8851    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8852    lt_compile=`echo "$ac_compile" | $SED \
   8853    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8854    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8855    -e 's:$: $lt_compiler_flag:'`
   8856    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8857    (eval "$lt_compile" 2>out/conftest.err)
   8858    ac_status=$?
   8859    cat out/conftest.err >&5
   8860    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8861    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8862    then
   8863      # The compiler can only warn and ignore the option if not recognized
   8864      # So say no if there are warnings
   8865      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8866      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8867      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8868        lt_cv_prog_compiler_c_o=yes
   8869      fi
   8870    fi
   8871    chmod u+w . 2>&5
   8872    $RM conftest*
   8873    # SGI C++ compiler will create directory out/ii_files/ for
   8874    # template instantiation
   8875    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8876    $RM out/* && rmdir out
   8877    cd ..
   8878    $RM -r conftest
   8879    $RM conftest*
   8880 
   8881 fi
   8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8883 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8884 
   8885 
   8886 
   8887 
   8888 hard_links="nottested"
   8889 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8890   # do not overwrite the value of need_locks provided by the user
   8891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8892 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8893   hard_links=yes
   8894   $RM conftest*
   8895   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8896   touch conftest.a
   8897   ln conftest.a conftest.b 2>&5 || hard_links=no
   8898   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8900 $as_echo "$hard_links" >&6; }
   8901   if test "$hard_links" = no; then
   8902     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8903 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8904     need_locks=warn
   8905   fi
   8906 else
   8907   need_locks=no
   8908 fi
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8916 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8917 
   8918   runpath_var=
   8919   allow_undefined_flag=
   8920   always_export_symbols=no
   8921   archive_cmds=
   8922   archive_expsym_cmds=
   8923   compiler_needs_object=no
   8924   enable_shared_with_static_runtimes=no
   8925   export_dynamic_flag_spec=
   8926   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8927   hardcode_automatic=no
   8928   hardcode_direct=no
   8929   hardcode_direct_absolute=no
   8930   hardcode_libdir_flag_spec=
   8931   hardcode_libdir_separator=
   8932   hardcode_minus_L=no
   8933   hardcode_shlibpath_var=unsupported
   8934   inherit_rpath=no
   8935   link_all_deplibs=unknown
   8936   module_cmds=
   8937   module_expsym_cmds=
   8938   old_archive_from_new_cmds=
   8939   old_archive_from_expsyms_cmds=
   8940   thread_safe_flag_spec=
   8941   whole_archive_flag_spec=
   8942   # include_expsyms should be a list of space-separated symbols to be *always*
   8943   # included in the symbol list
   8944   include_expsyms=
   8945   # exclude_expsyms can be an extended regexp of symbols to exclude
   8946   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8947   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8948   # as well as any symbol that contains `d'.
   8949   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8950   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8951   # platforms (ab)use it in PIC code, but their linkers get confused if
   8952   # the symbol is explicitly referenced.  Since portable code cannot
   8953   # rely on this symbol name, it's probably fine to never include it in
   8954   # preloaded symbol tables.
   8955   # Exclude shared library initialization/finalization symbols.
   8956   extract_expsyms_cmds=
   8957 
   8958   case $host_os in
   8959   cygwin* | mingw* | pw32* | cegcc*)
   8960     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8961     # When not using gcc, we currently assume that we are using
   8962     # Microsoft Visual C++.
   8963     if test "$GCC" != yes; then
   8964       with_gnu_ld=no
   8965     fi
   8966     ;;
   8967   interix*)
   8968     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8969     with_gnu_ld=yes
   8970     ;;
   8971   openbsd*)
   8972     with_gnu_ld=no
   8973     ;;
   8974   esac
   8975 
   8976   ld_shlibs=yes
   8977 
   8978   # On some targets, GNU ld is compatible enough with the native linker
   8979   # that we're better off using the native interface for both.
   8980   lt_use_gnu_ld_interface=no
   8981   if test "$with_gnu_ld" = yes; then
   8982     case $host_os in
   8983       aix*)
   8984 	# The AIX port of GNU ld has always aspired to compatibility
   8985 	# with the native linker.  However, as the warning in the GNU ld
   8986 	# block says, versions before 2.19.5* couldn't really create working
   8987 	# shared libraries, regardless of the interface used.
   8988 	case `$LD -v 2>&1` in
   8989 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8990 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8991 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8992 	  *)
   8993 	    lt_use_gnu_ld_interface=yes
   8994 	    ;;
   8995 	esac
   8996 	;;
   8997       *)
   8998 	lt_use_gnu_ld_interface=yes
   8999 	;;
   9000     esac
   9001   fi
   9002 
   9003   if test "$lt_use_gnu_ld_interface" = yes; then
   9004     # If archive_cmds runs LD, not CC, wlarc should be empty
   9005     wlarc='${wl}'
   9006 
   9007     # Set some defaults for GNU ld with shared library support. These
   9008     # are reset later if shared libraries are not supported. Putting them
   9009     # here allows them to be overridden if necessary.
   9010     runpath_var=LD_RUN_PATH
   9011     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9012     export_dynamic_flag_spec='${wl}--export-dynamic'
   9013     # ancient GNU ld didn't support --whole-archive et. al.
   9014     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9015       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9016     else
   9017       whole_archive_flag_spec=
   9018     fi
   9019     supports_anon_versioning=no
   9020     case `$LD -v 2>&1` in
   9021       *GNU\ gold*) supports_anon_versioning=yes ;;
   9022       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9023       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9024       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9025       *\ 2.11.*) ;; # other 2.11 versions
   9026       *) supports_anon_versioning=yes ;;
   9027     esac
   9028 
   9029     # See if GNU ld supports shared libraries.
   9030     case $host_os in
   9031     aix[3-9]*)
   9032       # On AIX/PPC, the GNU linker is very broken
   9033       if test "$host_cpu" != ia64; then
   9034 	ld_shlibs=no
   9035 	cat <<_LT_EOF 1>&2
   9036 
   9037 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9038 *** to be unable to reliably create shared libraries on AIX.
   9039 *** Therefore, libtool is disabling shared libraries support.  If you
   9040 *** really care for shared libraries, you may want to install binutils
   9041 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9042 *** You will then need to restart the configuration process.
   9043 
   9044 _LT_EOF
   9045       fi
   9046       ;;
   9047 
   9048     amigaos*)
   9049       case $host_cpu in
   9050       powerpc)
   9051             # see comment about AmigaOS4 .so support
   9052             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9053             archive_expsym_cmds=''
   9054         ;;
   9055       m68k)
   9056             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)'
   9057             hardcode_libdir_flag_spec='-L$libdir'
   9058             hardcode_minus_L=yes
   9059         ;;
   9060       esac
   9061       ;;
   9062 
   9063     beos*)
   9064       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9065 	allow_undefined_flag=unsupported
   9066 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9067 	# support --undefined.  This deserves some investigation.  FIXME
   9068 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9069       else
   9070 	ld_shlibs=no
   9071       fi
   9072       ;;
   9073 
   9074     cygwin* | mingw* | pw32* | cegcc*)
   9075       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9076       # as there is no search path for DLLs.
   9077       hardcode_libdir_flag_spec='-L$libdir'
   9078       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9079       allow_undefined_flag=unsupported
   9080       always_export_symbols=no
   9081       enable_shared_with_static_runtimes=yes
   9082       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'
   9083       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9084 
   9085       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9086         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9087 	# If the export-symbols file already is a .def file (1st line
   9088 	# is EXPORTS), use it as is; otherwise, prepend...
   9089 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9090 	  cp $export_symbols $output_objdir/$soname.def;
   9091 	else
   9092 	  echo EXPORTS > $output_objdir/$soname.def;
   9093 	  cat $export_symbols >> $output_objdir/$soname.def;
   9094 	fi~
   9095 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9096       else
   9097 	ld_shlibs=no
   9098       fi
   9099       ;;
   9100 
   9101     haiku*)
   9102       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9103       link_all_deplibs=yes
   9104       ;;
   9105 
   9106     interix[3-9]*)
   9107       hardcode_direct=no
   9108       hardcode_shlibpath_var=no
   9109       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9110       export_dynamic_flag_spec='${wl}-E'
   9111       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9112       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9113       # default) and relocated if they conflict, which is a slow very memory
   9114       # consuming and fragmenting process.  To avoid this, we pick a random,
   9115       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9116       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9117       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9118       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'
   9119       ;;
   9120 
   9121     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9122       tmp_diet=no
   9123       if test "$host_os" = linux-dietlibc; then
   9124 	case $cc_basename in
   9125 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9126 	esac
   9127       fi
   9128       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9129 	 && test "$tmp_diet" = no
   9130       then
   9131 	tmp_addflag=' $pic_flag'
   9132 	tmp_sharedflag='-shared'
   9133 	case $cc_basename,$host_cpu in
   9134         pgcc*)				# Portland Group C compiler
   9135 	  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'
   9136 	  tmp_addflag=' $pic_flag'
   9137 	  ;;
   9138 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9139 					# Portland Group f77 and f90 compilers
   9140 	  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'
   9141 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9142 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9143 	  tmp_addflag=' -i_dynamic' ;;
   9144 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9145 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9146 	ifc* | ifort*)			# Intel Fortran compiler
   9147 	  tmp_addflag=' -nofor_main' ;;
   9148 	lf95*)				# Lahey Fortran 8.1
   9149 	  whole_archive_flag_spec=
   9150 	  tmp_sharedflag='--shared' ;;
   9151 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9152 	  tmp_sharedflag='-qmkshrobj'
   9153 	  tmp_addflag= ;;
   9154 	nvcc*)	# Cuda Compiler Driver 2.2
   9155 	  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'
   9156 	  compiler_needs_object=yes
   9157 	  ;;
   9158 	esac
   9159 	case `$CC -V 2>&1 | sed 5q` in
   9160 	*Sun\ C*)			# Sun C 5.9
   9161 	  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'
   9162 	  compiler_needs_object=yes
   9163 	  tmp_sharedflag='-G' ;;
   9164 	*Sun\ F*)			# Sun Fortran 8.3
   9165 	  tmp_sharedflag='-G' ;;
   9166 	esac
   9167 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9168 
   9169         if test "x$supports_anon_versioning" = xyes; then
   9170           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9171 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9172 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9173 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9174         fi
   9175 
   9176 	case $cc_basename in
   9177 	xlf* | bgf* | bgxlf* | mpixlf*)
   9178 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9179 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9180 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9181 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9182 	  if test "x$supports_anon_versioning" = xyes; then
   9183 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9184 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9185 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9186 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9187 	  fi
   9188 	  ;;
   9189 	esac
   9190       else
   9191         ld_shlibs=no
   9192       fi
   9193       ;;
   9194 
   9195     netbsd*)
   9196       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9197 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9198 	wlarc=
   9199       else
   9200 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9201 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9202       fi
   9203       ;;
   9204 
   9205     solaris*)
   9206       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9207 	ld_shlibs=no
   9208 	cat <<_LT_EOF 1>&2
   9209 
   9210 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9211 *** create shared libraries on Solaris systems.  Therefore, libtool
   9212 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9213 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9214 *** your PATH or compiler configuration so that the native linker is
   9215 *** used, and then restart.
   9216 
   9217 _LT_EOF
   9218       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9219 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9220 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9221       else
   9222 	ld_shlibs=no
   9223       fi
   9224       ;;
   9225 
   9226     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9227       case `$LD -v 2>&1` in
   9228         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9229 	ld_shlibs=no
   9230 	cat <<_LT_EOF 1>&2
   9231 
   9232 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9233 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9234 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9235 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9236 *** your PATH or compiler configuration so that the native linker is
   9237 *** used, and then restart.
   9238 
   9239 _LT_EOF
   9240 	;;
   9241 	*)
   9242 	  # For security reasons, it is highly recommended that you always
   9243 	  # use absolute paths for naming shared libraries, and exclude the
   9244 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9245 	  # requires that you compile everything twice, which is a pain.
   9246 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9247 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9248 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9249 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9250 	  else
   9251 	    ld_shlibs=no
   9252 	  fi
   9253 	;;
   9254       esac
   9255       ;;
   9256 
   9257     sunos4*)
   9258       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9259       wlarc=
   9260       hardcode_direct=yes
   9261       hardcode_shlibpath_var=no
   9262       ;;
   9263 
   9264     *)
   9265       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9266 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9267 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9268       else
   9269 	ld_shlibs=no
   9270       fi
   9271       ;;
   9272     esac
   9273 
   9274     if test "$ld_shlibs" = no; then
   9275       runpath_var=
   9276       hardcode_libdir_flag_spec=
   9277       export_dynamic_flag_spec=
   9278       whole_archive_flag_spec=
   9279     fi
   9280   else
   9281     # PORTME fill in a description of your system's linker (not GNU ld)
   9282     case $host_os in
   9283     aix3*)
   9284       allow_undefined_flag=unsupported
   9285       always_export_symbols=yes
   9286       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'
   9287       # Note: this linker hardcodes the directories in LIBPATH if there
   9288       # are no directories specified by -L.
   9289       hardcode_minus_L=yes
   9290       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9291 	# Neither direct hardcoding nor static linking is supported with a
   9292 	# broken collect2.
   9293 	hardcode_direct=unsupported
   9294       fi
   9295       ;;
   9296 
   9297     aix[4-9]*)
   9298       if test "$host_cpu" = ia64; then
   9299 	# On IA64, the linker does run time linking by default, so we don't
   9300 	# have to do anything special.
   9301 	aix_use_runtimelinking=no
   9302 	exp_sym_flag='-Bexport'
   9303 	no_entry_flag=""
   9304       else
   9305 	# If we're using GNU nm, then we don't want the "-C" option.
   9306 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9307 	# Also, AIX nm treats weak defined symbols like other global
   9308 	# defined symbols, whereas GNU nm marks them as "W".
   9309 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9310 	  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'
   9311 	else
   9312 	  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'
   9313 	fi
   9314 	aix_use_runtimelinking=no
   9315 
   9316 	# Test if we are trying to use run time linking or normal
   9317 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9318 	# need to do runtime linking.
   9319 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9320 	  for ld_flag in $LDFLAGS; do
   9321 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9322 	    aix_use_runtimelinking=yes
   9323 	    break
   9324 	  fi
   9325 	  done
   9326 	  ;;
   9327 	esac
   9328 
   9329 	exp_sym_flag='-bexport'
   9330 	no_entry_flag='-bnoentry'
   9331       fi
   9332 
   9333       # When large executables or shared objects are built, AIX ld can
   9334       # have problems creating the table of contents.  If linking a library
   9335       # or program results in "error TOC overflow" add -mminimal-toc to
   9336       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9337       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9338 
   9339       archive_cmds=''
   9340       hardcode_direct=yes
   9341       hardcode_direct_absolute=yes
   9342       hardcode_libdir_separator=':'
   9343       link_all_deplibs=yes
   9344       file_list_spec='${wl}-f,'
   9345 
   9346       if test "$GCC" = yes; then
   9347 	case $host_os in aix4.[012]|aix4.[012].*)
   9348 	# We only want to do this on AIX 4.2 and lower, the check
   9349 	# below for broken collect2 doesn't work under 4.3+
   9350 	  collect2name=`${CC} -print-prog-name=collect2`
   9351 	  if test -f "$collect2name" &&
   9352 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9353 	  then
   9354 	  # We have reworked collect2
   9355 	  :
   9356 	  else
   9357 	  # We have old collect2
   9358 	  hardcode_direct=unsupported
   9359 	  # It fails to find uninstalled libraries when the uninstalled
   9360 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9361 	  # to unsupported forces relinking
   9362 	  hardcode_minus_L=yes
   9363 	  hardcode_libdir_flag_spec='-L$libdir'
   9364 	  hardcode_libdir_separator=
   9365 	  fi
   9366 	  ;;
   9367 	esac
   9368 	shared_flag='-shared'
   9369 	if test "$aix_use_runtimelinking" = yes; then
   9370 	  shared_flag="$shared_flag "'${wl}-G'
   9371 	fi
   9372       else
   9373 	# not using gcc
   9374 	if test "$host_cpu" = ia64; then
   9375 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9376 	# chokes on -Wl,-G. The following line is correct:
   9377 	  shared_flag='-G'
   9378 	else
   9379 	  if test "$aix_use_runtimelinking" = yes; then
   9380 	    shared_flag='${wl}-G'
   9381 	  else
   9382 	    shared_flag='${wl}-bM:SRE'
   9383 	  fi
   9384 	fi
   9385       fi
   9386 
   9387       export_dynamic_flag_spec='${wl}-bexpall'
   9388       # It seems that -bexpall does not export symbols beginning with
   9389       # underscore (_), so it is better to generate a list of symbols to export.
   9390       always_export_symbols=yes
   9391       if test "$aix_use_runtimelinking" = yes; then
   9392 	# Warning - without using the other runtime loading flags (-brtl),
   9393 	# -berok will link without error, but may produce a broken library.
   9394 	allow_undefined_flag='-berok'
   9395         # Determine the default libpath from the value encoded in an
   9396         # empty executable.
   9397         if test "${lt_cv_aix_libpath+set}" = set; then
   9398   aix_libpath=$lt_cv_aix_libpath
   9399 else
   9400   if ${lt_cv_aix_libpath_+:} false; then :
   9401   $as_echo_n "(cached) " >&6
   9402 else
   9403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9404 /* end confdefs.h.  */
   9405 
   9406 int
   9407 main ()
   9408 {
   9409 
   9410   ;
   9411   return 0;
   9412 }
   9413 _ACEOF
   9414 if ac_fn_c_try_link "$LINENO"; then :
   9415 
   9416   lt_aix_libpath_sed='
   9417       /Import File Strings/,/^$/ {
   9418 	  /^0/ {
   9419 	      s/^0  *\([^ ]*\) *$/\1/
   9420 	      p
   9421 	  }
   9422       }'
   9423   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9424   # Check for a 64-bit object if we didn't find anything.
   9425   if test -z "$lt_cv_aix_libpath_"; then
   9426     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9427   fi
   9428 fi
   9429 rm -f core conftest.err conftest.$ac_objext \
   9430     conftest$ac_exeext conftest.$ac_ext
   9431   if test -z "$lt_cv_aix_libpath_"; then
   9432     lt_cv_aix_libpath_="/usr/lib:/lib"
   9433   fi
   9434 
   9435 fi
   9436 
   9437   aix_libpath=$lt_cv_aix_libpath_
   9438 fi
   9439 
   9440         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9441         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"
   9442       else
   9443 	if test "$host_cpu" = ia64; then
   9444 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9445 	  allow_undefined_flag="-z nodefs"
   9446 	  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"
   9447 	else
   9448 	 # Determine the default libpath from the value encoded in an
   9449 	 # empty executable.
   9450 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9451   aix_libpath=$lt_cv_aix_libpath
   9452 else
   9453   if ${lt_cv_aix_libpath_+:} false; then :
   9454   $as_echo_n "(cached) " >&6
   9455 else
   9456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9457 /* end confdefs.h.  */
   9458 
   9459 int
   9460 main ()
   9461 {
   9462 
   9463   ;
   9464   return 0;
   9465 }
   9466 _ACEOF
   9467 if ac_fn_c_try_link "$LINENO"; then :
   9468 
   9469   lt_aix_libpath_sed='
   9470       /Import File Strings/,/^$/ {
   9471 	  /^0/ {
   9472 	      s/^0  *\([^ ]*\) *$/\1/
   9473 	      p
   9474 	  }
   9475       }'
   9476   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9477   # Check for a 64-bit object if we didn't find anything.
   9478   if test -z "$lt_cv_aix_libpath_"; then
   9479     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9480   fi
   9481 fi
   9482 rm -f core conftest.err conftest.$ac_objext \
   9483     conftest$ac_exeext conftest.$ac_ext
   9484   if test -z "$lt_cv_aix_libpath_"; then
   9485     lt_cv_aix_libpath_="/usr/lib:/lib"
   9486   fi
   9487 
   9488 fi
   9489 
   9490   aix_libpath=$lt_cv_aix_libpath_
   9491 fi
   9492 
   9493 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9494 	  # Warning - without using the other run time loading flags,
   9495 	  # -berok will link without error, but may produce a broken library.
   9496 	  no_undefined_flag=' ${wl}-bernotok'
   9497 	  allow_undefined_flag=' ${wl}-berok'
   9498 	  if test "$with_gnu_ld" = yes; then
   9499 	    # We only use this code for GNU lds that support --whole-archive.
   9500 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9501 	  else
   9502 	    # Exported symbols can be pulled into shared objects from archives
   9503 	    whole_archive_flag_spec='$convenience'
   9504 	  fi
   9505 	  archive_cmds_need_lc=yes
   9506 	  # This is similar to how AIX traditionally builds its shared libraries.
   9507 	  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'
   9508 	fi
   9509       fi
   9510       ;;
   9511 
   9512     amigaos*)
   9513       case $host_cpu in
   9514       powerpc)
   9515             # see comment about AmigaOS4 .so support
   9516             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9517             archive_expsym_cmds=''
   9518         ;;
   9519       m68k)
   9520             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)'
   9521             hardcode_libdir_flag_spec='-L$libdir'
   9522             hardcode_minus_L=yes
   9523         ;;
   9524       esac
   9525       ;;
   9526 
   9527     bsdi[45]*)
   9528       export_dynamic_flag_spec=-rdynamic
   9529       ;;
   9530 
   9531     cygwin* | mingw* | pw32* | cegcc*)
   9532       # When not using gcc, we currently assume that we are using
   9533       # Microsoft Visual C++.
   9534       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9535       # no search path for DLLs.
   9536       case $cc_basename in
   9537       cl*)
   9538 	# Native MSVC
   9539 	hardcode_libdir_flag_spec=' '
   9540 	allow_undefined_flag=unsupported
   9541 	always_export_symbols=yes
   9542 	file_list_spec='@'
   9543 	# Tell ltmain to make .lib files, not .a files.
   9544 	libext=lib
   9545 	# Tell ltmain to make .dll files, not .so files.
   9546 	shrext_cmds=".dll"
   9547 	# FIXME: Setting linknames here is a bad hack.
   9548 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9549 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9550 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9551 	  else
   9552 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9553 	  fi~
   9554 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9555 	  linknames='
   9556 	# The linker will not automatically build a static lib if we build a DLL.
   9557 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9558 	enable_shared_with_static_runtimes=yes
   9559 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9560 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9561 	# Don't use ranlib
   9562 	old_postinstall_cmds='chmod 644 $oldlib'
   9563 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9564 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9565 	  case $lt_outputfile in
   9566 	    *.exe|*.EXE) ;;
   9567 	    *)
   9568 	      lt_outputfile="$lt_outputfile.exe"
   9569 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9570 	      ;;
   9571 	  esac~
   9572 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9573 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9574 	    $RM "$lt_outputfile.manifest";
   9575 	  fi'
   9576 	;;
   9577       *)
   9578 	# Assume MSVC wrapper
   9579 	hardcode_libdir_flag_spec=' '
   9580 	allow_undefined_flag=unsupported
   9581 	# Tell ltmain to make .lib files, not .a files.
   9582 	libext=lib
   9583 	# Tell ltmain to make .dll files, not .so files.
   9584 	shrext_cmds=".dll"
   9585 	# FIXME: Setting linknames here is a bad hack.
   9586 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9587 	# The linker will automatically build a .lib file if we build a DLL.
   9588 	old_archive_from_new_cmds='true'
   9589 	# FIXME: Should let the user specify the lib program.
   9590 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9591 	enable_shared_with_static_runtimes=yes
   9592 	;;
   9593       esac
   9594       ;;
   9595 
   9596     darwin* | rhapsody*)
   9597 
   9598 
   9599   archive_cmds_need_lc=no
   9600   hardcode_direct=no
   9601   hardcode_automatic=yes
   9602   hardcode_shlibpath_var=unsupported
   9603   if test "$lt_cv_ld_force_load" = "yes"; then
   9604     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\"`'
   9605 
   9606   else
   9607     whole_archive_flag_spec=''
   9608   fi
   9609   link_all_deplibs=yes
   9610   allow_undefined_flag="$_lt_dar_allow_undefined"
   9611   case $cc_basename in
   9612      ifort*) _lt_dar_can_shared=yes ;;
   9613      *) _lt_dar_can_shared=$GCC ;;
   9614   esac
   9615   if test "$_lt_dar_can_shared" = "yes"; then
   9616     output_verbose_link_cmd=func_echo_all
   9617     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9618     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9619     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}"
   9620     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}"
   9621 
   9622   else
   9623   ld_shlibs=no
   9624   fi
   9625 
   9626       ;;
   9627 
   9628     dgux*)
   9629       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9630       hardcode_libdir_flag_spec='-L$libdir'
   9631       hardcode_shlibpath_var=no
   9632       ;;
   9633 
   9634     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9635     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9636     # does not break anything, and helps significantly (at the cost of a little
   9637     # extra space).
   9638     freebsd2.2*)
   9639       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9640       hardcode_libdir_flag_spec='-R$libdir'
   9641       hardcode_direct=yes
   9642       hardcode_shlibpath_var=no
   9643       ;;
   9644 
   9645     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9646     freebsd2.*)
   9647       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9648       hardcode_direct=yes
   9649       hardcode_minus_L=yes
   9650       hardcode_shlibpath_var=no
   9651       ;;
   9652 
   9653     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9654     freebsd* | dragonfly*)
   9655       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9656       hardcode_libdir_flag_spec='-R$libdir'
   9657       hardcode_direct=yes
   9658       hardcode_shlibpath_var=no
   9659       ;;
   9660 
   9661     hpux9*)
   9662       if test "$GCC" = yes; then
   9663 	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'
   9664       else
   9665 	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'
   9666       fi
   9667       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9668       hardcode_libdir_separator=:
   9669       hardcode_direct=yes
   9670 
   9671       # hardcode_minus_L: Not really in the search PATH,
   9672       # but as the default location of the library.
   9673       hardcode_minus_L=yes
   9674       export_dynamic_flag_spec='${wl}-E'
   9675       ;;
   9676 
   9677     hpux10*)
   9678       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9679 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9680       else
   9681 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9682       fi
   9683       if test "$with_gnu_ld" = no; then
   9684 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9685 	hardcode_libdir_separator=:
   9686 	hardcode_direct=yes
   9687 	hardcode_direct_absolute=yes
   9688 	export_dynamic_flag_spec='${wl}-E'
   9689 	# hardcode_minus_L: Not really in the search PATH,
   9690 	# but as the default location of the library.
   9691 	hardcode_minus_L=yes
   9692       fi
   9693       ;;
   9694 
   9695     hpux11*)
   9696       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9697 	case $host_cpu in
   9698 	hppa*64*)
   9699 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9700 	  ;;
   9701 	ia64*)
   9702 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9703 	  ;;
   9704 	*)
   9705 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9706 	  ;;
   9707 	esac
   9708       else
   9709 	case $host_cpu in
   9710 	hppa*64*)
   9711 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9712 	  ;;
   9713 	ia64*)
   9714 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9715 	  ;;
   9716 	*)
   9717 
   9718 	  # Older versions of the 11.00 compiler do not understand -b yet
   9719 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9720 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9721 $as_echo_n "checking if $CC understands -b... " >&6; }
   9722 if ${lt_cv_prog_compiler__b+:} false; then :
   9723   $as_echo_n "(cached) " >&6
   9724 else
   9725   lt_cv_prog_compiler__b=no
   9726    save_LDFLAGS="$LDFLAGS"
   9727    LDFLAGS="$LDFLAGS -b"
   9728    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9729    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9730      # The linker can only warn and ignore the option if not recognized
   9731      # So say no if there are warnings
   9732      if test -s conftest.err; then
   9733        # Append any errors to the config.log.
   9734        cat conftest.err 1>&5
   9735        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9736        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9737        if diff conftest.exp conftest.er2 >/dev/null; then
   9738          lt_cv_prog_compiler__b=yes
   9739        fi
   9740      else
   9741        lt_cv_prog_compiler__b=yes
   9742      fi
   9743    fi
   9744    $RM -r conftest*
   9745    LDFLAGS="$save_LDFLAGS"
   9746 
   9747 fi
   9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9749 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9750 
   9751 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9752     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9753 else
   9754     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9755 fi
   9756 
   9757 	  ;;
   9758 	esac
   9759       fi
   9760       if test "$with_gnu_ld" = no; then
   9761 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9762 	hardcode_libdir_separator=:
   9763 
   9764 	case $host_cpu in
   9765 	hppa*64*|ia64*)
   9766 	  hardcode_direct=no
   9767 	  hardcode_shlibpath_var=no
   9768 	  ;;
   9769 	*)
   9770 	  hardcode_direct=yes
   9771 	  hardcode_direct_absolute=yes
   9772 	  export_dynamic_flag_spec='${wl}-E'
   9773 
   9774 	  # hardcode_minus_L: Not really in the search PATH,
   9775 	  # but as the default location of the library.
   9776 	  hardcode_minus_L=yes
   9777 	  ;;
   9778 	esac
   9779       fi
   9780       ;;
   9781 
   9782     irix5* | irix6* | nonstopux*)
   9783       if test "$GCC" = yes; then
   9784 	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'
   9785 	# Try to use the -exported_symbol ld option, if it does not
   9786 	# work, assume that -exports_file does not work either and
   9787 	# implicitly export all symbols.
   9788 	# This should be the same for all languages, so no per-tag cache variable.
   9789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9790 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9791 if ${lt_cv_irix_exported_symbol+:} false; then :
   9792   $as_echo_n "(cached) " >&6
   9793 else
   9794   save_LDFLAGS="$LDFLAGS"
   9795 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9796 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9797 /* end confdefs.h.  */
   9798 int foo (void) { return 0; }
   9799 _ACEOF
   9800 if ac_fn_c_try_link "$LINENO"; then :
   9801   lt_cv_irix_exported_symbol=yes
   9802 else
   9803   lt_cv_irix_exported_symbol=no
   9804 fi
   9805 rm -f core conftest.err conftest.$ac_objext \
   9806     conftest$ac_exeext conftest.$ac_ext
   9807            LDFLAGS="$save_LDFLAGS"
   9808 fi
   9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9810 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9811 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9812           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'
   9813 	fi
   9814       else
   9815 	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'
   9816 	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'
   9817       fi
   9818       archive_cmds_need_lc='no'
   9819       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9820       hardcode_libdir_separator=:
   9821       inherit_rpath=yes
   9822       link_all_deplibs=yes
   9823       ;;
   9824 
   9825     netbsd*)
   9826       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9827 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9828       else
   9829 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9830       fi
   9831       hardcode_libdir_flag_spec='-R$libdir'
   9832       hardcode_direct=yes
   9833       hardcode_shlibpath_var=no
   9834       ;;
   9835 
   9836     newsos6)
   9837       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9838       hardcode_direct=yes
   9839       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9840       hardcode_libdir_separator=:
   9841       hardcode_shlibpath_var=no
   9842       ;;
   9843 
   9844     *nto* | *qnx*)
   9845       ;;
   9846 
   9847     openbsd*)
   9848       if test -f /usr/libexec/ld.so; then
   9849 	hardcode_direct=yes
   9850 	hardcode_shlibpath_var=no
   9851 	hardcode_direct_absolute=yes
   9852 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9853 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9854 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9855 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9856 	  export_dynamic_flag_spec='${wl}-E'
   9857 	else
   9858 	  case $host_os in
   9859 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9860 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9861 	     hardcode_libdir_flag_spec='-R$libdir'
   9862 	     ;;
   9863 	   *)
   9864 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9865 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9866 	     ;;
   9867 	  esac
   9868 	fi
   9869       else
   9870 	ld_shlibs=no
   9871       fi
   9872       ;;
   9873 
   9874     os2*)
   9875       hardcode_libdir_flag_spec='-L$libdir'
   9876       hardcode_minus_L=yes
   9877       allow_undefined_flag=unsupported
   9878       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'
   9879       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9880       ;;
   9881 
   9882     osf3*)
   9883       if test "$GCC" = yes; then
   9884 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9885 	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'
   9886       else
   9887 	allow_undefined_flag=' -expect_unresolved \*'
   9888 	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'
   9889       fi
   9890       archive_cmds_need_lc='no'
   9891       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9892       hardcode_libdir_separator=:
   9893       ;;
   9894 
   9895     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9896       if test "$GCC" = yes; then
   9897 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9898 	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'
   9899 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9900       else
   9901 	allow_undefined_flag=' -expect_unresolved \*'
   9902 	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'
   9903 	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~
   9904 	$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'
   9905 
   9906 	# Both c and cxx compiler support -rpath directly
   9907 	hardcode_libdir_flag_spec='-rpath $libdir'
   9908       fi
   9909       archive_cmds_need_lc='no'
   9910       hardcode_libdir_separator=:
   9911       ;;
   9912 
   9913     solaris*)
   9914       no_undefined_flag=' -z defs'
   9915       if test "$GCC" = yes; then
   9916 	wlarc='${wl}'
   9917 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9918 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9919 	  $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'
   9920       else
   9921 	case `$CC -V 2>&1` in
   9922 	*"Compilers 5.0"*)
   9923 	  wlarc=''
   9924 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9925 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9926 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9927 	  ;;
   9928 	*)
   9929 	  wlarc='${wl}'
   9930 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9931 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9932 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9933 	  ;;
   9934 	esac
   9935       fi
   9936       hardcode_libdir_flag_spec='-R$libdir'
   9937       hardcode_shlibpath_var=no
   9938       case $host_os in
   9939       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9940       *)
   9941 	# The compiler driver will combine and reorder linker options,
   9942 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9943 	# but is careful enough not to reorder.
   9944 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9945 	if test "$GCC" = yes; then
   9946 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9947 	else
   9948 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9949 	fi
   9950 	;;
   9951       esac
   9952       link_all_deplibs=yes
   9953       ;;
   9954 
   9955     sunos4*)
   9956       if test "x$host_vendor" = xsequent; then
   9957 	# Use $CC to link under sequent, because it throws in some extra .o
   9958 	# files that make .init and .fini sections work.
   9959 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9960       else
   9961 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9962       fi
   9963       hardcode_libdir_flag_spec='-L$libdir'
   9964       hardcode_direct=yes
   9965       hardcode_minus_L=yes
   9966       hardcode_shlibpath_var=no
   9967       ;;
   9968 
   9969     sysv4)
   9970       case $host_vendor in
   9971 	sni)
   9972 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9973 	  hardcode_direct=yes # is this really true???
   9974 	;;
   9975 	siemens)
   9976 	  ## LD is ld it makes a PLAMLIB
   9977 	  ## CC just makes a GrossModule.
   9978 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9979 	  reload_cmds='$CC -r -o $output$reload_objs'
   9980 	  hardcode_direct=no
   9981         ;;
   9982 	motorola)
   9983 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9984 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9985 	;;
   9986       esac
   9987       runpath_var='LD_RUN_PATH'
   9988       hardcode_shlibpath_var=no
   9989       ;;
   9990 
   9991     sysv4.3*)
   9992       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9993       hardcode_shlibpath_var=no
   9994       export_dynamic_flag_spec='-Bexport'
   9995       ;;
   9996 
   9997     sysv4*MP*)
   9998       if test -d /usr/nec; then
   9999 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10000 	hardcode_shlibpath_var=no
   10001 	runpath_var=LD_RUN_PATH
   10002 	hardcode_runpath_var=yes
   10003 	ld_shlibs=yes
   10004       fi
   10005       ;;
   10006 
   10007     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10008       no_undefined_flag='${wl}-z,text'
   10009       archive_cmds_need_lc=no
   10010       hardcode_shlibpath_var=no
   10011       runpath_var='LD_RUN_PATH'
   10012 
   10013       if test "$GCC" = yes; then
   10014 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10015 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10016       else
   10017 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10018 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10019       fi
   10020       ;;
   10021 
   10022     sysv5* | sco3.2v5* | sco5v6*)
   10023       # Note: We can NOT use -z defs as we might desire, because we do not
   10024       # link with -lc, and that would cause any symbols used from libc to
   10025       # always be unresolved, which means just about no library would
   10026       # ever link correctly.  If we're not using GNU ld we use -z text
   10027       # though, which does catch some bad symbols but isn't as heavy-handed
   10028       # as -z defs.
   10029       no_undefined_flag='${wl}-z,text'
   10030       allow_undefined_flag='${wl}-z,nodefs'
   10031       archive_cmds_need_lc=no
   10032       hardcode_shlibpath_var=no
   10033       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10034       hardcode_libdir_separator=':'
   10035       link_all_deplibs=yes
   10036       export_dynamic_flag_spec='${wl}-Bexport'
   10037       runpath_var='LD_RUN_PATH'
   10038 
   10039       if test "$GCC" = yes; then
   10040 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10041 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10042       else
   10043 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10044 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10045       fi
   10046       ;;
   10047 
   10048     uts4*)
   10049       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10050       hardcode_libdir_flag_spec='-L$libdir'
   10051       hardcode_shlibpath_var=no
   10052       ;;
   10053 
   10054     *)
   10055       ld_shlibs=no
   10056       ;;
   10057     esac
   10058 
   10059     if test x$host_vendor = xsni; then
   10060       case $host in
   10061       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10062 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10063 	;;
   10064       esac
   10065     fi
   10066   fi
   10067 
   10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10069 $as_echo "$ld_shlibs" >&6; }
   10070 test "$ld_shlibs" = no && can_build_shared=no
   10071 
   10072 with_gnu_ld=$with_gnu_ld
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 #
   10089 # Do we need to explicitly link libc?
   10090 #
   10091 case "x$archive_cmds_need_lc" in
   10092 x|xyes)
   10093   # Assume -lc should be added
   10094   archive_cmds_need_lc=yes
   10095 
   10096   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10097     case $archive_cmds in
   10098     *'~'*)
   10099       # FIXME: we may have to deal with multi-command sequences.
   10100       ;;
   10101     '$CC '*)
   10102       # Test whether the compiler implicitly links with -lc since on some
   10103       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10104       # to ld, don't add -lc before -lgcc.
   10105       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10106 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10107 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10108   $as_echo_n "(cached) " >&6
   10109 else
   10110   $RM conftest*
   10111 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10112 
   10113 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10114   (eval $ac_compile) 2>&5
   10115   ac_status=$?
   10116   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10117   test $ac_status = 0; } 2>conftest.err; then
   10118 	  soname=conftest
   10119 	  lib=conftest
   10120 	  libobjs=conftest.$ac_objext
   10121 	  deplibs=
   10122 	  wl=$lt_prog_compiler_wl
   10123 	  pic_flag=$lt_prog_compiler_pic
   10124 	  compiler_flags=-v
   10125 	  linker_flags=-v
   10126 	  verstring=
   10127 	  output_objdir=.
   10128 	  libname=conftest
   10129 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10130 	  allow_undefined_flag=
   10131 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10132   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10133   ac_status=$?
   10134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10135   test $ac_status = 0; }
   10136 	  then
   10137 	    lt_cv_archive_cmds_need_lc=no
   10138 	  else
   10139 	    lt_cv_archive_cmds_need_lc=yes
   10140 	  fi
   10141 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10142 	else
   10143 	  cat conftest.err 1>&5
   10144 	fi
   10145 	$RM conftest*
   10146 
   10147 fi
   10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10149 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10150       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10151       ;;
   10152     esac
   10153   fi
   10154   ;;
   10155 esac
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10309 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10310 
   10311 if test "$GCC" = yes; then
   10312   case $host_os in
   10313     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10314     *) lt_awk_arg="/^libraries:/" ;;
   10315   esac
   10316   case $host_os in
   10317     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10318     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10319   esac
   10320   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10321   case $lt_search_path_spec in
   10322   *\;*)
   10323     # if the path contains ";" then we assume it to be the separator
   10324     # otherwise default to the standard path separator (i.e. ":") - it is
   10325     # assumed that no part of a normal pathname contains ";" but that should
   10326     # okay in the real world where ";" in dirpaths is itself problematic.
   10327     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10328     ;;
   10329   *)
   10330     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10331     ;;
   10332   esac
   10333   # Ok, now we have the path, separated by spaces, we can step through it
   10334   # and add multilib dir if necessary.
   10335   lt_tmp_lt_search_path_spec=
   10336   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10337   for lt_sys_path in $lt_search_path_spec; do
   10338     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10339       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10340     else
   10341       test -d "$lt_sys_path" && \
   10342 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10343     fi
   10344   done
   10345   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10346 BEGIN {RS=" "; FS="/|\n";} {
   10347   lt_foo="";
   10348   lt_count=0;
   10349   for (lt_i = NF; lt_i > 0; lt_i--) {
   10350     if ($lt_i != "" && $lt_i != ".") {
   10351       if ($lt_i == "..") {
   10352         lt_count++;
   10353       } else {
   10354         if (lt_count == 0) {
   10355           lt_foo="/" $lt_i lt_foo;
   10356         } else {
   10357           lt_count--;
   10358         }
   10359       }
   10360     }
   10361   }
   10362   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10363   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10364 }'`
   10365   # AWK program above erroneously prepends '/' to C:/dos/paths
   10366   # for these hosts.
   10367   case $host_os in
   10368     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10369       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10370   esac
   10371   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10372 else
   10373   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10374 fi
   10375 library_names_spec=
   10376 libname_spec='lib$name'
   10377 soname_spec=
   10378 shrext_cmds=".so"
   10379 postinstall_cmds=
   10380 postuninstall_cmds=
   10381 finish_cmds=
   10382 finish_eval=
   10383 shlibpath_var=
   10384 shlibpath_overrides_runpath=unknown
   10385 version_type=none
   10386 dynamic_linker="$host_os ld.so"
   10387 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10388 need_lib_prefix=unknown
   10389 hardcode_into_libs=no
   10390 
   10391 # when you set need_version to no, make sure it does not cause -set_version
   10392 # flags to be left without arguments
   10393 need_version=unknown
   10394 
   10395 case $host_os in
   10396 aix3*)
   10397   version_type=linux # correct to gnu/linux during the next big refactor
   10398   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10399   shlibpath_var=LIBPATH
   10400 
   10401   # AIX 3 has no versioning support, so we append a major version to the name.
   10402   soname_spec='${libname}${release}${shared_ext}$major'
   10403   ;;
   10404 
   10405 aix[4-9]*)
   10406   version_type=linux # correct to gnu/linux during the next big refactor
   10407   need_lib_prefix=no
   10408   need_version=no
   10409   hardcode_into_libs=yes
   10410   if test "$host_cpu" = ia64; then
   10411     # AIX 5 supports IA64
   10412     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10413     shlibpath_var=LD_LIBRARY_PATH
   10414   else
   10415     # With GCC up to 2.95.x, collect2 would create an import file
   10416     # for dependence libraries.  The import file would start with
   10417     # the line `#! .'.  This would cause the generated library to
   10418     # depend on `.', always an invalid library.  This was fixed in
   10419     # development snapshots of GCC prior to 3.0.
   10420     case $host_os in
   10421       aix4 | aix4.[01] | aix4.[01].*)
   10422       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10423 	   echo ' yes '
   10424 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10425 	:
   10426       else
   10427 	can_build_shared=no
   10428       fi
   10429       ;;
   10430     esac
   10431     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10432     # soname into executable. Probably we can add versioning support to
   10433     # collect2, so additional links can be useful in future.
   10434     if test "$aix_use_runtimelinking" = yes; then
   10435       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10436       # instead of lib<name>.a to let people know that these are not
   10437       # typical AIX shared libraries.
   10438       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10439     else
   10440       # We preserve .a as extension for shared libraries through AIX4.2
   10441       # and later when we are not doing run time linking.
   10442       library_names_spec='${libname}${release}.a $libname.a'
   10443       soname_spec='${libname}${release}${shared_ext}$major'
   10444     fi
   10445     shlibpath_var=LIBPATH
   10446   fi
   10447   ;;
   10448 
   10449 amigaos*)
   10450   case $host_cpu in
   10451   powerpc)
   10452     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10453     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10454     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10455     ;;
   10456   m68k)
   10457     library_names_spec='$libname.ixlibrary $libname.a'
   10458     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10459     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'
   10460     ;;
   10461   esac
   10462   ;;
   10463 
   10464 beos*)
   10465   library_names_spec='${libname}${shared_ext}'
   10466   dynamic_linker="$host_os ld.so"
   10467   shlibpath_var=LIBRARY_PATH
   10468   ;;
   10469 
   10470 bsdi[45]*)
   10471   version_type=linux # correct to gnu/linux during the next big refactor
   10472   need_version=no
   10473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10474   soname_spec='${libname}${release}${shared_ext}$major'
   10475   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10476   shlibpath_var=LD_LIBRARY_PATH
   10477   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10478   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10479   # the default ld.so.conf also contains /usr/contrib/lib and
   10480   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10481   # libtool to hard-code these into programs
   10482   ;;
   10483 
   10484 cygwin* | mingw* | pw32* | cegcc*)
   10485   version_type=windows
   10486   shrext_cmds=".dll"
   10487   need_version=no
   10488   need_lib_prefix=no
   10489 
   10490   case $GCC,$cc_basename in
   10491   yes,*)
   10492     # gcc
   10493     library_names_spec='$libname.dll.a'
   10494     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10495     postinstall_cmds='base_file=`basename \${file}`~
   10496       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10497       dldir=$destdir/`dirname \$dlpath`~
   10498       test -d \$dldir || mkdir -p \$dldir~
   10499       $install_prog $dir/$dlname \$dldir/$dlname~
   10500       chmod a+x \$dldir/$dlname~
   10501       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10502         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10503       fi'
   10504     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10505       dlpath=$dir/\$dldll~
   10506        $RM \$dlpath'
   10507     shlibpath_overrides_runpath=yes
   10508 
   10509     case $host_os in
   10510     cygwin*)
   10511       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10512       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10513 
   10514       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10515       ;;
   10516     mingw* | cegcc*)
   10517       # MinGW DLLs use traditional 'lib' prefix
   10518       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10519       ;;
   10520     pw32*)
   10521       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10522       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10523       ;;
   10524     esac
   10525     dynamic_linker='Win32 ld.exe'
   10526     ;;
   10527 
   10528   *,cl*)
   10529     # Native MSVC
   10530     libname_spec='$name'
   10531     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10532     library_names_spec='${libname}.dll.lib'
   10533 
   10534     case $build_os in
   10535     mingw*)
   10536       sys_lib_search_path_spec=
   10537       lt_save_ifs=$IFS
   10538       IFS=';'
   10539       for lt_path in $LIB
   10540       do
   10541         IFS=$lt_save_ifs
   10542         # Let DOS variable expansion print the short 8.3 style file name.
   10543         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10544         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10545       done
   10546       IFS=$lt_save_ifs
   10547       # Convert to MSYS style.
   10548       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10549       ;;
   10550     cygwin*)
   10551       # Convert to unix form, then to dos form, then back to unix form
   10552       # but this time dos style (no spaces!) so that the unix form looks
   10553       # like /cygdrive/c/PROGRA~1:/cygdr...
   10554       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10555       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10556       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10557       ;;
   10558     *)
   10559       sys_lib_search_path_spec="$LIB"
   10560       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10561         # It is most probably a Windows format PATH.
   10562         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10563       else
   10564         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10565       fi
   10566       # FIXME: find the short name or the path components, as spaces are
   10567       # common. (e.g. "Program Files" -> "PROGRA~1")
   10568       ;;
   10569     esac
   10570 
   10571     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10572     postinstall_cmds='base_file=`basename \${file}`~
   10573       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10574       dldir=$destdir/`dirname \$dlpath`~
   10575       test -d \$dldir || mkdir -p \$dldir~
   10576       $install_prog $dir/$dlname \$dldir/$dlname'
   10577     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10578       dlpath=$dir/\$dldll~
   10579        $RM \$dlpath'
   10580     shlibpath_overrides_runpath=yes
   10581     dynamic_linker='Win32 link.exe'
   10582     ;;
   10583 
   10584   *)
   10585     # Assume MSVC wrapper
   10586     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10587     dynamic_linker='Win32 ld.exe'
   10588     ;;
   10589   esac
   10590   # FIXME: first we should search . and the directory the executable is in
   10591   shlibpath_var=PATH
   10592   ;;
   10593 
   10594 darwin* | rhapsody*)
   10595   dynamic_linker="$host_os dyld"
   10596   version_type=darwin
   10597   need_lib_prefix=no
   10598   need_version=no
   10599   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10600   soname_spec='${libname}${release}${major}$shared_ext'
   10601   shlibpath_overrides_runpath=yes
   10602   shlibpath_var=DYLD_LIBRARY_PATH
   10603   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10604 
   10605   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10606   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10607   ;;
   10608 
   10609 dgux*)
   10610   version_type=linux # correct to gnu/linux during the next big refactor
   10611   need_lib_prefix=no
   10612   need_version=no
   10613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10614   soname_spec='${libname}${release}${shared_ext}$major'
   10615   shlibpath_var=LD_LIBRARY_PATH
   10616   ;;
   10617 
   10618 freebsd* | dragonfly*)
   10619   # DragonFly does not have aout.  When/if they implement a new
   10620   # versioning mechanism, adjust this.
   10621   if test -x /usr/bin/objformat; then
   10622     objformat=`/usr/bin/objformat`
   10623   else
   10624     case $host_os in
   10625     freebsd[23].*) objformat=aout ;;
   10626     *) objformat=elf ;;
   10627     esac
   10628   fi
   10629   version_type=freebsd-$objformat
   10630   case $version_type in
   10631     freebsd-elf*)
   10632       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10633       need_version=no
   10634       need_lib_prefix=no
   10635       ;;
   10636     freebsd-*)
   10637       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10638       need_version=yes
   10639       ;;
   10640   esac
   10641   shlibpath_var=LD_LIBRARY_PATH
   10642   case $host_os in
   10643   freebsd2.*)
   10644     shlibpath_overrides_runpath=yes
   10645     ;;
   10646   freebsd3.[01]* | freebsdelf3.[01]*)
   10647     shlibpath_overrides_runpath=yes
   10648     hardcode_into_libs=yes
   10649     ;;
   10650   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10651   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10652     shlibpath_overrides_runpath=no
   10653     hardcode_into_libs=yes
   10654     ;;
   10655   *) # from 4.6 on, and DragonFly
   10656     shlibpath_overrides_runpath=yes
   10657     hardcode_into_libs=yes
   10658     ;;
   10659   esac
   10660   ;;
   10661 
   10662 gnu*)
   10663   version_type=linux # correct to gnu/linux during the next big refactor
   10664   need_lib_prefix=no
   10665   need_version=no
   10666   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10667   soname_spec='${libname}${release}${shared_ext}$major'
   10668   shlibpath_var=LD_LIBRARY_PATH
   10669   shlibpath_overrides_runpath=no
   10670   hardcode_into_libs=yes
   10671   ;;
   10672 
   10673 haiku*)
   10674   version_type=linux # correct to gnu/linux during the next big refactor
   10675   need_lib_prefix=no
   10676   need_version=no
   10677   dynamic_linker="$host_os runtime_loader"
   10678   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10679   soname_spec='${libname}${release}${shared_ext}$major'
   10680   shlibpath_var=LIBRARY_PATH
   10681   shlibpath_overrides_runpath=yes
   10682   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10683   hardcode_into_libs=yes
   10684   ;;
   10685 
   10686 hpux9* | hpux10* | hpux11*)
   10687   # Give a soname corresponding to the major version so that dld.sl refuses to
   10688   # link against other versions.
   10689   version_type=sunos
   10690   need_lib_prefix=no
   10691   need_version=no
   10692   case $host_cpu in
   10693   ia64*)
   10694     shrext_cmds='.so'
   10695     hardcode_into_libs=yes
   10696     dynamic_linker="$host_os dld.so"
   10697     shlibpath_var=LD_LIBRARY_PATH
   10698     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10699     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10700     soname_spec='${libname}${release}${shared_ext}$major'
   10701     if test "X$HPUX_IA64_MODE" = X32; then
   10702       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10703     else
   10704       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10705     fi
   10706     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10707     ;;
   10708   hppa*64*)
   10709     shrext_cmds='.sl'
   10710     hardcode_into_libs=yes
   10711     dynamic_linker="$host_os dld.sl"
   10712     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10713     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10714     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10715     soname_spec='${libname}${release}${shared_ext}$major'
   10716     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10717     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10718     ;;
   10719   *)
   10720     shrext_cmds='.sl'
   10721     dynamic_linker="$host_os dld.sl"
   10722     shlibpath_var=SHLIB_PATH
   10723     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10724     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10725     soname_spec='${libname}${release}${shared_ext}$major'
   10726     ;;
   10727   esac
   10728   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10729   postinstall_cmds='chmod 555 $lib'
   10730   # or fails outright, so override atomically:
   10731   install_override_mode=555
   10732   ;;
   10733 
   10734 interix[3-9]*)
   10735   version_type=linux # correct to gnu/linux during the next big refactor
   10736   need_lib_prefix=no
   10737   need_version=no
   10738   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10739   soname_spec='${libname}${release}${shared_ext}$major'
   10740   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10741   shlibpath_var=LD_LIBRARY_PATH
   10742   shlibpath_overrides_runpath=no
   10743   hardcode_into_libs=yes
   10744   ;;
   10745 
   10746 irix5* | irix6* | nonstopux*)
   10747   case $host_os in
   10748     nonstopux*) version_type=nonstopux ;;
   10749     *)
   10750 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10751 		version_type=linux # correct to gnu/linux during the next big refactor
   10752 	else
   10753 		version_type=irix
   10754 	fi ;;
   10755   esac
   10756   need_lib_prefix=no
   10757   need_version=no
   10758   soname_spec='${libname}${release}${shared_ext}$major'
   10759   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10760   case $host_os in
   10761   irix5* | nonstopux*)
   10762     libsuff= shlibsuff=
   10763     ;;
   10764   *)
   10765     case $LD in # libtool.m4 will add one of these switches to LD
   10766     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10767       libsuff= shlibsuff= libmagic=32-bit;;
   10768     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10769       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10770     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10771       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10772     *) libsuff= shlibsuff= libmagic=never-match;;
   10773     esac
   10774     ;;
   10775   esac
   10776   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10777   shlibpath_overrides_runpath=no
   10778   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10779   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10780   hardcode_into_libs=yes
   10781   ;;
   10782 
   10783 # No shared lib support for Linux oldld, aout, or coff.
   10784 linux*oldld* | linux*aout* | linux*coff*)
   10785   dynamic_linker=no
   10786   ;;
   10787 
   10788 # This must be glibc/ELF.
   10789 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10790   version_type=linux # correct to gnu/linux during the next big refactor
   10791   need_lib_prefix=no
   10792   need_version=no
   10793   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10794   soname_spec='${libname}${release}${shared_ext}$major'
   10795   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10796   shlibpath_var=LD_LIBRARY_PATH
   10797   shlibpath_overrides_runpath=no
   10798 
   10799   # Some binutils ld are patched to set DT_RUNPATH
   10800   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10801   $as_echo_n "(cached) " >&6
   10802 else
   10803   lt_cv_shlibpath_overrides_runpath=no
   10804     save_LDFLAGS=$LDFLAGS
   10805     save_libdir=$libdir
   10806     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10807 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10808     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10809 /* end confdefs.h.  */
   10810 
   10811 int
   10812 main ()
   10813 {
   10814 
   10815   ;
   10816   return 0;
   10817 }
   10818 _ACEOF
   10819 if ac_fn_c_try_link "$LINENO"; then :
   10820   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10821   lt_cv_shlibpath_overrides_runpath=yes
   10822 fi
   10823 fi
   10824 rm -f core conftest.err conftest.$ac_objext \
   10825     conftest$ac_exeext conftest.$ac_ext
   10826     LDFLAGS=$save_LDFLAGS
   10827     libdir=$save_libdir
   10828 
   10829 fi
   10830 
   10831   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10832 
   10833   # This implies no fast_install, which is unacceptable.
   10834   # Some rework will be needed to allow for fast_install
   10835   # before this can be enabled.
   10836   hardcode_into_libs=yes
   10837 
   10838   # Append ld.so.conf contents to the search path
   10839   if test -f /etc/ld.so.conf; then
   10840     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' ' '`
   10841     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10842   fi
   10843 
   10844   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10845   # powerpc, because MkLinux only supported shared libraries with the
   10846   # GNU dynamic linker.  Since this was broken with cross compilers,
   10847   # most powerpc-linux boxes support dynamic linking these days and
   10848   # people can always --disable-shared, the test was removed, and we
   10849   # assume the GNU/Linux dynamic linker is in use.
   10850   dynamic_linker='GNU/Linux ld.so'
   10851   ;;
   10852 
   10853 netbsd*)
   10854   version_type=sunos
   10855   need_lib_prefix=no
   10856   need_version=no
   10857   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10858     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10859     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10860     dynamic_linker='NetBSD (a.out) ld.so'
   10861   else
   10862     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10863     soname_spec='${libname}${release}${shared_ext}$major'
   10864     dynamic_linker='NetBSD ld.elf_so'
   10865   fi
   10866   shlibpath_var=LD_LIBRARY_PATH
   10867   shlibpath_overrides_runpath=yes
   10868   hardcode_into_libs=yes
   10869   ;;
   10870 
   10871 newsos6)
   10872   version_type=linux # correct to gnu/linux during the next big refactor
   10873   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10874   shlibpath_var=LD_LIBRARY_PATH
   10875   shlibpath_overrides_runpath=yes
   10876   ;;
   10877 
   10878 *nto* | *qnx*)
   10879   version_type=qnx
   10880   need_lib_prefix=no
   10881   need_version=no
   10882   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10883   soname_spec='${libname}${release}${shared_ext}$major'
   10884   shlibpath_var=LD_LIBRARY_PATH
   10885   shlibpath_overrides_runpath=no
   10886   hardcode_into_libs=yes
   10887   dynamic_linker='ldqnx.so'
   10888   ;;
   10889 
   10890 openbsd*)
   10891   version_type=sunos
   10892   sys_lib_dlsearch_path_spec="/usr/lib"
   10893   need_lib_prefix=no
   10894   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10895   case $host_os in
   10896     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10897     *)				need_version=no  ;;
   10898   esac
   10899   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10900   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10901   shlibpath_var=LD_LIBRARY_PATH
   10902   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10903     case $host_os in
   10904       openbsd2.[89] | openbsd2.[89].*)
   10905 	shlibpath_overrides_runpath=no
   10906 	;;
   10907       *)
   10908 	shlibpath_overrides_runpath=yes
   10909 	;;
   10910       esac
   10911   else
   10912     shlibpath_overrides_runpath=yes
   10913   fi
   10914   ;;
   10915 
   10916 os2*)
   10917   libname_spec='$name'
   10918   shrext_cmds=".dll"
   10919   need_lib_prefix=no
   10920   library_names_spec='$libname${shared_ext} $libname.a'
   10921   dynamic_linker='OS/2 ld.exe'
   10922   shlibpath_var=LIBPATH
   10923   ;;
   10924 
   10925 osf3* | osf4* | osf5*)
   10926   version_type=osf
   10927   need_lib_prefix=no
   10928   need_version=no
   10929   soname_spec='${libname}${release}${shared_ext}$major'
   10930   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10931   shlibpath_var=LD_LIBRARY_PATH
   10932   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10933   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10934   ;;
   10935 
   10936 rdos*)
   10937   dynamic_linker=no
   10938   ;;
   10939 
   10940 solaris*)
   10941   version_type=linux # correct to gnu/linux during the next big refactor
   10942   need_lib_prefix=no
   10943   need_version=no
   10944   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10945   soname_spec='${libname}${release}${shared_ext}$major'
   10946   shlibpath_var=LD_LIBRARY_PATH
   10947   shlibpath_overrides_runpath=yes
   10948   hardcode_into_libs=yes
   10949   # ldd complains unless libraries are executable
   10950   postinstall_cmds='chmod +x $lib'
   10951   ;;
   10952 
   10953 sunos4*)
   10954   version_type=sunos
   10955   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10956   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10957   shlibpath_var=LD_LIBRARY_PATH
   10958   shlibpath_overrides_runpath=yes
   10959   if test "$with_gnu_ld" = yes; then
   10960     need_lib_prefix=no
   10961   fi
   10962   need_version=yes
   10963   ;;
   10964 
   10965 sysv4 | sysv4.3*)
   10966   version_type=linux # correct to gnu/linux during the next big refactor
   10967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10968   soname_spec='${libname}${release}${shared_ext}$major'
   10969   shlibpath_var=LD_LIBRARY_PATH
   10970   case $host_vendor in
   10971     sni)
   10972       shlibpath_overrides_runpath=no
   10973       need_lib_prefix=no
   10974       runpath_var=LD_RUN_PATH
   10975       ;;
   10976     siemens)
   10977       need_lib_prefix=no
   10978       ;;
   10979     motorola)
   10980       need_lib_prefix=no
   10981       need_version=no
   10982       shlibpath_overrides_runpath=no
   10983       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10984       ;;
   10985   esac
   10986   ;;
   10987 
   10988 sysv4*MP*)
   10989   if test -d /usr/nec ;then
   10990     version_type=linux # correct to gnu/linux during the next big refactor
   10991     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10992     soname_spec='$libname${shared_ext}.$major'
   10993     shlibpath_var=LD_LIBRARY_PATH
   10994   fi
   10995   ;;
   10996 
   10997 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10998   version_type=freebsd-elf
   10999   need_lib_prefix=no
   11000   need_version=no
   11001   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11002   soname_spec='${libname}${release}${shared_ext}$major'
   11003   shlibpath_var=LD_LIBRARY_PATH
   11004   shlibpath_overrides_runpath=yes
   11005   hardcode_into_libs=yes
   11006   if test "$with_gnu_ld" = yes; then
   11007     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11008   else
   11009     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11010     case $host_os in
   11011       sco3.2v5*)
   11012         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11013 	;;
   11014     esac
   11015   fi
   11016   sys_lib_dlsearch_path_spec='/usr/lib'
   11017   ;;
   11018 
   11019 tpf*)
   11020   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11021   version_type=linux # correct to gnu/linux during the next big refactor
   11022   need_lib_prefix=no
   11023   need_version=no
   11024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11025   shlibpath_var=LD_LIBRARY_PATH
   11026   shlibpath_overrides_runpath=no
   11027   hardcode_into_libs=yes
   11028   ;;
   11029 
   11030 uts4*)
   11031   version_type=linux # correct to gnu/linux during the next big refactor
   11032   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11033   soname_spec='${libname}${release}${shared_ext}$major'
   11034   shlibpath_var=LD_LIBRARY_PATH
   11035   ;;
   11036 
   11037 *)
   11038   dynamic_linker=no
   11039   ;;
   11040 esac
   11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11042 $as_echo "$dynamic_linker" >&6; }
   11043 test "$dynamic_linker" = no && can_build_shared=no
   11044 
   11045 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11046 if test "$GCC" = yes; then
   11047   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11048 fi
   11049 
   11050 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11051   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11052 fi
   11053 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11054   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11055 fi
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11149 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11150 hardcode_action=
   11151 if test -n "$hardcode_libdir_flag_spec" ||
   11152    test -n "$runpath_var" ||
   11153    test "X$hardcode_automatic" = "Xyes" ; then
   11154 
   11155   # We can hardcode non-existent directories.
   11156   if test "$hardcode_direct" != no &&
   11157      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11158      # have to relink, otherwise we might link with an installed library
   11159      # when we should be linking with a yet-to-be-installed one
   11160      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11161      test "$hardcode_minus_L" != no; then
   11162     # Linking always hardcodes the temporary library directory.
   11163     hardcode_action=relink
   11164   else
   11165     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11166     hardcode_action=immediate
   11167   fi
   11168 else
   11169   # We cannot hardcode anything, or else we can only hardcode existing
   11170   # directories.
   11171   hardcode_action=unsupported
   11172 fi
   11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11174 $as_echo "$hardcode_action" >&6; }
   11175 
   11176 if test "$hardcode_action" = relink ||
   11177    test "$inherit_rpath" = yes; then
   11178   # Fast installation is not supported
   11179   enable_fast_install=no
   11180 elif test "$shlibpath_overrides_runpath" = yes ||
   11181      test "$enable_shared" = no; then
   11182   # Fast installation is not necessary
   11183   enable_fast_install=needless
   11184 fi
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191   if test "x$enable_dlopen" != xyes; then
   11192   enable_dlopen=unknown
   11193   enable_dlopen_self=unknown
   11194   enable_dlopen_self_static=unknown
   11195 else
   11196   lt_cv_dlopen=no
   11197   lt_cv_dlopen_libs=
   11198 
   11199   case $host_os in
   11200   beos*)
   11201     lt_cv_dlopen="load_add_on"
   11202     lt_cv_dlopen_libs=
   11203     lt_cv_dlopen_self=yes
   11204     ;;
   11205 
   11206   mingw* | pw32* | cegcc*)
   11207     lt_cv_dlopen="LoadLibrary"
   11208     lt_cv_dlopen_libs=
   11209     ;;
   11210 
   11211   cygwin*)
   11212     lt_cv_dlopen="dlopen"
   11213     lt_cv_dlopen_libs=
   11214     ;;
   11215 
   11216   darwin*)
   11217   # if libdl is installed we need to link against it
   11218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11219 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11220 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11221   $as_echo_n "(cached) " >&6
   11222 else
   11223   ac_check_lib_save_LIBS=$LIBS
   11224 LIBS="-ldl  $LIBS"
   11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11226 /* end confdefs.h.  */
   11227 
   11228 /* Override any GCC internal prototype to avoid an error.
   11229    Use char because int might match the return type of a GCC
   11230    builtin and then its argument prototype would still apply.  */
   11231 #ifdef __cplusplus
   11232 extern "C"
   11233 #endif
   11234 char dlopen ();
   11235 int
   11236 main ()
   11237 {
   11238 return dlopen ();
   11239   ;
   11240   return 0;
   11241 }
   11242 _ACEOF
   11243 if ac_fn_c_try_link "$LINENO"; then :
   11244   ac_cv_lib_dl_dlopen=yes
   11245 else
   11246   ac_cv_lib_dl_dlopen=no
   11247 fi
   11248 rm -f core conftest.err conftest.$ac_objext \
   11249     conftest$ac_exeext conftest.$ac_ext
   11250 LIBS=$ac_check_lib_save_LIBS
   11251 fi
   11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11253 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11254 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11255   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11256 else
   11257 
   11258     lt_cv_dlopen="dyld"
   11259     lt_cv_dlopen_libs=
   11260     lt_cv_dlopen_self=yes
   11261 
   11262 fi
   11263 
   11264     ;;
   11265 
   11266   *)
   11267     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11268 if test "x$ac_cv_func_shl_load" = xyes; then :
   11269   lt_cv_dlopen="shl_load"
   11270 else
   11271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11272 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11273 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11274   $as_echo_n "(cached) " >&6
   11275 else
   11276   ac_check_lib_save_LIBS=$LIBS
   11277 LIBS="-ldld  $LIBS"
   11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11279 /* end confdefs.h.  */
   11280 
   11281 /* Override any GCC internal prototype to avoid an error.
   11282    Use char because int might match the return type of a GCC
   11283    builtin and then its argument prototype would still apply.  */
   11284 #ifdef __cplusplus
   11285 extern "C"
   11286 #endif
   11287 char shl_load ();
   11288 int
   11289 main ()
   11290 {
   11291 return shl_load ();
   11292   ;
   11293   return 0;
   11294 }
   11295 _ACEOF
   11296 if ac_fn_c_try_link "$LINENO"; then :
   11297   ac_cv_lib_dld_shl_load=yes
   11298 else
   11299   ac_cv_lib_dld_shl_load=no
   11300 fi
   11301 rm -f core conftest.err conftest.$ac_objext \
   11302     conftest$ac_exeext conftest.$ac_ext
   11303 LIBS=$ac_check_lib_save_LIBS
   11304 fi
   11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11306 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11307 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11308   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11309 else
   11310   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11311 if test "x$ac_cv_func_dlopen" = xyes; then :
   11312   lt_cv_dlopen="dlopen"
   11313 else
   11314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11315 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11316 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11317   $as_echo_n "(cached) " >&6
   11318 else
   11319   ac_check_lib_save_LIBS=$LIBS
   11320 LIBS="-ldl  $LIBS"
   11321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11322 /* end confdefs.h.  */
   11323 
   11324 /* Override any GCC internal prototype to avoid an error.
   11325    Use char because int might match the return type of a GCC
   11326    builtin and then its argument prototype would still apply.  */
   11327 #ifdef __cplusplus
   11328 extern "C"
   11329 #endif
   11330 char dlopen ();
   11331 int
   11332 main ()
   11333 {
   11334 return dlopen ();
   11335   ;
   11336   return 0;
   11337 }
   11338 _ACEOF
   11339 if ac_fn_c_try_link "$LINENO"; then :
   11340   ac_cv_lib_dl_dlopen=yes
   11341 else
   11342   ac_cv_lib_dl_dlopen=no
   11343 fi
   11344 rm -f core conftest.err conftest.$ac_objext \
   11345     conftest$ac_exeext conftest.$ac_ext
   11346 LIBS=$ac_check_lib_save_LIBS
   11347 fi
   11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11349 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11350 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11351   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11352 else
   11353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11354 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11355 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11356   $as_echo_n "(cached) " >&6
   11357 else
   11358   ac_check_lib_save_LIBS=$LIBS
   11359 LIBS="-lsvld  $LIBS"
   11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11361 /* end confdefs.h.  */
   11362 
   11363 /* Override any GCC internal prototype to avoid an error.
   11364    Use char because int might match the return type of a GCC
   11365    builtin and then its argument prototype would still apply.  */
   11366 #ifdef __cplusplus
   11367 extern "C"
   11368 #endif
   11369 char dlopen ();
   11370 int
   11371 main ()
   11372 {
   11373 return dlopen ();
   11374   ;
   11375   return 0;
   11376 }
   11377 _ACEOF
   11378 if ac_fn_c_try_link "$LINENO"; then :
   11379   ac_cv_lib_svld_dlopen=yes
   11380 else
   11381   ac_cv_lib_svld_dlopen=no
   11382 fi
   11383 rm -f core conftest.err conftest.$ac_objext \
   11384     conftest$ac_exeext conftest.$ac_ext
   11385 LIBS=$ac_check_lib_save_LIBS
   11386 fi
   11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11388 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11389 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11390   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11391 else
   11392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11393 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11394 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11395   $as_echo_n "(cached) " >&6
   11396 else
   11397   ac_check_lib_save_LIBS=$LIBS
   11398 LIBS="-ldld  $LIBS"
   11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11400 /* end confdefs.h.  */
   11401 
   11402 /* Override any GCC internal prototype to avoid an error.
   11403    Use char because int might match the return type of a GCC
   11404    builtin and then its argument prototype would still apply.  */
   11405 #ifdef __cplusplus
   11406 extern "C"
   11407 #endif
   11408 char dld_link ();
   11409 int
   11410 main ()
   11411 {
   11412 return dld_link ();
   11413   ;
   11414   return 0;
   11415 }
   11416 _ACEOF
   11417 if ac_fn_c_try_link "$LINENO"; then :
   11418   ac_cv_lib_dld_dld_link=yes
   11419 else
   11420   ac_cv_lib_dld_dld_link=no
   11421 fi
   11422 rm -f core conftest.err conftest.$ac_objext \
   11423     conftest$ac_exeext conftest.$ac_ext
   11424 LIBS=$ac_check_lib_save_LIBS
   11425 fi
   11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11427 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11428 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11429   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11430 fi
   11431 
   11432 
   11433 fi
   11434 
   11435 
   11436 fi
   11437 
   11438 
   11439 fi
   11440 
   11441 
   11442 fi
   11443 
   11444 
   11445 fi
   11446 
   11447     ;;
   11448   esac
   11449 
   11450   if test "x$lt_cv_dlopen" != xno; then
   11451     enable_dlopen=yes
   11452   else
   11453     enable_dlopen=no
   11454   fi
   11455 
   11456   case $lt_cv_dlopen in
   11457   dlopen)
   11458     save_CPPFLAGS="$CPPFLAGS"
   11459     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11460 
   11461     save_LDFLAGS="$LDFLAGS"
   11462     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11463 
   11464     save_LIBS="$LIBS"
   11465     LIBS="$lt_cv_dlopen_libs $LIBS"
   11466 
   11467     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11468 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11469 if ${lt_cv_dlopen_self+:} false; then :
   11470   $as_echo_n "(cached) " >&6
   11471 else
   11472   	  if test "$cross_compiling" = yes; then :
   11473   lt_cv_dlopen_self=cross
   11474 else
   11475   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11476   lt_status=$lt_dlunknown
   11477   cat > conftest.$ac_ext <<_LT_EOF
   11478 #line $LINENO "configure"
   11479 #include "confdefs.h"
   11480 
   11481 #if HAVE_DLFCN_H
   11482 #include <dlfcn.h>
   11483 #endif
   11484 
   11485 #include <stdio.h>
   11486 
   11487 #ifdef RTLD_GLOBAL
   11488 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11489 #else
   11490 #  ifdef DL_GLOBAL
   11491 #    define LT_DLGLOBAL		DL_GLOBAL
   11492 #  else
   11493 #    define LT_DLGLOBAL		0
   11494 #  endif
   11495 #endif
   11496 
   11497 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11498    find out it does not work in some platform. */
   11499 #ifndef LT_DLLAZY_OR_NOW
   11500 #  ifdef RTLD_LAZY
   11501 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11502 #  else
   11503 #    ifdef DL_LAZY
   11504 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11505 #    else
   11506 #      ifdef RTLD_NOW
   11507 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11508 #      else
   11509 #        ifdef DL_NOW
   11510 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11511 #        else
   11512 #          define LT_DLLAZY_OR_NOW	0
   11513 #        endif
   11514 #      endif
   11515 #    endif
   11516 #  endif
   11517 #endif
   11518 
   11519 /* When -fvisbility=hidden is used, assume the code has been annotated
   11520    correspondingly for the symbols needed.  */
   11521 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11522 int fnord () __attribute__((visibility("default")));
   11523 #endif
   11524 
   11525 int fnord () { return 42; }
   11526 int main ()
   11527 {
   11528   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11529   int status = $lt_dlunknown;
   11530 
   11531   if (self)
   11532     {
   11533       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11534       else
   11535         {
   11536 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11537           else puts (dlerror ());
   11538 	}
   11539       /* dlclose (self); */
   11540     }
   11541   else
   11542     puts (dlerror ());
   11543 
   11544   return status;
   11545 }
   11546 _LT_EOF
   11547   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11548   (eval $ac_link) 2>&5
   11549   ac_status=$?
   11550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11551   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11552     (./conftest; exit; ) >&5 2>/dev/null
   11553     lt_status=$?
   11554     case x$lt_status in
   11555       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11556       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11557       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11558     esac
   11559   else :
   11560     # compilation failed
   11561     lt_cv_dlopen_self=no
   11562   fi
   11563 fi
   11564 rm -fr conftest*
   11565 
   11566 
   11567 fi
   11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11569 $as_echo "$lt_cv_dlopen_self" >&6; }
   11570 
   11571     if test "x$lt_cv_dlopen_self" = xyes; then
   11572       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11573       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11574 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11575 if ${lt_cv_dlopen_self_static+:} false; then :
   11576   $as_echo_n "(cached) " >&6
   11577 else
   11578   	  if test "$cross_compiling" = yes; then :
   11579   lt_cv_dlopen_self_static=cross
   11580 else
   11581   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11582   lt_status=$lt_dlunknown
   11583   cat > conftest.$ac_ext <<_LT_EOF
   11584 #line $LINENO "configure"
   11585 #include "confdefs.h"
   11586 
   11587 #if HAVE_DLFCN_H
   11588 #include <dlfcn.h>
   11589 #endif
   11590 
   11591 #include <stdio.h>
   11592 
   11593 #ifdef RTLD_GLOBAL
   11594 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11595 #else
   11596 #  ifdef DL_GLOBAL
   11597 #    define LT_DLGLOBAL		DL_GLOBAL
   11598 #  else
   11599 #    define LT_DLGLOBAL		0
   11600 #  endif
   11601 #endif
   11602 
   11603 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11604    find out it does not work in some platform. */
   11605 #ifndef LT_DLLAZY_OR_NOW
   11606 #  ifdef RTLD_LAZY
   11607 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11608 #  else
   11609 #    ifdef DL_LAZY
   11610 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11611 #    else
   11612 #      ifdef RTLD_NOW
   11613 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11614 #      else
   11615 #        ifdef DL_NOW
   11616 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11617 #        else
   11618 #          define LT_DLLAZY_OR_NOW	0
   11619 #        endif
   11620 #      endif
   11621 #    endif
   11622 #  endif
   11623 #endif
   11624 
   11625 /* When -fvisbility=hidden is used, assume the code has been annotated
   11626    correspondingly for the symbols needed.  */
   11627 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11628 int fnord () __attribute__((visibility("default")));
   11629 #endif
   11630 
   11631 int fnord () { return 42; }
   11632 int main ()
   11633 {
   11634   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11635   int status = $lt_dlunknown;
   11636 
   11637   if (self)
   11638     {
   11639       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11640       else
   11641         {
   11642 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11643           else puts (dlerror ());
   11644 	}
   11645       /* dlclose (self); */
   11646     }
   11647   else
   11648     puts (dlerror ());
   11649 
   11650   return status;
   11651 }
   11652 _LT_EOF
   11653   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11654   (eval $ac_link) 2>&5
   11655   ac_status=$?
   11656   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11657   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11658     (./conftest; exit; ) >&5 2>/dev/null
   11659     lt_status=$?
   11660     case x$lt_status in
   11661       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11662       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11663       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11664     esac
   11665   else :
   11666     # compilation failed
   11667     lt_cv_dlopen_self_static=no
   11668   fi
   11669 fi
   11670 rm -fr conftest*
   11671 
   11672 
   11673 fi
   11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11675 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11676     fi
   11677 
   11678     CPPFLAGS="$save_CPPFLAGS"
   11679     LDFLAGS="$save_LDFLAGS"
   11680     LIBS="$save_LIBS"
   11681     ;;
   11682   esac
   11683 
   11684   case $lt_cv_dlopen_self in
   11685   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11686   *) enable_dlopen_self=unknown ;;
   11687   esac
   11688 
   11689   case $lt_cv_dlopen_self_static in
   11690   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11691   *) enable_dlopen_self_static=unknown ;;
   11692   esac
   11693 fi
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 
   11711 striplib=
   11712 old_striplib=
   11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11714 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11715 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11716   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11717   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11719 $as_echo "yes" >&6; }
   11720 else
   11721 # FIXME - insert some real tests, host_os isn't really good enough
   11722   case $host_os in
   11723   darwin*)
   11724     if test -n "$STRIP" ; then
   11725       striplib="$STRIP -x"
   11726       old_striplib="$STRIP -S"
   11727       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11728 $as_echo "yes" >&6; }
   11729     else
   11730       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11731 $as_echo "no" >&6; }
   11732     fi
   11733     ;;
   11734   *)
   11735     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11736 $as_echo "no" >&6; }
   11737     ;;
   11738   esac
   11739 fi
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752   # Report which library types will actually be built
   11753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11754 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11756 $as_echo "$can_build_shared" >&6; }
   11757 
   11758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11759 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11760   test "$can_build_shared" = "no" && enable_shared=no
   11761 
   11762   # On AIX, shared libraries and static libraries use the same namespace, and
   11763   # are all built from PIC.
   11764   case $host_os in
   11765   aix3*)
   11766     test "$enable_shared" = yes && enable_static=no
   11767     if test -n "$RANLIB"; then
   11768       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11769       postinstall_cmds='$RANLIB $lib'
   11770     fi
   11771     ;;
   11772 
   11773   aix[4-9]*)
   11774     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11775       test "$enable_shared" = yes && enable_static=no
   11776     fi
   11777     ;;
   11778   esac
   11779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11780 $as_echo "$enable_shared" >&6; }
   11781 
   11782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11783 $as_echo_n "checking whether to build static libraries... " >&6; }
   11784   # Make sure either enable_shared or enable_static is yes.
   11785   test "$enable_shared" = yes || enable_static=yes
   11786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11787 $as_echo "$enable_static" >&6; }
   11788 
   11789 
   11790 
   11791 
   11792 fi
   11793 ac_ext=c
   11794 ac_cpp='$CPP $CPPFLAGS'
   11795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11798 
   11799 CC="$lt_save_CC"
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815         ac_config_commands="$ac_config_commands libtool"
   11816 
   11817 
   11818 
   11819 
   11820 # Only expand once:
   11821 
   11822 
   11823 
   11824 # Require xorg-macros minimum of 1.10 for DocBook XML documentation
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11837 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11838 if ${ac_cv_prog_cc_c99+:} false; then :
   11839   $as_echo_n "(cached) " >&6
   11840 else
   11841   ac_cv_prog_cc_c99=no
   11842 ac_save_CC=$CC
   11843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11844 /* end confdefs.h.  */
   11845 #include <stdarg.h>
   11846 #include <stdbool.h>
   11847 #include <stdlib.h>
   11848 #include <wchar.h>
   11849 #include <stdio.h>
   11850 
   11851 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11852 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11853 #define showlist(...) puts (#__VA_ARGS__)
   11854 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11855 static void
   11856 test_varargs_macros (void)
   11857 {
   11858   int x = 1234;
   11859   int y = 5678;
   11860   debug ("Flag");
   11861   debug ("X = %d\n", x);
   11862   showlist (The first, second, and third items.);
   11863   report (x>y, "x is %d but y is %d", x, y);
   11864 }
   11865 
   11866 // Check long long types.
   11867 #define BIG64 18446744073709551615ull
   11868 #define BIG32 4294967295ul
   11869 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11870 #if !BIG_OK
   11871   your preprocessor is broken;
   11872 #endif
   11873 #if BIG_OK
   11874 #else
   11875   your preprocessor is broken;
   11876 #endif
   11877 static long long int bignum = -9223372036854775807LL;
   11878 static unsigned long long int ubignum = BIG64;
   11879 
   11880 struct incomplete_array
   11881 {
   11882   int datasize;
   11883   double data[];
   11884 };
   11885 
   11886 struct named_init {
   11887   int number;
   11888   const wchar_t *name;
   11889   double average;
   11890 };
   11891 
   11892 typedef const char *ccp;
   11893 
   11894 static inline int
   11895 test_restrict (ccp restrict text)
   11896 {
   11897   // See if C++-style comments work.
   11898   // Iterate through items via the restricted pointer.
   11899   // Also check for declarations in for loops.
   11900   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11901     continue;
   11902   return 0;
   11903 }
   11904 
   11905 // Check varargs and va_copy.
   11906 static void
   11907 test_varargs (const char *format, ...)
   11908 {
   11909   va_list args;
   11910   va_start (args, format);
   11911   va_list args_copy;
   11912   va_copy (args_copy, args);
   11913 
   11914   const char *str;
   11915   int number;
   11916   float fnumber;
   11917 
   11918   while (*format)
   11919     {
   11920       switch (*format++)
   11921 	{
   11922 	case 's': // string
   11923 	  str = va_arg (args_copy, const char *);
   11924 	  break;
   11925 	case 'd': // int
   11926 	  number = va_arg (args_copy, int);
   11927 	  break;
   11928 	case 'f': // float
   11929 	  fnumber = va_arg (args_copy, double);
   11930 	  break;
   11931 	default:
   11932 	  break;
   11933 	}
   11934     }
   11935   va_end (args_copy);
   11936   va_end (args);
   11937 }
   11938 
   11939 int
   11940 main ()
   11941 {
   11942 
   11943   // Check bool.
   11944   _Bool success = false;
   11945 
   11946   // Check restrict.
   11947   if (test_restrict ("String literal") == 0)
   11948     success = true;
   11949   char *restrict newvar = "Another string";
   11950 
   11951   // Check varargs.
   11952   test_varargs ("s, d' f .", "string", 65, 34.234);
   11953   test_varargs_macros ();
   11954 
   11955   // Check flexible array members.
   11956   struct incomplete_array *ia =
   11957     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11958   ia->datasize = 10;
   11959   for (int i = 0; i < ia->datasize; ++i)
   11960     ia->data[i] = i * 1.234;
   11961 
   11962   // Check named initializers.
   11963   struct named_init ni = {
   11964     .number = 34,
   11965     .name = L"Test wide string",
   11966     .average = 543.34343,
   11967   };
   11968 
   11969   ni.number = 58;
   11970 
   11971   int dynamic_array[ni.number];
   11972   dynamic_array[ni.number - 1] = 543;
   11973 
   11974   // work around unused variable warnings
   11975   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11976 	  || dynamic_array[ni.number - 1] != 543);
   11977 
   11978   ;
   11979   return 0;
   11980 }
   11981 _ACEOF
   11982 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11983 do
   11984   CC="$ac_save_CC $ac_arg"
   11985   if ac_fn_c_try_compile "$LINENO"; then :
   11986   ac_cv_prog_cc_c99=$ac_arg
   11987 fi
   11988 rm -f core conftest.err conftest.$ac_objext
   11989   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11990 done
   11991 rm -f conftest.$ac_ext
   11992 CC=$ac_save_CC
   11993 
   11994 fi
   11995 # AC_CACHE_VAL
   11996 case "x$ac_cv_prog_cc_c99" in
   11997   x)
   11998     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11999 $as_echo "none needed" >&6; } ;;
   12000   xno)
   12001     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12002 $as_echo "unsupported" >&6; } ;;
   12003   *)
   12004     CC="$CC $ac_cv_prog_cc_c99"
   12005     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12006 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12007 esac
   12008 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12009 
   12010 fi
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12018 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12019   CLANGCC="yes"
   12020 else
   12021   CLANGCC="no"
   12022 fi
   12023 
   12024 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12025 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12026   INTELCC="yes"
   12027 else
   12028   INTELCC="no"
   12029 fi
   12030 
   12031 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12032 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12033   SUNCC="yes"
   12034 else
   12035   SUNCC="no"
   12036 fi
   12037 
   12038 
   12039 
   12040 
   12041 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12042 	if test -n "$ac_tool_prefix"; then
   12043   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12044 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12046 $as_echo_n "checking for $ac_word... " >&6; }
   12047 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12048   $as_echo_n "(cached) " >&6
   12049 else
   12050   case $PKG_CONFIG in
   12051   [\\/]* | ?:[\\/]*)
   12052   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12053   ;;
   12054   *)
   12055   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12056 for as_dir in $PATH
   12057 do
   12058   IFS=$as_save_IFS
   12059   test -z "$as_dir" && as_dir=.
   12060     for ac_exec_ext in '' $ac_executable_extensions; do
   12061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12062     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12064     break 2
   12065   fi
   12066 done
   12067   done
   12068 IFS=$as_save_IFS
   12069 
   12070   ;;
   12071 esac
   12072 fi
   12073 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12074 if test -n "$PKG_CONFIG"; then
   12075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12076 $as_echo "$PKG_CONFIG" >&6; }
   12077 else
   12078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12079 $as_echo "no" >&6; }
   12080 fi
   12081 
   12082 
   12083 fi
   12084 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12085   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12086   # Extract the first word of "pkg-config", so it can be a program name with args.
   12087 set dummy pkg-config; ac_word=$2
   12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12089 $as_echo_n "checking for $ac_word... " >&6; }
   12090 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12091   $as_echo_n "(cached) " >&6
   12092 else
   12093   case $ac_pt_PKG_CONFIG in
   12094   [\\/]* | ?:[\\/]*)
   12095   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12096   ;;
   12097   *)
   12098   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12099 for as_dir in $PATH
   12100 do
   12101   IFS=$as_save_IFS
   12102   test -z "$as_dir" && as_dir=.
   12103     for ac_exec_ext in '' $ac_executable_extensions; do
   12104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12105     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12107     break 2
   12108   fi
   12109 done
   12110   done
   12111 IFS=$as_save_IFS
   12112 
   12113   ;;
   12114 esac
   12115 fi
   12116 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12117 if test -n "$ac_pt_PKG_CONFIG"; then
   12118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12119 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12120 else
   12121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12122 $as_echo "no" >&6; }
   12123 fi
   12124 
   12125   if test "x$ac_pt_PKG_CONFIG" = x; then
   12126     PKG_CONFIG=""
   12127   else
   12128     case $cross_compiling:$ac_tool_warned in
   12129 yes:)
   12130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12132 ac_tool_warned=yes ;;
   12133 esac
   12134     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12135   fi
   12136 else
   12137   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12138 fi
   12139 
   12140 fi
   12141 if test -n "$PKG_CONFIG"; then
   12142 	_pkg_min_version=0.9.0
   12143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12144 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12145 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12147 $as_echo "yes" >&6; }
   12148 	else
   12149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12150 $as_echo "no" >&6; }
   12151 		PKG_CONFIG=""
   12152 	fi
   12153 
   12154 fi
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 # Check whether --enable-selective-werror was given.
   12161 if test "${enable_selective_werror+set}" = set; then :
   12162   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12163 else
   12164   SELECTIVE_WERROR=yes
   12165 fi
   12166 
   12167 
   12168 
   12169 
   12170 
   12171 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12172 if test "x$SUNCC" = "xyes"; then
   12173     BASE_CFLAGS="-v"
   12174 else
   12175     BASE_CFLAGS=""
   12176 fi
   12177 
   12178 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12179 
   12180 
   12181 
   12182 
   12183 
   12184 
   12185 
   12186 
   12187 
   12188 
   12189 
   12190 
   12191 
   12192 xorg_testset_save_CFLAGS="$CFLAGS"
   12193 
   12194 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12195 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12197 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12198 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12199   $as_echo_n "(cached) " >&6
   12200 else
   12201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12202 /* end confdefs.h.  */
   12203 int i;
   12204 _ACEOF
   12205 if ac_fn_c_try_compile "$LINENO"; then :
   12206   xorg_cv_cc_flag_unknown_warning_option=yes
   12207 else
   12208   xorg_cv_cc_flag_unknown_warning_option=no
   12209 fi
   12210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12211 fi
   12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12213 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12214 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12215 	CFLAGS="$xorg_testset_save_CFLAGS"
   12216 fi
   12217 
   12218 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12219 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12221 	fi
   12222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12224 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12225 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12226   $as_echo_n "(cached) " >&6
   12227 else
   12228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12229 /* end confdefs.h.  */
   12230 int i;
   12231 _ACEOF
   12232 if ac_fn_c_try_compile "$LINENO"; then :
   12233   xorg_cv_cc_flag_unused_command_line_argument=yes
   12234 else
   12235   xorg_cv_cc_flag_unused_command_line_argument=no
   12236 fi
   12237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12238 fi
   12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12240 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12241 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12242 	CFLAGS="$xorg_testset_save_CFLAGS"
   12243 fi
   12244 
   12245 found="no"
   12246 
   12247 	if test $found = "no" ; then
   12248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12250 		fi
   12251 
   12252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12254 		fi
   12255 
   12256 		CFLAGS="$CFLAGS -Wall"
   12257 
   12258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12259 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12260 		cacheid=xorg_cv_cc_flag__Wall
   12261 		if eval \${$cacheid+:} false; then :
   12262   $as_echo_n "(cached) " >&6
   12263 else
   12264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12265 /* end confdefs.h.  */
   12266 int i;
   12267 int
   12268 main ()
   12269 {
   12270 
   12271   ;
   12272   return 0;
   12273 }
   12274 _ACEOF
   12275 if ac_fn_c_try_link "$LINENO"; then :
   12276   eval $cacheid=yes
   12277 else
   12278   eval $cacheid=no
   12279 fi
   12280 rm -f core conftest.err conftest.$ac_objext \
   12281     conftest$ac_exeext conftest.$ac_ext
   12282 fi
   12283 
   12284 
   12285 		CFLAGS="$xorg_testset_save_CFLAGS"
   12286 
   12287 		eval supported=\$$cacheid
   12288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12289 $as_echo "$supported" >&6; }
   12290 		if test "$supported" = "yes" ; then
   12291 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12292 			found="yes"
   12293 		fi
   12294 	fi
   12295 
   12296 
   12297 
   12298 
   12299 
   12300 
   12301 
   12302 
   12303 
   12304 
   12305 
   12306 
   12307 
   12308 
   12309 
   12310 xorg_testset_save_CFLAGS="$CFLAGS"
   12311 
   12312 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12313 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12315 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12316 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12317   $as_echo_n "(cached) " >&6
   12318 else
   12319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12320 /* end confdefs.h.  */
   12321 int i;
   12322 _ACEOF
   12323 if ac_fn_c_try_compile "$LINENO"; then :
   12324   xorg_cv_cc_flag_unknown_warning_option=yes
   12325 else
   12326   xorg_cv_cc_flag_unknown_warning_option=no
   12327 fi
   12328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12329 fi
   12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12331 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12332 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12333 	CFLAGS="$xorg_testset_save_CFLAGS"
   12334 fi
   12335 
   12336 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12337 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12338 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12339 	fi
   12340 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12342 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12343 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12344   $as_echo_n "(cached) " >&6
   12345 else
   12346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12347 /* end confdefs.h.  */
   12348 int i;
   12349 _ACEOF
   12350 if ac_fn_c_try_compile "$LINENO"; then :
   12351   xorg_cv_cc_flag_unused_command_line_argument=yes
   12352 else
   12353   xorg_cv_cc_flag_unused_command_line_argument=no
   12354 fi
   12355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12356 fi
   12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12358 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12359 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12360 	CFLAGS="$xorg_testset_save_CFLAGS"
   12361 fi
   12362 
   12363 found="no"
   12364 
   12365 	if test $found = "no" ; then
   12366 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12368 		fi
   12369 
   12370 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12372 		fi
   12373 
   12374 		CFLAGS="$CFLAGS -Wpointer-arith"
   12375 
   12376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12377 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12378 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12379 		if eval \${$cacheid+:} false; then :
   12380   $as_echo_n "(cached) " >&6
   12381 else
   12382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12383 /* end confdefs.h.  */
   12384 int i;
   12385 int
   12386 main ()
   12387 {
   12388 
   12389   ;
   12390   return 0;
   12391 }
   12392 _ACEOF
   12393 if ac_fn_c_try_link "$LINENO"; then :
   12394   eval $cacheid=yes
   12395 else
   12396   eval $cacheid=no
   12397 fi
   12398 rm -f core conftest.err conftest.$ac_objext \
   12399     conftest$ac_exeext conftest.$ac_ext
   12400 fi
   12401 
   12402 
   12403 		CFLAGS="$xorg_testset_save_CFLAGS"
   12404 
   12405 		eval supported=\$$cacheid
   12406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12407 $as_echo "$supported" >&6; }
   12408 		if test "$supported" = "yes" ; then
   12409 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12410 			found="yes"
   12411 		fi
   12412 	fi
   12413 
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 xorg_testset_save_CFLAGS="$CFLAGS"
   12429 
   12430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12433 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12434 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12435   $as_echo_n "(cached) " >&6
   12436 else
   12437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12438 /* end confdefs.h.  */
   12439 int i;
   12440 _ACEOF
   12441 if ac_fn_c_try_compile "$LINENO"; then :
   12442   xorg_cv_cc_flag_unknown_warning_option=yes
   12443 else
   12444   xorg_cv_cc_flag_unknown_warning_option=no
   12445 fi
   12446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12447 fi
   12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12449 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12451 	CFLAGS="$xorg_testset_save_CFLAGS"
   12452 fi
   12453 
   12454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12457 	fi
   12458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12459 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12460 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12461 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12462   $as_echo_n "(cached) " >&6
   12463 else
   12464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12465 /* end confdefs.h.  */
   12466 int i;
   12467 _ACEOF
   12468 if ac_fn_c_try_compile "$LINENO"; then :
   12469   xorg_cv_cc_flag_unused_command_line_argument=yes
   12470 else
   12471   xorg_cv_cc_flag_unused_command_line_argument=no
   12472 fi
   12473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12474 fi
   12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12476 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12478 	CFLAGS="$xorg_testset_save_CFLAGS"
   12479 fi
   12480 
   12481 found="no"
   12482 
   12483 	if test $found = "no" ; then
   12484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12486 		fi
   12487 
   12488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12490 		fi
   12491 
   12492 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12493 
   12494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12495 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12496 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12497 		if eval \${$cacheid+:} false; then :
   12498   $as_echo_n "(cached) " >&6
   12499 else
   12500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12501 /* end confdefs.h.  */
   12502 int i;
   12503 int
   12504 main ()
   12505 {
   12506 
   12507   ;
   12508   return 0;
   12509 }
   12510 _ACEOF
   12511 if ac_fn_c_try_link "$LINENO"; then :
   12512   eval $cacheid=yes
   12513 else
   12514   eval $cacheid=no
   12515 fi
   12516 rm -f core conftest.err conftest.$ac_objext \
   12517     conftest$ac_exeext conftest.$ac_ext
   12518 fi
   12519 
   12520 
   12521 		CFLAGS="$xorg_testset_save_CFLAGS"
   12522 
   12523 		eval supported=\$$cacheid
   12524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12525 $as_echo "$supported" >&6; }
   12526 		if test "$supported" = "yes" ; then
   12527 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12528 			found="yes"
   12529 		fi
   12530 	fi
   12531 
   12532 
   12533 
   12534 
   12535 
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 
   12546 xorg_testset_save_CFLAGS="$CFLAGS"
   12547 
   12548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12551 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12552 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12553   $as_echo_n "(cached) " >&6
   12554 else
   12555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12556 /* end confdefs.h.  */
   12557 int i;
   12558 _ACEOF
   12559 if ac_fn_c_try_compile "$LINENO"; then :
   12560   xorg_cv_cc_flag_unknown_warning_option=yes
   12561 else
   12562   xorg_cv_cc_flag_unknown_warning_option=no
   12563 fi
   12564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12565 fi
   12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12567 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12568 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12569 	CFLAGS="$xorg_testset_save_CFLAGS"
   12570 fi
   12571 
   12572 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12573 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12574 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12575 	fi
   12576 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12577 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12578 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12579 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12580   $as_echo_n "(cached) " >&6
   12581 else
   12582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12583 /* end confdefs.h.  */
   12584 int i;
   12585 _ACEOF
   12586 if ac_fn_c_try_compile "$LINENO"; then :
   12587   xorg_cv_cc_flag_unused_command_line_argument=yes
   12588 else
   12589   xorg_cv_cc_flag_unused_command_line_argument=no
   12590 fi
   12591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12592 fi
   12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12594 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12595 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12596 	CFLAGS="$xorg_testset_save_CFLAGS"
   12597 fi
   12598 
   12599 found="no"
   12600 
   12601 	if test $found = "no" ; then
   12602 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12604 		fi
   12605 
   12606 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12608 		fi
   12609 
   12610 		CFLAGS="$CFLAGS -Wformat=2"
   12611 
   12612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12613 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12614 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12615 		if eval \${$cacheid+:} false; then :
   12616   $as_echo_n "(cached) " >&6
   12617 else
   12618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12619 /* end confdefs.h.  */
   12620 int i;
   12621 int
   12622 main ()
   12623 {
   12624 
   12625   ;
   12626   return 0;
   12627 }
   12628 _ACEOF
   12629 if ac_fn_c_try_link "$LINENO"; then :
   12630   eval $cacheid=yes
   12631 else
   12632   eval $cacheid=no
   12633 fi
   12634 rm -f core conftest.err conftest.$ac_objext \
   12635     conftest$ac_exeext conftest.$ac_ext
   12636 fi
   12637 
   12638 
   12639 		CFLAGS="$xorg_testset_save_CFLAGS"
   12640 
   12641 		eval supported=\$$cacheid
   12642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12643 $as_echo "$supported" >&6; }
   12644 		if test "$supported" = "yes" ; then
   12645 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12646 			found="yes"
   12647 		fi
   12648 	fi
   12649 
   12650 	if test $found = "no" ; then
   12651 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12653 		fi
   12654 
   12655 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12657 		fi
   12658 
   12659 		CFLAGS="$CFLAGS -Wformat"
   12660 
   12661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12662 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12663 		cacheid=xorg_cv_cc_flag__Wformat
   12664 		if eval \${$cacheid+:} false; then :
   12665   $as_echo_n "(cached) " >&6
   12666 else
   12667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12668 /* end confdefs.h.  */
   12669 int i;
   12670 int
   12671 main ()
   12672 {
   12673 
   12674   ;
   12675   return 0;
   12676 }
   12677 _ACEOF
   12678 if ac_fn_c_try_link "$LINENO"; then :
   12679   eval $cacheid=yes
   12680 else
   12681   eval $cacheid=no
   12682 fi
   12683 rm -f core conftest.err conftest.$ac_objext \
   12684     conftest$ac_exeext conftest.$ac_ext
   12685 fi
   12686 
   12687 
   12688 		CFLAGS="$xorg_testset_save_CFLAGS"
   12689 
   12690 		eval supported=\$$cacheid
   12691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12692 $as_echo "$supported" >&6; }
   12693 		if test "$supported" = "yes" ; then
   12694 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12695 			found="yes"
   12696 		fi
   12697 	fi
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 xorg_testset_save_CFLAGS="$CFLAGS"
   12716 
   12717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12720 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12721 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12722   $as_echo_n "(cached) " >&6
   12723 else
   12724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12725 /* end confdefs.h.  */
   12726 int i;
   12727 _ACEOF
   12728 if ac_fn_c_try_compile "$LINENO"; then :
   12729   xorg_cv_cc_flag_unknown_warning_option=yes
   12730 else
   12731   xorg_cv_cc_flag_unknown_warning_option=no
   12732 fi
   12733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12734 fi
   12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12736 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12737 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12738 	CFLAGS="$xorg_testset_save_CFLAGS"
   12739 fi
   12740 
   12741 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12742 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12743 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12744 	fi
   12745 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12747 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12748 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12749   $as_echo_n "(cached) " >&6
   12750 else
   12751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12752 /* end confdefs.h.  */
   12753 int i;
   12754 _ACEOF
   12755 if ac_fn_c_try_compile "$LINENO"; then :
   12756   xorg_cv_cc_flag_unused_command_line_argument=yes
   12757 else
   12758   xorg_cv_cc_flag_unused_command_line_argument=no
   12759 fi
   12760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12761 fi
   12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12763 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12764 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12765 	CFLAGS="$xorg_testset_save_CFLAGS"
   12766 fi
   12767 
   12768 found="no"
   12769 
   12770 	if test $found = "no" ; then
   12771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12773 		fi
   12774 
   12775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12777 		fi
   12778 
   12779 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12780 
   12781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12782 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12783 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12784 		if eval \${$cacheid+:} false; then :
   12785   $as_echo_n "(cached) " >&6
   12786 else
   12787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12788 /* end confdefs.h.  */
   12789 int i;
   12790 int
   12791 main ()
   12792 {
   12793 
   12794   ;
   12795   return 0;
   12796 }
   12797 _ACEOF
   12798 if ac_fn_c_try_link "$LINENO"; then :
   12799   eval $cacheid=yes
   12800 else
   12801   eval $cacheid=no
   12802 fi
   12803 rm -f core conftest.err conftest.$ac_objext \
   12804     conftest$ac_exeext conftest.$ac_ext
   12805 fi
   12806 
   12807 
   12808 		CFLAGS="$xorg_testset_save_CFLAGS"
   12809 
   12810 		eval supported=\$$cacheid
   12811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12812 $as_echo "$supported" >&6; }
   12813 		if test "$supported" = "yes" ; then
   12814 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12815 			found="yes"
   12816 		fi
   12817 	fi
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 xorg_testset_save_CFLAGS="$CFLAGS"
   12834 
   12835 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12836 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12837 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12838 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12839 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12840   $as_echo_n "(cached) " >&6
   12841 else
   12842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12843 /* end confdefs.h.  */
   12844 int i;
   12845 _ACEOF
   12846 if ac_fn_c_try_compile "$LINENO"; then :
   12847   xorg_cv_cc_flag_unknown_warning_option=yes
   12848 else
   12849   xorg_cv_cc_flag_unknown_warning_option=no
   12850 fi
   12851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12852 fi
   12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12854 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12855 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12856 	CFLAGS="$xorg_testset_save_CFLAGS"
   12857 fi
   12858 
   12859 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12860 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12861 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12862 	fi
   12863 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12865 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12866 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12867   $as_echo_n "(cached) " >&6
   12868 else
   12869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12870 /* end confdefs.h.  */
   12871 int i;
   12872 _ACEOF
   12873 if ac_fn_c_try_compile "$LINENO"; then :
   12874   xorg_cv_cc_flag_unused_command_line_argument=yes
   12875 else
   12876   xorg_cv_cc_flag_unused_command_line_argument=no
   12877 fi
   12878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12879 fi
   12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12881 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12882 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12883 	CFLAGS="$xorg_testset_save_CFLAGS"
   12884 fi
   12885 
   12886 found="no"
   12887 
   12888 	if test $found = "no" ; then
   12889 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12890 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12891 		fi
   12892 
   12893 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12894 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12895 		fi
   12896 
   12897 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12898 
   12899 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12900 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12901 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12902 		if eval \${$cacheid+:} false; then :
   12903   $as_echo_n "(cached) " >&6
   12904 else
   12905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12906 /* end confdefs.h.  */
   12907 int i;
   12908 int
   12909 main ()
   12910 {
   12911 
   12912   ;
   12913   return 0;
   12914 }
   12915 _ACEOF
   12916 if ac_fn_c_try_link "$LINENO"; then :
   12917   eval $cacheid=yes
   12918 else
   12919   eval $cacheid=no
   12920 fi
   12921 rm -f core conftest.err conftest.$ac_objext \
   12922     conftest$ac_exeext conftest.$ac_ext
   12923 fi
   12924 
   12925 
   12926 		CFLAGS="$xorg_testset_save_CFLAGS"
   12927 
   12928 		eval supported=\$$cacheid
   12929 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12930 $as_echo "$supported" >&6; }
   12931 		if test "$supported" = "yes" ; then
   12932 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12933 			found="yes"
   12934 		fi
   12935 	fi
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 xorg_testset_save_CFLAGS="$CFLAGS"
   12952 
   12953 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12954 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12955 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12956 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12957 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12958   $as_echo_n "(cached) " >&6
   12959 else
   12960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12961 /* end confdefs.h.  */
   12962 int i;
   12963 _ACEOF
   12964 if ac_fn_c_try_compile "$LINENO"; then :
   12965   xorg_cv_cc_flag_unknown_warning_option=yes
   12966 else
   12967   xorg_cv_cc_flag_unknown_warning_option=no
   12968 fi
   12969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12970 fi
   12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12972 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12973 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12974 	CFLAGS="$xorg_testset_save_CFLAGS"
   12975 fi
   12976 
   12977 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12978 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12979 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12980 	fi
   12981 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12983 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12984 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12985   $as_echo_n "(cached) " >&6
   12986 else
   12987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12988 /* end confdefs.h.  */
   12989 int i;
   12990 _ACEOF
   12991 if ac_fn_c_try_compile "$LINENO"; then :
   12992   xorg_cv_cc_flag_unused_command_line_argument=yes
   12993 else
   12994   xorg_cv_cc_flag_unused_command_line_argument=no
   12995 fi
   12996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12997 fi
   12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12999 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13000 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13001 	CFLAGS="$xorg_testset_save_CFLAGS"
   13002 fi
   13003 
   13004 found="no"
   13005 
   13006 	if test $found = "no" ; then
   13007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13009 		fi
   13010 
   13011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13013 		fi
   13014 
   13015 		CFLAGS="$CFLAGS -Wnested-externs"
   13016 
   13017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13018 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13019 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13020 		if eval \${$cacheid+:} false; then :
   13021   $as_echo_n "(cached) " >&6
   13022 else
   13023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13024 /* end confdefs.h.  */
   13025 int i;
   13026 int
   13027 main ()
   13028 {
   13029 
   13030   ;
   13031   return 0;
   13032 }
   13033 _ACEOF
   13034 if ac_fn_c_try_link "$LINENO"; then :
   13035   eval $cacheid=yes
   13036 else
   13037   eval $cacheid=no
   13038 fi
   13039 rm -f core conftest.err conftest.$ac_objext \
   13040     conftest$ac_exeext conftest.$ac_ext
   13041 fi
   13042 
   13043 
   13044 		CFLAGS="$xorg_testset_save_CFLAGS"
   13045 
   13046 		eval supported=\$$cacheid
   13047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13048 $as_echo "$supported" >&6; }
   13049 		if test "$supported" = "yes" ; then
   13050 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13051 			found="yes"
   13052 		fi
   13053 	fi
   13054 
   13055 
   13056 
   13057 
   13058 
   13059 
   13060 
   13061 
   13062 
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 xorg_testset_save_CFLAGS="$CFLAGS"
   13070 
   13071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13073 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13074 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13075 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13076   $as_echo_n "(cached) " >&6
   13077 else
   13078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13079 /* end confdefs.h.  */
   13080 int i;
   13081 _ACEOF
   13082 if ac_fn_c_try_compile "$LINENO"; then :
   13083   xorg_cv_cc_flag_unknown_warning_option=yes
   13084 else
   13085   xorg_cv_cc_flag_unknown_warning_option=no
   13086 fi
   13087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13088 fi
   13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13090 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13092 	CFLAGS="$xorg_testset_save_CFLAGS"
   13093 fi
   13094 
   13095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13098 	fi
   13099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13101 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13102 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13103   $as_echo_n "(cached) " >&6
   13104 else
   13105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13106 /* end confdefs.h.  */
   13107 int i;
   13108 _ACEOF
   13109 if ac_fn_c_try_compile "$LINENO"; then :
   13110   xorg_cv_cc_flag_unused_command_line_argument=yes
   13111 else
   13112   xorg_cv_cc_flag_unused_command_line_argument=no
   13113 fi
   13114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13115 fi
   13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13117 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13118 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13119 	CFLAGS="$xorg_testset_save_CFLAGS"
   13120 fi
   13121 
   13122 found="no"
   13123 
   13124 	if test $found = "no" ; then
   13125 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13127 		fi
   13128 
   13129 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13131 		fi
   13132 
   13133 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13134 
   13135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13136 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13137 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13138 		if eval \${$cacheid+:} false; then :
   13139   $as_echo_n "(cached) " >&6
   13140 else
   13141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13142 /* end confdefs.h.  */
   13143 int i;
   13144 int
   13145 main ()
   13146 {
   13147 
   13148   ;
   13149   return 0;
   13150 }
   13151 _ACEOF
   13152 if ac_fn_c_try_link "$LINENO"; then :
   13153   eval $cacheid=yes
   13154 else
   13155   eval $cacheid=no
   13156 fi
   13157 rm -f core conftest.err conftest.$ac_objext \
   13158     conftest$ac_exeext conftest.$ac_ext
   13159 fi
   13160 
   13161 
   13162 		CFLAGS="$xorg_testset_save_CFLAGS"
   13163 
   13164 		eval supported=\$$cacheid
   13165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13166 $as_echo "$supported" >&6; }
   13167 		if test "$supported" = "yes" ; then
   13168 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13169 			found="yes"
   13170 		fi
   13171 	fi
   13172 
   13173 
   13174 
   13175 
   13176 
   13177 
   13178 
   13179 
   13180 
   13181 
   13182 
   13183 
   13184 
   13185 
   13186 
   13187 xorg_testset_save_CFLAGS="$CFLAGS"
   13188 
   13189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13192 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13193 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13194   $as_echo_n "(cached) " >&6
   13195 else
   13196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13197 /* end confdefs.h.  */
   13198 int i;
   13199 _ACEOF
   13200 if ac_fn_c_try_compile "$LINENO"; then :
   13201   xorg_cv_cc_flag_unknown_warning_option=yes
   13202 else
   13203   xorg_cv_cc_flag_unknown_warning_option=no
   13204 fi
   13205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13206 fi
   13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13208 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13210 	CFLAGS="$xorg_testset_save_CFLAGS"
   13211 fi
   13212 
   13213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13216 	fi
   13217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13219 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13220 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13221   $as_echo_n "(cached) " >&6
   13222 else
   13223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13224 /* end confdefs.h.  */
   13225 int i;
   13226 _ACEOF
   13227 if ac_fn_c_try_compile "$LINENO"; then :
   13228   xorg_cv_cc_flag_unused_command_line_argument=yes
   13229 else
   13230   xorg_cv_cc_flag_unused_command_line_argument=no
   13231 fi
   13232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13233 fi
   13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13235 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13236 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13237 	CFLAGS="$xorg_testset_save_CFLAGS"
   13238 fi
   13239 
   13240 found="no"
   13241 
   13242 	if test $found = "no" ; then
   13243 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13244 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13245 		fi
   13246 
   13247 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13248 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13249 		fi
   13250 
   13251 		CFLAGS="$CFLAGS -Wold-style-definition"
   13252 
   13253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13254 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13255 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13256 		if eval \${$cacheid+:} false; then :
   13257   $as_echo_n "(cached) " >&6
   13258 else
   13259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13260 /* end confdefs.h.  */
   13261 int i;
   13262 int
   13263 main ()
   13264 {
   13265 
   13266   ;
   13267   return 0;
   13268 }
   13269 _ACEOF
   13270 if ac_fn_c_try_link "$LINENO"; then :
   13271   eval $cacheid=yes
   13272 else
   13273   eval $cacheid=no
   13274 fi
   13275 rm -f core conftest.err conftest.$ac_objext \
   13276     conftest$ac_exeext conftest.$ac_ext
   13277 fi
   13278 
   13279 
   13280 		CFLAGS="$xorg_testset_save_CFLAGS"
   13281 
   13282 		eval supported=\$$cacheid
   13283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13284 $as_echo "$supported" >&6; }
   13285 		if test "$supported" = "yes" ; then
   13286 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13287 			found="yes"
   13288 		fi
   13289 	fi
   13290 
   13291 	if test $found = "no" ; then
   13292 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13293 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13294 		fi
   13295 
   13296 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13297 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13298 		fi
   13299 
   13300 		CFLAGS="$CFLAGS -fd"
   13301 
   13302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13303 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13304 		cacheid=xorg_cv_cc_flag__fd
   13305 		if eval \${$cacheid+:} false; then :
   13306   $as_echo_n "(cached) " >&6
   13307 else
   13308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13309 /* end confdefs.h.  */
   13310 int i;
   13311 int
   13312 main ()
   13313 {
   13314 
   13315   ;
   13316   return 0;
   13317 }
   13318 _ACEOF
   13319 if ac_fn_c_try_link "$LINENO"; then :
   13320   eval $cacheid=yes
   13321 else
   13322   eval $cacheid=no
   13323 fi
   13324 rm -f core conftest.err conftest.$ac_objext \
   13325     conftest$ac_exeext conftest.$ac_ext
   13326 fi
   13327 
   13328 
   13329 		CFLAGS="$xorg_testset_save_CFLAGS"
   13330 
   13331 		eval supported=\$$cacheid
   13332 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13333 $as_echo "$supported" >&6; }
   13334 		if test "$supported" = "yes" ; then
   13335 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13336 			found="yes"
   13337 		fi
   13338 	fi
   13339 
   13340 
   13341 
   13342 
   13343 
   13344 
   13345 
   13346 
   13347 
   13348 
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 xorg_testset_save_CFLAGS="$CFLAGS"
   13355 
   13356 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13357 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13358 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13359 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13360 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13361   $as_echo_n "(cached) " >&6
   13362 else
   13363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13364 /* end confdefs.h.  */
   13365 int i;
   13366 _ACEOF
   13367 if ac_fn_c_try_compile "$LINENO"; then :
   13368   xorg_cv_cc_flag_unknown_warning_option=yes
   13369 else
   13370   xorg_cv_cc_flag_unknown_warning_option=no
   13371 fi
   13372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13373 fi
   13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13375 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13376 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13377 	CFLAGS="$xorg_testset_save_CFLAGS"
   13378 fi
   13379 
   13380 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13381 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13382 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13383 	fi
   13384 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13386 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13387 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13388   $as_echo_n "(cached) " >&6
   13389 else
   13390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13391 /* end confdefs.h.  */
   13392 int i;
   13393 _ACEOF
   13394 if ac_fn_c_try_compile "$LINENO"; then :
   13395   xorg_cv_cc_flag_unused_command_line_argument=yes
   13396 else
   13397   xorg_cv_cc_flag_unused_command_line_argument=no
   13398 fi
   13399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13400 fi
   13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13402 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13403 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13404 	CFLAGS="$xorg_testset_save_CFLAGS"
   13405 fi
   13406 
   13407 found="no"
   13408 
   13409 	if test $found = "no" ; then
   13410 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13412 		fi
   13413 
   13414 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13416 		fi
   13417 
   13418 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13419 
   13420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13421 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13422 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13423 		if eval \${$cacheid+:} false; then :
   13424   $as_echo_n "(cached) " >&6
   13425 else
   13426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13427 /* end confdefs.h.  */
   13428 int i;
   13429 int
   13430 main ()
   13431 {
   13432 
   13433   ;
   13434   return 0;
   13435 }
   13436 _ACEOF
   13437 if ac_fn_c_try_link "$LINENO"; then :
   13438   eval $cacheid=yes
   13439 else
   13440   eval $cacheid=no
   13441 fi
   13442 rm -f core conftest.err conftest.$ac_objext \
   13443     conftest$ac_exeext conftest.$ac_ext
   13444 fi
   13445 
   13446 
   13447 		CFLAGS="$xorg_testset_save_CFLAGS"
   13448 
   13449 		eval supported=\$$cacheid
   13450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13451 $as_echo "$supported" >&6; }
   13452 		if test "$supported" = "yes" ; then
   13453 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13454 			found="yes"
   13455 		fi
   13456 	fi
   13457 
   13458 
   13459 
   13460 
   13461 
   13462 # This chunk adds additional warnings that could catch undesired effects.
   13463 
   13464 
   13465 
   13466 
   13467 
   13468 
   13469 
   13470 
   13471 
   13472 
   13473 
   13474 
   13475 
   13476 xorg_testset_save_CFLAGS="$CFLAGS"
   13477 
   13478 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13479 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13480 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13481 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13482 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13483   $as_echo_n "(cached) " >&6
   13484 else
   13485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13486 /* end confdefs.h.  */
   13487 int i;
   13488 _ACEOF
   13489 if ac_fn_c_try_compile "$LINENO"; then :
   13490   xorg_cv_cc_flag_unknown_warning_option=yes
   13491 else
   13492   xorg_cv_cc_flag_unknown_warning_option=no
   13493 fi
   13494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13495 fi
   13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13497 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13498 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13499 	CFLAGS="$xorg_testset_save_CFLAGS"
   13500 fi
   13501 
   13502 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13503 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13504 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13505 	fi
   13506 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13507 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13508 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13509 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13510   $as_echo_n "(cached) " >&6
   13511 else
   13512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13513 /* end confdefs.h.  */
   13514 int i;
   13515 _ACEOF
   13516 if ac_fn_c_try_compile "$LINENO"; then :
   13517   xorg_cv_cc_flag_unused_command_line_argument=yes
   13518 else
   13519   xorg_cv_cc_flag_unused_command_line_argument=no
   13520 fi
   13521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13522 fi
   13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13524 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13525 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13526 	CFLAGS="$xorg_testset_save_CFLAGS"
   13527 fi
   13528 
   13529 found="no"
   13530 
   13531 	if test $found = "no" ; then
   13532 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13533 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13534 		fi
   13535 
   13536 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13537 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13538 		fi
   13539 
   13540 		CFLAGS="$CFLAGS -Wunused"
   13541 
   13542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13543 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13544 		cacheid=xorg_cv_cc_flag__Wunused
   13545 		if eval \${$cacheid+:} false; then :
   13546   $as_echo_n "(cached) " >&6
   13547 else
   13548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13549 /* end confdefs.h.  */
   13550 int i;
   13551 int
   13552 main ()
   13553 {
   13554 
   13555   ;
   13556   return 0;
   13557 }
   13558 _ACEOF
   13559 if ac_fn_c_try_link "$LINENO"; then :
   13560   eval $cacheid=yes
   13561 else
   13562   eval $cacheid=no
   13563 fi
   13564 rm -f core conftest.err conftest.$ac_objext \
   13565     conftest$ac_exeext conftest.$ac_ext
   13566 fi
   13567 
   13568 
   13569 		CFLAGS="$xorg_testset_save_CFLAGS"
   13570 
   13571 		eval supported=\$$cacheid
   13572 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13573 $as_echo "$supported" >&6; }
   13574 		if test "$supported" = "yes" ; then
   13575 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13576 			found="yes"
   13577 		fi
   13578 	fi
   13579 
   13580 
   13581 
   13582 
   13583 
   13584 
   13585 
   13586 
   13587 
   13588 
   13589 
   13590 
   13591 
   13592 
   13593 
   13594 xorg_testset_save_CFLAGS="$CFLAGS"
   13595 
   13596 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13597 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13598 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13599 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13600 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13601   $as_echo_n "(cached) " >&6
   13602 else
   13603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13604 /* end confdefs.h.  */
   13605 int i;
   13606 _ACEOF
   13607 if ac_fn_c_try_compile "$LINENO"; then :
   13608   xorg_cv_cc_flag_unknown_warning_option=yes
   13609 else
   13610   xorg_cv_cc_flag_unknown_warning_option=no
   13611 fi
   13612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13613 fi
   13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13615 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13616 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13617 	CFLAGS="$xorg_testset_save_CFLAGS"
   13618 fi
   13619 
   13620 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13621 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13622 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13623 	fi
   13624 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13626 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13627 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13628   $as_echo_n "(cached) " >&6
   13629 else
   13630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13631 /* end confdefs.h.  */
   13632 int i;
   13633 _ACEOF
   13634 if ac_fn_c_try_compile "$LINENO"; then :
   13635   xorg_cv_cc_flag_unused_command_line_argument=yes
   13636 else
   13637   xorg_cv_cc_flag_unused_command_line_argument=no
   13638 fi
   13639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13640 fi
   13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13642 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13643 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13644 	CFLAGS="$xorg_testset_save_CFLAGS"
   13645 fi
   13646 
   13647 found="no"
   13648 
   13649 	if test $found = "no" ; then
   13650 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13652 		fi
   13653 
   13654 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13656 		fi
   13657 
   13658 		CFLAGS="$CFLAGS -Wuninitialized"
   13659 
   13660 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13661 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13662 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13663 		if eval \${$cacheid+:} false; then :
   13664   $as_echo_n "(cached) " >&6
   13665 else
   13666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13667 /* end confdefs.h.  */
   13668 int i;
   13669 int
   13670 main ()
   13671 {
   13672 
   13673   ;
   13674   return 0;
   13675 }
   13676 _ACEOF
   13677 if ac_fn_c_try_link "$LINENO"; then :
   13678   eval $cacheid=yes
   13679 else
   13680   eval $cacheid=no
   13681 fi
   13682 rm -f core conftest.err conftest.$ac_objext \
   13683     conftest$ac_exeext conftest.$ac_ext
   13684 fi
   13685 
   13686 
   13687 		CFLAGS="$xorg_testset_save_CFLAGS"
   13688 
   13689 		eval supported=\$$cacheid
   13690 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13691 $as_echo "$supported" >&6; }
   13692 		if test "$supported" = "yes" ; then
   13693 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13694 			found="yes"
   13695 		fi
   13696 	fi
   13697 
   13698 
   13699 
   13700 
   13701 
   13702 
   13703 
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 
   13711 
   13712 xorg_testset_save_CFLAGS="$CFLAGS"
   13713 
   13714 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13715 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13716 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13717 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13718 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13719   $as_echo_n "(cached) " >&6
   13720 else
   13721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13722 /* end confdefs.h.  */
   13723 int i;
   13724 _ACEOF
   13725 if ac_fn_c_try_compile "$LINENO"; then :
   13726   xorg_cv_cc_flag_unknown_warning_option=yes
   13727 else
   13728   xorg_cv_cc_flag_unknown_warning_option=no
   13729 fi
   13730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13731 fi
   13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13733 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13734 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13735 	CFLAGS="$xorg_testset_save_CFLAGS"
   13736 fi
   13737 
   13738 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13739 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13740 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13741 	fi
   13742 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13744 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13745 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13746   $as_echo_n "(cached) " >&6
   13747 else
   13748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13749 /* end confdefs.h.  */
   13750 int i;
   13751 _ACEOF
   13752 if ac_fn_c_try_compile "$LINENO"; then :
   13753   xorg_cv_cc_flag_unused_command_line_argument=yes
   13754 else
   13755   xorg_cv_cc_flag_unused_command_line_argument=no
   13756 fi
   13757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13758 fi
   13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13760 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13761 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13762 	CFLAGS="$xorg_testset_save_CFLAGS"
   13763 fi
   13764 
   13765 found="no"
   13766 
   13767 	if test $found = "no" ; then
   13768 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13769 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13770 		fi
   13771 
   13772 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13773 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13774 		fi
   13775 
   13776 		CFLAGS="$CFLAGS -Wshadow"
   13777 
   13778 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13779 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13780 		cacheid=xorg_cv_cc_flag__Wshadow
   13781 		if eval \${$cacheid+:} false; then :
   13782   $as_echo_n "(cached) " >&6
   13783 else
   13784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13785 /* end confdefs.h.  */
   13786 int i;
   13787 int
   13788 main ()
   13789 {
   13790 
   13791   ;
   13792   return 0;
   13793 }
   13794 _ACEOF
   13795 if ac_fn_c_try_link "$LINENO"; then :
   13796   eval $cacheid=yes
   13797 else
   13798   eval $cacheid=no
   13799 fi
   13800 rm -f core conftest.err conftest.$ac_objext \
   13801     conftest$ac_exeext conftest.$ac_ext
   13802 fi
   13803 
   13804 
   13805 		CFLAGS="$xorg_testset_save_CFLAGS"
   13806 
   13807 		eval supported=\$$cacheid
   13808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13809 $as_echo "$supported" >&6; }
   13810 		if test "$supported" = "yes" ; then
   13811 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13812 			found="yes"
   13813 		fi
   13814 	fi
   13815 
   13816 
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 
   13829 
   13830 xorg_testset_save_CFLAGS="$CFLAGS"
   13831 
   13832 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13833 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13834 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13835 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13836 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13837   $as_echo_n "(cached) " >&6
   13838 else
   13839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13840 /* end confdefs.h.  */
   13841 int i;
   13842 _ACEOF
   13843 if ac_fn_c_try_compile "$LINENO"; then :
   13844   xorg_cv_cc_flag_unknown_warning_option=yes
   13845 else
   13846   xorg_cv_cc_flag_unknown_warning_option=no
   13847 fi
   13848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13849 fi
   13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13851 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13853 	CFLAGS="$xorg_testset_save_CFLAGS"
   13854 fi
   13855 
   13856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13859 	fi
   13860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13861 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13862 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13863 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13864   $as_echo_n "(cached) " >&6
   13865 else
   13866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13867 /* end confdefs.h.  */
   13868 int i;
   13869 _ACEOF
   13870 if ac_fn_c_try_compile "$LINENO"; then :
   13871   xorg_cv_cc_flag_unused_command_line_argument=yes
   13872 else
   13873   xorg_cv_cc_flag_unused_command_line_argument=no
   13874 fi
   13875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13876 fi
   13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13878 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13880 	CFLAGS="$xorg_testset_save_CFLAGS"
   13881 fi
   13882 
   13883 found="no"
   13884 
   13885 	if test $found = "no" ; then
   13886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13888 		fi
   13889 
   13890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13892 		fi
   13893 
   13894 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13895 
   13896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13897 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13898 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13899 		if eval \${$cacheid+:} false; then :
   13900   $as_echo_n "(cached) " >&6
   13901 else
   13902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13903 /* end confdefs.h.  */
   13904 int i;
   13905 int
   13906 main ()
   13907 {
   13908 
   13909   ;
   13910   return 0;
   13911 }
   13912 _ACEOF
   13913 if ac_fn_c_try_link "$LINENO"; then :
   13914   eval $cacheid=yes
   13915 else
   13916   eval $cacheid=no
   13917 fi
   13918 rm -f core conftest.err conftest.$ac_objext \
   13919     conftest$ac_exeext conftest.$ac_ext
   13920 fi
   13921 
   13922 
   13923 		CFLAGS="$xorg_testset_save_CFLAGS"
   13924 
   13925 		eval supported=\$$cacheid
   13926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13927 $as_echo "$supported" >&6; }
   13928 		if test "$supported" = "yes" ; then
   13929 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13930 			found="yes"
   13931 		fi
   13932 	fi
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 
   13939 
   13940 
   13941 
   13942 
   13943 
   13944 
   13945 
   13946 
   13947 
   13948 xorg_testset_save_CFLAGS="$CFLAGS"
   13949 
   13950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13953 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13954 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13955   $as_echo_n "(cached) " >&6
   13956 else
   13957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13958 /* end confdefs.h.  */
   13959 int i;
   13960 _ACEOF
   13961 if ac_fn_c_try_compile "$LINENO"; then :
   13962   xorg_cv_cc_flag_unknown_warning_option=yes
   13963 else
   13964   xorg_cv_cc_flag_unknown_warning_option=no
   13965 fi
   13966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13967 fi
   13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13969 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13971 	CFLAGS="$xorg_testset_save_CFLAGS"
   13972 fi
   13973 
   13974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13977 	fi
   13978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13980 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13981 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13982   $as_echo_n "(cached) " >&6
   13983 else
   13984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13985 /* end confdefs.h.  */
   13986 int i;
   13987 _ACEOF
   13988 if ac_fn_c_try_compile "$LINENO"; then :
   13989   xorg_cv_cc_flag_unused_command_line_argument=yes
   13990 else
   13991   xorg_cv_cc_flag_unused_command_line_argument=no
   13992 fi
   13993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13994 fi
   13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13996 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13997 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13998 	CFLAGS="$xorg_testset_save_CFLAGS"
   13999 fi
   14000 
   14001 found="no"
   14002 
   14003 	if test $found = "no" ; then
   14004 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14006 		fi
   14007 
   14008 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14010 		fi
   14011 
   14012 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14013 
   14014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14015 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14016 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14017 		if eval \${$cacheid+:} false; then :
   14018   $as_echo_n "(cached) " >&6
   14019 else
   14020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14021 /* end confdefs.h.  */
   14022 int i;
   14023 int
   14024 main ()
   14025 {
   14026 
   14027   ;
   14028   return 0;
   14029 }
   14030 _ACEOF
   14031 if ac_fn_c_try_link "$LINENO"; then :
   14032   eval $cacheid=yes
   14033 else
   14034   eval $cacheid=no
   14035 fi
   14036 rm -f core conftest.err conftest.$ac_objext \
   14037     conftest$ac_exeext conftest.$ac_ext
   14038 fi
   14039 
   14040 
   14041 		CFLAGS="$xorg_testset_save_CFLAGS"
   14042 
   14043 		eval supported=\$$cacheid
   14044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14045 $as_echo "$supported" >&6; }
   14046 		if test "$supported" = "yes" ; then
   14047 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14048 			found="yes"
   14049 		fi
   14050 	fi
   14051 
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 
   14066 xorg_testset_save_CFLAGS="$CFLAGS"
   14067 
   14068 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14069 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14071 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14072 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14073   $as_echo_n "(cached) " >&6
   14074 else
   14075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14076 /* end confdefs.h.  */
   14077 int i;
   14078 _ACEOF
   14079 if ac_fn_c_try_compile "$LINENO"; then :
   14080   xorg_cv_cc_flag_unknown_warning_option=yes
   14081 else
   14082   xorg_cv_cc_flag_unknown_warning_option=no
   14083 fi
   14084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14085 fi
   14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14087 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14088 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14089 	CFLAGS="$xorg_testset_save_CFLAGS"
   14090 fi
   14091 
   14092 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14093 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14094 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14095 	fi
   14096 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14097 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14098 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14099 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14100   $as_echo_n "(cached) " >&6
   14101 else
   14102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14103 /* end confdefs.h.  */
   14104 int i;
   14105 _ACEOF
   14106 if ac_fn_c_try_compile "$LINENO"; then :
   14107   xorg_cv_cc_flag_unused_command_line_argument=yes
   14108 else
   14109   xorg_cv_cc_flag_unused_command_line_argument=no
   14110 fi
   14111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14112 fi
   14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14114 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14115 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14116 	CFLAGS="$xorg_testset_save_CFLAGS"
   14117 fi
   14118 
   14119 found="no"
   14120 
   14121 	if test $found = "no" ; then
   14122 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14124 		fi
   14125 
   14126 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14128 		fi
   14129 
   14130 		CFLAGS="$CFLAGS -Wredundant-decls"
   14131 
   14132 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14133 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14134 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14135 		if eval \${$cacheid+:} false; then :
   14136   $as_echo_n "(cached) " >&6
   14137 else
   14138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14139 /* end confdefs.h.  */
   14140 int i;
   14141 int
   14142 main ()
   14143 {
   14144 
   14145   ;
   14146   return 0;
   14147 }
   14148 _ACEOF
   14149 if ac_fn_c_try_link "$LINENO"; then :
   14150   eval $cacheid=yes
   14151 else
   14152   eval $cacheid=no
   14153 fi
   14154 rm -f core conftest.err conftest.$ac_objext \
   14155     conftest$ac_exeext conftest.$ac_ext
   14156 fi
   14157 
   14158 
   14159 		CFLAGS="$xorg_testset_save_CFLAGS"
   14160 
   14161 		eval supported=\$$cacheid
   14162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14163 $as_echo "$supported" >&6; }
   14164 		if test "$supported" = "yes" ; then
   14165 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14166 			found="yes"
   14167 		fi
   14168 	fi
   14169 
   14170 
   14171 
   14172 
   14173 
   14174 
   14175 
   14176 
   14177 
   14178 
   14179 
   14180 
   14181 
   14182 
   14183 
   14184 xorg_testset_save_CFLAGS="$CFLAGS"
   14185 
   14186 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14187 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14189 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14190 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14191   $as_echo_n "(cached) " >&6
   14192 else
   14193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14194 /* end confdefs.h.  */
   14195 int i;
   14196 _ACEOF
   14197 if ac_fn_c_try_compile "$LINENO"; then :
   14198   xorg_cv_cc_flag_unknown_warning_option=yes
   14199 else
   14200   xorg_cv_cc_flag_unknown_warning_option=no
   14201 fi
   14202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14203 fi
   14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14205 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14206 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14207 	CFLAGS="$xorg_testset_save_CFLAGS"
   14208 fi
   14209 
   14210 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14211 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14212 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14213 	fi
   14214 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14215 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14216 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14217 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14218   $as_echo_n "(cached) " >&6
   14219 else
   14220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14221 /* end confdefs.h.  */
   14222 int i;
   14223 _ACEOF
   14224 if ac_fn_c_try_compile "$LINENO"; then :
   14225   xorg_cv_cc_flag_unused_command_line_argument=yes
   14226 else
   14227   xorg_cv_cc_flag_unused_command_line_argument=no
   14228 fi
   14229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14230 fi
   14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14232 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14233 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14234 	CFLAGS="$xorg_testset_save_CFLAGS"
   14235 fi
   14236 
   14237 found="no"
   14238 
   14239 	if test $found = "no" ; then
   14240 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14242 		fi
   14243 
   14244 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14246 		fi
   14247 
   14248 		CFLAGS="$CFLAGS -Wlogical-op"
   14249 
   14250 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14251 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14252 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14253 		if eval \${$cacheid+:} false; then :
   14254   $as_echo_n "(cached) " >&6
   14255 else
   14256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14257 /* end confdefs.h.  */
   14258 int i;
   14259 int
   14260 main ()
   14261 {
   14262 
   14263   ;
   14264   return 0;
   14265 }
   14266 _ACEOF
   14267 if ac_fn_c_try_link "$LINENO"; then :
   14268   eval $cacheid=yes
   14269 else
   14270   eval $cacheid=no
   14271 fi
   14272 rm -f core conftest.err conftest.$ac_objext \
   14273     conftest$ac_exeext conftest.$ac_ext
   14274 fi
   14275 
   14276 
   14277 		CFLAGS="$xorg_testset_save_CFLAGS"
   14278 
   14279 		eval supported=\$$cacheid
   14280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14281 $as_echo "$supported" >&6; }
   14282 		if test "$supported" = "yes" ; then
   14283 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14284 			found="yes"
   14285 		fi
   14286 	fi
   14287 
   14288 
   14289 
   14290 # These are currently disabled because they are noisy.  They will be enabled
   14291 # in the future once the codebase is sufficiently modernized to silence
   14292 # them.  For now, I don't want them to drown out the other warnings.
   14293 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14294 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14295 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14296 
   14297 # Turn some warnings into errors, so we don't accidently get successful builds
   14298 # when there are problems that should be fixed.
   14299 
   14300 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14301 
   14302 
   14303 
   14304 
   14305 
   14306 
   14307 
   14308 
   14309 
   14310 
   14311 
   14312 
   14313 
   14314 xorg_testset_save_CFLAGS="$CFLAGS"
   14315 
   14316 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14317 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14318 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14319 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14320 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14321   $as_echo_n "(cached) " >&6
   14322 else
   14323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14324 /* end confdefs.h.  */
   14325 int i;
   14326 _ACEOF
   14327 if ac_fn_c_try_compile "$LINENO"; then :
   14328   xorg_cv_cc_flag_unknown_warning_option=yes
   14329 else
   14330   xorg_cv_cc_flag_unknown_warning_option=no
   14331 fi
   14332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14333 fi
   14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14335 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14336 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14337 	CFLAGS="$xorg_testset_save_CFLAGS"
   14338 fi
   14339 
   14340 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14341 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14342 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14343 	fi
   14344 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14345 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14346 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14347 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14348   $as_echo_n "(cached) " >&6
   14349 else
   14350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14351 /* end confdefs.h.  */
   14352 int i;
   14353 _ACEOF
   14354 if ac_fn_c_try_compile "$LINENO"; then :
   14355   xorg_cv_cc_flag_unused_command_line_argument=yes
   14356 else
   14357   xorg_cv_cc_flag_unused_command_line_argument=no
   14358 fi
   14359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14360 fi
   14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14362 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14363 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14364 	CFLAGS="$xorg_testset_save_CFLAGS"
   14365 fi
   14366 
   14367 found="no"
   14368 
   14369 	if test $found = "no" ; then
   14370 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14371 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14372 		fi
   14373 
   14374 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14375 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14376 		fi
   14377 
   14378 		CFLAGS="$CFLAGS -Werror=implicit"
   14379 
   14380 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14381 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14382 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   14383 		if eval \${$cacheid+:} false; then :
   14384   $as_echo_n "(cached) " >&6
   14385 else
   14386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14387 /* end confdefs.h.  */
   14388 int i;
   14389 int
   14390 main ()
   14391 {
   14392 
   14393   ;
   14394   return 0;
   14395 }
   14396 _ACEOF
   14397 if ac_fn_c_try_link "$LINENO"; then :
   14398   eval $cacheid=yes
   14399 else
   14400   eval $cacheid=no
   14401 fi
   14402 rm -f core conftest.err conftest.$ac_objext \
   14403     conftest$ac_exeext conftest.$ac_ext
   14404 fi
   14405 
   14406 
   14407 		CFLAGS="$xorg_testset_save_CFLAGS"
   14408 
   14409 		eval supported=\$$cacheid
   14410 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14411 $as_echo "$supported" >&6; }
   14412 		if test "$supported" = "yes" ; then
   14413 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14414 			found="yes"
   14415 		fi
   14416 	fi
   14417 
   14418 	if test $found = "no" ; then
   14419 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14420 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14421 		fi
   14422 
   14423 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14424 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14425 		fi
   14426 
   14427 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14428 
   14429 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14430 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14431 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   14432 		if eval \${$cacheid+:} false; then :
   14433   $as_echo_n "(cached) " >&6
   14434 else
   14435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14436 /* end confdefs.h.  */
   14437 int i;
   14438 int
   14439 main ()
   14440 {
   14441 
   14442   ;
   14443   return 0;
   14444 }
   14445 _ACEOF
   14446 if ac_fn_c_try_link "$LINENO"; then :
   14447   eval $cacheid=yes
   14448 else
   14449   eval $cacheid=no
   14450 fi
   14451 rm -f core conftest.err conftest.$ac_objext \
   14452     conftest$ac_exeext conftest.$ac_ext
   14453 fi
   14454 
   14455 
   14456 		CFLAGS="$xorg_testset_save_CFLAGS"
   14457 
   14458 		eval supported=\$$cacheid
   14459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14460 $as_echo "$supported" >&6; }
   14461 		if test "$supported" = "yes" ; then
   14462 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14463 			found="yes"
   14464 		fi
   14465 	fi
   14466 
   14467 
   14468 
   14469 
   14470 
   14471 
   14472 
   14473 
   14474 
   14475 
   14476 
   14477 
   14478 
   14479 
   14480 
   14481 xorg_testset_save_CFLAGS="$CFLAGS"
   14482 
   14483 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14484 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14486 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14487 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14488   $as_echo_n "(cached) " >&6
   14489 else
   14490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14491 /* end confdefs.h.  */
   14492 int i;
   14493 _ACEOF
   14494 if ac_fn_c_try_compile "$LINENO"; then :
   14495   xorg_cv_cc_flag_unknown_warning_option=yes
   14496 else
   14497   xorg_cv_cc_flag_unknown_warning_option=no
   14498 fi
   14499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14500 fi
   14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14502 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14503 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14504 	CFLAGS="$xorg_testset_save_CFLAGS"
   14505 fi
   14506 
   14507 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14508 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14509 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14510 	fi
   14511 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14512 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14513 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14514 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14515   $as_echo_n "(cached) " >&6
   14516 else
   14517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14518 /* end confdefs.h.  */
   14519 int i;
   14520 _ACEOF
   14521 if ac_fn_c_try_compile "$LINENO"; then :
   14522   xorg_cv_cc_flag_unused_command_line_argument=yes
   14523 else
   14524   xorg_cv_cc_flag_unused_command_line_argument=no
   14525 fi
   14526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14527 fi
   14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14529 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14530 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14531 	CFLAGS="$xorg_testset_save_CFLAGS"
   14532 fi
   14533 
   14534 found="no"
   14535 
   14536 	if test $found = "no" ; then
   14537 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14538 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14539 		fi
   14540 
   14541 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14542 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14543 		fi
   14544 
   14545 		CFLAGS="$CFLAGS -Werror=nonnull"
   14546 
   14547 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14548 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14549 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   14550 		if eval \${$cacheid+:} false; then :
   14551   $as_echo_n "(cached) " >&6
   14552 else
   14553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14554 /* end confdefs.h.  */
   14555 int i;
   14556 int
   14557 main ()
   14558 {
   14559 
   14560   ;
   14561   return 0;
   14562 }
   14563 _ACEOF
   14564 if ac_fn_c_try_link "$LINENO"; then :
   14565   eval $cacheid=yes
   14566 else
   14567   eval $cacheid=no
   14568 fi
   14569 rm -f core conftest.err conftest.$ac_objext \
   14570     conftest$ac_exeext conftest.$ac_ext
   14571 fi
   14572 
   14573 
   14574 		CFLAGS="$xorg_testset_save_CFLAGS"
   14575 
   14576 		eval supported=\$$cacheid
   14577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14578 $as_echo "$supported" >&6; }
   14579 		if test "$supported" = "yes" ; then
   14580 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14581 			found="yes"
   14582 		fi
   14583 	fi
   14584 
   14585 
   14586 
   14587 
   14588 
   14589 
   14590 
   14591 
   14592 
   14593 
   14594 
   14595 
   14596 
   14597 
   14598 
   14599 xorg_testset_save_CFLAGS="$CFLAGS"
   14600 
   14601 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14602 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14604 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14605 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14606   $as_echo_n "(cached) " >&6
   14607 else
   14608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14609 /* end confdefs.h.  */
   14610 int i;
   14611 _ACEOF
   14612 if ac_fn_c_try_compile "$LINENO"; then :
   14613   xorg_cv_cc_flag_unknown_warning_option=yes
   14614 else
   14615   xorg_cv_cc_flag_unknown_warning_option=no
   14616 fi
   14617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14618 fi
   14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14620 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14621 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14622 	CFLAGS="$xorg_testset_save_CFLAGS"
   14623 fi
   14624 
   14625 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14626 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14627 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14628 	fi
   14629 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14630 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14631 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14632 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14633   $as_echo_n "(cached) " >&6
   14634 else
   14635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14636 /* end confdefs.h.  */
   14637 int i;
   14638 _ACEOF
   14639 if ac_fn_c_try_compile "$LINENO"; then :
   14640   xorg_cv_cc_flag_unused_command_line_argument=yes
   14641 else
   14642   xorg_cv_cc_flag_unused_command_line_argument=no
   14643 fi
   14644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14645 fi
   14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14647 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14648 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14649 	CFLAGS="$xorg_testset_save_CFLAGS"
   14650 fi
   14651 
   14652 found="no"
   14653 
   14654 	if test $found = "no" ; then
   14655 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14656 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14657 		fi
   14658 
   14659 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14660 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14661 		fi
   14662 
   14663 		CFLAGS="$CFLAGS -Werror=init-self"
   14664 
   14665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14666 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14667 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14668 		if eval \${$cacheid+:} false; then :
   14669   $as_echo_n "(cached) " >&6
   14670 else
   14671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14672 /* end confdefs.h.  */
   14673 int i;
   14674 int
   14675 main ()
   14676 {
   14677 
   14678   ;
   14679   return 0;
   14680 }
   14681 _ACEOF
   14682 if ac_fn_c_try_link "$LINENO"; then :
   14683   eval $cacheid=yes
   14684 else
   14685   eval $cacheid=no
   14686 fi
   14687 rm -f core conftest.err conftest.$ac_objext \
   14688     conftest$ac_exeext conftest.$ac_ext
   14689 fi
   14690 
   14691 
   14692 		CFLAGS="$xorg_testset_save_CFLAGS"
   14693 
   14694 		eval supported=\$$cacheid
   14695 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14696 $as_echo "$supported" >&6; }
   14697 		if test "$supported" = "yes" ; then
   14698 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14699 			found="yes"
   14700 		fi
   14701 	fi
   14702 
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 
   14714 
   14715 
   14716 
   14717 xorg_testset_save_CFLAGS="$CFLAGS"
   14718 
   14719 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14720 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14722 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14723 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14724   $as_echo_n "(cached) " >&6
   14725 else
   14726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14727 /* end confdefs.h.  */
   14728 int i;
   14729 _ACEOF
   14730 if ac_fn_c_try_compile "$LINENO"; then :
   14731   xorg_cv_cc_flag_unknown_warning_option=yes
   14732 else
   14733   xorg_cv_cc_flag_unknown_warning_option=no
   14734 fi
   14735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14736 fi
   14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14738 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14740 	CFLAGS="$xorg_testset_save_CFLAGS"
   14741 fi
   14742 
   14743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14746 	fi
   14747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14748 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14749 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14750 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14751   $as_echo_n "(cached) " >&6
   14752 else
   14753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14754 /* end confdefs.h.  */
   14755 int i;
   14756 _ACEOF
   14757 if ac_fn_c_try_compile "$LINENO"; then :
   14758   xorg_cv_cc_flag_unused_command_line_argument=yes
   14759 else
   14760   xorg_cv_cc_flag_unused_command_line_argument=no
   14761 fi
   14762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14763 fi
   14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14765 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14766 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14767 	CFLAGS="$xorg_testset_save_CFLAGS"
   14768 fi
   14769 
   14770 found="no"
   14771 
   14772 	if test $found = "no" ; then
   14773 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14774 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14775 		fi
   14776 
   14777 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14778 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14779 		fi
   14780 
   14781 		CFLAGS="$CFLAGS -Werror=main"
   14782 
   14783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14784 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14785 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14786 		if eval \${$cacheid+:} false; then :
   14787   $as_echo_n "(cached) " >&6
   14788 else
   14789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14790 /* end confdefs.h.  */
   14791 int i;
   14792 int
   14793 main ()
   14794 {
   14795 
   14796   ;
   14797   return 0;
   14798 }
   14799 _ACEOF
   14800 if ac_fn_c_try_link "$LINENO"; then :
   14801   eval $cacheid=yes
   14802 else
   14803   eval $cacheid=no
   14804 fi
   14805 rm -f core conftest.err conftest.$ac_objext \
   14806     conftest$ac_exeext conftest.$ac_ext
   14807 fi
   14808 
   14809 
   14810 		CFLAGS="$xorg_testset_save_CFLAGS"
   14811 
   14812 		eval supported=\$$cacheid
   14813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14814 $as_echo "$supported" >&6; }
   14815 		if test "$supported" = "yes" ; then
   14816 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14817 			found="yes"
   14818 		fi
   14819 	fi
   14820 
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 xorg_testset_save_CFLAGS="$CFLAGS"
   14836 
   14837 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14838 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14840 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14841 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14842   $as_echo_n "(cached) " >&6
   14843 else
   14844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14845 /* end confdefs.h.  */
   14846 int i;
   14847 _ACEOF
   14848 if ac_fn_c_try_compile "$LINENO"; then :
   14849   xorg_cv_cc_flag_unknown_warning_option=yes
   14850 else
   14851   xorg_cv_cc_flag_unknown_warning_option=no
   14852 fi
   14853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14854 fi
   14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14856 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14857 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14858 	CFLAGS="$xorg_testset_save_CFLAGS"
   14859 fi
   14860 
   14861 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14862 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14863 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14864 	fi
   14865 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14866 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14867 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14868 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14869   $as_echo_n "(cached) " >&6
   14870 else
   14871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14872 /* end confdefs.h.  */
   14873 int i;
   14874 _ACEOF
   14875 if ac_fn_c_try_compile "$LINENO"; then :
   14876   xorg_cv_cc_flag_unused_command_line_argument=yes
   14877 else
   14878   xorg_cv_cc_flag_unused_command_line_argument=no
   14879 fi
   14880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14881 fi
   14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14883 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14884 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14885 	CFLAGS="$xorg_testset_save_CFLAGS"
   14886 fi
   14887 
   14888 found="no"
   14889 
   14890 	if test $found = "no" ; then
   14891 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14892 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14893 		fi
   14894 
   14895 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14896 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14897 		fi
   14898 
   14899 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14900 
   14901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14902 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14903 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14904 		if eval \${$cacheid+:} false; then :
   14905   $as_echo_n "(cached) " >&6
   14906 else
   14907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14908 /* end confdefs.h.  */
   14909 int i;
   14910 int
   14911 main ()
   14912 {
   14913 
   14914   ;
   14915   return 0;
   14916 }
   14917 _ACEOF
   14918 if ac_fn_c_try_link "$LINENO"; then :
   14919   eval $cacheid=yes
   14920 else
   14921   eval $cacheid=no
   14922 fi
   14923 rm -f core conftest.err conftest.$ac_objext \
   14924     conftest$ac_exeext conftest.$ac_ext
   14925 fi
   14926 
   14927 
   14928 		CFLAGS="$xorg_testset_save_CFLAGS"
   14929 
   14930 		eval supported=\$$cacheid
   14931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14932 $as_echo "$supported" >&6; }
   14933 		if test "$supported" = "yes" ; then
   14934 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14935 			found="yes"
   14936 		fi
   14937 	fi
   14938 
   14939 
   14940 
   14941 
   14942 
   14943 
   14944 
   14945 
   14946 
   14947 
   14948 
   14949 
   14950 
   14951 
   14952 
   14953 xorg_testset_save_CFLAGS="$CFLAGS"
   14954 
   14955 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14956 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14958 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14959 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14960   $as_echo_n "(cached) " >&6
   14961 else
   14962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14963 /* end confdefs.h.  */
   14964 int i;
   14965 _ACEOF
   14966 if ac_fn_c_try_compile "$LINENO"; then :
   14967   xorg_cv_cc_flag_unknown_warning_option=yes
   14968 else
   14969   xorg_cv_cc_flag_unknown_warning_option=no
   14970 fi
   14971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14972 fi
   14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14974 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14975 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14976 	CFLAGS="$xorg_testset_save_CFLAGS"
   14977 fi
   14978 
   14979 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14980 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14981 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14982 	fi
   14983 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14984 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14985 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14986 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14987   $as_echo_n "(cached) " >&6
   14988 else
   14989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14990 /* end confdefs.h.  */
   14991 int i;
   14992 _ACEOF
   14993 if ac_fn_c_try_compile "$LINENO"; then :
   14994   xorg_cv_cc_flag_unused_command_line_argument=yes
   14995 else
   14996   xorg_cv_cc_flag_unused_command_line_argument=no
   14997 fi
   14998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14999 fi
   15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15001 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15003 	CFLAGS="$xorg_testset_save_CFLAGS"
   15004 fi
   15005 
   15006 found="no"
   15007 
   15008 	if test $found = "no" ; then
   15009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15011 		fi
   15012 
   15013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15015 		fi
   15016 
   15017 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15018 
   15019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15020 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15021 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   15022 		if eval \${$cacheid+:} false; then :
   15023   $as_echo_n "(cached) " >&6
   15024 else
   15025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15026 /* end confdefs.h.  */
   15027 int i;
   15028 int
   15029 main ()
   15030 {
   15031 
   15032   ;
   15033   return 0;
   15034 }
   15035 _ACEOF
   15036 if ac_fn_c_try_link "$LINENO"; then :
   15037   eval $cacheid=yes
   15038 else
   15039   eval $cacheid=no
   15040 fi
   15041 rm -f core conftest.err conftest.$ac_objext \
   15042     conftest$ac_exeext conftest.$ac_ext
   15043 fi
   15044 
   15045 
   15046 		CFLAGS="$xorg_testset_save_CFLAGS"
   15047 
   15048 		eval supported=\$$cacheid
   15049 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15050 $as_echo "$supported" >&6; }
   15051 		if test "$supported" = "yes" ; then
   15052 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15053 			found="yes"
   15054 		fi
   15055 	fi
   15056 
   15057 
   15058 
   15059 
   15060 
   15061 
   15062 
   15063 
   15064 
   15065 
   15066 
   15067 
   15068 
   15069 
   15070 
   15071 xorg_testset_save_CFLAGS="$CFLAGS"
   15072 
   15073 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15074 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15076 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15077 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15078   $as_echo_n "(cached) " >&6
   15079 else
   15080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15081 /* end confdefs.h.  */
   15082 int i;
   15083 _ACEOF
   15084 if ac_fn_c_try_compile "$LINENO"; then :
   15085   xorg_cv_cc_flag_unknown_warning_option=yes
   15086 else
   15087   xorg_cv_cc_flag_unknown_warning_option=no
   15088 fi
   15089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15090 fi
   15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15092 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15094 	CFLAGS="$xorg_testset_save_CFLAGS"
   15095 fi
   15096 
   15097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15100 	fi
   15101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15103 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15104 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15105   $as_echo_n "(cached) " >&6
   15106 else
   15107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15108 /* end confdefs.h.  */
   15109 int i;
   15110 _ACEOF
   15111 if ac_fn_c_try_compile "$LINENO"; then :
   15112   xorg_cv_cc_flag_unused_command_line_argument=yes
   15113 else
   15114   xorg_cv_cc_flag_unused_command_line_argument=no
   15115 fi
   15116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15117 fi
   15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15119 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15120 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15121 	CFLAGS="$xorg_testset_save_CFLAGS"
   15122 fi
   15123 
   15124 found="no"
   15125 
   15126 	if test $found = "no" ; then
   15127 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15129 		fi
   15130 
   15131 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15133 		fi
   15134 
   15135 		CFLAGS="$CFLAGS -Werror=return-type"
   15136 
   15137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15138 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15139 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   15140 		if eval \${$cacheid+:} false; then :
   15141   $as_echo_n "(cached) " >&6
   15142 else
   15143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15144 /* end confdefs.h.  */
   15145 int i;
   15146 int
   15147 main ()
   15148 {
   15149 
   15150   ;
   15151   return 0;
   15152 }
   15153 _ACEOF
   15154 if ac_fn_c_try_link "$LINENO"; then :
   15155   eval $cacheid=yes
   15156 else
   15157   eval $cacheid=no
   15158 fi
   15159 rm -f core conftest.err conftest.$ac_objext \
   15160     conftest$ac_exeext conftest.$ac_ext
   15161 fi
   15162 
   15163 
   15164 		CFLAGS="$xorg_testset_save_CFLAGS"
   15165 
   15166 		eval supported=\$$cacheid
   15167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15168 $as_echo "$supported" >&6; }
   15169 		if test "$supported" = "yes" ; then
   15170 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15171 			found="yes"
   15172 		fi
   15173 	fi
   15174 
   15175 	if test $found = "no" ; then
   15176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15178 		fi
   15179 
   15180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15182 		fi
   15183 
   15184 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15185 
   15186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15187 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15188 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   15189 		if eval \${$cacheid+:} false; then :
   15190   $as_echo_n "(cached) " >&6
   15191 else
   15192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15193 /* end confdefs.h.  */
   15194 int i;
   15195 int
   15196 main ()
   15197 {
   15198 
   15199   ;
   15200   return 0;
   15201 }
   15202 _ACEOF
   15203 if ac_fn_c_try_link "$LINENO"; then :
   15204   eval $cacheid=yes
   15205 else
   15206   eval $cacheid=no
   15207 fi
   15208 rm -f core conftest.err conftest.$ac_objext \
   15209     conftest$ac_exeext conftest.$ac_ext
   15210 fi
   15211 
   15212 
   15213 		CFLAGS="$xorg_testset_save_CFLAGS"
   15214 
   15215 		eval supported=\$$cacheid
   15216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15217 $as_echo "$supported" >&6; }
   15218 		if test "$supported" = "yes" ; then
   15219 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15220 			found="yes"
   15221 		fi
   15222 	fi
   15223 
   15224 
   15225 
   15226 
   15227 
   15228 
   15229 
   15230 
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 xorg_testset_save_CFLAGS="$CFLAGS"
   15239 
   15240 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15243 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15244 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15245   $as_echo_n "(cached) " >&6
   15246 else
   15247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15248 /* end confdefs.h.  */
   15249 int i;
   15250 _ACEOF
   15251 if ac_fn_c_try_compile "$LINENO"; then :
   15252   xorg_cv_cc_flag_unknown_warning_option=yes
   15253 else
   15254   xorg_cv_cc_flag_unknown_warning_option=no
   15255 fi
   15256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15257 fi
   15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15259 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15261 	CFLAGS="$xorg_testset_save_CFLAGS"
   15262 fi
   15263 
   15264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15267 	fi
   15268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15270 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15271 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15272   $as_echo_n "(cached) " >&6
   15273 else
   15274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15275 /* end confdefs.h.  */
   15276 int i;
   15277 _ACEOF
   15278 if ac_fn_c_try_compile "$LINENO"; then :
   15279   xorg_cv_cc_flag_unused_command_line_argument=yes
   15280 else
   15281   xorg_cv_cc_flag_unused_command_line_argument=no
   15282 fi
   15283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15284 fi
   15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15286 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15287 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15288 	CFLAGS="$xorg_testset_save_CFLAGS"
   15289 fi
   15290 
   15291 found="no"
   15292 
   15293 	if test $found = "no" ; then
   15294 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15296 		fi
   15297 
   15298 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15300 		fi
   15301 
   15302 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15303 
   15304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15305 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15306 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   15307 		if eval \${$cacheid+:} false; then :
   15308   $as_echo_n "(cached) " >&6
   15309 else
   15310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15311 /* end confdefs.h.  */
   15312 int i;
   15313 int
   15314 main ()
   15315 {
   15316 
   15317   ;
   15318   return 0;
   15319 }
   15320 _ACEOF
   15321 if ac_fn_c_try_link "$LINENO"; then :
   15322   eval $cacheid=yes
   15323 else
   15324   eval $cacheid=no
   15325 fi
   15326 rm -f core conftest.err conftest.$ac_objext \
   15327     conftest$ac_exeext conftest.$ac_ext
   15328 fi
   15329 
   15330 
   15331 		CFLAGS="$xorg_testset_save_CFLAGS"
   15332 
   15333 		eval supported=\$$cacheid
   15334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15335 $as_echo "$supported" >&6; }
   15336 		if test "$supported" = "yes" ; then
   15337 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15338 			found="yes"
   15339 		fi
   15340 	fi
   15341 
   15342 
   15343 
   15344 
   15345 
   15346 
   15347 
   15348 
   15349 
   15350 
   15351 
   15352 
   15353 
   15354 
   15355 
   15356 xorg_testset_save_CFLAGS="$CFLAGS"
   15357 
   15358 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15359 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15361 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15362 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15363   $as_echo_n "(cached) " >&6
   15364 else
   15365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15366 /* end confdefs.h.  */
   15367 int i;
   15368 _ACEOF
   15369 if ac_fn_c_try_compile "$LINENO"; then :
   15370   xorg_cv_cc_flag_unknown_warning_option=yes
   15371 else
   15372   xorg_cv_cc_flag_unknown_warning_option=no
   15373 fi
   15374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15375 fi
   15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15377 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15378 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15379 	CFLAGS="$xorg_testset_save_CFLAGS"
   15380 fi
   15381 
   15382 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15383 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15384 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15385 	fi
   15386 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15388 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15389 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15390   $as_echo_n "(cached) " >&6
   15391 else
   15392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15393 /* end confdefs.h.  */
   15394 int i;
   15395 _ACEOF
   15396 if ac_fn_c_try_compile "$LINENO"; then :
   15397   xorg_cv_cc_flag_unused_command_line_argument=yes
   15398 else
   15399   xorg_cv_cc_flag_unused_command_line_argument=no
   15400 fi
   15401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15402 fi
   15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15404 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15406 	CFLAGS="$xorg_testset_save_CFLAGS"
   15407 fi
   15408 
   15409 found="no"
   15410 
   15411 	if test $found = "no" ; then
   15412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15414 		fi
   15415 
   15416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15418 		fi
   15419 
   15420 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15421 
   15422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15423 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15424 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   15425 		if eval \${$cacheid+:} false; then :
   15426   $as_echo_n "(cached) " >&6
   15427 else
   15428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15429 /* end confdefs.h.  */
   15430 int i;
   15431 int
   15432 main ()
   15433 {
   15434 
   15435   ;
   15436   return 0;
   15437 }
   15438 _ACEOF
   15439 if ac_fn_c_try_link "$LINENO"; then :
   15440   eval $cacheid=yes
   15441 else
   15442   eval $cacheid=no
   15443 fi
   15444 rm -f core conftest.err conftest.$ac_objext \
   15445     conftest$ac_exeext conftest.$ac_ext
   15446 fi
   15447 
   15448 
   15449 		CFLAGS="$xorg_testset_save_CFLAGS"
   15450 
   15451 		eval supported=\$$cacheid
   15452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15453 $as_echo "$supported" >&6; }
   15454 		if test "$supported" = "yes" ; then
   15455 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15456 			found="yes"
   15457 		fi
   15458 	fi
   15459 
   15460 
   15461 
   15462 
   15463 
   15464 
   15465 
   15466 
   15467 
   15468 
   15469 
   15470 
   15471 
   15472 
   15473 
   15474 xorg_testset_save_CFLAGS="$CFLAGS"
   15475 
   15476 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15479 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15480 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15481   $as_echo_n "(cached) " >&6
   15482 else
   15483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15484 /* end confdefs.h.  */
   15485 int i;
   15486 _ACEOF
   15487 if ac_fn_c_try_compile "$LINENO"; then :
   15488   xorg_cv_cc_flag_unknown_warning_option=yes
   15489 else
   15490   xorg_cv_cc_flag_unknown_warning_option=no
   15491 fi
   15492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15493 fi
   15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15495 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15496 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15497 	CFLAGS="$xorg_testset_save_CFLAGS"
   15498 fi
   15499 
   15500 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15501 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15502 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15503 	fi
   15504 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15506 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15507 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15508   $as_echo_n "(cached) " >&6
   15509 else
   15510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15511 /* end confdefs.h.  */
   15512 int i;
   15513 _ACEOF
   15514 if ac_fn_c_try_compile "$LINENO"; then :
   15515   xorg_cv_cc_flag_unused_command_line_argument=yes
   15516 else
   15517   xorg_cv_cc_flag_unused_command_line_argument=no
   15518 fi
   15519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15520 fi
   15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15522 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15524 	CFLAGS="$xorg_testset_save_CFLAGS"
   15525 fi
   15526 
   15527 found="no"
   15528 
   15529 	if test $found = "no" ; then
   15530 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15532 		fi
   15533 
   15534 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15536 		fi
   15537 
   15538 		CFLAGS="$CFLAGS -Werror=write-strings"
   15539 
   15540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15541 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15542 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   15543 		if eval \${$cacheid+:} false; then :
   15544   $as_echo_n "(cached) " >&6
   15545 else
   15546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15547 /* end confdefs.h.  */
   15548 int i;
   15549 int
   15550 main ()
   15551 {
   15552 
   15553   ;
   15554   return 0;
   15555 }
   15556 _ACEOF
   15557 if ac_fn_c_try_link "$LINENO"; then :
   15558   eval $cacheid=yes
   15559 else
   15560   eval $cacheid=no
   15561 fi
   15562 rm -f core conftest.err conftest.$ac_objext \
   15563     conftest$ac_exeext conftest.$ac_ext
   15564 fi
   15565 
   15566 
   15567 		CFLAGS="$xorg_testset_save_CFLAGS"
   15568 
   15569 		eval supported=\$$cacheid
   15570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15571 $as_echo "$supported" >&6; }
   15572 		if test "$supported" = "yes" ; then
   15573 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15574 			found="yes"
   15575 		fi
   15576 	fi
   15577 
   15578 
   15579 
   15580 
   15581 
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 
   15590 
   15591 
   15592 xorg_testset_save_CFLAGS="$CFLAGS"
   15593 
   15594 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15595 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15597 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15598 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15599   $as_echo_n "(cached) " >&6
   15600 else
   15601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15602 /* end confdefs.h.  */
   15603 int i;
   15604 _ACEOF
   15605 if ac_fn_c_try_compile "$LINENO"; then :
   15606   xorg_cv_cc_flag_unknown_warning_option=yes
   15607 else
   15608   xorg_cv_cc_flag_unknown_warning_option=no
   15609 fi
   15610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15611 fi
   15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15613 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15614 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15615 	CFLAGS="$xorg_testset_save_CFLAGS"
   15616 fi
   15617 
   15618 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15619 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15620 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15621 	fi
   15622 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15623 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15624 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15625 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15626   $as_echo_n "(cached) " >&6
   15627 else
   15628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15629 /* end confdefs.h.  */
   15630 int i;
   15631 _ACEOF
   15632 if ac_fn_c_try_compile "$LINENO"; then :
   15633   xorg_cv_cc_flag_unused_command_line_argument=yes
   15634 else
   15635   xorg_cv_cc_flag_unused_command_line_argument=no
   15636 fi
   15637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15638 fi
   15639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15640 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15641 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15642 	CFLAGS="$xorg_testset_save_CFLAGS"
   15643 fi
   15644 
   15645 found="no"
   15646 
   15647 	if test $found = "no" ; then
   15648 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15650 		fi
   15651 
   15652 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15654 		fi
   15655 
   15656 		CFLAGS="$CFLAGS -Werror=address"
   15657 
   15658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15659 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15660 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15661 		if eval \${$cacheid+:} false; then :
   15662   $as_echo_n "(cached) " >&6
   15663 else
   15664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15665 /* end confdefs.h.  */
   15666 int i;
   15667 int
   15668 main ()
   15669 {
   15670 
   15671   ;
   15672   return 0;
   15673 }
   15674 _ACEOF
   15675 if ac_fn_c_try_link "$LINENO"; then :
   15676   eval $cacheid=yes
   15677 else
   15678   eval $cacheid=no
   15679 fi
   15680 rm -f core conftest.err conftest.$ac_objext \
   15681     conftest$ac_exeext conftest.$ac_ext
   15682 fi
   15683 
   15684 
   15685 		CFLAGS="$xorg_testset_save_CFLAGS"
   15686 
   15687 		eval supported=\$$cacheid
   15688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15689 $as_echo "$supported" >&6; }
   15690 		if test "$supported" = "yes" ; then
   15691 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15692 			found="yes"
   15693 		fi
   15694 	fi
   15695 
   15696 
   15697 
   15698 
   15699 
   15700 
   15701 
   15702 
   15703 
   15704 
   15705 
   15706 
   15707 
   15708 
   15709 
   15710 xorg_testset_save_CFLAGS="$CFLAGS"
   15711 
   15712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15715 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15716 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15717   $as_echo_n "(cached) " >&6
   15718 else
   15719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15720 /* end confdefs.h.  */
   15721 int i;
   15722 _ACEOF
   15723 if ac_fn_c_try_compile "$LINENO"; then :
   15724   xorg_cv_cc_flag_unknown_warning_option=yes
   15725 else
   15726   xorg_cv_cc_flag_unknown_warning_option=no
   15727 fi
   15728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15729 fi
   15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15731 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15732 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15733 	CFLAGS="$xorg_testset_save_CFLAGS"
   15734 fi
   15735 
   15736 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15737 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15738 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15739 	fi
   15740 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15742 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15743 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15744   $as_echo_n "(cached) " >&6
   15745 else
   15746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15747 /* end confdefs.h.  */
   15748 int i;
   15749 _ACEOF
   15750 if ac_fn_c_try_compile "$LINENO"; then :
   15751   xorg_cv_cc_flag_unused_command_line_argument=yes
   15752 else
   15753   xorg_cv_cc_flag_unused_command_line_argument=no
   15754 fi
   15755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15756 fi
   15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15758 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15759 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15760 	CFLAGS="$xorg_testset_save_CFLAGS"
   15761 fi
   15762 
   15763 found="no"
   15764 
   15765 	if test $found = "no" ; then
   15766 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15768 		fi
   15769 
   15770 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15772 		fi
   15773 
   15774 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15775 
   15776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15777 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15778 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15779 		if eval \${$cacheid+:} false; then :
   15780   $as_echo_n "(cached) " >&6
   15781 else
   15782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15783 /* end confdefs.h.  */
   15784 int i;
   15785 int
   15786 main ()
   15787 {
   15788 
   15789   ;
   15790   return 0;
   15791 }
   15792 _ACEOF
   15793 if ac_fn_c_try_link "$LINENO"; then :
   15794   eval $cacheid=yes
   15795 else
   15796   eval $cacheid=no
   15797 fi
   15798 rm -f core conftest.err conftest.$ac_objext \
   15799     conftest$ac_exeext conftest.$ac_ext
   15800 fi
   15801 
   15802 
   15803 		CFLAGS="$xorg_testset_save_CFLAGS"
   15804 
   15805 		eval supported=\$$cacheid
   15806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15807 $as_echo "$supported" >&6; }
   15808 		if test "$supported" = "yes" ; then
   15809 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15810 			found="yes"
   15811 		fi
   15812 	fi
   15813 
   15814 	if test $found = "no" ; then
   15815 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15816 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15817 		fi
   15818 
   15819 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15820 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15821 		fi
   15822 
   15823 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15824 
   15825 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15826 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15827 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15828 		if eval \${$cacheid+:} false; then :
   15829   $as_echo_n "(cached) " >&6
   15830 else
   15831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15832 /* end confdefs.h.  */
   15833 int i;
   15834 int
   15835 main ()
   15836 {
   15837 
   15838   ;
   15839   return 0;
   15840 }
   15841 _ACEOF
   15842 if ac_fn_c_try_link "$LINENO"; then :
   15843   eval $cacheid=yes
   15844 else
   15845   eval $cacheid=no
   15846 fi
   15847 rm -f core conftest.err conftest.$ac_objext \
   15848     conftest$ac_exeext conftest.$ac_ext
   15849 fi
   15850 
   15851 
   15852 		CFLAGS="$xorg_testset_save_CFLAGS"
   15853 
   15854 		eval supported=\$$cacheid
   15855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15856 $as_echo "$supported" >&6; }
   15857 		if test "$supported" = "yes" ; then
   15858 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15859 			found="yes"
   15860 		fi
   15861 	fi
   15862 
   15863 
   15864 
   15865 
   15866 
   15867 
   15868 
   15869 
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 xorg_testset_save_CFLAGS="$CFLAGS"
   15878 
   15879 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15882 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15883 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15884   $as_echo_n "(cached) " >&6
   15885 else
   15886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15887 /* end confdefs.h.  */
   15888 int i;
   15889 _ACEOF
   15890 if ac_fn_c_try_compile "$LINENO"; then :
   15891   xorg_cv_cc_flag_unknown_warning_option=yes
   15892 else
   15893   xorg_cv_cc_flag_unknown_warning_option=no
   15894 fi
   15895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15896 fi
   15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15898 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15899 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15900 	CFLAGS="$xorg_testset_save_CFLAGS"
   15901 fi
   15902 
   15903 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15904 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15905 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15906 	fi
   15907 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15909 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15910 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15911   $as_echo_n "(cached) " >&6
   15912 else
   15913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15914 /* end confdefs.h.  */
   15915 int i;
   15916 _ACEOF
   15917 if ac_fn_c_try_compile "$LINENO"; then :
   15918   xorg_cv_cc_flag_unused_command_line_argument=yes
   15919 else
   15920   xorg_cv_cc_flag_unused_command_line_argument=no
   15921 fi
   15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15923 fi
   15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15925 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15927 	CFLAGS="$xorg_testset_save_CFLAGS"
   15928 fi
   15929 
   15930 found="no"
   15931 
   15932 	if test $found = "no" ; then
   15933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15935 		fi
   15936 
   15937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15939 		fi
   15940 
   15941 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15942 
   15943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15944 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15945 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15946 		if eval \${$cacheid+:} false; then :
   15947   $as_echo_n "(cached) " >&6
   15948 else
   15949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15950 /* end confdefs.h.  */
   15951 int i;
   15952 int
   15953 main ()
   15954 {
   15955 
   15956   ;
   15957   return 0;
   15958 }
   15959 _ACEOF
   15960 if ac_fn_c_try_link "$LINENO"; then :
   15961   eval $cacheid=yes
   15962 else
   15963   eval $cacheid=no
   15964 fi
   15965 rm -f core conftest.err conftest.$ac_objext \
   15966     conftest$ac_exeext conftest.$ac_ext
   15967 fi
   15968 
   15969 
   15970 		CFLAGS="$xorg_testset_save_CFLAGS"
   15971 
   15972 		eval supported=\$$cacheid
   15973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15974 $as_echo "$supported" >&6; }
   15975 		if test "$supported" = "yes" ; then
   15976 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15977 			found="yes"
   15978 		fi
   15979 	fi
   15980 
   15981  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15982 else
   15983 { $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
   15984 $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;}
   15985 
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 xorg_testset_save_CFLAGS="$CFLAGS"
   15999 
   16000 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16001 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16003 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16004 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16005   $as_echo_n "(cached) " >&6
   16006 else
   16007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16008 /* end confdefs.h.  */
   16009 int i;
   16010 _ACEOF
   16011 if ac_fn_c_try_compile "$LINENO"; then :
   16012   xorg_cv_cc_flag_unknown_warning_option=yes
   16013 else
   16014   xorg_cv_cc_flag_unknown_warning_option=no
   16015 fi
   16016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16017 fi
   16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16019 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16020 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16021 	CFLAGS="$xorg_testset_save_CFLAGS"
   16022 fi
   16023 
   16024 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16025 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16026 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16027 	fi
   16028 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16030 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16031 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16032   $as_echo_n "(cached) " >&6
   16033 else
   16034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16035 /* end confdefs.h.  */
   16036 int i;
   16037 _ACEOF
   16038 if ac_fn_c_try_compile "$LINENO"; then :
   16039   xorg_cv_cc_flag_unused_command_line_argument=yes
   16040 else
   16041   xorg_cv_cc_flag_unused_command_line_argument=no
   16042 fi
   16043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16044 fi
   16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16046 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16047 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16048 	CFLAGS="$xorg_testset_save_CFLAGS"
   16049 fi
   16050 
   16051 found="no"
   16052 
   16053 	if test $found = "no" ; then
   16054 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16056 		fi
   16057 
   16058 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16060 		fi
   16061 
   16062 		CFLAGS="$CFLAGS -Wimplicit"
   16063 
   16064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16065 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16066 		cacheid=xorg_cv_cc_flag__Wimplicit
   16067 		if eval \${$cacheid+:} false; then :
   16068   $as_echo_n "(cached) " >&6
   16069 else
   16070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16071 /* end confdefs.h.  */
   16072 int i;
   16073 int
   16074 main ()
   16075 {
   16076 
   16077   ;
   16078   return 0;
   16079 }
   16080 _ACEOF
   16081 if ac_fn_c_try_link "$LINENO"; then :
   16082   eval $cacheid=yes
   16083 else
   16084   eval $cacheid=no
   16085 fi
   16086 rm -f core conftest.err conftest.$ac_objext \
   16087     conftest$ac_exeext conftest.$ac_ext
   16088 fi
   16089 
   16090 
   16091 		CFLAGS="$xorg_testset_save_CFLAGS"
   16092 
   16093 		eval supported=\$$cacheid
   16094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16095 $as_echo "$supported" >&6; }
   16096 		if test "$supported" = "yes" ; then
   16097 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16098 			found="yes"
   16099 		fi
   16100 	fi
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 
   16107 
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 xorg_testset_save_CFLAGS="$CFLAGS"
   16117 
   16118 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16119 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16120 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16121 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16122 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16123   $as_echo_n "(cached) " >&6
   16124 else
   16125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16126 /* end confdefs.h.  */
   16127 int i;
   16128 _ACEOF
   16129 if ac_fn_c_try_compile "$LINENO"; then :
   16130   xorg_cv_cc_flag_unknown_warning_option=yes
   16131 else
   16132   xorg_cv_cc_flag_unknown_warning_option=no
   16133 fi
   16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16135 fi
   16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16137 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16138 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16139 	CFLAGS="$xorg_testset_save_CFLAGS"
   16140 fi
   16141 
   16142 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16143 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16144 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16145 	fi
   16146 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16148 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16149 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16150   $as_echo_n "(cached) " >&6
   16151 else
   16152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16153 /* end confdefs.h.  */
   16154 int i;
   16155 _ACEOF
   16156 if ac_fn_c_try_compile "$LINENO"; then :
   16157   xorg_cv_cc_flag_unused_command_line_argument=yes
   16158 else
   16159   xorg_cv_cc_flag_unused_command_line_argument=no
   16160 fi
   16161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16162 fi
   16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16164 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16165 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16166 	CFLAGS="$xorg_testset_save_CFLAGS"
   16167 fi
   16168 
   16169 found="no"
   16170 
   16171 	if test $found = "no" ; then
   16172 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16173 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16174 		fi
   16175 
   16176 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16177 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16178 		fi
   16179 
   16180 		CFLAGS="$CFLAGS -Wnonnull"
   16181 
   16182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16183 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16184 		cacheid=xorg_cv_cc_flag__Wnonnull
   16185 		if eval \${$cacheid+:} false; then :
   16186   $as_echo_n "(cached) " >&6
   16187 else
   16188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16189 /* end confdefs.h.  */
   16190 int i;
   16191 int
   16192 main ()
   16193 {
   16194 
   16195   ;
   16196   return 0;
   16197 }
   16198 _ACEOF
   16199 if ac_fn_c_try_link "$LINENO"; then :
   16200   eval $cacheid=yes
   16201 else
   16202   eval $cacheid=no
   16203 fi
   16204 rm -f core conftest.err conftest.$ac_objext \
   16205     conftest$ac_exeext conftest.$ac_ext
   16206 fi
   16207 
   16208 
   16209 		CFLAGS="$xorg_testset_save_CFLAGS"
   16210 
   16211 		eval supported=\$$cacheid
   16212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16213 $as_echo "$supported" >&6; }
   16214 		if test "$supported" = "yes" ; then
   16215 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16216 			found="yes"
   16217 		fi
   16218 	fi
   16219 
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 xorg_testset_save_CFLAGS="$CFLAGS"
   16235 
   16236 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16237 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16238 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16239 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16240 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16241   $as_echo_n "(cached) " >&6
   16242 else
   16243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16244 /* end confdefs.h.  */
   16245 int i;
   16246 _ACEOF
   16247 if ac_fn_c_try_compile "$LINENO"; then :
   16248   xorg_cv_cc_flag_unknown_warning_option=yes
   16249 else
   16250   xorg_cv_cc_flag_unknown_warning_option=no
   16251 fi
   16252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16253 fi
   16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16255 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16256 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16257 	CFLAGS="$xorg_testset_save_CFLAGS"
   16258 fi
   16259 
   16260 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16261 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16262 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16263 	fi
   16264 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16265 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16266 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16267 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16268   $as_echo_n "(cached) " >&6
   16269 else
   16270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16271 /* end confdefs.h.  */
   16272 int i;
   16273 _ACEOF
   16274 if ac_fn_c_try_compile "$LINENO"; then :
   16275   xorg_cv_cc_flag_unused_command_line_argument=yes
   16276 else
   16277   xorg_cv_cc_flag_unused_command_line_argument=no
   16278 fi
   16279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16280 fi
   16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16282 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16283 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16284 	CFLAGS="$xorg_testset_save_CFLAGS"
   16285 fi
   16286 
   16287 found="no"
   16288 
   16289 	if test $found = "no" ; then
   16290 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16292 		fi
   16293 
   16294 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16296 		fi
   16297 
   16298 		CFLAGS="$CFLAGS -Winit-self"
   16299 
   16300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16301 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16302 		cacheid=xorg_cv_cc_flag__Winit_self
   16303 		if eval \${$cacheid+:} false; then :
   16304   $as_echo_n "(cached) " >&6
   16305 else
   16306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16307 /* end confdefs.h.  */
   16308 int i;
   16309 int
   16310 main ()
   16311 {
   16312 
   16313   ;
   16314   return 0;
   16315 }
   16316 _ACEOF
   16317 if ac_fn_c_try_link "$LINENO"; then :
   16318   eval $cacheid=yes
   16319 else
   16320   eval $cacheid=no
   16321 fi
   16322 rm -f core conftest.err conftest.$ac_objext \
   16323     conftest$ac_exeext conftest.$ac_ext
   16324 fi
   16325 
   16326 
   16327 		CFLAGS="$xorg_testset_save_CFLAGS"
   16328 
   16329 		eval supported=\$$cacheid
   16330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16331 $as_echo "$supported" >&6; }
   16332 		if test "$supported" = "yes" ; then
   16333 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16334 			found="yes"
   16335 		fi
   16336 	fi
   16337 
   16338 
   16339 
   16340 
   16341 
   16342 
   16343 
   16344 
   16345 
   16346 
   16347 
   16348 
   16349 
   16350 
   16351 
   16352 xorg_testset_save_CFLAGS="$CFLAGS"
   16353 
   16354 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16355 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16356 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16357 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16358 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16359   $as_echo_n "(cached) " >&6
   16360 else
   16361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16362 /* end confdefs.h.  */
   16363 int i;
   16364 _ACEOF
   16365 if ac_fn_c_try_compile "$LINENO"; then :
   16366   xorg_cv_cc_flag_unknown_warning_option=yes
   16367 else
   16368   xorg_cv_cc_flag_unknown_warning_option=no
   16369 fi
   16370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16371 fi
   16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16373 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16375 	CFLAGS="$xorg_testset_save_CFLAGS"
   16376 fi
   16377 
   16378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16381 	fi
   16382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16384 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16385 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16386   $as_echo_n "(cached) " >&6
   16387 else
   16388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16389 /* end confdefs.h.  */
   16390 int i;
   16391 _ACEOF
   16392 if ac_fn_c_try_compile "$LINENO"; then :
   16393   xorg_cv_cc_flag_unused_command_line_argument=yes
   16394 else
   16395   xorg_cv_cc_flag_unused_command_line_argument=no
   16396 fi
   16397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16398 fi
   16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16400 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16401 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16402 	CFLAGS="$xorg_testset_save_CFLAGS"
   16403 fi
   16404 
   16405 found="no"
   16406 
   16407 	if test $found = "no" ; then
   16408 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16409 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16410 		fi
   16411 
   16412 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16413 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16414 		fi
   16415 
   16416 		CFLAGS="$CFLAGS -Wmain"
   16417 
   16418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16419 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16420 		cacheid=xorg_cv_cc_flag__Wmain
   16421 		if eval \${$cacheid+:} false; then :
   16422   $as_echo_n "(cached) " >&6
   16423 else
   16424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16425 /* end confdefs.h.  */
   16426 int i;
   16427 int
   16428 main ()
   16429 {
   16430 
   16431   ;
   16432   return 0;
   16433 }
   16434 _ACEOF
   16435 if ac_fn_c_try_link "$LINENO"; then :
   16436   eval $cacheid=yes
   16437 else
   16438   eval $cacheid=no
   16439 fi
   16440 rm -f core conftest.err conftest.$ac_objext \
   16441     conftest$ac_exeext conftest.$ac_ext
   16442 fi
   16443 
   16444 
   16445 		CFLAGS="$xorg_testset_save_CFLAGS"
   16446 
   16447 		eval supported=\$$cacheid
   16448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16449 $as_echo "$supported" >&6; }
   16450 		if test "$supported" = "yes" ; then
   16451 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16452 			found="yes"
   16453 		fi
   16454 	fi
   16455 
   16456 
   16457 
   16458 
   16459 
   16460 
   16461 
   16462 
   16463 
   16464 
   16465 
   16466 
   16467 
   16468 
   16469 
   16470 xorg_testset_save_CFLAGS="$CFLAGS"
   16471 
   16472 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16473 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16474 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16475 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16476 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16477   $as_echo_n "(cached) " >&6
   16478 else
   16479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16480 /* end confdefs.h.  */
   16481 int i;
   16482 _ACEOF
   16483 if ac_fn_c_try_compile "$LINENO"; then :
   16484   xorg_cv_cc_flag_unknown_warning_option=yes
   16485 else
   16486   xorg_cv_cc_flag_unknown_warning_option=no
   16487 fi
   16488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16489 fi
   16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16491 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16492 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16493 	CFLAGS="$xorg_testset_save_CFLAGS"
   16494 fi
   16495 
   16496 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16497 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16498 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16499 	fi
   16500 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16501 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16502 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16503 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16504   $as_echo_n "(cached) " >&6
   16505 else
   16506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16507 /* end confdefs.h.  */
   16508 int i;
   16509 _ACEOF
   16510 if ac_fn_c_try_compile "$LINENO"; then :
   16511   xorg_cv_cc_flag_unused_command_line_argument=yes
   16512 else
   16513   xorg_cv_cc_flag_unused_command_line_argument=no
   16514 fi
   16515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16516 fi
   16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16518 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16519 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16520 	CFLAGS="$xorg_testset_save_CFLAGS"
   16521 fi
   16522 
   16523 found="no"
   16524 
   16525 	if test $found = "no" ; then
   16526 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16528 		fi
   16529 
   16530 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16532 		fi
   16533 
   16534 		CFLAGS="$CFLAGS -Wmissing-braces"
   16535 
   16536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16537 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16538 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16539 		if eval \${$cacheid+:} false; then :
   16540   $as_echo_n "(cached) " >&6
   16541 else
   16542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16543 /* end confdefs.h.  */
   16544 int i;
   16545 int
   16546 main ()
   16547 {
   16548 
   16549   ;
   16550   return 0;
   16551 }
   16552 _ACEOF
   16553 if ac_fn_c_try_link "$LINENO"; then :
   16554   eval $cacheid=yes
   16555 else
   16556   eval $cacheid=no
   16557 fi
   16558 rm -f core conftest.err conftest.$ac_objext \
   16559     conftest$ac_exeext conftest.$ac_ext
   16560 fi
   16561 
   16562 
   16563 		CFLAGS="$xorg_testset_save_CFLAGS"
   16564 
   16565 		eval supported=\$$cacheid
   16566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16567 $as_echo "$supported" >&6; }
   16568 		if test "$supported" = "yes" ; then
   16569 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16570 			found="yes"
   16571 		fi
   16572 	fi
   16573 
   16574 
   16575 
   16576 
   16577 
   16578 
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 
   16586 
   16587 
   16588 xorg_testset_save_CFLAGS="$CFLAGS"
   16589 
   16590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16592 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16593 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16594 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16595   $as_echo_n "(cached) " >&6
   16596 else
   16597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16598 /* end confdefs.h.  */
   16599 int i;
   16600 _ACEOF
   16601 if ac_fn_c_try_compile "$LINENO"; then :
   16602   xorg_cv_cc_flag_unknown_warning_option=yes
   16603 else
   16604   xorg_cv_cc_flag_unknown_warning_option=no
   16605 fi
   16606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16607 fi
   16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16609 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16610 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16611 	CFLAGS="$xorg_testset_save_CFLAGS"
   16612 fi
   16613 
   16614 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16615 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16616 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16617 	fi
   16618 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16619 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16620 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16621 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16622   $as_echo_n "(cached) " >&6
   16623 else
   16624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16625 /* end confdefs.h.  */
   16626 int i;
   16627 _ACEOF
   16628 if ac_fn_c_try_compile "$LINENO"; then :
   16629   xorg_cv_cc_flag_unused_command_line_argument=yes
   16630 else
   16631   xorg_cv_cc_flag_unused_command_line_argument=no
   16632 fi
   16633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16634 fi
   16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16636 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16637 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16638 	CFLAGS="$xorg_testset_save_CFLAGS"
   16639 fi
   16640 
   16641 found="no"
   16642 
   16643 	if test $found = "no" ; then
   16644 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16645 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16646 		fi
   16647 
   16648 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16649 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16650 		fi
   16651 
   16652 		CFLAGS="$CFLAGS -Wsequence-point"
   16653 
   16654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16655 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16656 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16657 		if eval \${$cacheid+:} false; then :
   16658   $as_echo_n "(cached) " >&6
   16659 else
   16660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16661 /* end confdefs.h.  */
   16662 int i;
   16663 int
   16664 main ()
   16665 {
   16666 
   16667   ;
   16668   return 0;
   16669 }
   16670 _ACEOF
   16671 if ac_fn_c_try_link "$LINENO"; then :
   16672   eval $cacheid=yes
   16673 else
   16674   eval $cacheid=no
   16675 fi
   16676 rm -f core conftest.err conftest.$ac_objext \
   16677     conftest$ac_exeext conftest.$ac_ext
   16678 fi
   16679 
   16680 
   16681 		CFLAGS="$xorg_testset_save_CFLAGS"
   16682 
   16683 		eval supported=\$$cacheid
   16684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16685 $as_echo "$supported" >&6; }
   16686 		if test "$supported" = "yes" ; then
   16687 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16688 			found="yes"
   16689 		fi
   16690 	fi
   16691 
   16692 
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 xorg_testset_save_CFLAGS="$CFLAGS"
   16707 
   16708 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16709 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16710 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16711 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16712 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16713   $as_echo_n "(cached) " >&6
   16714 else
   16715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16716 /* end confdefs.h.  */
   16717 int i;
   16718 _ACEOF
   16719 if ac_fn_c_try_compile "$LINENO"; then :
   16720   xorg_cv_cc_flag_unknown_warning_option=yes
   16721 else
   16722   xorg_cv_cc_flag_unknown_warning_option=no
   16723 fi
   16724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16725 fi
   16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16727 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16728 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16729 	CFLAGS="$xorg_testset_save_CFLAGS"
   16730 fi
   16731 
   16732 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16733 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16734 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16735 	fi
   16736 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16737 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16738 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16739 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16740   $as_echo_n "(cached) " >&6
   16741 else
   16742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16743 /* end confdefs.h.  */
   16744 int i;
   16745 _ACEOF
   16746 if ac_fn_c_try_compile "$LINENO"; then :
   16747   xorg_cv_cc_flag_unused_command_line_argument=yes
   16748 else
   16749   xorg_cv_cc_flag_unused_command_line_argument=no
   16750 fi
   16751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16752 fi
   16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16754 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16755 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16756 	CFLAGS="$xorg_testset_save_CFLAGS"
   16757 fi
   16758 
   16759 found="no"
   16760 
   16761 	if test $found = "no" ; then
   16762 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16763 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16764 		fi
   16765 
   16766 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16767 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16768 		fi
   16769 
   16770 		CFLAGS="$CFLAGS -Wreturn-type"
   16771 
   16772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16773 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16774 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16775 		if eval \${$cacheid+:} false; then :
   16776   $as_echo_n "(cached) " >&6
   16777 else
   16778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16779 /* end confdefs.h.  */
   16780 int i;
   16781 int
   16782 main ()
   16783 {
   16784 
   16785   ;
   16786   return 0;
   16787 }
   16788 _ACEOF
   16789 if ac_fn_c_try_link "$LINENO"; then :
   16790   eval $cacheid=yes
   16791 else
   16792   eval $cacheid=no
   16793 fi
   16794 rm -f core conftest.err conftest.$ac_objext \
   16795     conftest$ac_exeext conftest.$ac_ext
   16796 fi
   16797 
   16798 
   16799 		CFLAGS="$xorg_testset_save_CFLAGS"
   16800 
   16801 		eval supported=\$$cacheid
   16802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16803 $as_echo "$supported" >&6; }
   16804 		if test "$supported" = "yes" ; then
   16805 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16806 			found="yes"
   16807 		fi
   16808 	fi
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 xorg_testset_save_CFLAGS="$CFLAGS"
   16825 
   16826 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16827 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16828 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16829 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16830 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16831   $as_echo_n "(cached) " >&6
   16832 else
   16833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16834 /* end confdefs.h.  */
   16835 int i;
   16836 _ACEOF
   16837 if ac_fn_c_try_compile "$LINENO"; then :
   16838   xorg_cv_cc_flag_unknown_warning_option=yes
   16839 else
   16840   xorg_cv_cc_flag_unknown_warning_option=no
   16841 fi
   16842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16843 fi
   16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16845 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16846 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16847 	CFLAGS="$xorg_testset_save_CFLAGS"
   16848 fi
   16849 
   16850 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16851 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16852 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16853 	fi
   16854 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16855 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16856 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16857 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16858   $as_echo_n "(cached) " >&6
   16859 else
   16860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16861 /* end confdefs.h.  */
   16862 int i;
   16863 _ACEOF
   16864 if ac_fn_c_try_compile "$LINENO"; then :
   16865   xorg_cv_cc_flag_unused_command_line_argument=yes
   16866 else
   16867   xorg_cv_cc_flag_unused_command_line_argument=no
   16868 fi
   16869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16870 fi
   16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16872 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16873 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16874 	CFLAGS="$xorg_testset_save_CFLAGS"
   16875 fi
   16876 
   16877 found="no"
   16878 
   16879 	if test $found = "no" ; then
   16880 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16881 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16882 		fi
   16883 
   16884 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16885 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16886 		fi
   16887 
   16888 		CFLAGS="$CFLAGS -Wtrigraphs"
   16889 
   16890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16891 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16892 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16893 		if eval \${$cacheid+:} false; then :
   16894   $as_echo_n "(cached) " >&6
   16895 else
   16896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16897 /* end confdefs.h.  */
   16898 int i;
   16899 int
   16900 main ()
   16901 {
   16902 
   16903   ;
   16904   return 0;
   16905 }
   16906 _ACEOF
   16907 if ac_fn_c_try_link "$LINENO"; then :
   16908   eval $cacheid=yes
   16909 else
   16910   eval $cacheid=no
   16911 fi
   16912 rm -f core conftest.err conftest.$ac_objext \
   16913     conftest$ac_exeext conftest.$ac_ext
   16914 fi
   16915 
   16916 
   16917 		CFLAGS="$xorg_testset_save_CFLAGS"
   16918 
   16919 		eval supported=\$$cacheid
   16920 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16921 $as_echo "$supported" >&6; }
   16922 		if test "$supported" = "yes" ; then
   16923 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16924 			found="yes"
   16925 		fi
   16926 	fi
   16927 
   16928 
   16929 
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 
   16940 
   16941 
   16942 xorg_testset_save_CFLAGS="$CFLAGS"
   16943 
   16944 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16945 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16947 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16948 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16949   $as_echo_n "(cached) " >&6
   16950 else
   16951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16952 /* end confdefs.h.  */
   16953 int i;
   16954 _ACEOF
   16955 if ac_fn_c_try_compile "$LINENO"; then :
   16956   xorg_cv_cc_flag_unknown_warning_option=yes
   16957 else
   16958   xorg_cv_cc_flag_unknown_warning_option=no
   16959 fi
   16960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16961 fi
   16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16963 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16964 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16965 	CFLAGS="$xorg_testset_save_CFLAGS"
   16966 fi
   16967 
   16968 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16969 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16971 	fi
   16972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16973 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16974 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16975 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16976   $as_echo_n "(cached) " >&6
   16977 else
   16978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16979 /* end confdefs.h.  */
   16980 int i;
   16981 _ACEOF
   16982 if ac_fn_c_try_compile "$LINENO"; then :
   16983   xorg_cv_cc_flag_unused_command_line_argument=yes
   16984 else
   16985   xorg_cv_cc_flag_unused_command_line_argument=no
   16986 fi
   16987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16988 fi
   16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16990 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16992 	CFLAGS="$xorg_testset_save_CFLAGS"
   16993 fi
   16994 
   16995 found="no"
   16996 
   16997 	if test $found = "no" ; then
   16998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17000 		fi
   17001 
   17002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17004 		fi
   17005 
   17006 		CFLAGS="$CFLAGS -Warray-bounds"
   17007 
   17008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17009 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17010 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17011 		if eval \${$cacheid+:} false; then :
   17012   $as_echo_n "(cached) " >&6
   17013 else
   17014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17015 /* end confdefs.h.  */
   17016 int i;
   17017 int
   17018 main ()
   17019 {
   17020 
   17021   ;
   17022   return 0;
   17023 }
   17024 _ACEOF
   17025 if ac_fn_c_try_link "$LINENO"; then :
   17026   eval $cacheid=yes
   17027 else
   17028   eval $cacheid=no
   17029 fi
   17030 rm -f core conftest.err conftest.$ac_objext \
   17031     conftest$ac_exeext conftest.$ac_ext
   17032 fi
   17033 
   17034 
   17035 		CFLAGS="$xorg_testset_save_CFLAGS"
   17036 
   17037 		eval supported=\$$cacheid
   17038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17039 $as_echo "$supported" >&6; }
   17040 		if test "$supported" = "yes" ; then
   17041 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17042 			found="yes"
   17043 		fi
   17044 	fi
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 
   17056 
   17057 
   17058 
   17059 
   17060 xorg_testset_save_CFLAGS="$CFLAGS"
   17061 
   17062 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17063 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17064 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17065 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17066 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17067   $as_echo_n "(cached) " >&6
   17068 else
   17069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17070 /* end confdefs.h.  */
   17071 int i;
   17072 _ACEOF
   17073 if ac_fn_c_try_compile "$LINENO"; then :
   17074   xorg_cv_cc_flag_unknown_warning_option=yes
   17075 else
   17076   xorg_cv_cc_flag_unknown_warning_option=no
   17077 fi
   17078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17079 fi
   17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17081 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17082 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17083 	CFLAGS="$xorg_testset_save_CFLAGS"
   17084 fi
   17085 
   17086 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17087 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17088 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17089 	fi
   17090 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17091 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17092 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17093 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17094   $as_echo_n "(cached) " >&6
   17095 else
   17096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17097 /* end confdefs.h.  */
   17098 int i;
   17099 _ACEOF
   17100 if ac_fn_c_try_compile "$LINENO"; then :
   17101   xorg_cv_cc_flag_unused_command_line_argument=yes
   17102 else
   17103   xorg_cv_cc_flag_unused_command_line_argument=no
   17104 fi
   17105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17106 fi
   17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17108 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17109 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17110 	CFLAGS="$xorg_testset_save_CFLAGS"
   17111 fi
   17112 
   17113 found="no"
   17114 
   17115 	if test $found = "no" ; then
   17116 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17117 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17118 		fi
   17119 
   17120 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17121 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17122 		fi
   17123 
   17124 		CFLAGS="$CFLAGS -Wwrite-strings"
   17125 
   17126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17127 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17128 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17129 		if eval \${$cacheid+:} false; then :
   17130   $as_echo_n "(cached) " >&6
   17131 else
   17132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17133 /* end confdefs.h.  */
   17134 int i;
   17135 int
   17136 main ()
   17137 {
   17138 
   17139   ;
   17140   return 0;
   17141 }
   17142 _ACEOF
   17143 if ac_fn_c_try_link "$LINENO"; then :
   17144   eval $cacheid=yes
   17145 else
   17146   eval $cacheid=no
   17147 fi
   17148 rm -f core conftest.err conftest.$ac_objext \
   17149     conftest$ac_exeext conftest.$ac_ext
   17150 fi
   17151 
   17152 
   17153 		CFLAGS="$xorg_testset_save_CFLAGS"
   17154 
   17155 		eval supported=\$$cacheid
   17156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17157 $as_echo "$supported" >&6; }
   17158 		if test "$supported" = "yes" ; then
   17159 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17160 			found="yes"
   17161 		fi
   17162 	fi
   17163 
   17164 
   17165 
   17166 
   17167 
   17168 
   17169 
   17170 
   17171 
   17172 
   17173 
   17174 
   17175 
   17176 
   17177 
   17178 xorg_testset_save_CFLAGS="$CFLAGS"
   17179 
   17180 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17181 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17183 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17184 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17185   $as_echo_n "(cached) " >&6
   17186 else
   17187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17188 /* end confdefs.h.  */
   17189 int i;
   17190 _ACEOF
   17191 if ac_fn_c_try_compile "$LINENO"; then :
   17192   xorg_cv_cc_flag_unknown_warning_option=yes
   17193 else
   17194   xorg_cv_cc_flag_unknown_warning_option=no
   17195 fi
   17196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17197 fi
   17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17199 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17201 	CFLAGS="$xorg_testset_save_CFLAGS"
   17202 fi
   17203 
   17204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17207 	fi
   17208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17209 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17210 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17211 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17212   $as_echo_n "(cached) " >&6
   17213 else
   17214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17215 /* end confdefs.h.  */
   17216 int i;
   17217 _ACEOF
   17218 if ac_fn_c_try_compile "$LINENO"; then :
   17219   xorg_cv_cc_flag_unused_command_line_argument=yes
   17220 else
   17221   xorg_cv_cc_flag_unused_command_line_argument=no
   17222 fi
   17223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17224 fi
   17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17226 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17227 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17228 	CFLAGS="$xorg_testset_save_CFLAGS"
   17229 fi
   17230 
   17231 found="no"
   17232 
   17233 	if test $found = "no" ; then
   17234 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17235 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17236 		fi
   17237 
   17238 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17239 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17240 		fi
   17241 
   17242 		CFLAGS="$CFLAGS -Waddress"
   17243 
   17244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17245 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17246 		cacheid=xorg_cv_cc_flag__Waddress
   17247 		if eval \${$cacheid+:} false; then :
   17248   $as_echo_n "(cached) " >&6
   17249 else
   17250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17251 /* end confdefs.h.  */
   17252 int i;
   17253 int
   17254 main ()
   17255 {
   17256 
   17257   ;
   17258   return 0;
   17259 }
   17260 _ACEOF
   17261 if ac_fn_c_try_link "$LINENO"; then :
   17262   eval $cacheid=yes
   17263 else
   17264   eval $cacheid=no
   17265 fi
   17266 rm -f core conftest.err conftest.$ac_objext \
   17267     conftest$ac_exeext conftest.$ac_ext
   17268 fi
   17269 
   17270 
   17271 		CFLAGS="$xorg_testset_save_CFLAGS"
   17272 
   17273 		eval supported=\$$cacheid
   17274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17275 $as_echo "$supported" >&6; }
   17276 		if test "$supported" = "yes" ; then
   17277 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17278 			found="yes"
   17279 		fi
   17280 	fi
   17281 
   17282 
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 
   17293 
   17294 
   17295 
   17296 xorg_testset_save_CFLAGS="$CFLAGS"
   17297 
   17298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17301 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17302 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17303   $as_echo_n "(cached) " >&6
   17304 else
   17305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17306 /* end confdefs.h.  */
   17307 int i;
   17308 _ACEOF
   17309 if ac_fn_c_try_compile "$LINENO"; then :
   17310   xorg_cv_cc_flag_unknown_warning_option=yes
   17311 else
   17312   xorg_cv_cc_flag_unknown_warning_option=no
   17313 fi
   17314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17315 fi
   17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17317 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17319 	CFLAGS="$xorg_testset_save_CFLAGS"
   17320 fi
   17321 
   17322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17325 	fi
   17326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17328 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17329 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17330   $as_echo_n "(cached) " >&6
   17331 else
   17332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17333 /* end confdefs.h.  */
   17334 int i;
   17335 _ACEOF
   17336 if ac_fn_c_try_compile "$LINENO"; then :
   17337   xorg_cv_cc_flag_unused_command_line_argument=yes
   17338 else
   17339   xorg_cv_cc_flag_unused_command_line_argument=no
   17340 fi
   17341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17342 fi
   17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17344 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17346 	CFLAGS="$xorg_testset_save_CFLAGS"
   17347 fi
   17348 
   17349 found="no"
   17350 
   17351 	if test $found = "no" ; then
   17352 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17354 		fi
   17355 
   17356 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17358 		fi
   17359 
   17360 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17361 
   17362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17363 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17364 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17365 		if eval \${$cacheid+:} false; then :
   17366   $as_echo_n "(cached) " >&6
   17367 else
   17368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17369 /* end confdefs.h.  */
   17370 int i;
   17371 int
   17372 main ()
   17373 {
   17374 
   17375   ;
   17376   return 0;
   17377 }
   17378 _ACEOF
   17379 if ac_fn_c_try_link "$LINENO"; then :
   17380   eval $cacheid=yes
   17381 else
   17382   eval $cacheid=no
   17383 fi
   17384 rm -f core conftest.err conftest.$ac_objext \
   17385     conftest$ac_exeext conftest.$ac_ext
   17386 fi
   17387 
   17388 
   17389 		CFLAGS="$xorg_testset_save_CFLAGS"
   17390 
   17391 		eval supported=\$$cacheid
   17392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17393 $as_echo "$supported" >&6; }
   17394 		if test "$supported" = "yes" ; then
   17395 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17396 			found="yes"
   17397 		fi
   17398 	fi
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 
   17405 
   17406 
   17407 
   17408 
   17409 
   17410 
   17411 
   17412 
   17413 
   17414 xorg_testset_save_CFLAGS="$CFLAGS"
   17415 
   17416 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17417 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17419 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17420 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17421   $as_echo_n "(cached) " >&6
   17422 else
   17423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17424 /* end confdefs.h.  */
   17425 int i;
   17426 _ACEOF
   17427 if ac_fn_c_try_compile "$LINENO"; then :
   17428   xorg_cv_cc_flag_unknown_warning_option=yes
   17429 else
   17430   xorg_cv_cc_flag_unknown_warning_option=no
   17431 fi
   17432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17433 fi
   17434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17435 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17437 	CFLAGS="$xorg_testset_save_CFLAGS"
   17438 fi
   17439 
   17440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17443 	fi
   17444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17445 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17446 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17447 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17448   $as_echo_n "(cached) " >&6
   17449 else
   17450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17451 /* end confdefs.h.  */
   17452 int i;
   17453 _ACEOF
   17454 if ac_fn_c_try_compile "$LINENO"; then :
   17455   xorg_cv_cc_flag_unused_command_line_argument=yes
   17456 else
   17457   xorg_cv_cc_flag_unused_command_line_argument=no
   17458 fi
   17459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17460 fi
   17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17462 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17463 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17464 	CFLAGS="$xorg_testset_save_CFLAGS"
   17465 fi
   17466 
   17467 found="no"
   17468 
   17469 	if test $found = "no" ; then
   17470 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17471 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17472 		fi
   17473 
   17474 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17475 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17476 		fi
   17477 
   17478 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17479 
   17480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17481 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17482 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17483 		if eval \${$cacheid+:} false; then :
   17484   $as_echo_n "(cached) " >&6
   17485 else
   17486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17487 /* end confdefs.h.  */
   17488 int i;
   17489 int
   17490 main ()
   17491 {
   17492 
   17493   ;
   17494   return 0;
   17495 }
   17496 _ACEOF
   17497 if ac_fn_c_try_link "$LINENO"; then :
   17498   eval $cacheid=yes
   17499 else
   17500   eval $cacheid=no
   17501 fi
   17502 rm -f core conftest.err conftest.$ac_objext \
   17503     conftest$ac_exeext conftest.$ac_ext
   17504 fi
   17505 
   17506 
   17507 		CFLAGS="$xorg_testset_save_CFLAGS"
   17508 
   17509 		eval supported=\$$cacheid
   17510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17511 $as_echo "$supported" >&6; }
   17512 		if test "$supported" = "yes" ; then
   17513 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17514 			found="yes"
   17515 		fi
   17516 	fi
   17517 
   17518 
   17519 fi
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 		CWARNFLAGS="$BASE_CFLAGS"
   17528 		if  test "x$GCC" = xyes ; then
   17529 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17530 		fi
   17531 
   17532 
   17533 
   17534 
   17535 
   17536 
   17537 
   17538 
   17539 # Check whether --enable-strict-compilation was given.
   17540 if test "${enable_strict_compilation+set}" = set; then :
   17541   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17542 else
   17543   STRICT_COMPILE=no
   17544 fi
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 STRICT_CFLAGS=""
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 xorg_testset_save_CFLAGS="$CFLAGS"
   17566 
   17567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17569 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17570 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17571 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17572   $as_echo_n "(cached) " >&6
   17573 else
   17574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17575 /* end confdefs.h.  */
   17576 int i;
   17577 _ACEOF
   17578 if ac_fn_c_try_compile "$LINENO"; then :
   17579   xorg_cv_cc_flag_unknown_warning_option=yes
   17580 else
   17581   xorg_cv_cc_flag_unknown_warning_option=no
   17582 fi
   17583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17584 fi
   17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17586 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17587 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17588 	CFLAGS="$xorg_testset_save_CFLAGS"
   17589 fi
   17590 
   17591 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17592 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17593 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17594 	fi
   17595 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17597 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17598 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   17605 if ac_fn_c_try_compile "$LINENO"; then :
   17606   xorg_cv_cc_flag_unused_command_line_argument=yes
   17607 else
   17608   xorg_cv_cc_flag_unused_command_line_argument=no
   17609 fi
   17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17611 fi
   17612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17613 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17614 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17615 	CFLAGS="$xorg_testset_save_CFLAGS"
   17616 fi
   17617 
   17618 found="no"
   17619 
   17620 	if test $found = "no" ; then
   17621 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17622 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17623 		fi
   17624 
   17625 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17626 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17627 		fi
   17628 
   17629 		CFLAGS="$CFLAGS -pedantic"
   17630 
   17631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17632 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17633 		cacheid=xorg_cv_cc_flag__pedantic
   17634 		if eval \${$cacheid+:} false; then :
   17635   $as_echo_n "(cached) " >&6
   17636 else
   17637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17638 /* end confdefs.h.  */
   17639 int i;
   17640 int
   17641 main ()
   17642 {
   17643 
   17644   ;
   17645   return 0;
   17646 }
   17647 _ACEOF
   17648 if ac_fn_c_try_link "$LINENO"; then :
   17649   eval $cacheid=yes
   17650 else
   17651   eval $cacheid=no
   17652 fi
   17653 rm -f core conftest.err conftest.$ac_objext \
   17654     conftest$ac_exeext conftest.$ac_ext
   17655 fi
   17656 
   17657 
   17658 		CFLAGS="$xorg_testset_save_CFLAGS"
   17659 
   17660 		eval supported=\$$cacheid
   17661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17662 $as_echo "$supported" >&6; }
   17663 		if test "$supported" = "yes" ; then
   17664 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17665 			found="yes"
   17666 		fi
   17667 	fi
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 xorg_testset_save_CFLAGS="$CFLAGS"
   17684 
   17685 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17686 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17688 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17689 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17690   $as_echo_n "(cached) " >&6
   17691 else
   17692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17693 /* end confdefs.h.  */
   17694 int i;
   17695 _ACEOF
   17696 if ac_fn_c_try_compile "$LINENO"; then :
   17697   xorg_cv_cc_flag_unknown_warning_option=yes
   17698 else
   17699   xorg_cv_cc_flag_unknown_warning_option=no
   17700 fi
   17701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17702 fi
   17703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17704 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17706 	CFLAGS="$xorg_testset_save_CFLAGS"
   17707 fi
   17708 
   17709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17712 	fi
   17713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17715 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17716 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17717   $as_echo_n "(cached) " >&6
   17718 else
   17719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17720 /* end confdefs.h.  */
   17721 int i;
   17722 _ACEOF
   17723 if ac_fn_c_try_compile "$LINENO"; then :
   17724   xorg_cv_cc_flag_unused_command_line_argument=yes
   17725 else
   17726   xorg_cv_cc_flag_unused_command_line_argument=no
   17727 fi
   17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17729 fi
   17730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17731 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17733 	CFLAGS="$xorg_testset_save_CFLAGS"
   17734 fi
   17735 
   17736 found="no"
   17737 
   17738 	if test $found = "no" ; then
   17739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17741 		fi
   17742 
   17743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17745 		fi
   17746 
   17747 		CFLAGS="$CFLAGS -Werror"
   17748 
   17749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17750 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17751 		cacheid=xorg_cv_cc_flag__Werror
   17752 		if eval \${$cacheid+:} false; then :
   17753   $as_echo_n "(cached) " >&6
   17754 else
   17755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17756 /* end confdefs.h.  */
   17757 int i;
   17758 int
   17759 main ()
   17760 {
   17761 
   17762   ;
   17763   return 0;
   17764 }
   17765 _ACEOF
   17766 if ac_fn_c_try_link "$LINENO"; then :
   17767   eval $cacheid=yes
   17768 else
   17769   eval $cacheid=no
   17770 fi
   17771 rm -f core conftest.err conftest.$ac_objext \
   17772     conftest$ac_exeext conftest.$ac_ext
   17773 fi
   17774 
   17775 
   17776 		CFLAGS="$xorg_testset_save_CFLAGS"
   17777 
   17778 		eval supported=\$$cacheid
   17779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17780 $as_echo "$supported" >&6; }
   17781 		if test "$supported" = "yes" ; then
   17782 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17783 			found="yes"
   17784 		fi
   17785 	fi
   17786 
   17787 	if test $found = "no" ; then
   17788 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17789 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17790 		fi
   17791 
   17792 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17793 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17794 		fi
   17795 
   17796 		CFLAGS="$CFLAGS -errwarn"
   17797 
   17798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17799 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17800 		cacheid=xorg_cv_cc_flag__errwarn
   17801 		if eval \${$cacheid+:} false; then :
   17802   $as_echo_n "(cached) " >&6
   17803 else
   17804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17805 /* end confdefs.h.  */
   17806 int i;
   17807 int
   17808 main ()
   17809 {
   17810 
   17811   ;
   17812   return 0;
   17813 }
   17814 _ACEOF
   17815 if ac_fn_c_try_link "$LINENO"; then :
   17816   eval $cacheid=yes
   17817 else
   17818   eval $cacheid=no
   17819 fi
   17820 rm -f core conftest.err conftest.$ac_objext \
   17821     conftest$ac_exeext conftest.$ac_ext
   17822 fi
   17823 
   17824 
   17825 		CFLAGS="$xorg_testset_save_CFLAGS"
   17826 
   17827 		eval supported=\$$cacheid
   17828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17829 $as_echo "$supported" >&6; }
   17830 		if test "$supported" = "yes" ; then
   17831 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17832 			found="yes"
   17833 		fi
   17834 	fi
   17835 
   17836 
   17837 
   17838 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17839 # activate it with -Werror, so we add it here explicitly.
   17840 
   17841 
   17842 
   17843 
   17844 
   17845 
   17846 
   17847 
   17848 
   17849 
   17850 
   17851 
   17852 
   17853 xorg_testset_save_CFLAGS="$CFLAGS"
   17854 
   17855 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17856 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17858 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17859 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17860   $as_echo_n "(cached) " >&6
   17861 else
   17862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17863 /* end confdefs.h.  */
   17864 int i;
   17865 _ACEOF
   17866 if ac_fn_c_try_compile "$LINENO"; then :
   17867   xorg_cv_cc_flag_unknown_warning_option=yes
   17868 else
   17869   xorg_cv_cc_flag_unknown_warning_option=no
   17870 fi
   17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17872 fi
   17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17874 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17876 	CFLAGS="$xorg_testset_save_CFLAGS"
   17877 fi
   17878 
   17879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17882 	fi
   17883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17885 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17886 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17887   $as_echo_n "(cached) " >&6
   17888 else
   17889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17890 /* end confdefs.h.  */
   17891 int i;
   17892 _ACEOF
   17893 if ac_fn_c_try_compile "$LINENO"; then :
   17894   xorg_cv_cc_flag_unused_command_line_argument=yes
   17895 else
   17896   xorg_cv_cc_flag_unused_command_line_argument=no
   17897 fi
   17898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17899 fi
   17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17901 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17902 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17903 	CFLAGS="$xorg_testset_save_CFLAGS"
   17904 fi
   17905 
   17906 found="no"
   17907 
   17908 	if test $found = "no" ; then
   17909 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17910 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17911 		fi
   17912 
   17913 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17914 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17915 		fi
   17916 
   17917 		CFLAGS="$CFLAGS -Werror=attributes"
   17918 
   17919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17920 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17921 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17922 		if eval \${$cacheid+:} false; then :
   17923   $as_echo_n "(cached) " >&6
   17924 else
   17925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17926 /* end confdefs.h.  */
   17927 int i;
   17928 int
   17929 main ()
   17930 {
   17931 
   17932   ;
   17933   return 0;
   17934 }
   17935 _ACEOF
   17936 if ac_fn_c_try_link "$LINENO"; then :
   17937   eval $cacheid=yes
   17938 else
   17939   eval $cacheid=no
   17940 fi
   17941 rm -f core conftest.err conftest.$ac_objext \
   17942     conftest$ac_exeext conftest.$ac_ext
   17943 fi
   17944 
   17945 
   17946 		CFLAGS="$xorg_testset_save_CFLAGS"
   17947 
   17948 		eval supported=\$$cacheid
   17949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17950 $as_echo "$supported" >&6; }
   17951 		if test "$supported" = "yes" ; then
   17952 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17953 			found="yes"
   17954 		fi
   17955 	fi
   17956 
   17957 
   17958 
   17959 if test "x$STRICT_COMPILE" = "xyes"; then
   17960     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17961     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17962 fi
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 
   17969 cat >>confdefs.h <<_ACEOF
   17970 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17971 _ACEOF
   17972 
   17973 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17974 	if test "x$PVM" = "x"; then
   17975 		PVM="0"
   17976 	fi
   17977 
   17978 cat >>confdefs.h <<_ACEOF
   17979 #define PACKAGE_VERSION_MINOR $PVM
   17980 _ACEOF
   17981 
   17982 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17983 	if test "x$PVP" = "x"; then
   17984 		PVP="0"
   17985 	fi
   17986 
   17987 cat >>confdefs.h <<_ACEOF
   17988 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17989 _ACEOF
   17990 
   17991 
   17992 
   17993 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17994 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17995 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17996 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17997 
   17998 
   17999 
   18000 
   18001 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18002 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18003 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18004 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   18005 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   18006 
   18007 
   18008 
   18009 
   18010 
   18011 
   18012 if test x$APP_MAN_SUFFIX = x    ; then
   18013     APP_MAN_SUFFIX=1
   18014 fi
   18015 if test x$APP_MAN_DIR = x    ; then
   18016     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18017 fi
   18018 
   18019 if test x$LIB_MAN_SUFFIX = x    ; then
   18020     LIB_MAN_SUFFIX=3
   18021 fi
   18022 if test x$LIB_MAN_DIR = x    ; then
   18023     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18024 fi
   18025 
   18026 if test x$FILE_MAN_SUFFIX = x    ; then
   18027     case $host_os in
   18028 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   18029 	*)		FILE_MAN_SUFFIX=5  ;;
   18030     esac
   18031 fi
   18032 if test x$FILE_MAN_DIR = x    ; then
   18033     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18034 fi
   18035 
   18036 if test x$MISC_MAN_SUFFIX = x    ; then
   18037     case $host_os in
   18038 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   18039 	*)		MISC_MAN_SUFFIX=7  ;;
   18040     esac
   18041 fi
   18042 if test x$MISC_MAN_DIR = x    ; then
   18043     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18044 fi
   18045 
   18046 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18047     case $host_os in
   18048 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   18049 	*)		DRIVER_MAN_SUFFIX=4  ;;
   18050     esac
   18051 fi
   18052 if test x$DRIVER_MAN_DIR = x    ; then
   18053     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18054 fi
   18055 
   18056 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18057     case $host_os in
   18058 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   18059 	*)		ADMIN_MAN_SUFFIX=8  ;;
   18060     esac
   18061 fi
   18062 if test x$ADMIN_MAN_DIR = x    ; then
   18063     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18064 fi
   18065 
   18066 
   18067 
   18068 
   18069 
   18070 
   18071 
   18072 
   18073 
   18074 
   18075 
   18076 
   18077 
   18078 
   18079 
   18080 XORG_MAN_PAGE="X Version 11"
   18081 
   18082 MAN_SUBSTS="\
   18083 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18084 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18085 	-e 's|__xservername__|Xorg|g' \
   18086 	-e 's|__xconfigfile__|xorg.conf|g' \
   18087 	-e 's|__projectroot__|\$(prefix)|g' \
   18088 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18089 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18090 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18091 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18092 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18093 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18094 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18095 
   18096 
   18097 
   18098 # Check whether --enable-silent-rules was given.
   18099 if test "${enable_silent_rules+set}" = set; then :
   18100   enableval=$enable_silent_rules;
   18101 fi
   18102 
   18103 case $enable_silent_rules in # (((
   18104   yes) AM_DEFAULT_VERBOSITY=0;;
   18105    no) AM_DEFAULT_VERBOSITY=1;;
   18106     *) AM_DEFAULT_VERBOSITY=0;;
   18107 esac
   18108 am_make=${MAKE-make}
   18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18110 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18111 if ${am_cv_make_support_nested_variables+:} false; then :
   18112   $as_echo_n "(cached) " >&6
   18113 else
   18114   if $as_echo 'TRUE=$(BAR$(V))
   18115 BAR0=false
   18116 BAR1=true
   18117 V=1
   18118 am__doit:
   18119 	@$(TRUE)
   18120 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18121   am_cv_make_support_nested_variables=yes
   18122 else
   18123   am_cv_make_support_nested_variables=no
   18124 fi
   18125 fi
   18126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18127 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18128 if test $am_cv_make_support_nested_variables = yes; then
   18129     AM_V='$(V)'
   18130   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18131 else
   18132   AM_V=$AM_DEFAULT_VERBOSITY
   18133   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18134 fi
   18135 AM_BACKSLASH='\'
   18136 
   18137 
   18138 
   18139 
   18140 # Check whether --enable-devel-docs was given.
   18141 if test "${enable_devel_docs+set}" = set; then :
   18142   enableval=$enable_devel_docs; build_devel_docs=$enableval
   18143 else
   18144   build_devel_docs=yes
   18145 fi
   18146 
   18147 
   18148  if test x$build_devel_docs = xyes; then
   18149   ENABLE_DEVEL_DOCS_TRUE=
   18150   ENABLE_DEVEL_DOCS_FALSE='#'
   18151 else
   18152   ENABLE_DEVEL_DOCS_TRUE='#'
   18153   ENABLE_DEVEL_DOCS_FALSE=
   18154 fi
   18155 
   18156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   18157 $as_echo_n "checking whether to build developer documentation... " >&6; }
   18158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   18159 $as_echo "$build_devel_docs" >&6; }
   18160 
   18161 
   18162 
   18163 
   18164 
   18165 # Check whether --with-xmlto was given.
   18166 if test "${with_xmlto+set}" = set; then :
   18167   withval=$with_xmlto; use_xmlto=$withval
   18168 else
   18169   use_xmlto=auto
   18170 fi
   18171 
   18172 
   18173 
   18174 if test "x$use_xmlto" = x"auto"; then
   18175    # Extract the first word of "xmlto", so it can be a program name with args.
   18176 set dummy xmlto; ac_word=$2
   18177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18178 $as_echo_n "checking for $ac_word... " >&6; }
   18179 if ${ac_cv_path_XMLTO+:} false; then :
   18180   $as_echo_n "(cached) " >&6
   18181 else
   18182   case $XMLTO in
   18183   [\\/]* | ?:[\\/]*)
   18184   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18185   ;;
   18186   *)
   18187   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18188 for as_dir in $PATH
   18189 do
   18190   IFS=$as_save_IFS
   18191   test -z "$as_dir" && as_dir=.
   18192     for ac_exec_ext in '' $ac_executable_extensions; do
   18193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18194     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18196     break 2
   18197   fi
   18198 done
   18199   done
   18200 IFS=$as_save_IFS
   18201 
   18202   ;;
   18203 esac
   18204 fi
   18205 XMLTO=$ac_cv_path_XMLTO
   18206 if test -n "$XMLTO"; then
   18207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18208 $as_echo "$XMLTO" >&6; }
   18209 else
   18210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18211 $as_echo "no" >&6; }
   18212 fi
   18213 
   18214 
   18215    if test "x$XMLTO" = "x"; then
   18216         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   18217 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   18218 	have_xmlto=no
   18219    else
   18220         have_xmlto=yes
   18221    fi
   18222 elif test "x$use_xmlto" = x"yes" ; then
   18223    # Extract the first word of "xmlto", so it can be a program name with args.
   18224 set dummy xmlto; ac_word=$2
   18225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18226 $as_echo_n "checking for $ac_word... " >&6; }
   18227 if ${ac_cv_path_XMLTO+:} false; then :
   18228   $as_echo_n "(cached) " >&6
   18229 else
   18230   case $XMLTO in
   18231   [\\/]* | ?:[\\/]*)
   18232   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18233   ;;
   18234   *)
   18235   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18236 for as_dir in $PATH
   18237 do
   18238   IFS=$as_save_IFS
   18239   test -z "$as_dir" && as_dir=.
   18240     for ac_exec_ext in '' $ac_executable_extensions; do
   18241   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18242     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18244     break 2
   18245   fi
   18246 done
   18247   done
   18248 IFS=$as_save_IFS
   18249 
   18250   ;;
   18251 esac
   18252 fi
   18253 XMLTO=$ac_cv_path_XMLTO
   18254 if test -n "$XMLTO"; then
   18255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18256 $as_echo "$XMLTO" >&6; }
   18257 else
   18258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18259 $as_echo "no" >&6; }
   18260 fi
   18261 
   18262 
   18263    if test "x$XMLTO" = "x"; then
   18264         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   18265    fi
   18266    have_xmlto=yes
   18267 elif test "x$use_xmlto" = x"no" ; then
   18268    if test "x$XMLTO" != "x"; then
   18269       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   18270 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   18271    fi
   18272    have_xmlto=no
   18273 else
   18274    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   18275 fi
   18276 
   18277 # Test for a minimum version of xmlto, if provided.
   18278 if test "$have_xmlto" = yes; then
   18279     # scrape the xmlto version
   18280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   18281 $as_echo_n "checking the xmlto version... " >&6; }
   18282     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   18283     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   18284 $as_echo "$xmlto_version" >&6; }
   18285     as_arg_v1=$xmlto_version
   18286 as_arg_v2=0.0.22
   18287 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   18288 case $? in #(
   18289   1) :
   18290     if test "x$use_xmlto" = xauto; then
   18291             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   18292 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   18293             have_xmlto=no
   18294         else
   18295             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   18296         fi ;; #(
   18297   0) :
   18298      ;; #(
   18299   2) :
   18300      ;; #(
   18301   *) :
   18302      ;;
   18303 esac
   18304 fi
   18305 
   18306 # Test for the ability of xmlto to generate a text target
   18307 have_xmlto_text=no
   18308 cat > conftest.xml << "EOF"
   18309 EOF
   18310 if test "$have_xmlto" = yes; then :
   18311   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18312   have_xmlto_text=yes
   18313 else
   18314   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   18315 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   18316 fi
   18317 fi
   18318 rm -f conftest.xml
   18319  if test $have_xmlto_text = yes; then
   18320   HAVE_XMLTO_TEXT_TRUE=
   18321   HAVE_XMLTO_TEXT_FALSE='#'
   18322 else
   18323   HAVE_XMLTO_TEXT_TRUE='#'
   18324   HAVE_XMLTO_TEXT_FALSE=
   18325 fi
   18326 
   18327  if test "$have_xmlto" = yes; then
   18328   HAVE_XMLTO_TRUE=
   18329   HAVE_XMLTO_FALSE='#'
   18330 else
   18331   HAVE_XMLTO_TRUE='#'
   18332   HAVE_XMLTO_FALSE=
   18333 fi
   18334 
   18335 
   18336 
   18337 
   18338 
   18339 
   18340 # Check whether --with-fop was given.
   18341 if test "${with_fop+set}" = set; then :
   18342   withval=$with_fop; use_fop=$withval
   18343 else
   18344   use_fop=auto
   18345 fi
   18346 
   18347 
   18348 
   18349 if test "x$use_fop" = x"auto"; then
   18350    # Extract the first word of "fop", so it can be a program name with args.
   18351 set dummy fop; ac_word=$2
   18352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18353 $as_echo_n "checking for $ac_word... " >&6; }
   18354 if ${ac_cv_path_FOP+:} false; then :
   18355   $as_echo_n "(cached) " >&6
   18356 else
   18357   case $FOP in
   18358   [\\/]* | ?:[\\/]*)
   18359   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18360   ;;
   18361   *)
   18362   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18363 for as_dir in $PATH
   18364 do
   18365   IFS=$as_save_IFS
   18366   test -z "$as_dir" && as_dir=.
   18367     for ac_exec_ext in '' $ac_executable_extensions; do
   18368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18369     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18371     break 2
   18372   fi
   18373 done
   18374   done
   18375 IFS=$as_save_IFS
   18376 
   18377   ;;
   18378 esac
   18379 fi
   18380 FOP=$ac_cv_path_FOP
   18381 if test -n "$FOP"; then
   18382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18383 $as_echo "$FOP" >&6; }
   18384 else
   18385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18386 $as_echo "no" >&6; }
   18387 fi
   18388 
   18389 
   18390    if test "x$FOP" = "x"; then
   18391         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   18392 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   18393 	have_fop=no
   18394    else
   18395         have_fop=yes
   18396    fi
   18397 elif test "x$use_fop" = x"yes" ; then
   18398    # Extract the first word of "fop", so it can be a program name with args.
   18399 set dummy fop; ac_word=$2
   18400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18401 $as_echo_n "checking for $ac_word... " >&6; }
   18402 if ${ac_cv_path_FOP+:} false; then :
   18403   $as_echo_n "(cached) " >&6
   18404 else
   18405   case $FOP in
   18406   [\\/]* | ?:[\\/]*)
   18407   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18408   ;;
   18409   *)
   18410   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18411 for as_dir in $PATH
   18412 do
   18413   IFS=$as_save_IFS
   18414   test -z "$as_dir" && as_dir=.
   18415     for ac_exec_ext in '' $ac_executable_extensions; do
   18416   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18417     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18419     break 2
   18420   fi
   18421 done
   18422   done
   18423 IFS=$as_save_IFS
   18424 
   18425   ;;
   18426 esac
   18427 fi
   18428 FOP=$ac_cv_path_FOP
   18429 if test -n "$FOP"; then
   18430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18431 $as_echo "$FOP" >&6; }
   18432 else
   18433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18434 $as_echo "no" >&6; }
   18435 fi
   18436 
   18437 
   18438    if test "x$FOP" = "x"; then
   18439         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   18440    fi
   18441    have_fop=yes
   18442 elif test "x$use_fop" = x"no" ; then
   18443    if test "x$FOP" != "x"; then
   18444       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   18445 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   18446    fi
   18447    have_fop=no
   18448 else
   18449    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   18450 fi
   18451 
   18452 # Test for a minimum version of fop, if provided.
   18453 
   18454  if test "$have_fop" = yes; then
   18455   HAVE_FOP_TRUE=
   18456   HAVE_FOP_FALSE='#'
   18457 else
   18458   HAVE_FOP_TRUE='#'
   18459   HAVE_FOP_FALSE=
   18460 fi
   18461 
   18462 
   18463 
   18464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.7" >&5
   18465 $as_echo_n "checking for X.Org SGML entities >= 1.7... " >&6; }
   18466 XORG_SGML_PATH=
   18467 if test -n "$PKG_CONFIG" && \
   18468     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.7\""; } >&5
   18469   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.7") 2>&5
   18470   ac_status=$?
   18471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18472   test $ac_status = 0; }; then
   18473   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   18474 else
   18475   :
   18476 
   18477 fi
   18478 
   18479 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   18480 # the path and the name of the doc stylesheet
   18481 if test "x$XORG_SGML_PATH" != "x" ; then
   18482    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   18483 $as_echo "$XORG_SGML_PATH" >&6; }
   18484    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   18485    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   18486 else
   18487    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18488 $as_echo "no" >&6; }
   18489 fi
   18490 
   18491 
   18492 
   18493 
   18494  if test "x$XSL_STYLESHEET" != "x"; then
   18495   HAVE_STYLESHEETS_TRUE=
   18496   HAVE_STYLESHEETS_FALSE='#'
   18497 else
   18498   HAVE_STYLESHEETS_TRUE='#'
   18499   HAVE_STYLESHEETS_FALSE=
   18500 fi
   18501 
   18502 
   18503 
   18504 # Checks for header files.
   18505 for ac_header in endian.h poll.h sys/poll.h
   18506 do :
   18507   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   18508 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   18509 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   18510   cat >>confdefs.h <<_ACEOF
   18511 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   18512 _ACEOF
   18513 
   18514 fi
   18515 
   18516 done
   18517 
   18518 
   18519 # Checks for library functions.
   18520 for ac_func in poll readlink
   18521 do :
   18522   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   18523 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   18524 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   18525   cat >>confdefs.h <<_ACEOF
   18526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   18527 _ACEOF
   18528 
   18529 fi
   18530 done
   18531 
   18532 
   18533 # If the first PKG_CHECK_MODULES appears inside a conditional, pkg-config
   18534 # must first be located explicitly.
   18535 
   18536 
   18537 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   18538 	if test -n "$ac_tool_prefix"; then
   18539   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   18540 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   18541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18542 $as_echo_n "checking for $ac_word... " >&6; }
   18543 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   18544   $as_echo_n "(cached) " >&6
   18545 else
   18546   case $PKG_CONFIG in
   18547   [\\/]* | ?:[\\/]*)
   18548   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   18549   ;;
   18550   *)
   18551   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18552 for as_dir in $PATH
   18553 do
   18554   IFS=$as_save_IFS
   18555   test -z "$as_dir" && as_dir=.
   18556     for ac_exec_ext in '' $ac_executable_extensions; do
   18557   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18558     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   18559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18560     break 2
   18561   fi
   18562 done
   18563   done
   18564 IFS=$as_save_IFS
   18565 
   18566   ;;
   18567 esac
   18568 fi
   18569 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   18570 if test -n "$PKG_CONFIG"; then
   18571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   18572 $as_echo "$PKG_CONFIG" >&6; }
   18573 else
   18574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18575 $as_echo "no" >&6; }
   18576 fi
   18577 
   18578 
   18579 fi
   18580 if test -z "$ac_cv_path_PKG_CONFIG"; then
   18581   ac_pt_PKG_CONFIG=$PKG_CONFIG
   18582   # Extract the first word of "pkg-config", so it can be a program name with args.
   18583 set dummy pkg-config; ac_word=$2
   18584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18585 $as_echo_n "checking for $ac_word... " >&6; }
   18586 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   18587   $as_echo_n "(cached) " >&6
   18588 else
   18589   case $ac_pt_PKG_CONFIG in
   18590   [\\/]* | ?:[\\/]*)
   18591   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   18592   ;;
   18593   *)
   18594   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18595 for as_dir in $PATH
   18596 do
   18597   IFS=$as_save_IFS
   18598   test -z "$as_dir" && as_dir=.
   18599     for ac_exec_ext in '' $ac_executable_extensions; do
   18600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18601     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   18602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18603     break 2
   18604   fi
   18605 done
   18606   done
   18607 IFS=$as_save_IFS
   18608 
   18609   ;;
   18610 esac
   18611 fi
   18612 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   18613 if test -n "$ac_pt_PKG_CONFIG"; then
   18614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   18615 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   18616 else
   18617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18618 $as_echo "no" >&6; }
   18619 fi
   18620 
   18621   if test "x$ac_pt_PKG_CONFIG" = x; then
   18622     PKG_CONFIG=""
   18623   else
   18624     case $cross_compiling:$ac_tool_warned in
   18625 yes:)
   18626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   18627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   18628 ac_tool_warned=yes ;;
   18629 esac
   18630     PKG_CONFIG=$ac_pt_PKG_CONFIG
   18631   fi
   18632 else
   18633   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   18634 fi
   18635 
   18636 fi
   18637 if test -n "$PKG_CONFIG"; then
   18638 	_pkg_min_version=0.9.0
   18639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   18640 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   18641 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   18642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18643 $as_echo "yes" >&6; }
   18644 	else
   18645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18646 $as_echo "no" >&6; }
   18647 		PKG_CONFIG=""
   18648 	fi
   18649 
   18650 fi
   18651 
   18652 #
   18653 # select libraries to include
   18654 #
   18655 
   18656 XFONT_FONTFILE=no
   18657 
   18658 #
   18659 # FreeType for all scalable (OpenType, TrueType, PostScript) and
   18660 # some bitmap formats (BDF & PCF)
   18661 #
   18662 # Check whether --enable-freetype was given.
   18663 if test "${enable_freetype+set}" = set; then :
   18664   enableval=$enable_freetype; XFONT_FREETYPE=$enableval
   18665 else
   18666   XFONT_FREETYPE=yes
   18667 fi
   18668 
   18669  if test x$XFONT_FREETYPE = xyes; then
   18670   XFONT_FREETYPE_TRUE=
   18671   XFONT_FREETYPE_FALSE='#'
   18672 else
   18673   XFONT_FREETYPE_TRUE='#'
   18674   XFONT_FREETYPE_FALSE=
   18675 fi
   18676 
   18677 if test x$XFONT_FREETYPE = xyes; then
   18678 
   18679 $as_echo "#define XFONT_FREETYPE 1" >>confdefs.h
   18680 
   18681 
   18682 # Check whether --with-freetype-config was given.
   18683 if test "${with_freetype_config+set}" = set; then :
   18684   withval=$with_freetype_config; freetype_config=$withval
   18685 else
   18686   freetype_config=auto
   18687 fi
   18688 
   18689 
   18690 	if test "$freetype_config" = "auto" ; then
   18691 
   18692 pkg_failed=no
   18693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
   18694 $as_echo_n "checking for FREETYPE... " >&6; }
   18695 
   18696 if test -n "$FREETYPE_CFLAGS"; then
   18697     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   18698  elif test -n "$PKG_CONFIG"; then
   18699     if test -n "$PKG_CONFIG" && \
   18700     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   18701   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   18702   ac_status=$?
   18703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18704   test $ac_status = 0; }; then
   18705   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
   18706 else
   18707   pkg_failed=yes
   18708 fi
   18709  else
   18710     pkg_failed=untried
   18711 fi
   18712 if test -n "$FREETYPE_LIBS"; then
   18713     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   18714  elif test -n "$PKG_CONFIG"; then
   18715     if test -n "$PKG_CONFIG" && \
   18716     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   18717   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   18718   ac_status=$?
   18719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18720   test $ac_status = 0; }; then
   18721   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
   18722 else
   18723   pkg_failed=yes
   18724 fi
   18725  else
   18726     pkg_failed=untried
   18727 fi
   18728 
   18729 
   18730 
   18731 if test $pkg_failed = yes; then
   18732 
   18733 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18734         _pkg_short_errors_supported=yes
   18735 else
   18736         _pkg_short_errors_supported=no
   18737 fi
   18738         if test $_pkg_short_errors_supported = yes; then
   18739 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1`
   18740         else
   18741 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1`
   18742         fi
   18743 	# Put the nasty error message in config.log where it belongs
   18744 	echo "$FREETYPE_PKG_ERRORS" >&5
   18745 
   18746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18747 $as_echo "no" >&6; }
   18748                 freetype_config=yes
   18749 elif test $pkg_failed = untried; then
   18750 	freetype_config=yes
   18751 else
   18752 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   18753 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   18754         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18755 $as_echo "yes" >&6; }
   18756 	freetype_config=no
   18757 fi
   18758 	fi
   18759 
   18760 	if test "$freetype_config" = "yes"; then
   18761 		# Extract the first word of "freetype-config", so it can be a program name with args.
   18762 set dummy freetype-config; ac_word=$2
   18763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18764 $as_echo_n "checking for $ac_word... " >&6; }
   18765 if ${ac_cv_path_ft_config+:} false; then :
   18766   $as_echo_n "(cached) " >&6
   18767 else
   18768   case $ft_config in
   18769   [\\/]* | ?:[\\/]*)
   18770   ac_cv_path_ft_config="$ft_config" # Let the user override the test with a path.
   18771   ;;
   18772   *)
   18773   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18774 for as_dir in $PATH
   18775 do
   18776   IFS=$as_save_IFS
   18777   test -z "$as_dir" && as_dir=.
   18778     for ac_exec_ext in '' $ac_executable_extensions; do
   18779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18780     ac_cv_path_ft_config="$as_dir/$ac_word$ac_exec_ext"
   18781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18782     break 2
   18783   fi
   18784 done
   18785   done
   18786 IFS=$as_save_IFS
   18787 
   18788   test -z "$ac_cv_path_ft_config" && ac_cv_path_ft_config="no"
   18789   ;;
   18790 esac
   18791 fi
   18792 ft_config=$ac_cv_path_ft_config
   18793 if test -n "$ft_config"; then
   18794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_config" >&5
   18795 $as_echo "$ft_config" >&6; }
   18796 else
   18797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18798 $as_echo "no" >&6; }
   18799 fi
   18800 
   18801 
   18802 		if test "$ft_config" = "no"; then
   18803 			as_fn_error $? "You must have freetype installed; see http://www.freetype.org/" "$LINENO" 5
   18804 		fi
   18805 	else
   18806 		ft_config="$freetype_config"
   18807 	fi
   18808 
   18809 	if test "$freetype_config" != "no"; then
   18810 		FREETYPE_CFLAGS="`$ft_config --cflags`"
   18811 		FREETYPE_LIBS="`$ft_config --libs`"
   18812 	fi
   18813 	FREETYPE_REQUIRES="freetype2"
   18814 	XFONT_FONTFILE=yes
   18815 else
   18816 	FREETYPE_CFLAGS=""
   18817 	FREETYPE_LIBS=""
   18818 	FREETYPE_REQUIRES=""
   18819 fi
   18820 
   18821 
   18822 
   18823 
   18824 #
   18825 # Bitmap fonts in files:
   18826 #	Builtins (gzipped pcf format in .text segment)
   18827 #	PCF
   18828 #	BDF
   18829 #	SNF
   18830 #
   18831 
   18832 
   18833 $as_echo "#define X_GZIP_FONT_COMPRESSION 1" >>confdefs.h
   18834 
   18835 X_GZIP_FONT_COMPRESSION=1
   18836 
   18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
   18838 $as_echo_n "checking for gzopen in -lz... " >&6; }
   18839 if ${ac_cv_lib_z_gzopen+:} false; then :
   18840   $as_echo_n "(cached) " >&6
   18841 else
   18842   ac_check_lib_save_LIBS=$LIBS
   18843 LIBS="-lz  $LIBS"
   18844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18845 /* end confdefs.h.  */
   18846 
   18847 /* Override any GCC internal prototype to avoid an error.
   18848    Use char because int might match the return type of a GCC
   18849    builtin and then its argument prototype would still apply.  */
   18850 #ifdef __cplusplus
   18851 extern "C"
   18852 #endif
   18853 char gzopen ();
   18854 int
   18855 main ()
   18856 {
   18857 return gzopen ();
   18858   ;
   18859   return 0;
   18860 }
   18861 _ACEOF
   18862 if ac_fn_c_try_link "$LINENO"; then :
   18863   ac_cv_lib_z_gzopen=yes
   18864 else
   18865   ac_cv_lib_z_gzopen=no
   18866 fi
   18867 rm -f core conftest.err conftest.$ac_objext \
   18868     conftest$ac_exeext conftest.$ac_ext
   18869 LIBS=$ac_check_lib_save_LIBS
   18870 fi
   18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
   18872 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
   18873 if test "x$ac_cv_lib_z_gzopen" = xyes; then :
   18874   Z_LIBS=-lz
   18875 else
   18876   as_fn_error $? "*** zlib is required" "$LINENO" 5
   18877 fi
   18878 
   18879 
   18880 
   18881 # Check whether --with-bzip2 was given.
   18882 if test "${with_bzip2+set}" = set; then :
   18883   withval=$with_bzip2;
   18884 else
   18885   with_bzip2=no
   18886 fi
   18887 
   18888 if test "x$with_bzip2" = xyes; then
   18889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzopen in -lbz2" >&5
   18890 $as_echo_n "checking for BZ2_bzopen in -lbz2... " >&6; }
   18891 if ${ac_cv_lib_bz2_BZ2_bzopen+:} false; then :
   18892   $as_echo_n "(cached) " >&6
   18893 else
   18894   ac_check_lib_save_LIBS=$LIBS
   18895 LIBS="-lbz2  $LIBS"
   18896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18897 /* end confdefs.h.  */
   18898 
   18899 /* Override any GCC internal prototype to avoid an error.
   18900    Use char because int might match the return type of a GCC
   18901    builtin and then its argument prototype would still apply.  */
   18902 #ifdef __cplusplus
   18903 extern "C"
   18904 #endif
   18905 char BZ2_bzopen ();
   18906 int
   18907 main ()
   18908 {
   18909 return BZ2_bzopen ();
   18910   ;
   18911   return 0;
   18912 }
   18913 _ACEOF
   18914 if ac_fn_c_try_link "$LINENO"; then :
   18915   ac_cv_lib_bz2_BZ2_bzopen=yes
   18916 else
   18917   ac_cv_lib_bz2_BZ2_bzopen=no
   18918 fi
   18919 rm -f core conftest.err conftest.$ac_objext \
   18920     conftest$ac_exeext conftest.$ac_ext
   18921 LIBS=$ac_check_lib_save_LIBS
   18922 fi
   18923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
   18924 $as_echo "$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
   18925 if test "x$ac_cv_lib_bz2_BZ2_bzopen" = xyes; then :
   18926   Z_LIBS="$Z_LIBS -lbz2"
   18927 else
   18928   as_fn_error $? "*** libbz2 is required for bzip2 support" "$LINENO" 5
   18929 fi
   18930 
   18931 
   18932 $as_echo "#define X_BZIP2_FONT_COMPRESSION 1" >>confdefs.h
   18933 
   18934 fi
   18935  if test "x$with_bzip2" = xyes ; then
   18936   X_BZIP2_FONT_COMPRESSION_TRUE=
   18937   X_BZIP2_FONT_COMPRESSION_FALSE='#'
   18938 else
   18939   X_BZIP2_FONT_COMPRESSION_TRUE='#'
   18940   X_BZIP2_FONT_COMPRESSION_FALSE=
   18941 fi
   18942 
   18943 
   18944 
   18945 # Check whether --enable-builtins was given.
   18946 if test "${enable_builtins+set}" = set; then :
   18947   enableval=$enable_builtins; XFONT_BUILTINS=$enableval
   18948 else
   18949   XFONT_BUILTINS=yes
   18950 fi
   18951 
   18952  if test "x$XFONT_BUILTINS" = xyes ; then
   18953   XFONT_BUILTINS_TRUE=
   18954   XFONT_BUILTINS_FALSE='#'
   18955 else
   18956   XFONT_BUILTINS_TRUE='#'
   18957   XFONT_BUILTINS_FALSE=
   18958 fi
   18959 
   18960 if test "x$XFONT_BUILTINS" = xyes; then
   18961 
   18962 $as_echo "#define XFONT_BUILTINS 1" >>confdefs.h
   18963 
   18964 	XFONT_BITMAP=yes
   18965 fi
   18966 
   18967 # Check whether --enable-pcfformat was given.
   18968 if test "${enable_pcfformat+set}" = set; then :
   18969   enableval=$enable_pcfformat; XFONT_PCFFORMAT=$enableval
   18970 else
   18971   XFONT_PCFFORMAT=yes
   18972 fi
   18973 
   18974  if test "x$XFONT_PCFFORMAT" = xyes; then
   18975   XFONT_PCFFORMAT_TRUE=
   18976   XFONT_PCFFORMAT_FALSE='#'
   18977 else
   18978   XFONT_PCFFORMAT_TRUE='#'
   18979   XFONT_PCFFORMAT_FALSE=
   18980 fi
   18981 
   18982 if test "x$XFONT_PCFFORMAT" = xyes; then
   18983 
   18984 $as_echo "#define XFONT_PCFFORMAT 1" >>confdefs.h
   18985 
   18986 	XFONT_BITMAP=yes
   18987 fi
   18988 
   18989 # Check whether --enable-bdfformat was given.
   18990 if test "${enable_bdfformat+set}" = set; then :
   18991   enableval=$enable_bdfformat; XFONT_BDFFORMAT=$enableval
   18992 else
   18993   XFONT_BDFFORMAT=yes
   18994 fi
   18995 
   18996  if test "x$XFONT_BDFFORMAT" = xyes; then
   18997   XFONT_BDFFORMAT_TRUE=
   18998   XFONT_BDFFORMAT_FALSE='#'
   18999 else
   19000   XFONT_BDFFORMAT_TRUE='#'
   19001   XFONT_BDFFORMAT_FALSE=
   19002 fi
   19003 
   19004 if test "x$XFONT_BDFFORMAT" = xyes; then
   19005 
   19006 $as_echo "#define XFONT_BDFFORMAT 1" >>confdefs.h
   19007 
   19008 	XFONT_BITMAP=yes
   19009 fi
   19010 
   19011 # Check whether --enable-snfformat was given.
   19012 if test "${enable_snfformat+set}" = set; then :
   19013   enableval=$enable_snfformat; XFONT_SNFFORMAT=$enableval
   19014 else
   19015   XFONT_SNFFORMAT=yes
   19016 fi
   19017 
   19018  if test "x$XFONT_SNFFORMAT" = xyes; then
   19019   XFONT_SNFFORMAT_TRUE=
   19020   XFONT_SNFFORMAT_FALSE='#'
   19021 else
   19022   XFONT_SNFFORMAT_TRUE='#'
   19023   XFONT_SNFFORMAT_FALSE=
   19024 fi
   19025 
   19026 if test "x$XFONT_SNFFORMAT" = xyes; then
   19027 
   19028 $as_echo "#define XFONT_SNFFORMAT 1" >>confdefs.h
   19029 
   19030 	XFONT_BITMAP=yes
   19031 fi
   19032 
   19033  if test "x$XFONT_BITMAP" = xyes ; then
   19034   XFONT_BITMAP_TRUE=
   19035   XFONT_BITMAP_FALSE='#'
   19036 else
   19037   XFONT_BITMAP_TRUE='#'
   19038   XFONT_BITMAP_FALSE=
   19039 fi
   19040 
   19041 if test "x$XFONT_BITMAP" = xyes; then
   19042 
   19043 $as_echo "#define XFONT_BITMAP 1" >>confdefs.h
   19044 
   19045 	XFONT_FONTFILE=yes
   19046 fi
   19047 
   19048  if test "x$XFONT_FONTFILE" = xyes; then
   19049   XFONT_FONTFILE_TRUE=
   19050   XFONT_FONTFILE_FALSE='#'
   19051 else
   19052   XFONT_FONTFILE_TRUE='#'
   19053   XFONT_FONTFILE_FALSE=
   19054 fi
   19055 
   19056 if test "x$XFONT_FONTFILE" = xyes; then
   19057 
   19058 $as_echo "#define XFONT_FONTFILE 1" >>confdefs.h
   19059 
   19060 fi
   19061 
   19062 #
   19063 # Support connection to font servers?
   19064 #
   19065 
   19066 # Check whether --enable-fc was given.
   19067 if test "${enable_fc+set}" = set; then :
   19068   enableval=$enable_fc; XFONT_FC=$enableval
   19069 else
   19070   XFONT_FC=yes
   19071 fi
   19072 
   19073  if test "x$XFONT_FC" = xyes; then
   19074   XFONT_FC_TRUE=
   19075   XFONT_FC_FALSE='#'
   19076 else
   19077   XFONT_FC_TRUE='#'
   19078   XFONT_FC_FALSE=
   19079 fi
   19080 
   19081 if test "x$XFONT_FC" = xyes; then
   19082 
   19083 $as_echo "#define XFONT_FC 1" >>confdefs.h
   19084 
   19085 fi
   19086 
   19087 
   19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
   19089 $as_echo_n "checking for hypot in -lm... " >&6; }
   19090 if ${ac_cv_lib_m_hypot+:} false; then :
   19091   $as_echo_n "(cached) " >&6
   19092 else
   19093   ac_check_lib_save_LIBS=$LIBS
   19094 LIBS="-lm  $LIBS"
   19095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19096 /* end confdefs.h.  */
   19097 
   19098 /* Override any GCC internal prototype to avoid an error.
   19099    Use char because int might match the return type of a GCC
   19100    builtin and then its argument prototype would still apply.  */
   19101 #ifdef __cplusplus
   19102 extern "C"
   19103 #endif
   19104 char hypot ();
   19105 int
   19106 main ()
   19107 {
   19108 return hypot ();
   19109   ;
   19110   return 0;
   19111 }
   19112 _ACEOF
   19113 if ac_fn_c_try_link "$LINENO"; then :
   19114   ac_cv_lib_m_hypot=yes
   19115 else
   19116   ac_cv_lib_m_hypot=no
   19117 fi
   19118 rm -f core conftest.err conftest.$ac_objext \
   19119     conftest$ac_exeext conftest.$ac_ext
   19120 LIBS=$ac_check_lib_save_LIBS
   19121 fi
   19122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
   19123 $as_echo "$ac_cv_lib_m_hypot" >&6; }
   19124 if test "x$ac_cv_lib_m_hypot" = xyes; then :
   19125   MATH_LIBS=-lm
   19126 
   19127 else
   19128   as_fn_error $? "*** libm is required" "$LINENO" 5
   19129 fi
   19130 
   19131 
   19132 
   19133 pkg_failed=no
   19134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFONT" >&5
   19135 $as_echo_n "checking for XFONT... " >&6; }
   19136 
   19137 if test -n "$XFONT_CFLAGS"; then
   19138     pkg_cv_XFONT_CFLAGS="$XFONT_CFLAGS"
   19139  elif test -n "$PKG_CONFIG"; then
   19140     if test -n "$PKG_CONFIG" && \
   19141     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto < 2.1.3 fontenc\""; } >&5
   19142   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto < 2.1.3 fontenc") 2>&5
   19143   ac_status=$?
   19144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19145   test $ac_status = 0; }; then
   19146   pkg_cv_XFONT_CFLAGS=`$PKG_CONFIG --cflags "xproto xtrans fontsproto < 2.1.3 fontenc" 2>/dev/null`
   19147 else
   19148   pkg_failed=yes
   19149 fi
   19150  else
   19151     pkg_failed=untried
   19152 fi
   19153 if test -n "$XFONT_LIBS"; then
   19154     pkg_cv_XFONT_LIBS="$XFONT_LIBS"
   19155  elif test -n "$PKG_CONFIG"; then
   19156     if test -n "$PKG_CONFIG" && \
   19157     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto < 2.1.3 fontenc\""; } >&5
   19158   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto < 2.1.3 fontenc") 2>&5
   19159   ac_status=$?
   19160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19161   test $ac_status = 0; }; then
   19162   pkg_cv_XFONT_LIBS=`$PKG_CONFIG --libs "xproto xtrans fontsproto < 2.1.3 fontenc" 2>/dev/null`
   19163 else
   19164   pkg_failed=yes
   19165 fi
   19166  else
   19167     pkg_failed=untried
   19168 fi
   19169 
   19170 
   19171 
   19172 if test $pkg_failed = yes; then
   19173 
   19174 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19175         _pkg_short_errors_supported=yes
   19176 else
   19177         _pkg_short_errors_supported=no
   19178 fi
   19179         if test $_pkg_short_errors_supported = yes; then
   19180 	        XFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto xtrans fontsproto < 2.1.3 fontenc" 2>&1`
   19181         else
   19182 	        XFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto xtrans fontsproto < 2.1.3 fontenc" 2>&1`
   19183         fi
   19184 	# Put the nasty error message in config.log where it belongs
   19185 	echo "$XFONT_PKG_ERRORS" >&5
   19186 
   19187 	as_fn_error $? "Package requirements (xproto xtrans fontsproto < 2.1.3 fontenc) were not met:
   19188 
   19189 $XFONT_PKG_ERRORS
   19190 
   19191 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19192 installed software in a non-standard prefix.
   19193 
   19194 Alternatively, you may set the environment variables XFONT_CFLAGS
   19195 and XFONT_LIBS to avoid the need to call pkg-config.
   19196 See the pkg-config man page for more details.
   19197 " "$LINENO" 5
   19198 elif test $pkg_failed = untried; then
   19199 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19201 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19202 is in your PATH or set the PKG_CONFIG environment variable to the full
   19203 path to pkg-config.
   19204 
   19205 Alternatively, you may set the environment variables XFONT_CFLAGS
   19206 and XFONT_LIBS to avoid the need to call pkg-config.
   19207 See the pkg-config man page for more details.
   19208 
   19209 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19210 See \`config.log' for more details" "$LINENO" 5; }
   19211 else
   19212 	XFONT_CFLAGS=$pkg_cv_XFONT_CFLAGS
   19213 	XFONT_LIBS=$pkg_cv_XFONT_LIBS
   19214         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19215 $as_echo "yes" >&6; }
   19216 	:
   19217 fi
   19218 
   19219 # Transport selection macro from xtrans.m4
   19220 
   19221 
   19222  case $host_os in
   19223 	mingw*)	unixdef="no"   ;;
   19224 	*)	unixdef="yes"  ;;
   19225  esac
   19226  # Check whether --enable-unix-transport was given.
   19227 if test "${enable_unix_transport+set}" = set; then :
   19228   enableval=$enable_unix_transport; UNIXCONN=$enableval
   19229 else
   19230   UNIXCONN=$unixdef
   19231 fi
   19232 
   19233  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   19234 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   19235  if test "$UNIXCONN" = "yes"; then
   19236 
   19237 $as_echo "#define UNIXCONN 1" >>confdefs.h
   19238 
   19239  fi
   19240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   19241 $as_echo "$UNIXCONN" >&6; }
   19242  # Check whether --enable-tcp-transport was given.
   19243 if test "${enable_tcp_transport+set}" = set; then :
   19244   enableval=$enable_tcp_transport; TCPCONN=$enableval
   19245 else
   19246   TCPCONN=yes
   19247 fi
   19248 
   19249  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   19250 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   19251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   19252 $as_echo "$TCPCONN" >&6; }
   19253  if test "$TCPCONN" = "yes"; then
   19254 
   19255 $as_echo "#define TCPCONN 1" >>confdefs.h
   19256 
   19257 
   19258  # SVR4 hides these in libraries other than libc
   19259  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   19260 $as_echo_n "checking for library containing socket... " >&6; }
   19261 if ${ac_cv_search_socket+:} false; then :
   19262   $as_echo_n "(cached) " >&6
   19263 else
   19264   ac_func_search_save_LIBS=$LIBS
   19265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19266 /* end confdefs.h.  */
   19267 
   19268 /* Override any GCC internal prototype to avoid an error.
   19269    Use char because int might match the return type of a GCC
   19270    builtin and then its argument prototype would still apply.  */
   19271 #ifdef __cplusplus
   19272 extern "C"
   19273 #endif
   19274 char socket ();
   19275 int
   19276 main ()
   19277 {
   19278 return socket ();
   19279   ;
   19280   return 0;
   19281 }
   19282 _ACEOF
   19283 for ac_lib in '' socket; do
   19284   if test -z "$ac_lib"; then
   19285     ac_res="none required"
   19286   else
   19287     ac_res=-l$ac_lib
   19288     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19289   fi
   19290   if ac_fn_c_try_link "$LINENO"; then :
   19291   ac_cv_search_socket=$ac_res
   19292 fi
   19293 rm -f core conftest.err conftest.$ac_objext \
   19294     conftest$ac_exeext
   19295   if ${ac_cv_search_socket+:} false; then :
   19296   break
   19297 fi
   19298 done
   19299 if ${ac_cv_search_socket+:} false; then :
   19300 
   19301 else
   19302   ac_cv_search_socket=no
   19303 fi
   19304 rm conftest.$ac_ext
   19305 LIBS=$ac_func_search_save_LIBS
   19306 fi
   19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   19308 $as_echo "$ac_cv_search_socket" >&6; }
   19309 ac_res=$ac_cv_search_socket
   19310 if test "$ac_res" != no; then :
   19311   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19312 
   19313 fi
   19314 
   19315  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   19316 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   19317 if ${ac_cv_search_gethostbyname+:} false; then :
   19318   $as_echo_n "(cached) " >&6
   19319 else
   19320   ac_func_search_save_LIBS=$LIBS
   19321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19322 /* end confdefs.h.  */
   19323 
   19324 /* Override any GCC internal prototype to avoid an error.
   19325    Use char because int might match the return type of a GCC
   19326    builtin and then its argument prototype would still apply.  */
   19327 #ifdef __cplusplus
   19328 extern "C"
   19329 #endif
   19330 char gethostbyname ();
   19331 int
   19332 main ()
   19333 {
   19334 return gethostbyname ();
   19335   ;
   19336   return 0;
   19337 }
   19338 _ACEOF
   19339 for ac_lib in '' nsl; do
   19340   if test -z "$ac_lib"; then
   19341     ac_res="none required"
   19342   else
   19343     ac_res=-l$ac_lib
   19344     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19345   fi
   19346   if ac_fn_c_try_link "$LINENO"; then :
   19347   ac_cv_search_gethostbyname=$ac_res
   19348 fi
   19349 rm -f core conftest.err conftest.$ac_objext \
   19350     conftest$ac_exeext
   19351   if ${ac_cv_search_gethostbyname+:} false; then :
   19352   break
   19353 fi
   19354 done
   19355 if ${ac_cv_search_gethostbyname+:} false; then :
   19356 
   19357 else
   19358   ac_cv_search_gethostbyname=no
   19359 fi
   19360 rm conftest.$ac_ext
   19361 LIBS=$ac_func_search_save_LIBS
   19362 fi
   19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   19364 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   19365 ac_res=$ac_cv_search_gethostbyname
   19366 if test "$ac_res" != no; then :
   19367   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19368 
   19369 fi
   19370 
   19371  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   19372    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   19373 $as_echo_n "checking for main in -lws2_32... " >&6; }
   19374 if ${ac_cv_lib_ws2_32_main+:} false; then :
   19375   $as_echo_n "(cached) " >&6
   19376 else
   19377   ac_check_lib_save_LIBS=$LIBS
   19378 LIBS="-lws2_32  $LIBS"
   19379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19380 /* end confdefs.h.  */
   19381 
   19382 
   19383 int
   19384 main ()
   19385 {
   19386 return main ();
   19387   ;
   19388   return 0;
   19389 }
   19390 _ACEOF
   19391 if ac_fn_c_try_link "$LINENO"; then :
   19392   ac_cv_lib_ws2_32_main=yes
   19393 else
   19394   ac_cv_lib_ws2_32_main=no
   19395 fi
   19396 rm -f core conftest.err conftest.$ac_objext \
   19397     conftest$ac_exeext conftest.$ac_ext
   19398 LIBS=$ac_check_lib_save_LIBS
   19399 fi
   19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   19401 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   19402 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   19403   cat >>confdefs.h <<_ACEOF
   19404 #define HAVE_LIBWS2_32 1
   19405 _ACEOF
   19406 
   19407   LIBS="-lws2_32 $LIBS"
   19408 
   19409 fi
   19410 
   19411  fi
   19412 
   19413  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   19414  # Check whether --enable-ipv6 was given.
   19415 if test "${enable_ipv6+set}" = set; then :
   19416   enableval=$enable_ipv6; IPV6CONN=$enableval
   19417 else
   19418   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   19419 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   19420   IPV6CONN=yes
   19421 else
   19422   IPV6CONN=no
   19423 fi
   19424 
   19425 fi
   19426 
   19427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   19428 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   19429  if test "$IPV6CONN" = "yes"; then
   19430 
   19431 $as_echo "#define IPv6 1" >>confdefs.h
   19432 
   19433  fi
   19434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   19435 $as_echo "$IPV6CONN" >&6; }
   19436 
   19437  # 4.3BSD-Reno added a new member to struct sockaddr_in
   19438  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   19439 #include <sys/types.h>
   19440 #include <sys/socket.h>
   19441 #include <netinet/in.h>
   19442 
   19443 "
   19444 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   19445 
   19446 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   19447 
   19448 fi
   19449 
   19450 
   19451  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   19452  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   19453 $ac_includes_default
   19454 #include <sys/socket.h>
   19455 "
   19456 if test "x$ac_cv_type_socklen_t" = xyes; then :
   19457 
   19458 cat >>confdefs.h <<_ACEOF
   19459 #define HAVE_SOCKLEN_T 1
   19460 _ACEOF
   19461 
   19462 
   19463 fi
   19464 
   19465 
   19466  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   19467  # _XOPEN_SOURCE to get it (such as on Solaris)
   19468  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   19469 $ac_includes_default
   19470 #include <sys/socket.h>
   19471 
   19472 "
   19473 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   19474 
   19475 fi
   19476 
   19477  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   19478  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   19479      unset ac_cv_member_struct_msghdr_msg_control
   19480      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   19481 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   19482      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   19483 #define _XOPEN_SOURCE 600
   19484 $ac_includes_default
   19485 #include <sys/socket.h>
   19486 
   19487 "
   19488 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   19489 
   19490 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   19491 
   19492 
   19493 fi
   19494 
   19495  fi
   19496  # If that didn't work, fall back to XPG5/UNIX98 with C89
   19497  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   19498      unset ac_cv_member_struct_msghdr_msg_control
   19499      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   19500 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   19501      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   19502 #define _XOPEN_SOURCE 500
   19503 $ac_includes_default
   19504 #include <sys/socket.h>
   19505 
   19506 "
   19507 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   19508 
   19509 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   19510 
   19511 
   19512 fi
   19513 
   19514  fi
   19515 
   19516 
   19517 
   19518  fi
   19519  case $host_os in
   19520 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   19521 	*)			localdef="no"  ;;
   19522  esac
   19523  # Check whether --enable-local-transport was given.
   19524 if test "${enable_local_transport+set}" = set; then :
   19525   enableval=$enable_local_transport; LOCALCONN=$enableval
   19526 else
   19527   LOCALCONN=$localdef
   19528 fi
   19529 
   19530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   19531 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   19532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   19533 $as_echo "$LOCALCONN" >&6; }
   19534  if test "$LOCALCONN" = "yes"; then
   19535 
   19536 $as_echo "#define LOCALCONN 1" >>confdefs.h
   19537 
   19538  fi
   19539 
   19540 
   19541 
   19542 case $host_os in
   19543     linux*)
   19544         OS_CFLAGS="-D_XOPEN_SOURCE"
   19545         ;;
   19546     darwin*)
   19547         OS_CFLAGS="-Wl,-flat_namespace"
   19548 	;;
   19549     *)
   19550         OS_CFLAGS=
   19551         ;;
   19552 esac
   19553 
   19554 
   19555 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/fontfile/Makefile src/FreeType/Makefile src/builtins/Makefile src/bitmap/Makefile src/fc/Makefile src/util/Makefile src/stubs/Makefile xfont.pc"
   19556 
   19557 cat >confcache <<\_ACEOF
   19558 # This file is a shell script that caches the results of configure
   19559 # tests run on this system so they can be shared between configure
   19560 # scripts and configure runs, see configure's option --config-cache.
   19561 # It is not useful on other systems.  If it contains results you don't
   19562 # want to keep, you may remove or edit it.
   19563 #
   19564 # config.status only pays attention to the cache file if you give it
   19565 # the --recheck option to rerun configure.
   19566 #
   19567 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19568 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19569 # following values.
   19570 
   19571 _ACEOF
   19572 
   19573 # The following way of writing the cache mishandles newlines in values,
   19574 # but we know of no workaround that is simple, portable, and efficient.
   19575 # So, we kill variables containing newlines.
   19576 # Ultrix sh set writes to stderr and can't be redirected directly,
   19577 # and sets the high bit in the cache file unless we assign to the vars.
   19578 (
   19579   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19580     eval ac_val=\$$ac_var
   19581     case $ac_val in #(
   19582     *${as_nl}*)
   19583       case $ac_var in #(
   19584       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19585 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19586       esac
   19587       case $ac_var in #(
   19588       _ | IFS | as_nl) ;; #(
   19589       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19590       *) { eval $ac_var=; unset $ac_var;} ;;
   19591       esac ;;
   19592     esac
   19593   done
   19594 
   19595   (set) 2>&1 |
   19596     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19597     *${as_nl}ac_space=\ *)
   19598       # `set' does not quote correctly, so add quotes: double-quote
   19599       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19600       sed -n \
   19601 	"s/'/'\\\\''/g;
   19602 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19603       ;; #(
   19604     *)
   19605       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19606       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19607       ;;
   19608     esac |
   19609     sort
   19610 ) |
   19611   sed '
   19612      /^ac_cv_env_/b end
   19613      t clear
   19614      :clear
   19615      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19616      t end
   19617      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19618      :end' >>confcache
   19619 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19620   if test -w "$cache_file"; then
   19621     if test "x$cache_file" != "x/dev/null"; then
   19622       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19623 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19624       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19625 	cat confcache >"$cache_file"
   19626       else
   19627         case $cache_file in #(
   19628         */* | ?:*)
   19629 	  mv -f confcache "$cache_file"$$ &&
   19630 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19631         *)
   19632 	  mv -f confcache "$cache_file" ;;
   19633 	esac
   19634       fi
   19635     fi
   19636   else
   19637     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19638 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19639   fi
   19640 fi
   19641 rm -f confcache
   19642 
   19643 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19644 # Let make expand exec_prefix.
   19645 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19646 
   19647 DEFS=-DHAVE_CONFIG_H
   19648 
   19649 ac_libobjs=
   19650 ac_ltlibobjs=
   19651 U=
   19652 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19653   # 1. Remove the extension, and $U if already installed.
   19654   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19655   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19656   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19657   #    will be set to the directory where LIBOBJS objects are built.
   19658   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19659   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19660 done
   19661 LIBOBJS=$ac_libobjs
   19662 
   19663 LTLIBOBJS=$ac_ltlibobjs
   19664 
   19665 
   19666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19667 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19668    if test -n "$am_sleep_pid"; then
   19669      # Hide warnings about reused PIDs.
   19670      wait $am_sleep_pid 2>/dev/null
   19671    fi
   19672    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19673 $as_echo "done" >&6; }
   19674  if test -n "$EXEEXT"; then
   19675   am__EXEEXT_TRUE=
   19676   am__EXEEXT_FALSE='#'
   19677 else
   19678   am__EXEEXT_TRUE='#'
   19679   am__EXEEXT_FALSE=
   19680 fi
   19681 
   19682 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19683   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19685 fi
   19686 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19687   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19689 fi
   19690 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   19691   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   19692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19693 fi
   19694 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   19695   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   19696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19697 fi
   19698 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   19699   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   19700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19701 fi
   19702 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   19703   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   19704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19705 fi
   19706 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   19707   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   19708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19709 fi
   19710 if test -z "${XFONT_FREETYPE_TRUE}" && test -z "${XFONT_FREETYPE_FALSE}"; then
   19711   as_fn_error $? "conditional \"XFONT_FREETYPE\" was never defined.
   19712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19713 fi
   19714 if test -z "${X_BZIP2_FONT_COMPRESSION_TRUE}" && test -z "${X_BZIP2_FONT_COMPRESSION_FALSE}"; then
   19715   as_fn_error $? "conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined.
   19716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19717 fi
   19718 if test -z "${XFONT_BUILTINS_TRUE}" && test -z "${XFONT_BUILTINS_FALSE}"; then
   19719   as_fn_error $? "conditional \"XFONT_BUILTINS\" was never defined.
   19720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19721 fi
   19722 if test -z "${XFONT_PCFFORMAT_TRUE}" && test -z "${XFONT_PCFFORMAT_FALSE}"; then
   19723   as_fn_error $? "conditional \"XFONT_PCFFORMAT\" was never defined.
   19724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19725 fi
   19726 if test -z "${XFONT_BDFFORMAT_TRUE}" && test -z "${XFONT_BDFFORMAT_FALSE}"; then
   19727   as_fn_error $? "conditional \"XFONT_BDFFORMAT\" was never defined.
   19728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19729 fi
   19730 if test -z "${XFONT_SNFFORMAT_TRUE}" && test -z "${XFONT_SNFFORMAT_FALSE}"; then
   19731   as_fn_error $? "conditional \"XFONT_SNFFORMAT\" was never defined.
   19732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19733 fi
   19734 if test -z "${XFONT_BITMAP_TRUE}" && test -z "${XFONT_BITMAP_FALSE}"; then
   19735   as_fn_error $? "conditional \"XFONT_BITMAP\" was never defined.
   19736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19737 fi
   19738 if test -z "${XFONT_FONTFILE_TRUE}" && test -z "${XFONT_FONTFILE_FALSE}"; then
   19739   as_fn_error $? "conditional \"XFONT_FONTFILE\" was never defined.
   19740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19741 fi
   19742 if test -z "${XFONT_FC_TRUE}" && test -z "${XFONT_FC_FALSE}"; then
   19743   as_fn_error $? "conditional \"XFONT_FC\" was never defined.
   19744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19745 fi
   19746 
   19747 : "${CONFIG_STATUS=./config.status}"
   19748 ac_write_fail=0
   19749 ac_clean_files_save=$ac_clean_files
   19750 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19751 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19752 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19753 as_write_fail=0
   19754 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19755 #! $SHELL
   19756 # Generated by $as_me.
   19757 # Run this file to recreate the current configuration.
   19758 # Compiler output produced by configure, useful for debugging
   19759 # configure, is in config.log if it exists.
   19760 
   19761 debug=false
   19762 ac_cs_recheck=false
   19763 ac_cs_silent=false
   19764 
   19765 SHELL=\${CONFIG_SHELL-$SHELL}
   19766 export SHELL
   19767 _ASEOF
   19768 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19769 ## -------------------- ##
   19770 ## M4sh Initialization. ##
   19771 ## -------------------- ##
   19772 
   19773 # Be more Bourne compatible
   19774 DUALCASE=1; export DUALCASE # for MKS sh
   19775 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19776   emulate sh
   19777   NULLCMD=:
   19778   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19779   # is contrary to our usage.  Disable this feature.
   19780   alias -g '${1+"$@"}'='"$@"'
   19781   setopt NO_GLOB_SUBST
   19782 else
   19783   case `(set -o) 2>/dev/null` in #(
   19784   *posix*) :
   19785     set -o posix ;; #(
   19786   *) :
   19787      ;;
   19788 esac
   19789 fi
   19790 
   19791 
   19792 as_nl='
   19793 '
   19794 export as_nl
   19795 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19796 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19797 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19798 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19799 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19800 # but without wasting forks for bash or zsh.
   19801 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19802     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19803   as_echo='print -r --'
   19804   as_echo_n='print -rn --'
   19805 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19806   as_echo='printf %s\n'
   19807   as_echo_n='printf %s'
   19808 else
   19809   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19810     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19811     as_echo_n='/usr/ucb/echo -n'
   19812   else
   19813     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19814     as_echo_n_body='eval
   19815       arg=$1;
   19816       case $arg in #(
   19817       *"$as_nl"*)
   19818 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19819 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19820       esac;
   19821       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19822     '
   19823     export as_echo_n_body
   19824     as_echo_n='sh -c $as_echo_n_body as_echo'
   19825   fi
   19826   export as_echo_body
   19827   as_echo='sh -c $as_echo_body as_echo'
   19828 fi
   19829 
   19830 # The user is always right.
   19831 if test "${PATH_SEPARATOR+set}" != set; then
   19832   PATH_SEPARATOR=:
   19833   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19834     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19835       PATH_SEPARATOR=';'
   19836   }
   19837 fi
   19838 
   19839 
   19840 # IFS
   19841 # We need space, tab and new line, in precisely that order.  Quoting is
   19842 # there to prevent editors from complaining about space-tab.
   19843 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19844 # splitting by setting IFS to empty value.)
   19845 IFS=" ""	$as_nl"
   19846 
   19847 # Find who we are.  Look in the path if we contain no directory separator.
   19848 as_myself=
   19849 case $0 in #((
   19850   *[\\/]* ) as_myself=$0 ;;
   19851   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19852 for as_dir in $PATH
   19853 do
   19854   IFS=$as_save_IFS
   19855   test -z "$as_dir" && as_dir=.
   19856     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19857   done
   19858 IFS=$as_save_IFS
   19859 
   19860      ;;
   19861 esac
   19862 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19863 # in which case we are not to be found in the path.
   19864 if test "x$as_myself" = x; then
   19865   as_myself=$0
   19866 fi
   19867 if test ! -f "$as_myself"; then
   19868   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19869   exit 1
   19870 fi
   19871 
   19872 # Unset variables that we do not need and which cause bugs (e.g. in
   19873 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19874 # suppresses any "Segmentation fault" message there.  '((' could
   19875 # trigger a bug in pdksh 5.2.14.
   19876 for as_var in BASH_ENV ENV MAIL MAILPATH
   19877 do eval test x\${$as_var+set} = xset \
   19878   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19879 done
   19880 PS1='$ '
   19881 PS2='> '
   19882 PS4='+ '
   19883 
   19884 # NLS nuisances.
   19885 LC_ALL=C
   19886 export LC_ALL
   19887 LANGUAGE=C
   19888 export LANGUAGE
   19889 
   19890 # CDPATH.
   19891 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19892 
   19893 
   19894 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19895 # ----------------------------------------
   19896 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19897 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19898 # script with STATUS, using 1 if that was 0.
   19899 as_fn_error ()
   19900 {
   19901   as_status=$1; test $as_status -eq 0 && as_status=1
   19902   if test "$4"; then
   19903     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19904     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19905   fi
   19906   $as_echo "$as_me: error: $2" >&2
   19907   as_fn_exit $as_status
   19908 } # as_fn_error
   19909 
   19910 
   19911 # as_fn_set_status STATUS
   19912 # -----------------------
   19913 # Set $? to STATUS, without forking.
   19914 as_fn_set_status ()
   19915 {
   19916   return $1
   19917 } # as_fn_set_status
   19918 
   19919 # as_fn_exit STATUS
   19920 # -----------------
   19921 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19922 as_fn_exit ()
   19923 {
   19924   set +e
   19925   as_fn_set_status $1
   19926   exit $1
   19927 } # as_fn_exit
   19928 
   19929 # as_fn_unset VAR
   19930 # ---------------
   19931 # Portably unset VAR.
   19932 as_fn_unset ()
   19933 {
   19934   { eval $1=; unset $1;}
   19935 }
   19936 as_unset=as_fn_unset
   19937 # as_fn_append VAR VALUE
   19938 # ----------------------
   19939 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19940 # advantage of any shell optimizations that allow amortized linear growth over
   19941 # repeated appends, instead of the typical quadratic growth present in naive
   19942 # implementations.
   19943 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19944   eval 'as_fn_append ()
   19945   {
   19946     eval $1+=\$2
   19947   }'
   19948 else
   19949   as_fn_append ()
   19950   {
   19951     eval $1=\$$1\$2
   19952   }
   19953 fi # as_fn_append
   19954 
   19955 # as_fn_arith ARG...
   19956 # ------------------
   19957 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19958 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19959 # must be portable across $(()) and expr.
   19960 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19961   eval 'as_fn_arith ()
   19962   {
   19963     as_val=$(( $* ))
   19964   }'
   19965 else
   19966   as_fn_arith ()
   19967   {
   19968     as_val=`expr "$@" || test $? -eq 1`
   19969   }
   19970 fi # as_fn_arith
   19971 
   19972 
   19973 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19974    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19975   as_expr=expr
   19976 else
   19977   as_expr=false
   19978 fi
   19979 
   19980 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19981   as_basename=basename
   19982 else
   19983   as_basename=false
   19984 fi
   19985 
   19986 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19987   as_dirname=dirname
   19988 else
   19989   as_dirname=false
   19990 fi
   19991 
   19992 as_me=`$as_basename -- "$0" ||
   19993 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19994 	 X"$0" : 'X\(//\)$' \| \
   19995 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19996 $as_echo X/"$0" |
   19997     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19998 	    s//\1/
   19999 	    q
   20000 	  }
   20001 	  /^X\/\(\/\/\)$/{
   20002 	    s//\1/
   20003 	    q
   20004 	  }
   20005 	  /^X\/\(\/\).*/{
   20006 	    s//\1/
   20007 	    q
   20008 	  }
   20009 	  s/.*/./; q'`
   20010 
   20011 # Avoid depending upon Character Ranges.
   20012 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20013 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20014 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20015 as_cr_digits='0123456789'
   20016 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20017 
   20018 ECHO_C= ECHO_N= ECHO_T=
   20019 case `echo -n x` in #(((((
   20020 -n*)
   20021   case `echo 'xy\c'` in
   20022   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20023   xy)  ECHO_C='\c';;
   20024   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20025        ECHO_T='	';;
   20026   esac;;
   20027 *)
   20028   ECHO_N='-n';;
   20029 esac
   20030 
   20031 rm -f conf$$ conf$$.exe conf$$.file
   20032 if test -d conf$$.dir; then
   20033   rm -f conf$$.dir/conf$$.file
   20034 else
   20035   rm -f conf$$.dir
   20036   mkdir conf$$.dir 2>/dev/null
   20037 fi
   20038 if (echo >conf$$.file) 2>/dev/null; then
   20039   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20040     as_ln_s='ln -s'
   20041     # ... but there are two gotchas:
   20042     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20043     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20044     # In both cases, we have to default to `cp -p'.
   20045     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20046       as_ln_s='cp -p'
   20047   elif ln conf$$.file conf$$ 2>/dev/null; then
   20048     as_ln_s=ln
   20049   else
   20050     as_ln_s='cp -p'
   20051   fi
   20052 else
   20053   as_ln_s='cp -p'
   20054 fi
   20055 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20056 rmdir conf$$.dir 2>/dev/null
   20057 
   20058 
   20059 # as_fn_mkdir_p
   20060 # -------------
   20061 # Create "$as_dir" as a directory, including parents if necessary.
   20062 as_fn_mkdir_p ()
   20063 {
   20064 
   20065   case $as_dir in #(
   20066   -*) as_dir=./$as_dir;;
   20067   esac
   20068   test -d "$as_dir" || eval $as_mkdir_p || {
   20069     as_dirs=
   20070     while :; do
   20071       case $as_dir in #(
   20072       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20073       *) as_qdir=$as_dir;;
   20074       esac
   20075       as_dirs="'$as_qdir' $as_dirs"
   20076       as_dir=`$as_dirname -- "$as_dir" ||
   20077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20078 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20079 	 X"$as_dir" : 'X\(//\)$' \| \
   20080 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20081 $as_echo X"$as_dir" |
   20082     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20083 	    s//\1/
   20084 	    q
   20085 	  }
   20086 	  /^X\(\/\/\)[^/].*/{
   20087 	    s//\1/
   20088 	    q
   20089 	  }
   20090 	  /^X\(\/\/\)$/{
   20091 	    s//\1/
   20092 	    q
   20093 	  }
   20094 	  /^X\(\/\).*/{
   20095 	    s//\1/
   20096 	    q
   20097 	  }
   20098 	  s/.*/./; q'`
   20099       test -d "$as_dir" && break
   20100     done
   20101     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20102   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20103 
   20104 
   20105 } # as_fn_mkdir_p
   20106 if mkdir -p . 2>/dev/null; then
   20107   as_mkdir_p='mkdir -p "$as_dir"'
   20108 else
   20109   test -d ./-p && rmdir ./-p
   20110   as_mkdir_p=false
   20111 fi
   20112 
   20113 if test -x / >/dev/null 2>&1; then
   20114   as_test_x='test -x'
   20115 else
   20116   if ls -dL / >/dev/null 2>&1; then
   20117     as_ls_L_option=L
   20118   else
   20119     as_ls_L_option=
   20120   fi
   20121   as_test_x='
   20122     eval sh -c '\''
   20123       if test -d "$1"; then
   20124 	test -d "$1/.";
   20125       else
   20126 	case $1 in #(
   20127 	-*)set "./$1";;
   20128 	esac;
   20129 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   20130 	???[sx]*):;;*)false;;esac;fi
   20131     '\'' sh
   20132   '
   20133 fi
   20134 as_executable_p=$as_test_x
   20135 
   20136 # Sed expression to map a string onto a valid CPP name.
   20137 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20138 
   20139 # Sed expression to map a string onto a valid variable name.
   20140 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20141 
   20142 
   20143 exec 6>&1
   20144 ## ----------------------------------- ##
   20145 ## Main body of $CONFIG_STATUS script. ##
   20146 ## ----------------------------------- ##
   20147 _ASEOF
   20148 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20149 
   20150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20151 # Save the log message, to keep $0 and so on meaningful, and to
   20152 # report actual input values of CONFIG_FILES etc. instead of their
   20153 # values after options handling.
   20154 ac_log="
   20155 This file was extended by libXfont $as_me 1.4.8, which was
   20156 generated by GNU Autoconf 2.68.  Invocation command line was
   20157 
   20158   CONFIG_FILES    = $CONFIG_FILES
   20159   CONFIG_HEADERS  = $CONFIG_HEADERS
   20160   CONFIG_LINKS    = $CONFIG_LINKS
   20161   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20162   $ $0 $@
   20163 
   20164 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20165 "
   20166 
   20167 _ACEOF
   20168 
   20169 case $ac_config_files in *"
   20170 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20171 esac
   20172 
   20173 case $ac_config_headers in *"
   20174 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20175 esac
   20176 
   20177 
   20178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20179 # Files that config.status was made for.
   20180 config_files="$ac_config_files"
   20181 config_headers="$ac_config_headers"
   20182 config_commands="$ac_config_commands"
   20183 
   20184 _ACEOF
   20185 
   20186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20187 ac_cs_usage="\
   20188 \`$as_me' instantiates files and other configuration actions
   20189 from templates according to the current configuration.  Unless the files
   20190 and actions are specified as TAGs, all are instantiated by default.
   20191 
   20192 Usage: $0 [OPTION]... [TAG]...
   20193 
   20194   -h, --help       print this help, then exit
   20195   -V, --version    print version number and configuration settings, then exit
   20196       --config     print configuration, then exit
   20197   -q, --quiet, --silent
   20198                    do not print progress messages
   20199   -d, --debug      don't remove temporary files
   20200       --recheck    update $as_me by reconfiguring in the same conditions
   20201       --file=FILE[:TEMPLATE]
   20202                    instantiate the configuration file FILE
   20203       --header=FILE[:TEMPLATE]
   20204                    instantiate the configuration header FILE
   20205 
   20206 Configuration files:
   20207 $config_files
   20208 
   20209 Configuration headers:
   20210 $config_headers
   20211 
   20212 Configuration commands:
   20213 $config_commands
   20214 
   20215 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   20216 
   20217 _ACEOF
   20218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20219 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   20220 ac_cs_version="\\
   20221 libXfont config.status 1.4.8
   20222 configured by $0, generated by GNU Autoconf 2.68,
   20223   with options \\"\$ac_cs_config\\"
   20224 
   20225 Copyright (C) 2010 Free Software Foundation, Inc.
   20226 This config.status script is free software; the Free Software Foundation
   20227 gives unlimited permission to copy, distribute and modify it."
   20228 
   20229 ac_pwd='$ac_pwd'
   20230 srcdir='$srcdir'
   20231 INSTALL='$INSTALL'
   20232 MKDIR_P='$MKDIR_P'
   20233 AWK='$AWK'
   20234 test -n "\$AWK" || AWK=awk
   20235 _ACEOF
   20236 
   20237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20238 # The default lists apply if the user does not specify any file.
   20239 ac_need_defaults=:
   20240 while test $# != 0
   20241 do
   20242   case $1 in
   20243   --*=?*)
   20244     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20245     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20246     ac_shift=:
   20247     ;;
   20248   --*=)
   20249     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20250     ac_optarg=
   20251     ac_shift=:
   20252     ;;
   20253   *)
   20254     ac_option=$1
   20255     ac_optarg=$2
   20256     ac_shift=shift
   20257     ;;
   20258   esac
   20259 
   20260   case $ac_option in
   20261   # Handling of the options.
   20262   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20263     ac_cs_recheck=: ;;
   20264   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20265     $as_echo "$ac_cs_version"; exit ;;
   20266   --config | --confi | --conf | --con | --co | --c )
   20267     $as_echo "$ac_cs_config"; exit ;;
   20268   --debug | --debu | --deb | --de | --d | -d )
   20269     debug=: ;;
   20270   --file | --fil | --fi | --f )
   20271     $ac_shift
   20272     case $ac_optarg in
   20273     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20274     '') as_fn_error $? "missing file argument" ;;
   20275     esac
   20276     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20277     ac_need_defaults=false;;
   20278   --header | --heade | --head | --hea )
   20279     $ac_shift
   20280     case $ac_optarg in
   20281     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20282     esac
   20283     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20284     ac_need_defaults=false;;
   20285   --he | --h)
   20286     # Conflict between --help and --header
   20287     as_fn_error $? "ambiguous option: \`$1'
   20288 Try \`$0 --help' for more information.";;
   20289   --help | --hel | -h )
   20290     $as_echo "$ac_cs_usage"; exit ;;
   20291   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20292   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20293     ac_cs_silent=: ;;
   20294 
   20295   # This is an error.
   20296   -*) as_fn_error $? "unrecognized option: \`$1'
   20297 Try \`$0 --help' for more information." ;;
   20298 
   20299   *) as_fn_append ac_config_targets " $1"
   20300      ac_need_defaults=false ;;
   20301 
   20302   esac
   20303   shift
   20304 done
   20305 
   20306 ac_configure_extra_args=
   20307 
   20308 if $ac_cs_silent; then
   20309   exec 6>/dev/null
   20310   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20311 fi
   20312 
   20313 _ACEOF
   20314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20315 if \$ac_cs_recheck; then
   20316   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20317   shift
   20318   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   20319   CONFIG_SHELL='$SHELL'
   20320   export CONFIG_SHELL
   20321   exec "\$@"
   20322 fi
   20323 
   20324 _ACEOF
   20325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20326 exec 5>>config.log
   20327 {
   20328   echo
   20329   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20330 ## Running $as_me. ##
   20331 _ASBOX
   20332   $as_echo "$ac_log"
   20333 } >&5
   20334 
   20335 _ACEOF
   20336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20337 #
   20338 # INIT-COMMANDS
   20339 #
   20340 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20341 
   20342 
   20343 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20344 # if CDPATH is set.
   20345 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20346 
   20347 sed_quote_subst='$sed_quote_subst'
   20348 double_quote_subst='$double_quote_subst'
   20349 delay_variable_subst='$delay_variable_subst'
   20350 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20351 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20352 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20353 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20354 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20355 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20356 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20357 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20358 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20359 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20360 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20361 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20362 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20363 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20364 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20365 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20366 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20367 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20368 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20369 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20370 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20371 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20372 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20373 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20374 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20375 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20376 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20377 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20378 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20379 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20380 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20381 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20382 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20383 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20384 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20385 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20386 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20387 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20388 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20389 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20390 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20391 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20392 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20393 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20394 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20395 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20396 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20397 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20398 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20399 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20400 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20401 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20402 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20403 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20404 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20405 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20406 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"`'
   20407 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20408 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20409 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20410 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20411 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20412 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20413 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20414 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20415 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20416 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20417 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20418 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20419 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20420 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20421 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20422 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20423 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20424 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20425 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20426 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20427 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20428 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20429 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20430 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20431 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20432 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20433 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20434 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20435 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20436 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20437 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20438 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20439 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20440 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20441 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20442 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20443 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20444 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20445 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20446 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20447 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20448 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20449 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20450 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20451 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20452 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20453 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20454 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20455 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20456 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20457 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20458 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20459 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20460 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20461 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20462 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20463 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20464 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20465 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20466 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20467 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20468 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20469 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20470 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20471 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20472 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20473 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   20474 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20475 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20476 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20477 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20478 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20479 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20480 
   20481 LTCC='$LTCC'
   20482 LTCFLAGS='$LTCFLAGS'
   20483 compiler='$compiler_DEFAULT'
   20484 
   20485 # A function that is used when there is no print builtin or printf.
   20486 func_fallback_echo ()
   20487 {
   20488   eval 'cat <<_LTECHO_EOF
   20489 \$1
   20490 _LTECHO_EOF'
   20491 }
   20492 
   20493 # Quote evaled strings.
   20494 for var in SHELL \
   20495 ECHO \
   20496 PATH_SEPARATOR \
   20497 SED \
   20498 GREP \
   20499 EGREP \
   20500 FGREP \
   20501 LD \
   20502 NM \
   20503 LN_S \
   20504 lt_SP2NL \
   20505 lt_NL2SP \
   20506 reload_flag \
   20507 OBJDUMP \
   20508 deplibs_check_method \
   20509 file_magic_cmd \
   20510 file_magic_glob \
   20511 want_nocaseglob \
   20512 DLLTOOL \
   20513 sharedlib_from_linklib_cmd \
   20514 AR \
   20515 AR_FLAGS \
   20516 archiver_list_spec \
   20517 STRIP \
   20518 RANLIB \
   20519 CC \
   20520 CFLAGS \
   20521 compiler \
   20522 lt_cv_sys_global_symbol_pipe \
   20523 lt_cv_sys_global_symbol_to_cdecl \
   20524 lt_cv_sys_global_symbol_to_c_name_address \
   20525 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20526 nm_file_list_spec \
   20527 lt_prog_compiler_no_builtin_flag \
   20528 lt_prog_compiler_pic \
   20529 lt_prog_compiler_wl \
   20530 lt_prog_compiler_static \
   20531 lt_cv_prog_compiler_c_o \
   20532 need_locks \
   20533 MANIFEST_TOOL \
   20534 DSYMUTIL \
   20535 NMEDIT \
   20536 LIPO \
   20537 OTOOL \
   20538 OTOOL64 \
   20539 shrext_cmds \
   20540 export_dynamic_flag_spec \
   20541 whole_archive_flag_spec \
   20542 compiler_needs_object \
   20543 with_gnu_ld \
   20544 allow_undefined_flag \
   20545 no_undefined_flag \
   20546 hardcode_libdir_flag_spec \
   20547 hardcode_libdir_separator \
   20548 exclude_expsyms \
   20549 include_expsyms \
   20550 file_list_spec \
   20551 variables_saved_for_relink \
   20552 libname_spec \
   20553 library_names_spec \
   20554 soname_spec \
   20555 install_override_mode \
   20556 finish_eval \
   20557 old_striplib \
   20558 striplib; do
   20559     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20560     *[\\\\\\\`\\"\\\$]*)
   20561       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   20562       ;;
   20563     *)
   20564       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20565       ;;
   20566     esac
   20567 done
   20568 
   20569 # Double-quote double-evaled strings.
   20570 for var in reload_cmds \
   20571 old_postinstall_cmds \
   20572 old_postuninstall_cmds \
   20573 old_archive_cmds \
   20574 extract_expsyms_cmds \
   20575 old_archive_from_new_cmds \
   20576 old_archive_from_expsyms_cmds \
   20577 archive_cmds \
   20578 archive_expsym_cmds \
   20579 module_cmds \
   20580 module_expsym_cmds \
   20581 export_symbols_cmds \
   20582 prelink_cmds \
   20583 postlink_cmds \
   20584 postinstall_cmds \
   20585 postuninstall_cmds \
   20586 finish_cmds \
   20587 sys_lib_search_path_spec \
   20588 sys_lib_dlsearch_path_spec; do
   20589     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20590     *[\\\\\\\`\\"\\\$]*)
   20591       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   20592       ;;
   20593     *)
   20594       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20595       ;;
   20596     esac
   20597 done
   20598 
   20599 ac_aux_dir='$ac_aux_dir'
   20600 xsi_shell='$xsi_shell'
   20601 lt_shell_append='$lt_shell_append'
   20602 
   20603 # See if we are running on zsh, and set the options which allow our
   20604 # commands through without removal of \ escapes INIT.
   20605 if test -n "\${ZSH_VERSION+set}" ; then
   20606    setopt NO_GLOB_SUBST
   20607 fi
   20608 
   20609 
   20610     PACKAGE='$PACKAGE'
   20611     VERSION='$VERSION'
   20612     TIMESTAMP='$TIMESTAMP'
   20613     RM='$RM'
   20614     ofile='$ofile'
   20615 
   20616 
   20617 
   20618 
   20619 _ACEOF
   20620 
   20621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20622 
   20623 # Handling of arguments.
   20624 for ac_config_target in $ac_config_targets
   20625 do
   20626   case $ac_config_target in
   20627     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20628     "include/X11/fonts/fontconf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/fonts/fontconf.h" ;;
   20629     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20630     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20631     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20632     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   20633     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20634     "src/fontfile/Makefile") CONFIG_FILES="$CONFIG_FILES src/fontfile/Makefile" ;;
   20635     "src/FreeType/Makefile") CONFIG_FILES="$CONFIG_FILES src/FreeType/Makefile" ;;
   20636     "src/builtins/Makefile") CONFIG_FILES="$CONFIG_FILES src/builtins/Makefile" ;;
   20637     "src/bitmap/Makefile") CONFIG_FILES="$CONFIG_FILES src/bitmap/Makefile" ;;
   20638     "src/fc/Makefile") CONFIG_FILES="$CONFIG_FILES src/fc/Makefile" ;;
   20639     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   20640     "src/stubs/Makefile") CONFIG_FILES="$CONFIG_FILES src/stubs/Makefile" ;;
   20641     "xfont.pc") CONFIG_FILES="$CONFIG_FILES xfont.pc" ;;
   20642 
   20643   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20644   esac
   20645 done
   20646 
   20647 
   20648 # If the user did not use the arguments to specify the items to instantiate,
   20649 # then the envvar interface is used.  Set only those that are not.
   20650 # We use the long form for the default assignment because of an extremely
   20651 # bizarre bug on SunOS 4.1.3.
   20652 if $ac_need_defaults; then
   20653   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20654   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20655   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20656 fi
   20657 
   20658 # Have a temporary directory for convenience.  Make it in the build tree
   20659 # simply because there is no reason against having it here, and in addition,
   20660 # creating and moving files from /tmp can sometimes cause problems.
   20661 # Hook for its removal unless debugging.
   20662 # Note that there is a small window in which the directory will not be cleaned:
   20663 # after its creation but before its name has been assigned to `$tmp'.
   20664 $debug ||
   20665 {
   20666   tmp= ac_tmp=
   20667   trap 'exit_status=$?
   20668   : "${ac_tmp:=$tmp}"
   20669   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20670 ' 0
   20671   trap 'as_fn_exit 1' 1 2 13 15
   20672 }
   20673 # Create a (secure) tmp directory for tmp files.
   20674 
   20675 {
   20676   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20677   test -d "$tmp"
   20678 }  ||
   20679 {
   20680   tmp=./conf$$-$RANDOM
   20681   (umask 077 && mkdir "$tmp")
   20682 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20683 ac_tmp=$tmp
   20684 
   20685 # Set up the scripts for CONFIG_FILES section.
   20686 # No need to generate them if there are no CONFIG_FILES.
   20687 # This happens for instance with `./config.status config.h'.
   20688 if test -n "$CONFIG_FILES"; then
   20689 
   20690 
   20691 ac_cr=`echo X | tr X '\015'`
   20692 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20693 # But we know of no other shell where ac_cr would be empty at this
   20694 # point, so we can use a bashism as a fallback.
   20695 if test "x$ac_cr" = x; then
   20696   eval ac_cr=\$\'\\r\'
   20697 fi
   20698 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20699 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20700   ac_cs_awk_cr='\\r'
   20701 else
   20702   ac_cs_awk_cr=$ac_cr
   20703 fi
   20704 
   20705 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20706 _ACEOF
   20707 
   20708 
   20709 {
   20710   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20711   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20712   echo "_ACEOF"
   20713 } >conf$$subs.sh ||
   20714   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20715 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20716 ac_delim='%!_!# '
   20717 for ac_last_try in false false false false false :; do
   20718   . ./conf$$subs.sh ||
   20719     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20720 
   20721   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20722   if test $ac_delim_n = $ac_delim_num; then
   20723     break
   20724   elif $ac_last_try; then
   20725     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20726   else
   20727     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20728   fi
   20729 done
   20730 rm -f conf$$subs.sh
   20731 
   20732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20733 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20734 _ACEOF
   20735 sed -n '
   20736 h
   20737 s/^/S["/; s/!.*/"]=/
   20738 p
   20739 g
   20740 s/^[^!]*!//
   20741 :repl
   20742 t repl
   20743 s/'"$ac_delim"'$//
   20744 t delim
   20745 :nl
   20746 h
   20747 s/\(.\{148\}\)..*/\1/
   20748 t more1
   20749 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20750 p
   20751 n
   20752 b repl
   20753 :more1
   20754 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20755 p
   20756 g
   20757 s/.\{148\}//
   20758 t nl
   20759 :delim
   20760 h
   20761 s/\(.\{148\}\)..*/\1/
   20762 t more2
   20763 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20764 p
   20765 b
   20766 :more2
   20767 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20768 p
   20769 g
   20770 s/.\{148\}//
   20771 t delim
   20772 ' <conf$$subs.awk | sed '
   20773 /^[^""]/{
   20774   N
   20775   s/\n//
   20776 }
   20777 ' >>$CONFIG_STATUS || ac_write_fail=1
   20778 rm -f conf$$subs.awk
   20779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20780 _ACAWK
   20781 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20782   for (key in S) S_is_set[key] = 1
   20783   FS = ""
   20784 
   20785 }
   20786 {
   20787   line = $ 0
   20788   nfields = split(line, field, "@")
   20789   substed = 0
   20790   len = length(field[1])
   20791   for (i = 2; i < nfields; i++) {
   20792     key = field[i]
   20793     keylen = length(key)
   20794     if (S_is_set[key]) {
   20795       value = S[key]
   20796       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20797       len += length(value) + length(field[++i])
   20798       substed = 1
   20799     } else
   20800       len += 1 + keylen
   20801   }
   20802 
   20803   print line
   20804 }
   20805 
   20806 _ACAWK
   20807 _ACEOF
   20808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20809 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20810   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20811 else
   20812   cat
   20813 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20814   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20815 _ACEOF
   20816 
   20817 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20818 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20819 # trailing colons and then remove the whole line if VPATH becomes empty
   20820 # (actually we leave an empty line to preserve line numbers).
   20821 if test "x$srcdir" = x.; then
   20822   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20823 h
   20824 s///
   20825 s/^/:/
   20826 s/[	 ]*$/:/
   20827 s/:\$(srcdir):/:/g
   20828 s/:\${srcdir}:/:/g
   20829 s/:@srcdir@:/:/g
   20830 s/^:*//
   20831 s/:*$//
   20832 x
   20833 s/\(=[	 ]*\).*/\1/
   20834 G
   20835 s/\n//
   20836 s/^[^=]*=[	 ]*$//
   20837 }'
   20838 fi
   20839 
   20840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20841 fi # test -n "$CONFIG_FILES"
   20842 
   20843 # Set up the scripts for CONFIG_HEADERS section.
   20844 # No need to generate them if there are no CONFIG_HEADERS.
   20845 # This happens for instance with `./config.status Makefile'.
   20846 if test -n "$CONFIG_HEADERS"; then
   20847 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20848 BEGIN {
   20849 _ACEOF
   20850 
   20851 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20852 # here-document in config.status, that substitutes the proper values into
   20853 # config.h.in to produce config.h.
   20854 
   20855 # Create a delimiter string that does not exist in confdefs.h, to ease
   20856 # handling of long lines.
   20857 ac_delim='%!_!# '
   20858 for ac_last_try in false false :; do
   20859   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20860   if test -z "$ac_tt"; then
   20861     break
   20862   elif $ac_last_try; then
   20863     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20864   else
   20865     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20866   fi
   20867 done
   20868 
   20869 # For the awk script, D is an array of macro values keyed by name,
   20870 # likewise P contains macro parameters if any.  Preserve backslash
   20871 # newline sequences.
   20872 
   20873 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20874 sed -n '
   20875 s/.\{148\}/&'"$ac_delim"'/g
   20876 t rset
   20877 :rset
   20878 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20879 t def
   20880 d
   20881 :def
   20882 s/\\$//
   20883 t bsnl
   20884 s/["\\]/\\&/g
   20885 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20886 D["\1"]=" \3"/p
   20887 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20888 d
   20889 :bsnl
   20890 s/["\\]/\\&/g
   20891 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20892 D["\1"]=" \3\\\\\\n"\\/p
   20893 t cont
   20894 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20895 t cont
   20896 d
   20897 :cont
   20898 n
   20899 s/.\{148\}/&'"$ac_delim"'/g
   20900 t clear
   20901 :clear
   20902 s/\\$//
   20903 t bsnlc
   20904 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20905 d
   20906 :bsnlc
   20907 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20908 b cont
   20909 ' <confdefs.h | sed '
   20910 s/'"$ac_delim"'/"\\\
   20911 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20912 
   20913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20914   for (key in D) D_is_set[key] = 1
   20915   FS = ""
   20916 }
   20917 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20918   line = \$ 0
   20919   split(line, arg, " ")
   20920   if (arg[1] == "#") {
   20921     defundef = arg[2]
   20922     mac1 = arg[3]
   20923   } else {
   20924     defundef = substr(arg[1], 2)
   20925     mac1 = arg[2]
   20926   }
   20927   split(mac1, mac2, "(") #)
   20928   macro = mac2[1]
   20929   prefix = substr(line, 1, index(line, defundef) - 1)
   20930   if (D_is_set[macro]) {
   20931     # Preserve the white space surrounding the "#".
   20932     print prefix "define", macro P[macro] D[macro]
   20933     next
   20934   } else {
   20935     # Replace #undef with comments.  This is necessary, for example,
   20936     # in the case of _POSIX_SOURCE, which is predefined and required
   20937     # on some systems where configure will not decide to define it.
   20938     if (defundef == "undef") {
   20939       print "/*", prefix defundef, macro, "*/"
   20940       next
   20941     }
   20942   }
   20943 }
   20944 { print }
   20945 _ACAWK
   20946 _ACEOF
   20947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20948   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20949 fi # test -n "$CONFIG_HEADERS"
   20950 
   20951 
   20952 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20953 shift
   20954 for ac_tag
   20955 do
   20956   case $ac_tag in
   20957   :[FHLC]) ac_mode=$ac_tag; continue;;
   20958   esac
   20959   case $ac_mode$ac_tag in
   20960   :[FHL]*:*);;
   20961   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20962   :[FH]-) ac_tag=-:-;;
   20963   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20964   esac
   20965   ac_save_IFS=$IFS
   20966   IFS=:
   20967   set x $ac_tag
   20968   IFS=$ac_save_IFS
   20969   shift
   20970   ac_file=$1
   20971   shift
   20972 
   20973   case $ac_mode in
   20974   :L) ac_source=$1;;
   20975   :[FH])
   20976     ac_file_inputs=
   20977     for ac_f
   20978     do
   20979       case $ac_f in
   20980       -) ac_f="$ac_tmp/stdin";;
   20981       *) # Look for the file first in the build tree, then in the source tree
   20982 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20983 	 # because $ac_f cannot contain `:'.
   20984 	 test -f "$ac_f" ||
   20985 	   case $ac_f in
   20986 	   [\\/$]*) false;;
   20987 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20988 	   esac ||
   20989 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20990       esac
   20991       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20992       as_fn_append ac_file_inputs " '$ac_f'"
   20993     done
   20994 
   20995     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20996     # use $as_me), people would be surprised to read:
   20997     #    /* config.h.  Generated by config.status.  */
   20998     configure_input='Generated from '`
   20999 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21000 	`' by configure.'
   21001     if test x"$ac_file" != x-; then
   21002       configure_input="$ac_file.  $configure_input"
   21003       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21004 $as_echo "$as_me: creating $ac_file" >&6;}
   21005     fi
   21006     # Neutralize special characters interpreted by sed in replacement strings.
   21007     case $configure_input in #(
   21008     *\&* | *\|* | *\\* )
   21009        ac_sed_conf_input=`$as_echo "$configure_input" |
   21010        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21011     *) ac_sed_conf_input=$configure_input;;
   21012     esac
   21013 
   21014     case $ac_tag in
   21015     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21016       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21017     esac
   21018     ;;
   21019   esac
   21020 
   21021   ac_dir=`$as_dirname -- "$ac_file" ||
   21022 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21023 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21024 	 X"$ac_file" : 'X\(//\)$' \| \
   21025 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21026 $as_echo X"$ac_file" |
   21027     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21028 	    s//\1/
   21029 	    q
   21030 	  }
   21031 	  /^X\(\/\/\)[^/].*/{
   21032 	    s//\1/
   21033 	    q
   21034 	  }
   21035 	  /^X\(\/\/\)$/{
   21036 	    s//\1/
   21037 	    q
   21038 	  }
   21039 	  /^X\(\/\).*/{
   21040 	    s//\1/
   21041 	    q
   21042 	  }
   21043 	  s/.*/./; q'`
   21044   as_dir="$ac_dir"; as_fn_mkdir_p
   21045   ac_builddir=.
   21046 
   21047 case "$ac_dir" in
   21048 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21049 *)
   21050   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   21051   # A ".." for each directory in $ac_dir_suffix.
   21052   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21053   case $ac_top_builddir_sub in
   21054   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21055   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21056   esac ;;
   21057 esac
   21058 ac_abs_top_builddir=$ac_pwd
   21059 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21060 # for backward compatibility:
   21061 ac_top_builddir=$ac_top_build_prefix
   21062 
   21063 case $srcdir in
   21064   .)  # We are building in place.
   21065     ac_srcdir=.
   21066     ac_top_srcdir=$ac_top_builddir_sub
   21067     ac_abs_top_srcdir=$ac_pwd ;;
   21068   [\\/]* | ?:[\\/]* )  # Absolute name.
   21069     ac_srcdir=$srcdir$ac_dir_suffix;
   21070     ac_top_srcdir=$srcdir
   21071     ac_abs_top_srcdir=$srcdir ;;
   21072   *) # Relative name.
   21073     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21074     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21075     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21076 esac
   21077 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21078 
   21079 
   21080   case $ac_mode in
   21081   :F)
   21082   #
   21083   # CONFIG_FILE
   21084   #
   21085 
   21086   case $INSTALL in
   21087   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21088   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21089   esac
   21090   ac_MKDIR_P=$MKDIR_P
   21091   case $MKDIR_P in
   21092   [\\/$]* | ?:[\\/]* ) ;;
   21093   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21094   esac
   21095 _ACEOF
   21096 
   21097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21098 # If the template does not know about datarootdir, expand it.
   21099 # FIXME: This hack should be removed a few years after 2.60.
   21100 ac_datarootdir_hack=; ac_datarootdir_seen=
   21101 ac_sed_dataroot='
   21102 /datarootdir/ {
   21103   p
   21104   q
   21105 }
   21106 /@datadir@/p
   21107 /@docdir@/p
   21108 /@infodir@/p
   21109 /@localedir@/p
   21110 /@mandir@/p'
   21111 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21112 *datarootdir*) ac_datarootdir_seen=yes;;
   21113 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21114   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21115 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21116 _ACEOF
   21117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21118   ac_datarootdir_hack='
   21119   s&@datadir@&$datadir&g
   21120   s&@docdir@&$docdir&g
   21121   s&@infodir@&$infodir&g
   21122   s&@localedir@&$localedir&g
   21123   s&@mandir@&$mandir&g
   21124   s&\\\${datarootdir}&$datarootdir&g' ;;
   21125 esac
   21126 _ACEOF
   21127 
   21128 # Neutralize VPATH when `$srcdir' = `.'.
   21129 # Shell code in configure.ac might set extrasub.
   21130 # FIXME: do we really want to maintain this feature?
   21131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21132 ac_sed_extra="$ac_vpsub
   21133 $extrasub
   21134 _ACEOF
   21135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21136 :t
   21137 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21138 s|@configure_input@|$ac_sed_conf_input|;t t
   21139 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21140 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21141 s&@srcdir@&$ac_srcdir&;t t
   21142 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21143 s&@top_srcdir@&$ac_top_srcdir&;t t
   21144 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21145 s&@builddir@&$ac_builddir&;t t
   21146 s&@abs_builddir@&$ac_abs_builddir&;t t
   21147 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21148 s&@INSTALL@&$ac_INSTALL&;t t
   21149 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21150 $ac_datarootdir_hack
   21151 "
   21152 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21153   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21154 
   21155 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21156   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21157   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21158       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21159   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21160 which seems to be undefined.  Please make sure it is defined" >&5
   21161 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21162 which seems to be undefined.  Please make sure it is defined" >&2;}
   21163 
   21164   rm -f "$ac_tmp/stdin"
   21165   case $ac_file in
   21166   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21167   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21168   esac \
   21169   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21170  ;;
   21171   :H)
   21172   #
   21173   # CONFIG_HEADER
   21174   #
   21175   if test x"$ac_file" != x-; then
   21176     {
   21177       $as_echo "/* $configure_input  */" \
   21178       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21179     } >"$ac_tmp/config.h" \
   21180       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21181     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21182       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21183 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   21184     else
   21185       rm -f "$ac_file"
   21186       mv "$ac_tmp/config.h" "$ac_file" \
   21187 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21188     fi
   21189   else
   21190     $as_echo "/* $configure_input  */" \
   21191       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21192       || as_fn_error $? "could not create -" "$LINENO" 5
   21193   fi
   21194 # Compute "$ac_file"'s index in $config_headers.
   21195 _am_arg="$ac_file"
   21196 _am_stamp_count=1
   21197 for _am_header in $config_headers :; do
   21198   case $_am_header in
   21199     $_am_arg | $_am_arg:* )
   21200       break ;;
   21201     * )
   21202       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21203   esac
   21204 done
   21205 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21206 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21207 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21208 	 X"$_am_arg" : 'X\(//\)$' \| \
   21209 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21210 $as_echo X"$_am_arg" |
   21211     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21212 	    s//\1/
   21213 	    q
   21214 	  }
   21215 	  /^X\(\/\/\)[^/].*/{
   21216 	    s//\1/
   21217 	    q
   21218 	  }
   21219 	  /^X\(\/\/\)$/{
   21220 	    s//\1/
   21221 	    q
   21222 	  }
   21223 	  /^X\(\/\).*/{
   21224 	    s//\1/
   21225 	    q
   21226 	  }
   21227 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21228  ;;
   21229 
   21230   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21231 $as_echo "$as_me: executing $ac_file commands" >&6;}
   21232  ;;
   21233   esac
   21234 
   21235 
   21236   case $ac_file$ac_mode in
   21237     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21238   # Older Autoconf quotes --file arguments for eval, but not when files
   21239   # are listed without --file.  Let's play safe and only enable the eval
   21240   # if we detect the quoting.
   21241   case $CONFIG_FILES in
   21242   *\'*) eval set x "$CONFIG_FILES" ;;
   21243   *)   set x $CONFIG_FILES ;;
   21244   esac
   21245   shift
   21246   for mf
   21247   do
   21248     # Strip MF so we end up with the name of the file.
   21249     mf=`echo "$mf" | sed -e 's/:.*$//'`
   21250     # Check whether this is an Automake generated Makefile or not.
   21251     # We used to match only the files named 'Makefile.in', but
   21252     # some people rename them; so instead we look at the file content.
   21253     # Grep'ing the first line is not enough: some people post-process
   21254     # each Makefile.in and add a new line on top of each file to say so.
   21255     # Grep'ing the whole file is not good either: AIX grep has a line
   21256     # limit of 2048, but all sed's we know have understand at least 4000.
   21257     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   21258       dirpart=`$as_dirname -- "$mf" ||
   21259 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21260 	 X"$mf" : 'X\(//\)[^/]' \| \
   21261 	 X"$mf" : 'X\(//\)$' \| \
   21262 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   21263 $as_echo X"$mf" |
   21264     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21265 	    s//\1/
   21266 	    q
   21267 	  }
   21268 	  /^X\(\/\/\)[^/].*/{
   21269 	    s//\1/
   21270 	    q
   21271 	  }
   21272 	  /^X\(\/\/\)$/{
   21273 	    s//\1/
   21274 	    q
   21275 	  }
   21276 	  /^X\(\/\).*/{
   21277 	    s//\1/
   21278 	    q
   21279 	  }
   21280 	  s/.*/./; q'`
   21281     else
   21282       continue
   21283     fi
   21284     # Extract the definition of DEPDIR, am__include, and am__quote
   21285     # from the Makefile without running 'make'.
   21286     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21287     test -z "$DEPDIR" && continue
   21288     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21289     test -z "$am__include" && continue
   21290     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21291     # Find all dependency output files, they are included files with
   21292     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21293     # simplest approach to changing $(DEPDIR) to its actual value in the
   21294     # expansion.
   21295     for file in `sed -n "
   21296       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21297 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   21298       # Make sure the directory exists.
   21299       test -f "$dirpart/$file" && continue
   21300       fdir=`$as_dirname -- "$file" ||
   21301 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21302 	 X"$file" : 'X\(//\)[^/]' \| \
   21303 	 X"$file" : 'X\(//\)$' \| \
   21304 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21305 $as_echo X"$file" |
   21306     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21307 	    s//\1/
   21308 	    q
   21309 	  }
   21310 	  /^X\(\/\/\)[^/].*/{
   21311 	    s//\1/
   21312 	    q
   21313 	  }
   21314 	  /^X\(\/\/\)$/{
   21315 	    s//\1/
   21316 	    q
   21317 	  }
   21318 	  /^X\(\/\).*/{
   21319 	    s//\1/
   21320 	    q
   21321 	  }
   21322 	  s/.*/./; q'`
   21323       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   21324       # echo "creating $dirpart/$file"
   21325       echo '# dummy' > "$dirpart/$file"
   21326     done
   21327   done
   21328 }
   21329  ;;
   21330     "libtool":C)
   21331 
   21332     # See if we are running on zsh, and set the options which allow our
   21333     # commands through without removal of \ escapes.
   21334     if test -n "${ZSH_VERSION+set}" ; then
   21335       setopt NO_GLOB_SUBST
   21336     fi
   21337 
   21338     cfgfile="${ofile}T"
   21339     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21340     $RM "$cfgfile"
   21341 
   21342     cat <<_LT_EOF >> "$cfgfile"
   21343 #! $SHELL
   21344 
   21345 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   21346 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   21347 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21348 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21349 #
   21350 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   21351 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   21352 #                 Foundation, Inc.
   21353 #   Written by Gordon Matzigkeit, 1996
   21354 #
   21355 #   This file is part of GNU Libtool.
   21356 #
   21357 # GNU Libtool is free software; you can redistribute it and/or
   21358 # modify it under the terms of the GNU General Public License as
   21359 # published by the Free Software Foundation; either version 2 of
   21360 # the License, or (at your option) any later version.
   21361 #
   21362 # As a special exception to the GNU General Public License,
   21363 # if you distribute this file as part of a program or library that
   21364 # is built using GNU Libtool, you may include this file under the
   21365 # same distribution terms that you use for the rest of that program.
   21366 #
   21367 # GNU Libtool is distributed in the hope that it will be useful,
   21368 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   21369 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21370 # GNU General Public License for more details.
   21371 #
   21372 # You should have received a copy of the GNU General Public License
   21373 # along with GNU Libtool; see the file COPYING.  If not, a copy
   21374 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   21375 # obtained by writing to the Free Software Foundation, Inc.,
   21376 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   21377 
   21378 
   21379 # The names of the tagged configurations supported by this script.
   21380 available_tags=""
   21381 
   21382 # ### BEGIN LIBTOOL CONFIG
   21383 
   21384 # Which release of libtool.m4 was used?
   21385 macro_version=$macro_version
   21386 macro_revision=$macro_revision
   21387 
   21388 # Whether or not to build shared libraries.
   21389 build_libtool_libs=$enable_shared
   21390 
   21391 # Whether or not to build static libraries.
   21392 build_old_libs=$enable_static
   21393 
   21394 # What type of objects to build.
   21395 pic_mode=$pic_mode
   21396 
   21397 # Whether or not to optimize for fast installation.
   21398 fast_install=$enable_fast_install
   21399 
   21400 # Shell to use when invoking shell scripts.
   21401 SHELL=$lt_SHELL
   21402 
   21403 # An echo program that protects backslashes.
   21404 ECHO=$lt_ECHO
   21405 
   21406 # The PATH separator for the build system.
   21407 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21408 
   21409 # The host system.
   21410 host_alias=$host_alias
   21411 host=$host
   21412 host_os=$host_os
   21413 
   21414 # The build system.
   21415 build_alias=$build_alias
   21416 build=$build
   21417 build_os=$build_os
   21418 
   21419 # A sed program that does not truncate output.
   21420 SED=$lt_SED
   21421 
   21422 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21423 Xsed="\$SED -e 1s/^X//"
   21424 
   21425 # A grep program that handles long lines.
   21426 GREP=$lt_GREP
   21427 
   21428 # An ERE matcher.
   21429 EGREP=$lt_EGREP
   21430 
   21431 # A literal string matcher.
   21432 FGREP=$lt_FGREP
   21433 
   21434 # A BSD- or MS-compatible name lister.
   21435 NM=$lt_NM
   21436 
   21437 # Whether we need soft or hard links.
   21438 LN_S=$lt_LN_S
   21439 
   21440 # What is the maximum length of a command?
   21441 max_cmd_len=$max_cmd_len
   21442 
   21443 # Object file suffix (normally "o").
   21444 objext=$ac_objext
   21445 
   21446 # Executable file suffix (normally "").
   21447 exeext=$exeext
   21448 
   21449 # whether the shell understands "unset".
   21450 lt_unset=$lt_unset
   21451 
   21452 # turn spaces into newlines.
   21453 SP2NL=$lt_lt_SP2NL
   21454 
   21455 # turn newlines into spaces.
   21456 NL2SP=$lt_lt_NL2SP
   21457 
   21458 # convert \$build file names to \$host format.
   21459 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21460 
   21461 # convert \$build files to toolchain format.
   21462 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21463 
   21464 # An object symbol dumper.
   21465 OBJDUMP=$lt_OBJDUMP
   21466 
   21467 # Method to check whether dependent libraries are shared objects.
   21468 deplibs_check_method=$lt_deplibs_check_method
   21469 
   21470 # Command to use when deplibs_check_method = "file_magic".
   21471 file_magic_cmd=$lt_file_magic_cmd
   21472 
   21473 # How to find potential files when deplibs_check_method = "file_magic".
   21474 file_magic_glob=$lt_file_magic_glob
   21475 
   21476 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21477 want_nocaseglob=$lt_want_nocaseglob
   21478 
   21479 # DLL creation program.
   21480 DLLTOOL=$lt_DLLTOOL
   21481 
   21482 # Command to associate shared and link libraries.
   21483 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21484 
   21485 # The archiver.
   21486 AR=$lt_AR
   21487 
   21488 # Flags to create an archive.
   21489 AR_FLAGS=$lt_AR_FLAGS
   21490 
   21491 # How to feed a file listing to the archiver.
   21492 archiver_list_spec=$lt_archiver_list_spec
   21493 
   21494 # A symbol stripping program.
   21495 STRIP=$lt_STRIP
   21496 
   21497 # Commands used to install an old-style archive.
   21498 RANLIB=$lt_RANLIB
   21499 old_postinstall_cmds=$lt_old_postinstall_cmds
   21500 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21501 
   21502 # Whether to use a lock for old archive extraction.
   21503 lock_old_archive_extraction=$lock_old_archive_extraction
   21504 
   21505 # A C compiler.
   21506 LTCC=$lt_CC
   21507 
   21508 # LTCC compiler flags.
   21509 LTCFLAGS=$lt_CFLAGS
   21510 
   21511 # Take the output of nm and produce a listing of raw symbols and C names.
   21512 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21513 
   21514 # Transform the output of nm in a proper C declaration.
   21515 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21516 
   21517 # Transform the output of nm in a C name address pair.
   21518 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21519 
   21520 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21521 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21522 
   21523 # Specify filename containing input files for \$NM.
   21524 nm_file_list_spec=$lt_nm_file_list_spec
   21525 
   21526 # The root where to search for dependent libraries,and in which our libraries should be installed.
   21527 lt_sysroot=$lt_sysroot
   21528 
   21529 # The name of the directory that contains temporary libtool files.
   21530 objdir=$objdir
   21531 
   21532 # Used to examine libraries when file_magic_cmd begins with "file".
   21533 MAGIC_CMD=$MAGIC_CMD
   21534 
   21535 # Must we lock files when doing compilation?
   21536 need_locks=$lt_need_locks
   21537 
   21538 # Manifest tool.
   21539 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21540 
   21541 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21542 DSYMUTIL=$lt_DSYMUTIL
   21543 
   21544 # Tool to change global to local symbols on Mac OS X.
   21545 NMEDIT=$lt_NMEDIT
   21546 
   21547 # Tool to manipulate fat objects and archives on Mac OS X.
   21548 LIPO=$lt_LIPO
   21549 
   21550 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21551 OTOOL=$lt_OTOOL
   21552 
   21553 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21554 OTOOL64=$lt_OTOOL64
   21555 
   21556 # Old archive suffix (normally "a").
   21557 libext=$libext
   21558 
   21559 # Shared library suffix (normally ".so").
   21560 shrext_cmds=$lt_shrext_cmds
   21561 
   21562 # The commands to extract the exported symbol list from a shared archive.
   21563 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21564 
   21565 # Variables whose values should be saved in libtool wrapper scripts and
   21566 # restored at link time.
   21567 variables_saved_for_relink=$lt_variables_saved_for_relink
   21568 
   21569 # Do we need the "lib" prefix for modules?
   21570 need_lib_prefix=$need_lib_prefix
   21571 
   21572 # Do we need a version for libraries?
   21573 need_version=$need_version
   21574 
   21575 # Library versioning type.
   21576 version_type=$version_type
   21577 
   21578 # Shared library runtime path variable.
   21579 runpath_var=$runpath_var
   21580 
   21581 # Shared library path variable.
   21582 shlibpath_var=$shlibpath_var
   21583 
   21584 # Is shlibpath searched before the hard-coded library search path?
   21585 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21586 
   21587 # Format of library name prefix.
   21588 libname_spec=$lt_libname_spec
   21589 
   21590 # List of archive names.  First name is the real one, the rest are links.
   21591 # The last name is the one that the linker finds with -lNAME
   21592 library_names_spec=$lt_library_names_spec
   21593 
   21594 # The coded name of the library, if different from the real name.
   21595 soname_spec=$lt_soname_spec
   21596 
   21597 # Permission mode override for installation of shared libraries.
   21598 install_override_mode=$lt_install_override_mode
   21599 
   21600 # Command to use after installation of a shared archive.
   21601 postinstall_cmds=$lt_postinstall_cmds
   21602 
   21603 # Command to use after uninstallation of a shared archive.
   21604 postuninstall_cmds=$lt_postuninstall_cmds
   21605 
   21606 # Commands used to finish a libtool library installation in a directory.
   21607 finish_cmds=$lt_finish_cmds
   21608 
   21609 # As "finish_cmds", except a single script fragment to be evaled but
   21610 # not shown.
   21611 finish_eval=$lt_finish_eval
   21612 
   21613 # Whether we should hardcode library paths into libraries.
   21614 hardcode_into_libs=$hardcode_into_libs
   21615 
   21616 # Compile-time system search path for libraries.
   21617 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21618 
   21619 # Run-time system search path for libraries.
   21620 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   21621 
   21622 # Whether dlopen is supported.
   21623 dlopen_support=$enable_dlopen
   21624 
   21625 # Whether dlopen of programs is supported.
   21626 dlopen_self=$enable_dlopen_self
   21627 
   21628 # Whether dlopen of statically linked programs is supported.
   21629 dlopen_self_static=$enable_dlopen_self_static
   21630 
   21631 # Commands to strip libraries.
   21632 old_striplib=$lt_old_striplib
   21633 striplib=$lt_striplib
   21634 
   21635 
   21636 # The linker used to build libraries.
   21637 LD=$lt_LD
   21638 
   21639 # How to create reloadable object files.
   21640 reload_flag=$lt_reload_flag
   21641 reload_cmds=$lt_reload_cmds
   21642 
   21643 # Commands used to build an old-style archive.
   21644 old_archive_cmds=$lt_old_archive_cmds
   21645 
   21646 # A language specific compiler.
   21647 CC=$lt_compiler
   21648 
   21649 # Is the compiler the GNU compiler?
   21650 with_gcc=$GCC
   21651 
   21652 # Compiler flag to turn off builtin functions.
   21653 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21654 
   21655 # Additional compiler flags for building library objects.
   21656 pic_flag=$lt_lt_prog_compiler_pic
   21657 
   21658 # How to pass a linker flag through the compiler.
   21659 wl=$lt_lt_prog_compiler_wl
   21660 
   21661 # Compiler flag to prevent dynamic linking.
   21662 link_static_flag=$lt_lt_prog_compiler_static
   21663 
   21664 # Does compiler simultaneously support -c and -o options?
   21665 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21666 
   21667 # Whether or not to add -lc for building shared libraries.
   21668 build_libtool_need_lc=$archive_cmds_need_lc
   21669 
   21670 # Whether or not to disallow shared libs when runtime libs are static.
   21671 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21672 
   21673 # Compiler flag to allow reflexive dlopens.
   21674 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21675 
   21676 # Compiler flag to generate shared objects directly from archives.
   21677 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21678 
   21679 # Whether the compiler copes with passing no objects directly.
   21680 compiler_needs_object=$lt_compiler_needs_object
   21681 
   21682 # Create an old-style archive from a shared archive.
   21683 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21684 
   21685 # Create a temporary old-style archive to link instead of a shared archive.
   21686 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21687 
   21688 # Commands used to build a shared archive.
   21689 archive_cmds=$lt_archive_cmds
   21690 archive_expsym_cmds=$lt_archive_expsym_cmds
   21691 
   21692 # Commands used to build a loadable module if different from building
   21693 # a shared archive.
   21694 module_cmds=$lt_module_cmds
   21695 module_expsym_cmds=$lt_module_expsym_cmds
   21696 
   21697 # Whether we are building with GNU ld or not.
   21698 with_gnu_ld=$lt_with_gnu_ld
   21699 
   21700 # Flag that allows shared libraries with undefined symbols to be built.
   21701 allow_undefined_flag=$lt_allow_undefined_flag
   21702 
   21703 # Flag that enforces no undefined symbols.
   21704 no_undefined_flag=$lt_no_undefined_flag
   21705 
   21706 # Flag to hardcode \$libdir into a binary during linking.
   21707 # This must work even if \$libdir does not exist
   21708 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21709 
   21710 # Whether we need a single "-rpath" flag with a separated argument.
   21711 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21712 
   21713 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21714 # DIR into the resulting binary.
   21715 hardcode_direct=$hardcode_direct
   21716 
   21717 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21718 # DIR into the resulting binary and the resulting library dependency is
   21719 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   21720 # library is relocated.
   21721 hardcode_direct_absolute=$hardcode_direct_absolute
   21722 
   21723 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21724 # into the resulting binary.
   21725 hardcode_minus_L=$hardcode_minus_L
   21726 
   21727 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21728 # into the resulting binary.
   21729 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21730 
   21731 # Set to "yes" if building a shared library automatically hardcodes DIR
   21732 # into the library and all subsequent libraries and executables linked
   21733 # against it.
   21734 hardcode_automatic=$hardcode_automatic
   21735 
   21736 # Set to yes if linker adds runtime paths of dependent libraries
   21737 # to runtime path list.
   21738 inherit_rpath=$inherit_rpath
   21739 
   21740 # Whether libtool must link a program against all its dependency libraries.
   21741 link_all_deplibs=$link_all_deplibs
   21742 
   21743 # Set to "yes" if exported symbols are required.
   21744 always_export_symbols=$always_export_symbols
   21745 
   21746 # The commands to list exported symbols.
   21747 export_symbols_cmds=$lt_export_symbols_cmds
   21748 
   21749 # Symbols that should not be listed in the preloaded symbols.
   21750 exclude_expsyms=$lt_exclude_expsyms
   21751 
   21752 # Symbols that must always be exported.
   21753 include_expsyms=$lt_include_expsyms
   21754 
   21755 # Commands necessary for linking programs (against libraries) with templates.
   21756 prelink_cmds=$lt_prelink_cmds
   21757 
   21758 # Commands necessary for finishing linking programs.
   21759 postlink_cmds=$lt_postlink_cmds
   21760 
   21761 # Specify filename containing input files.
   21762 file_list_spec=$lt_file_list_spec
   21763 
   21764 # How to hardcode a shared library path into an executable.
   21765 hardcode_action=$hardcode_action
   21766 
   21767 # ### END LIBTOOL CONFIG
   21768 
   21769 _LT_EOF
   21770 
   21771   case $host_os in
   21772   aix3*)
   21773     cat <<\_LT_EOF >> "$cfgfile"
   21774 # AIX sometimes has problems with the GCC collect2 program.  For some
   21775 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21776 # vanish in a puff of smoke.
   21777 if test "X${COLLECT_NAMES+set}" != Xset; then
   21778   COLLECT_NAMES=
   21779   export COLLECT_NAMES
   21780 fi
   21781 _LT_EOF
   21782     ;;
   21783   esac
   21784 
   21785 
   21786 ltmain="$ac_aux_dir/ltmain.sh"
   21787 
   21788 
   21789   # We use sed instead of cat because bash on DJGPP gets confused if
   21790   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21791   # text mode, it properly converts lines to CR/LF.  This bash problem
   21792   # is reportedly fixed, but why not run on old versions too?
   21793   sed '$q' "$ltmain" >> "$cfgfile" \
   21794      || (rm -f "$cfgfile"; exit 1)
   21795 
   21796   if test x"$xsi_shell" = xyes; then
   21797   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   21798 func_dirname ()\
   21799 {\
   21800 \    case ${1} in\
   21801 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   21802 \      *  ) func_dirname_result="${3}" ;;\
   21803 \    esac\
   21804 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   21805   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21806     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21807 test 0 -eq $? || _lt_function_replace_fail=:
   21808 
   21809 
   21810   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   21811 func_basename ()\
   21812 {\
   21813 \    func_basename_result="${1##*/}"\
   21814 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   21815   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21816     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21817 test 0 -eq $? || _lt_function_replace_fail=:
   21818 
   21819 
   21820   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   21821 func_dirname_and_basename ()\
   21822 {\
   21823 \    case ${1} in\
   21824 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   21825 \      *  ) func_dirname_result="${3}" ;;\
   21826 \    esac\
   21827 \    func_basename_result="${1##*/}"\
   21828 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   21829   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21830     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21831 test 0 -eq $? || _lt_function_replace_fail=:
   21832 
   21833 
   21834   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   21835 func_stripname ()\
   21836 {\
   21837 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   21838 \    # positional parameters, so assign one to ordinary parameter first.\
   21839 \    func_stripname_result=${3}\
   21840 \    func_stripname_result=${func_stripname_result#"${1}"}\
   21841 \    func_stripname_result=${func_stripname_result%"${2}"}\
   21842 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   21843   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21844     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21845 test 0 -eq $? || _lt_function_replace_fail=:
   21846 
   21847 
   21848   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   21849 func_split_long_opt ()\
   21850 {\
   21851 \    func_split_long_opt_name=${1%%=*}\
   21852 \    func_split_long_opt_arg=${1#*=}\
   21853 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   21854   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21855     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21856 test 0 -eq $? || _lt_function_replace_fail=:
   21857 
   21858 
   21859   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   21860 func_split_short_opt ()\
   21861 {\
   21862 \    func_split_short_opt_arg=${1#??}\
   21863 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   21864 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   21865   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21866     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21867 test 0 -eq $? || _lt_function_replace_fail=:
   21868 
   21869 
   21870   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   21871 func_lo2o ()\
   21872 {\
   21873 \    case ${1} in\
   21874 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   21875 \      *)    func_lo2o_result=${1} ;;\
   21876 \    esac\
   21877 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   21878   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21879     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21880 test 0 -eq $? || _lt_function_replace_fail=:
   21881 
   21882 
   21883   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   21884 func_xform ()\
   21885 {\
   21886     func_xform_result=${1%.*}.lo\
   21887 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   21888   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21889     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21890 test 0 -eq $? || _lt_function_replace_fail=:
   21891 
   21892 
   21893   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   21894 func_arith ()\
   21895 {\
   21896     func_arith_result=$(( $* ))\
   21897 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   21898   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21899     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21900 test 0 -eq $? || _lt_function_replace_fail=:
   21901 
   21902 
   21903   sed -e '/^func_len ()$/,/^} # func_len /c\
   21904 func_len ()\
   21905 {\
   21906     func_len_result=${#1}\
   21907 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   21908   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21909     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21910 test 0 -eq $? || _lt_function_replace_fail=:
   21911 
   21912 fi
   21913 
   21914 if test x"$lt_shell_append" = xyes; then
   21915   sed -e '/^func_append ()$/,/^} # func_append /c\
   21916 func_append ()\
   21917 {\
   21918     eval "${1}+=\\${2}"\
   21919 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   21920   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21921     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21922 test 0 -eq $? || _lt_function_replace_fail=:
   21923 
   21924 
   21925   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   21926 func_append_quoted ()\
   21927 {\
   21928 \    func_quote_for_eval "${2}"\
   21929 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   21930 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   21931   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21932     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21933 test 0 -eq $? || _lt_function_replace_fail=:
   21934 
   21935 
   21936   # Save a `func_append' function call where possible by direct use of '+='
   21937   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   21938     && mv -f "$cfgfile.tmp" "$cfgfile" \
   21939       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21940   test 0 -eq $? || _lt_function_replace_fail=:
   21941 else
   21942   # Save a `func_append' function call even when '+=' is not available
   21943   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   21944     && mv -f "$cfgfile.tmp" "$cfgfile" \
   21945       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21946   test 0 -eq $? || _lt_function_replace_fail=:
   21947 fi
   21948 
   21949 if test x"$_lt_function_replace_fail" = x":"; then
   21950   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   21951 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   21952 fi
   21953 
   21954 
   21955    mv -f "$cfgfile" "$ofile" ||
   21956     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21957   chmod +x "$ofile"
   21958 
   21959  ;;
   21960 
   21961   esac
   21962 done # for ac_tag
   21963 
   21964 
   21965 as_fn_exit 0
   21966 _ACEOF
   21967 ac_clean_files=$ac_clean_files_save
   21968 
   21969 test $ac_write_fail = 0 ||
   21970   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21971 
   21972 
   21973 # configure is writing to config.log, and then calls config.status.
   21974 # config.status does its own redirection, appending to config.log.
   21975 # Unfortunately, on DOS this fails, as config.log is still kept open
   21976 # by configure, so config.status won't be able to write to it; its
   21977 # output is simply discarded.  So we exec the FD to /dev/null,
   21978 # effectively closing config.log, so it can be properly (re)opened and
   21979 # appended to by config.status.  When coming back to configure, we
   21980 # need to make the FD available again.
   21981 if test "$no_create" != yes; then
   21982   ac_cs_success=:
   21983   ac_config_status_args=
   21984   test "$silent" = yes &&
   21985     ac_config_status_args="$ac_config_status_args --quiet"
   21986   exec 5>/dev/null
   21987   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21988   exec 5>>config.log
   21989   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21990   # would make configure fail if this is the last instruction.
   21991   $ac_cs_success || as_fn_exit 1
   21992 fi
   21993 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21994   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21995 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21996 fi
   21997 
   21998