Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libxkbfile 1.0.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 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || 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 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='libxkbfile'
    573 PACKAGE_TARNAME='libxkbfile'
    574 PACKAGE_VERSION='1.0.8'
    575 PACKAGE_STRING='libxkbfile 1.0.8'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 XKBFILE_LIBS
    621 XKBFILE_CFLAGS
    622 AM_BACKSLASH
    623 AM_DEFAULT_VERBOSITY
    624 MAN_SUBSTS
    625 XORG_MAN_PAGE
    626 ADMIN_MAN_DIR
    627 DRIVER_MAN_DIR
    628 MISC_MAN_DIR
    629 FILE_MAN_DIR
    630 LIB_MAN_DIR
    631 APP_MAN_DIR
    632 ADMIN_MAN_SUFFIX
    633 DRIVER_MAN_SUFFIX
    634 MISC_MAN_SUFFIX
    635 FILE_MAN_SUFFIX
    636 LIB_MAN_SUFFIX
    637 APP_MAN_SUFFIX
    638 INSTALL_CMD
    639 PKG_CONFIG
    640 CHANGELOG_CMD
    641 STRICT_CFLAGS
    642 CWARNFLAGS
    643 BASE_CFLAGS
    644 CPP
    645 OTOOL64
    646 OTOOL
    647 LIPO
    648 NMEDIT
    649 DSYMUTIL
    650 MANIFEST_TOOL
    651 RANLIB
    652 ac_ct_AR
    653 AR
    654 DLLTOOL
    655 OBJDUMP
    656 LN_S
    657 NM
    658 ac_ct_DUMPBIN
    659 DUMPBIN
    660 LD
    661 FGREP
    662 EGREP
    663 GREP
    664 SED
    665 am__fastdepCC_FALSE
    666 am__fastdepCC_TRUE
    667 CCDEPMODE
    668 AMDEPBACKSLASH
    669 AMDEP_FALSE
    670 AMDEP_TRUE
    671 am__quote
    672 am__include
    673 DEPDIR
    674 OBJEXT
    675 EXEEXT
    676 ac_ct_CC
    677 CPPFLAGS
    678 LDFLAGS
    679 CFLAGS
    680 CC
    681 host_os
    682 host_vendor
    683 host_cpu
    684 host
    685 build_os
    686 build_vendor
    687 build_cpu
    688 build
    689 LIBTOOL
    690 MAINT
    691 MAINTAINER_MODE_FALSE
    692 MAINTAINER_MODE_TRUE
    693 am__untar
    694 am__tar
    695 AMTAR
    696 am__leading_dot
    697 SET_MAKE
    698 AWK
    699 mkdir_p
    700 MKDIR_P
    701 INSTALL_STRIP_PROGRAM
    702 STRIP
    703 install_sh
    704 MAKEINFO
    705 AUTOHEADER
    706 AUTOMAKE
    707 AUTOCONF
    708 ACLOCAL
    709 VERSION
    710 PACKAGE
    711 CYGPATH_W
    712 am__isrc
    713 INSTALL_DATA
    714 INSTALL_SCRIPT
    715 INSTALL_PROGRAM
    716 target_alias
    717 host_alias
    718 build_alias
    719 LIBS
    720 ECHO_T
    721 ECHO_N
    722 ECHO_C
    723 DEFS
    724 mandir
    725 localedir
    726 libdir
    727 psdir
    728 pdfdir
    729 dvidir
    730 htmldir
    731 infodir
    732 docdir
    733 oldincludedir
    734 includedir
    735 localstatedir
    736 sharedstatedir
    737 sysconfdir
    738 datadir
    739 datarootdir
    740 libexecdir
    741 sbindir
    742 bindir
    743 program_transform_name
    744 prefix
    745 exec_prefix
    746 PACKAGE_URL
    747 PACKAGE_BUGREPORT
    748 PACKAGE_STRING
    749 PACKAGE_VERSION
    750 PACKAGE_TARNAME
    751 PACKAGE_NAME
    752 PATH_SEPARATOR
    753 SHELL'
    754 ac_subst_files=''
    755 ac_user_opts='
    756 enable_option_checking
    757 enable_maintainer_mode
    758 enable_shared
    759 enable_static
    760 with_pic
    761 enable_fast_install
    762 enable_dependency_tracking
    763 with_gnu_ld
    764 with_sysroot
    765 enable_libtool_lock
    766 enable_selective_werror
    767 enable_strict_compilation
    768 enable_silent_rules
    769 '
    770       ac_precious_vars='build_alias
    771 host_alias
    772 target_alias
    773 CC
    774 CFLAGS
    775 LDFLAGS
    776 LIBS
    777 CPPFLAGS
    778 CPP
    779 PKG_CONFIG
    780 XKBFILE_CFLAGS
    781 XKBFILE_LIBS'
    782 
    783 
    784 # Initialize some variables set by options.
    785 ac_init_help=
    786 ac_init_version=false
    787 ac_unrecognized_opts=
    788 ac_unrecognized_sep=
    789 # The variables have the same names as the options, with
    790 # dashes changed to underlines.
    791 cache_file=/dev/null
    792 exec_prefix=NONE
    793 no_create=
    794 no_recursion=
    795 prefix=NONE
    796 program_prefix=NONE
    797 program_suffix=NONE
    798 program_transform_name=s,x,x,
    799 silent=
    800 site=
    801 srcdir=
    802 verbose=
    803 x_includes=NONE
    804 x_libraries=NONE
    805 
    806 # Installation directory options.
    807 # These are left unexpanded so users can "make install exec_prefix=/foo"
    808 # and all the variables that are supposed to be based on exec_prefix
    809 # by default will actually change.
    810 # Use braces instead of parens because sh, perl, etc. also accept them.
    811 # (The list follows the same order as the GNU Coding Standards.)
    812 bindir='${exec_prefix}/bin'
    813 sbindir='${exec_prefix}/sbin'
    814 libexecdir='${exec_prefix}/libexec'
    815 datarootdir='${prefix}/share'
    816 datadir='${datarootdir}'
    817 sysconfdir='${prefix}/etc'
    818 sharedstatedir='${prefix}/com'
    819 localstatedir='${prefix}/var'
    820 includedir='${prefix}/include'
    821 oldincludedir='/usr/include'
    822 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    823 infodir='${datarootdir}/info'
    824 htmldir='${docdir}'
    825 dvidir='${docdir}'
    826 pdfdir='${docdir}'
    827 psdir='${docdir}'
    828 libdir='${exec_prefix}/lib'
    829 localedir='${datarootdir}/locale'
    830 mandir='${datarootdir}/man'
    831 
    832 ac_prev=
    833 ac_dashdash=
    834 for ac_option
    835 do
    836   # If the previous option needs an argument, assign it.
    837   if test -n "$ac_prev"; then
    838     eval $ac_prev=\$ac_option
    839     ac_prev=
    840     continue
    841   fi
    842 
    843   case $ac_option in
    844   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    845   *=)   ac_optarg= ;;
    846   *)    ac_optarg=yes ;;
    847   esac
    848 
    849   # Accept the important Cygnus configure options, so we can diagnose typos.
    850 
    851   case $ac_dashdash$ac_option in
    852   --)
    853     ac_dashdash=yes ;;
    854 
    855   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    856     ac_prev=bindir ;;
    857   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    858     bindir=$ac_optarg ;;
    859 
    860   -build | --build | --buil | --bui | --bu)
    861     ac_prev=build_alias ;;
    862   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    863     build_alias=$ac_optarg ;;
    864 
    865   -cache-file | --cache-file | --cache-fil | --cache-fi \
    866   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    867     ac_prev=cache_file ;;
    868   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    869   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    870     cache_file=$ac_optarg ;;
    871 
    872   --config-cache | -C)
    873     cache_file=config.cache ;;
    874 
    875   -datadir | --datadir | --datadi | --datad)
    876     ac_prev=datadir ;;
    877   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    878     datadir=$ac_optarg ;;
    879 
    880   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    881   | --dataroo | --dataro | --datar)
    882     ac_prev=datarootdir ;;
    883   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    884   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    885     datarootdir=$ac_optarg ;;
    886 
    887   -disable-* | --disable-*)
    888     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    889     # Reject names that are not valid shell variable names.
    890     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    891       as_fn_error $? "invalid feature name: $ac_useropt"
    892     ac_useropt_orig=$ac_useropt
    893     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    894     case $ac_user_opts in
    895       *"
    896 "enable_$ac_useropt"
    897 "*) ;;
    898       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    899 	 ac_unrecognized_sep=', ';;
    900     esac
    901     eval enable_$ac_useropt=no ;;
    902 
    903   -docdir | --docdir | --docdi | --doc | --do)
    904     ac_prev=docdir ;;
    905   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    906     docdir=$ac_optarg ;;
    907 
    908   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    909     ac_prev=dvidir ;;
    910   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    911     dvidir=$ac_optarg ;;
    912 
    913   -enable-* | --enable-*)
    914     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    915     # Reject names that are not valid shell variable names.
    916     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    917       as_fn_error $? "invalid feature name: $ac_useropt"
    918     ac_useropt_orig=$ac_useropt
    919     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    920     case $ac_user_opts in
    921       *"
    922 "enable_$ac_useropt"
    923 "*) ;;
    924       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    925 	 ac_unrecognized_sep=', ';;
    926     esac
    927     eval enable_$ac_useropt=\$ac_optarg ;;
    928 
    929   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    930   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    931   | --exec | --exe | --ex)
    932     ac_prev=exec_prefix ;;
    933   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    934   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    935   | --exec=* | --exe=* | --ex=*)
    936     exec_prefix=$ac_optarg ;;
    937 
    938   -gas | --gas | --ga | --g)
    939     # Obsolete; use --with-gas.
    940     with_gas=yes ;;
    941 
    942   -help | --help | --hel | --he | -h)
    943     ac_init_help=long ;;
    944   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    945     ac_init_help=recursive ;;
    946   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    947     ac_init_help=short ;;
    948 
    949   -host | --host | --hos | --ho)
    950     ac_prev=host_alias ;;
    951   -host=* | --host=* | --hos=* | --ho=*)
    952     host_alias=$ac_optarg ;;
    953 
    954   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    955     ac_prev=htmldir ;;
    956   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    957   | --ht=*)
    958     htmldir=$ac_optarg ;;
    959 
    960   -includedir | --includedir | --includedi | --included | --include \
    961   | --includ | --inclu | --incl | --inc)
    962     ac_prev=includedir ;;
    963   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    964   | --includ=* | --inclu=* | --incl=* | --inc=*)
    965     includedir=$ac_optarg ;;
    966 
    967   -infodir | --infodir | --infodi | --infod | --info | --inf)
    968     ac_prev=infodir ;;
    969   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    970     infodir=$ac_optarg ;;
    971 
    972   -libdir | --libdir | --libdi | --libd)
    973     ac_prev=libdir ;;
    974   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    975     libdir=$ac_optarg ;;
    976 
    977   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    978   | --libexe | --libex | --libe)
    979     ac_prev=libexecdir ;;
    980   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    981   | --libexe=* | --libex=* | --libe=*)
    982     libexecdir=$ac_optarg ;;
    983 
    984   -localedir | --localedir | --localedi | --localed | --locale)
    985     ac_prev=localedir ;;
    986   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    987     localedir=$ac_optarg ;;
    988 
    989   -localstatedir | --localstatedir | --localstatedi | --localstated \
    990   | --localstate | --localstat | --localsta | --localst | --locals)
    991     ac_prev=localstatedir ;;
    992   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    993   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    994     localstatedir=$ac_optarg ;;
    995 
    996   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    997     ac_prev=mandir ;;
    998   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    999     mandir=$ac_optarg ;;
   1000 
   1001   -nfp | --nfp | --nf)
   1002     # Obsolete; use --without-fp.
   1003     with_fp=no ;;
   1004 
   1005   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1006   | --no-cr | --no-c | -n)
   1007     no_create=yes ;;
   1008 
   1009   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1010   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1011     no_recursion=yes ;;
   1012 
   1013   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1014   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1015   | --oldin | --oldi | --old | --ol | --o)
   1016     ac_prev=oldincludedir ;;
   1017   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1018   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1019   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1020     oldincludedir=$ac_optarg ;;
   1021 
   1022   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1023     ac_prev=prefix ;;
   1024   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1025     prefix=$ac_optarg ;;
   1026 
   1027   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1028   | --program-pre | --program-pr | --program-p)
   1029     ac_prev=program_prefix ;;
   1030   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1031   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1032     program_prefix=$ac_optarg ;;
   1033 
   1034   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1035   | --program-suf | --program-su | --program-s)
   1036     ac_prev=program_suffix ;;
   1037   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1038   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1039     program_suffix=$ac_optarg ;;
   1040 
   1041   -program-transform-name | --program-transform-name \
   1042   | --program-transform-nam | --program-transform-na \
   1043   | --program-transform-n | --program-transform- \
   1044   | --program-transform | --program-transfor \
   1045   | --program-transfo | --program-transf \
   1046   | --program-trans | --program-tran \
   1047   | --progr-tra | --program-tr | --program-t)
   1048     ac_prev=program_transform_name ;;
   1049   -program-transform-name=* | --program-transform-name=* \
   1050   | --program-transform-nam=* | --program-transform-na=* \
   1051   | --program-transform-n=* | --program-transform-=* \
   1052   | --program-transform=* | --program-transfor=* \
   1053   | --program-transfo=* | --program-transf=* \
   1054   | --program-trans=* | --program-tran=* \
   1055   | --progr-tra=* | --program-tr=* | --program-t=*)
   1056     program_transform_name=$ac_optarg ;;
   1057 
   1058   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1059     ac_prev=pdfdir ;;
   1060   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1061     pdfdir=$ac_optarg ;;
   1062 
   1063   -psdir | --psdir | --psdi | --psd | --ps)
   1064     ac_prev=psdir ;;
   1065   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1066     psdir=$ac_optarg ;;
   1067 
   1068   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1069   | -silent | --silent | --silen | --sile | --sil)
   1070     silent=yes ;;
   1071 
   1072   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1073     ac_prev=sbindir ;;
   1074   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1075   | --sbi=* | --sb=*)
   1076     sbindir=$ac_optarg ;;
   1077 
   1078   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1079   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1080   | --sharedst | --shareds | --shared | --share | --shar \
   1081   | --sha | --sh)
   1082     ac_prev=sharedstatedir ;;
   1083   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1084   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1085   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1086   | --sha=* | --sh=*)
   1087     sharedstatedir=$ac_optarg ;;
   1088 
   1089   -site | --site | --sit)
   1090     ac_prev=site ;;
   1091   -site=* | --site=* | --sit=*)
   1092     site=$ac_optarg ;;
   1093 
   1094   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1095     ac_prev=srcdir ;;
   1096   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1097     srcdir=$ac_optarg ;;
   1098 
   1099   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1100   | --syscon | --sysco | --sysc | --sys | --sy)
   1101     ac_prev=sysconfdir ;;
   1102   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1103   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1104     sysconfdir=$ac_optarg ;;
   1105 
   1106   -target | --target | --targe | --targ | --tar | --ta | --t)
   1107     ac_prev=target_alias ;;
   1108   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1109     target_alias=$ac_optarg ;;
   1110 
   1111   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1112     verbose=yes ;;
   1113 
   1114   -version | --version | --versio | --versi | --vers | -V)
   1115     ac_init_version=: ;;
   1116 
   1117   -with-* | --with-*)
   1118     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1119     # Reject names that are not valid shell variable names.
   1120     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1121       as_fn_error $? "invalid package name: $ac_useropt"
   1122     ac_useropt_orig=$ac_useropt
   1123     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1124     case $ac_user_opts in
   1125       *"
   1126 "with_$ac_useropt"
   1127 "*) ;;
   1128       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1129 	 ac_unrecognized_sep=', ';;
   1130     esac
   1131     eval with_$ac_useropt=\$ac_optarg ;;
   1132 
   1133   -without-* | --without-*)
   1134     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1135     # Reject names that are not valid shell variable names.
   1136     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1137       as_fn_error $? "invalid package name: $ac_useropt"
   1138     ac_useropt_orig=$ac_useropt
   1139     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1140     case $ac_user_opts in
   1141       *"
   1142 "with_$ac_useropt"
   1143 "*) ;;
   1144       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1145 	 ac_unrecognized_sep=', ';;
   1146     esac
   1147     eval with_$ac_useropt=no ;;
   1148 
   1149   --x)
   1150     # Obsolete; use --with-x.
   1151     with_x=yes ;;
   1152 
   1153   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1154   | --x-incl | --x-inc | --x-in | --x-i)
   1155     ac_prev=x_includes ;;
   1156   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1157   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1158     x_includes=$ac_optarg ;;
   1159 
   1160   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1161   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1162     ac_prev=x_libraries ;;
   1163   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1164   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1165     x_libraries=$ac_optarg ;;
   1166 
   1167   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1168 Try \`$0 --help' for more information"
   1169     ;;
   1170 
   1171   *=*)
   1172     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1173     # Reject names that are not valid shell variable names.
   1174     case $ac_envvar in #(
   1175       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1176       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1177     esac
   1178     eval $ac_envvar=\$ac_optarg
   1179     export $ac_envvar ;;
   1180 
   1181   *)
   1182     # FIXME: should be removed in autoconf 3.0.
   1183     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1184     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1185       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1186     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1187     ;;
   1188 
   1189   esac
   1190 done
   1191 
   1192 if test -n "$ac_prev"; then
   1193   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1194   as_fn_error $? "missing argument to $ac_option"
   1195 fi
   1196 
   1197 if test -n "$ac_unrecognized_opts"; then
   1198   case $enable_option_checking in
   1199     no) ;;
   1200     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1201     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1202   esac
   1203 fi
   1204 
   1205 # Check all directory arguments for consistency.
   1206 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1207 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1208 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1209 		libdir localedir mandir
   1210 do
   1211   eval ac_val=\$$ac_var
   1212   # Remove trailing slashes.
   1213   case $ac_val in
   1214     */ )
   1215       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1216       eval $ac_var=\$ac_val;;
   1217   esac
   1218   # Be sure to have absolute directory names.
   1219   case $ac_val in
   1220     [\\/$]* | ?:[\\/]* )  continue;;
   1221     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1222   esac
   1223   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1224 done
   1225 
   1226 # There might be people who depend on the old broken behavior: `$host'
   1227 # used to hold the argument of --host etc.
   1228 # FIXME: To remove some day.
   1229 build=$build_alias
   1230 host=$host_alias
   1231 target=$target_alias
   1232 
   1233 # FIXME: To remove some day.
   1234 if test "x$host_alias" != x; then
   1235   if test "x$build_alias" = x; then
   1236     cross_compiling=maybe
   1237     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1238     If a cross compiler is detected then cross compile mode will be used" >&2
   1239   elif test "x$build_alias" != "x$host_alias"; then
   1240     cross_compiling=yes
   1241   fi
   1242 fi
   1243 
   1244 ac_tool_prefix=
   1245 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1246 
   1247 test "$silent" = yes && exec 6>/dev/null
   1248 
   1249 
   1250 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1251 ac_ls_di=`ls -di .` &&
   1252 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1253   as_fn_error $? "working directory cannot be determined"
   1254 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1255   as_fn_error $? "pwd does not report name of working directory"
   1256 
   1257 
   1258 # Find the source files, if location was not specified.
   1259 if test -z "$srcdir"; then
   1260   ac_srcdir_defaulted=yes
   1261   # Try the directory containing this script, then the parent directory.
   1262   ac_confdir=`$as_dirname -- "$as_myself" ||
   1263 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1264 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1265 	 X"$as_myself" : 'X\(//\)$' \| \
   1266 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1267 $as_echo X"$as_myself" |
   1268     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1269 	    s//\1/
   1270 	    q
   1271 	  }
   1272 	  /^X\(\/\/\)[^/].*/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  /^X\(\/\/\)$/{
   1277 	    s//\1/
   1278 	    q
   1279 	  }
   1280 	  /^X\(\/\).*/{
   1281 	    s//\1/
   1282 	    q
   1283 	  }
   1284 	  s/.*/./; q'`
   1285   srcdir=$ac_confdir
   1286   if test ! -r "$srcdir/$ac_unique_file"; then
   1287     srcdir=..
   1288   fi
   1289 else
   1290   ac_srcdir_defaulted=no
   1291 fi
   1292 if test ! -r "$srcdir/$ac_unique_file"; then
   1293   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1294   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1295 fi
   1296 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1297 ac_abs_confdir=`(
   1298 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1299 	pwd)`
   1300 # When building in place, set srcdir=.
   1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1302   srcdir=.
   1303 fi
   1304 # Remove unnecessary trailing slashes from srcdir.
   1305 # Double slashes in file names in object file debugging info
   1306 # mess up M-x gdb in Emacs.
   1307 case $srcdir in
   1308 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1309 esac
   1310 for ac_var in $ac_precious_vars; do
   1311   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1312   eval ac_env_${ac_var}_value=\$${ac_var}
   1313   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1314   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1315 done
   1316 
   1317 #
   1318 # Report the --help message.
   1319 #
   1320 if test "$ac_init_help" = "long"; then
   1321   # Omit some internal or obsolete options to make the list less imposing.
   1322   # This message is too long to be a string in the A/UX 3.1 sh.
   1323   cat <<_ACEOF
   1324 \`configure' configures libxkbfile 1.0.8 to adapt to many kinds of systems.
   1325 
   1326 Usage: $0 [OPTION]... [VAR=VALUE]...
   1327 
   1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1329 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1330 
   1331 Defaults for the options are specified in brackets.
   1332 
   1333 Configuration:
   1334   -h, --help              display this help and exit
   1335       --help=short        display options specific to this package
   1336       --help=recursive    display the short help of all the included packages
   1337   -V, --version           display version information and exit
   1338   -q, --quiet, --silent   do not print \`checking ...' messages
   1339       --cache-file=FILE   cache test results in FILE [disabled]
   1340   -C, --config-cache      alias for \`--cache-file=config.cache'
   1341   -n, --no-create         do not create output files
   1342       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1343 
   1344 Installation directories:
   1345   --prefix=PREFIX         install architecture-independent files in PREFIX
   1346                           [$ac_default_prefix]
   1347   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1348                           [PREFIX]
   1349 
   1350 By default, \`make install' will install all the files in
   1351 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1352 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1353 for instance \`--prefix=\$HOME'.
   1354 
   1355 For better control, use the options below.
   1356 
   1357 Fine tuning of the installation directories:
   1358   --bindir=DIR            user executables [EPREFIX/bin]
   1359   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1360   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1361   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1362   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1363   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1364   --libdir=DIR            object code libraries [EPREFIX/lib]
   1365   --includedir=DIR        C header files [PREFIX/include]
   1366   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1367   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1368   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1369   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1370   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1371   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1372   --docdir=DIR            documentation root [DATAROOTDIR/doc/libxkbfile]
   1373   --htmldir=DIR           html documentation [DOCDIR]
   1374   --dvidir=DIR            dvi documentation [DOCDIR]
   1375   --pdfdir=DIR            pdf documentation [DOCDIR]
   1376   --psdir=DIR             ps documentation [DOCDIR]
   1377 _ACEOF
   1378 
   1379   cat <<\_ACEOF
   1380 
   1381 Program names:
   1382   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1383   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1384   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1385 
   1386 System types:
   1387   --build=BUILD     configure for building on BUILD [guessed]
   1388   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1389 _ACEOF
   1390 fi
   1391 
   1392 if test -n "$ac_init_help"; then
   1393   case $ac_init_help in
   1394      short | recursive ) echo "Configuration of libxkbfile 1.0.8:";;
   1395    esac
   1396   cat <<\_ACEOF
   1397 
   1398 Optional Features:
   1399   --disable-option-checking  ignore unrecognized --enable/--with options
   1400   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1401   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1402   --enable-maintainer-mode  enable make rules and dependencies not useful
   1403 			  (and sometimes confusing) to the casual installer
   1404   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1405   --enable-static[=PKGS]  build static libraries [default=yes]
   1406   --enable-fast-install[=PKGS]
   1407                           optimize for fast installation [default=yes]
   1408   --disable-dependency-tracking  speeds up one-time build
   1409   --enable-dependency-tracking   do not reject slow dependency extractors
   1410   --disable-libtool-lock  avoid locking (might break parallel builds)
   1411   --disable-selective-werror
   1412                           Turn off selective compiler errors. (default:
   1413                           enabled)
   1414   --enable-strict-compilation
   1415                           Enable all warnings from compiler and make them
   1416                           errors (default: disabled)
   1417   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1418   --disable-silent-rules         verbose build output (undo: `make V=0')
   1419 
   1420 Optional Packages:
   1421   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1422   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1423   --with-pic              try to use only PIC/non-PIC objects [default=use
   1424                           both]
   1425   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1426   --with-sysroot=DIR Search for dependent libraries within DIR
   1427                         (or the compiler's sysroot if not specified).
   1428 
   1429 Some influential environment variables:
   1430   CC          C compiler command
   1431   CFLAGS      C compiler flags
   1432   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1433               nonstandard directory <lib dir>
   1434   LIBS        libraries to pass to the linker, e.g. -l<library>
   1435   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1436               you have headers in a nonstandard directory <include dir>
   1437   CPP         C preprocessor
   1438   PKG_CONFIG  path to pkg-config utility
   1439   XKBFILE_CFLAGS
   1440               C compiler flags for XKBFILE, overriding pkg-config
   1441   XKBFILE_LIBS
   1442               linker flags for XKBFILE, overriding pkg-config
   1443 
   1444 Use these variables to override the choices made by `configure' or to help
   1445 it to find libraries and programs with nonstandard names/locations.
   1446 
   1447 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1448 _ACEOF
   1449 ac_status=$?
   1450 fi
   1451 
   1452 if test "$ac_init_help" = "recursive"; then
   1453   # If there are subdirs, report their specific --help.
   1454   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1455     test -d "$ac_dir" ||
   1456       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1457       continue
   1458     ac_builddir=.
   1459 
   1460 case "$ac_dir" in
   1461 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1462 *)
   1463   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1464   # A ".." for each directory in $ac_dir_suffix.
   1465   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1466   case $ac_top_builddir_sub in
   1467   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1468   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1469   esac ;;
   1470 esac
   1471 ac_abs_top_builddir=$ac_pwd
   1472 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1473 # for backward compatibility:
   1474 ac_top_builddir=$ac_top_build_prefix
   1475 
   1476 case $srcdir in
   1477   .)  # We are building in place.
   1478     ac_srcdir=.
   1479     ac_top_srcdir=$ac_top_builddir_sub
   1480     ac_abs_top_srcdir=$ac_pwd ;;
   1481   [\\/]* | ?:[\\/]* )  # Absolute name.
   1482     ac_srcdir=$srcdir$ac_dir_suffix;
   1483     ac_top_srcdir=$srcdir
   1484     ac_abs_top_srcdir=$srcdir ;;
   1485   *) # Relative name.
   1486     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1487     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1488     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1489 esac
   1490 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1491 
   1492     cd "$ac_dir" || { ac_status=$?; continue; }
   1493     # Check for guested configure.
   1494     if test -f "$ac_srcdir/configure.gnu"; then
   1495       echo &&
   1496       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1497     elif test -f "$ac_srcdir/configure"; then
   1498       echo &&
   1499       $SHELL "$ac_srcdir/configure" --help=recursive
   1500     else
   1501       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1502     fi || ac_status=$?
   1503     cd "$ac_pwd" || { ac_status=$?; break; }
   1504   done
   1505 fi
   1506 
   1507 test -n "$ac_init_help" && exit $ac_status
   1508 if $ac_init_version; then
   1509   cat <<\_ACEOF
   1510 libxkbfile configure 1.0.8
   1511 generated by GNU Autoconf 2.68
   1512 
   1513 Copyright (C) 2010 Free Software Foundation, Inc.
   1514 This configure script is free software; the Free Software Foundation
   1515 gives unlimited permission to copy, distribute and modify it.
   1516 _ACEOF
   1517   exit
   1518 fi
   1519 
   1520 ## ------------------------ ##
   1521 ## Autoconf initialization. ##
   1522 ## ------------------------ ##
   1523 
   1524 # ac_fn_c_try_compile LINENO
   1525 # --------------------------
   1526 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1527 ac_fn_c_try_compile ()
   1528 {
   1529   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1530   rm -f conftest.$ac_objext
   1531   if { { ac_try="$ac_compile"
   1532 case "(($ac_try" in
   1533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1534   *) ac_try_echo=$ac_try;;
   1535 esac
   1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1537 $as_echo "$ac_try_echo"; } >&5
   1538   (eval "$ac_compile") 2>conftest.err
   1539   ac_status=$?
   1540   if test -s conftest.err; then
   1541     grep -v '^ *+' conftest.err >conftest.er1
   1542     cat conftest.er1 >&5
   1543     mv -f conftest.er1 conftest.err
   1544   fi
   1545   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1546   test $ac_status = 0; } && {
   1547 	 test -z "$ac_c_werror_flag" ||
   1548 	 test ! -s conftest.err
   1549        } && test -s conftest.$ac_objext; then :
   1550   ac_retval=0
   1551 else
   1552   $as_echo "$as_me: failed program was:" >&5
   1553 sed 's/^/| /' conftest.$ac_ext >&5
   1554 
   1555 	ac_retval=1
   1556 fi
   1557   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1558   as_fn_set_status $ac_retval
   1559 
   1560 } # ac_fn_c_try_compile
   1561 
   1562 # ac_fn_c_try_link LINENO
   1563 # -----------------------
   1564 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1565 ac_fn_c_try_link ()
   1566 {
   1567   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1568   rm -f conftest.$ac_objext conftest$ac_exeext
   1569   if { { ac_try="$ac_link"
   1570 case "(($ac_try" in
   1571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1572   *) ac_try_echo=$ac_try;;
   1573 esac
   1574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1575 $as_echo "$ac_try_echo"; } >&5
   1576   (eval "$ac_link") 2>conftest.err
   1577   ac_status=$?
   1578   if test -s conftest.err; then
   1579     grep -v '^ *+' conftest.err >conftest.er1
   1580     cat conftest.er1 >&5
   1581     mv -f conftest.er1 conftest.err
   1582   fi
   1583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1584   test $ac_status = 0; } && {
   1585 	 test -z "$ac_c_werror_flag" ||
   1586 	 test ! -s conftest.err
   1587        } && test -s conftest$ac_exeext && {
   1588 	 test "$cross_compiling" = yes ||
   1589 	 $as_test_x conftest$ac_exeext
   1590        }; then :
   1591   ac_retval=0
   1592 else
   1593   $as_echo "$as_me: failed program was:" >&5
   1594 sed 's/^/| /' conftest.$ac_ext >&5
   1595 
   1596 	ac_retval=1
   1597 fi
   1598   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1599   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1600   # interfere with the next link command; also delete a directory that is
   1601   # left behind by Apple's compiler.  We do this before executing the actions.
   1602   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1603   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1604   as_fn_set_status $ac_retval
   1605 
   1606 } # ac_fn_c_try_link
   1607 
   1608 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1609 # -------------------------------------------------------
   1610 # Tests whether HEADER exists and can be compiled using the include files in
   1611 # INCLUDES, setting the cache variable VAR accordingly.
   1612 ac_fn_c_check_header_compile ()
   1613 {
   1614   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1616 $as_echo_n "checking for $2... " >&6; }
   1617 if eval \${$3+:} false; then :
   1618   $as_echo_n "(cached) " >&6
   1619 else
   1620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1621 /* end confdefs.h.  */
   1622 $4
   1623 #include <$2>
   1624 _ACEOF
   1625 if ac_fn_c_try_compile "$LINENO"; then :
   1626   eval "$3=yes"
   1627 else
   1628   eval "$3=no"
   1629 fi
   1630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1631 fi
   1632 eval ac_res=\$$3
   1633 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1634 $as_echo "$ac_res" >&6; }
   1635   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1636 
   1637 } # ac_fn_c_check_header_compile
   1638 
   1639 # ac_fn_c_try_cpp LINENO
   1640 # ----------------------
   1641 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1642 ac_fn_c_try_cpp ()
   1643 {
   1644   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1645   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1646 case "(($ac_try" in
   1647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1648   *) ac_try_echo=$ac_try;;
   1649 esac
   1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1651 $as_echo "$ac_try_echo"; } >&5
   1652   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1653   ac_status=$?
   1654   if test -s conftest.err; then
   1655     grep -v '^ *+' conftest.err >conftest.er1
   1656     cat conftest.er1 >&5
   1657     mv -f conftest.er1 conftest.err
   1658   fi
   1659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1660   test $ac_status = 0; } > conftest.i && {
   1661 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1662 	 test ! -s conftest.err
   1663        }; then :
   1664   ac_retval=0
   1665 else
   1666   $as_echo "$as_me: failed program was:" >&5
   1667 sed 's/^/| /' conftest.$ac_ext >&5
   1668 
   1669     ac_retval=1
   1670 fi
   1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1672   as_fn_set_status $ac_retval
   1673 
   1674 } # ac_fn_c_try_cpp
   1675 
   1676 # ac_fn_c_try_run LINENO
   1677 # ----------------------
   1678 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1679 # that executables *can* be run.
   1680 ac_fn_c_try_run ()
   1681 {
   1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1683   if { { ac_try="$ac_link"
   1684 case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 $as_echo "$ac_try_echo"; } >&5
   1690   (eval "$ac_link") 2>&5
   1691   ac_status=$?
   1692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1693   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1694   { { case "(($ac_try" in
   1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1696   *) ac_try_echo=$ac_try;;
   1697 esac
   1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1699 $as_echo "$ac_try_echo"; } >&5
   1700   (eval "$ac_try") 2>&5
   1701   ac_status=$?
   1702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1703   test $ac_status = 0; }; }; then :
   1704   ac_retval=0
   1705 else
   1706   $as_echo "$as_me: program exited with status $ac_status" >&5
   1707        $as_echo "$as_me: failed program was:" >&5
   1708 sed 's/^/| /' conftest.$ac_ext >&5
   1709 
   1710        ac_retval=$ac_status
   1711 fi
   1712   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1714   as_fn_set_status $ac_retval
   1715 
   1716 } # ac_fn_c_try_run
   1717 
   1718 # ac_fn_c_check_func LINENO FUNC VAR
   1719 # ----------------------------------
   1720 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1721 ac_fn_c_check_func ()
   1722 {
   1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1725 $as_echo_n "checking for $2... " >&6; }
   1726 if eval \${$3+:} false; then :
   1727   $as_echo_n "(cached) " >&6
   1728 else
   1729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1730 /* end confdefs.h.  */
   1731 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1733 #define $2 innocuous_$2
   1734 
   1735 /* System header to define __stub macros and hopefully few prototypes,
   1736     which can conflict with char $2 (); below.
   1737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1738     <limits.h> exists even on freestanding compilers.  */
   1739 
   1740 #ifdef __STDC__
   1741 # include <limits.h>
   1742 #else
   1743 # include <assert.h>
   1744 #endif
   1745 
   1746 #undef $2
   1747 
   1748 /* Override any GCC internal prototype to avoid an error.
   1749    Use char because int might match the return type of a GCC
   1750    builtin and then its argument prototype would still apply.  */
   1751 #ifdef __cplusplus
   1752 extern "C"
   1753 #endif
   1754 char $2 ();
   1755 /* The GNU C library defines this for functions which it implements
   1756     to always fail with ENOSYS.  Some functions are actually named
   1757     something starting with __ and the normal name is an alias.  */
   1758 #if defined __stub_$2 || defined __stub___$2
   1759 choke me
   1760 #endif
   1761 
   1762 int
   1763 main ()
   1764 {
   1765 return $2 ();
   1766   ;
   1767   return 0;
   1768 }
   1769 _ACEOF
   1770 if ac_fn_c_try_link "$LINENO"; then :
   1771   eval "$3=yes"
   1772 else
   1773   eval "$3=no"
   1774 fi
   1775 rm -f core conftest.err conftest.$ac_objext \
   1776     conftest$ac_exeext conftest.$ac_ext
   1777 fi
   1778 eval ac_res=\$$3
   1779 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1780 $as_echo "$ac_res" >&6; }
   1781   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1782 
   1783 } # ac_fn_c_check_func
   1784 
   1785 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1786 # ---------------------------------------------
   1787 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1788 # accordingly.
   1789 ac_fn_c_check_decl ()
   1790 {
   1791   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1792   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1793   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1795 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1796 if eval \${$3+:} false; then :
   1797   $as_echo_n "(cached) " >&6
   1798 else
   1799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1800 /* end confdefs.h.  */
   1801 $4
   1802 int
   1803 main ()
   1804 {
   1805 #ifndef $as_decl_name
   1806 #ifdef __cplusplus
   1807   (void) $as_decl_use;
   1808 #else
   1809   (void) $as_decl_name;
   1810 #endif
   1811 #endif
   1812 
   1813   ;
   1814   return 0;
   1815 }
   1816 _ACEOF
   1817 if ac_fn_c_try_compile "$LINENO"; then :
   1818   eval "$3=yes"
   1819 else
   1820   eval "$3=no"
   1821 fi
   1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   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   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1828 
   1829 } # ac_fn_c_check_decl
   1830 cat >config.log <<_ACEOF
   1831 This file contains any messages produced by compilers while
   1832 running configure, to aid debugging if configure makes a mistake.
   1833 
   1834 It was created by libxkbfile $as_me 1.0.8, which was
   1835 generated by GNU Autoconf 2.68.  Invocation command line was
   1836 
   1837   $ $0 $@
   1838 
   1839 _ACEOF
   1840 exec 5>>config.log
   1841 {
   1842 cat <<_ASUNAME
   1843 ## --------- ##
   1844 ## Platform. ##
   1845 ## --------- ##
   1846 
   1847 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1848 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1849 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1850 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1851 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1852 
   1853 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1854 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1855 
   1856 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1857 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1858 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1859 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1860 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1861 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1862 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1863 
   1864 _ASUNAME
   1865 
   1866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1867 for as_dir in $PATH
   1868 do
   1869   IFS=$as_save_IFS
   1870   test -z "$as_dir" && as_dir=.
   1871     $as_echo "PATH: $as_dir"
   1872   done
   1873 IFS=$as_save_IFS
   1874 
   1875 } >&5
   1876 
   1877 cat >&5 <<_ACEOF
   1878 
   1879 
   1880 ## ----------- ##
   1881 ## Core tests. ##
   1882 ## ----------- ##
   1883 
   1884 _ACEOF
   1885 
   1886 
   1887 # Keep a trace of the command line.
   1888 # Strip out --no-create and --no-recursion so they do not pile up.
   1889 # Strip out --silent because we don't want to record it for future runs.
   1890 # Also quote any args containing shell meta-characters.
   1891 # Make two passes to allow for proper duplicate-argument suppression.
   1892 ac_configure_args=
   1893 ac_configure_args0=
   1894 ac_configure_args1=
   1895 ac_must_keep_next=false
   1896 for ac_pass in 1 2
   1897 do
   1898   for ac_arg
   1899   do
   1900     case $ac_arg in
   1901     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1902     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1903     | -silent | --silent | --silen | --sile | --sil)
   1904       continue ;;
   1905     *\'*)
   1906       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1907     esac
   1908     case $ac_pass in
   1909     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1910     2)
   1911       as_fn_append ac_configure_args1 " '$ac_arg'"
   1912       if test $ac_must_keep_next = true; then
   1913 	ac_must_keep_next=false # Got value, back to normal.
   1914       else
   1915 	case $ac_arg in
   1916 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1917 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1918 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1919 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1920 	    case "$ac_configure_args0 " in
   1921 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1922 	    esac
   1923 	    ;;
   1924 	  -* ) ac_must_keep_next=true ;;
   1925 	esac
   1926       fi
   1927       as_fn_append ac_configure_args " '$ac_arg'"
   1928       ;;
   1929     esac
   1930   done
   1931 done
   1932 { ac_configure_args0=; unset ac_configure_args0;}
   1933 { ac_configure_args1=; unset ac_configure_args1;}
   1934 
   1935 # When interrupted or exit'd, cleanup temporary files, and complete
   1936 # config.log.  We remove comments because anyway the quotes in there
   1937 # would cause problems or look ugly.
   1938 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1939 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1940 trap 'exit_status=$?
   1941   # Save into config.log some information that might help in debugging.
   1942   {
   1943     echo
   1944 
   1945     $as_echo "## ---------------- ##
   1946 ## Cache variables. ##
   1947 ## ---------------- ##"
   1948     echo
   1949     # The following way of writing the cache mishandles newlines in values,
   1950 (
   1951   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1952     eval ac_val=\$$ac_var
   1953     case $ac_val in #(
   1954     *${as_nl}*)
   1955       case $ac_var in #(
   1956       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1957 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1958       esac
   1959       case $ac_var in #(
   1960       _ | IFS | as_nl) ;; #(
   1961       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1962       *) { eval $ac_var=; unset $ac_var;} ;;
   1963       esac ;;
   1964     esac
   1965   done
   1966   (set) 2>&1 |
   1967     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1968     *${as_nl}ac_space=\ *)
   1969       sed -n \
   1970 	"s/'\''/'\''\\\\'\'''\''/g;
   1971 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1972       ;; #(
   1973     *)
   1974       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1975       ;;
   1976     esac |
   1977     sort
   1978 )
   1979     echo
   1980 
   1981     $as_echo "## ----------------- ##
   1982 ## Output variables. ##
   1983 ## ----------------- ##"
   1984     echo
   1985     for ac_var in $ac_subst_vars
   1986     do
   1987       eval ac_val=\$$ac_var
   1988       case $ac_val in
   1989       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1990       esac
   1991       $as_echo "$ac_var='\''$ac_val'\''"
   1992     done | sort
   1993     echo
   1994 
   1995     if test -n "$ac_subst_files"; then
   1996       $as_echo "## ------------------- ##
   1997 ## File substitutions. ##
   1998 ## ------------------- ##"
   1999       echo
   2000       for ac_var in $ac_subst_files
   2001       do
   2002 	eval ac_val=\$$ac_var
   2003 	case $ac_val in
   2004 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2005 	esac
   2006 	$as_echo "$ac_var='\''$ac_val'\''"
   2007       done | sort
   2008       echo
   2009     fi
   2010 
   2011     if test -s confdefs.h; then
   2012       $as_echo "## ----------- ##
   2013 ## confdefs.h. ##
   2014 ## ----------- ##"
   2015       echo
   2016       cat confdefs.h
   2017       echo
   2018     fi
   2019     test "$ac_signal" != 0 &&
   2020       $as_echo "$as_me: caught signal $ac_signal"
   2021     $as_echo "$as_me: exit $exit_status"
   2022   } >&5
   2023   rm -f core *.core core.conftest.* &&
   2024     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2025     exit $exit_status
   2026 ' 0
   2027 for ac_signal in 1 2 13 15; do
   2028   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2029 done
   2030 ac_signal=0
   2031 
   2032 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2033 rm -f -r conftest* confdefs.h
   2034 
   2035 $as_echo "/* confdefs.h */" > confdefs.h
   2036 
   2037 # Predefined preprocessor variables.
   2038 
   2039 cat >>confdefs.h <<_ACEOF
   2040 #define PACKAGE_NAME "$PACKAGE_NAME"
   2041 _ACEOF
   2042 
   2043 cat >>confdefs.h <<_ACEOF
   2044 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2045 _ACEOF
   2046 
   2047 cat >>confdefs.h <<_ACEOF
   2048 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2049 _ACEOF
   2050 
   2051 cat >>confdefs.h <<_ACEOF
   2052 #define PACKAGE_STRING "$PACKAGE_STRING"
   2053 _ACEOF
   2054 
   2055 cat >>confdefs.h <<_ACEOF
   2056 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2057 _ACEOF
   2058 
   2059 cat >>confdefs.h <<_ACEOF
   2060 #define PACKAGE_URL "$PACKAGE_URL"
   2061 _ACEOF
   2062 
   2063 
   2064 # Let the site file select an alternate cache file if it wants to.
   2065 # Prefer an explicitly selected file to automatically selected ones.
   2066 ac_site_file1=NONE
   2067 ac_site_file2=NONE
   2068 if test -n "$CONFIG_SITE"; then
   2069   # We do not want a PATH search for config.site.
   2070   case $CONFIG_SITE in #((
   2071     -*)  ac_site_file1=./$CONFIG_SITE;;
   2072     */*) ac_site_file1=$CONFIG_SITE;;
   2073     *)   ac_site_file1=./$CONFIG_SITE;;
   2074   esac
   2075 elif test "x$prefix" != xNONE; then
   2076   ac_site_file1=$prefix/share/config.site
   2077   ac_site_file2=$prefix/etc/config.site
   2078 else
   2079   ac_site_file1=$ac_default_prefix/share/config.site
   2080   ac_site_file2=$ac_default_prefix/etc/config.site
   2081 fi
   2082 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2083 do
   2084   test "x$ac_site_file" = xNONE && continue
   2085   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2086     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2087 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2088     sed 's/^/| /' "$ac_site_file" >&5
   2089     . "$ac_site_file" \
   2090       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2092 as_fn_error $? "failed to load site script $ac_site_file
   2093 See \`config.log' for more details" "$LINENO" 5; }
   2094   fi
   2095 done
   2096 
   2097 if test -r "$cache_file"; then
   2098   # Some versions of bash will fail to source /dev/null (special files
   2099   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2100   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2101     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2102 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2103     case $cache_file in
   2104       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2105       *)                      . "./$cache_file";;
   2106     esac
   2107   fi
   2108 else
   2109   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2110 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2111   >$cache_file
   2112 fi
   2113 
   2114 # Check that the precious variables saved in the cache have kept the same
   2115 # value.
   2116 ac_cache_corrupted=false
   2117 for ac_var in $ac_precious_vars; do
   2118   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2119   eval ac_new_set=\$ac_env_${ac_var}_set
   2120   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2121   eval ac_new_val=\$ac_env_${ac_var}_value
   2122   case $ac_old_set,$ac_new_set in
   2123     set,)
   2124       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2125 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2126       ac_cache_corrupted=: ;;
   2127     ,set)
   2128       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2129 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2130       ac_cache_corrupted=: ;;
   2131     ,);;
   2132     *)
   2133       if test "x$ac_old_val" != "x$ac_new_val"; then
   2134 	# differences in whitespace do not lead to failure.
   2135 	ac_old_val_w=`echo x $ac_old_val`
   2136 	ac_new_val_w=`echo x $ac_new_val`
   2137 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2138 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2139 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2140 	  ac_cache_corrupted=:
   2141 	else
   2142 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2143 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2144 	  eval $ac_var=\$ac_old_val
   2145 	fi
   2146 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2147 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2148 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2149 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2150       fi;;
   2151   esac
   2152   # Pass precious variables to config.status.
   2153   if test "$ac_new_set" = set; then
   2154     case $ac_new_val in
   2155     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2156     *) ac_arg=$ac_var=$ac_new_val ;;
   2157     esac
   2158     case " $ac_configure_args " in
   2159       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2160       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2161     esac
   2162   fi
   2163 done
   2164 if $ac_cache_corrupted; then
   2165   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2167   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2169   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2170 fi
   2171 ## -------------------- ##
   2172 ## Main body of script. ##
   2173 ## -------------------- ##
   2174 
   2175 ac_ext=c
   2176 ac_cpp='$CPP $CPPFLAGS'
   2177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2180 
   2181 
   2182 
   2183 ac_config_headers="$ac_config_headers config.h"
   2184 
   2185 
   2186 # Initialize Automake
   2187 am__api_version='1.11'
   2188 
   2189 ac_aux_dir=
   2190 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2191   if test -f "$ac_dir/install-sh"; then
   2192     ac_aux_dir=$ac_dir
   2193     ac_install_sh="$ac_aux_dir/install-sh -c"
   2194     break
   2195   elif test -f "$ac_dir/install.sh"; then
   2196     ac_aux_dir=$ac_dir
   2197     ac_install_sh="$ac_aux_dir/install.sh -c"
   2198     break
   2199   elif test -f "$ac_dir/shtool"; then
   2200     ac_aux_dir=$ac_dir
   2201     ac_install_sh="$ac_aux_dir/shtool install -c"
   2202     break
   2203   fi
   2204 done
   2205 if test -z "$ac_aux_dir"; then
   2206   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2207 fi
   2208 
   2209 # These three variables are undocumented and unsupported,
   2210 # and are intended to be withdrawn in a future Autoconf release.
   2211 # They can cause serious problems if a builder's source tree is in a directory
   2212 # whose full name contains unusual characters.
   2213 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2214 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2215 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2216 
   2217 
   2218 # Find a good install program.  We prefer a C program (faster),
   2219 # so one script is as good as another.  But avoid the broken or
   2220 # incompatible versions:
   2221 # SysV /etc/install, /usr/sbin/install
   2222 # SunOS /usr/etc/install
   2223 # IRIX /sbin/install
   2224 # AIX /bin/install
   2225 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2226 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2227 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2228 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2229 # OS/2's system install, which has a completely different semantic
   2230 # ./install, which can be erroneously created by make from ./install.sh.
   2231 # Reject install programs that cannot install multiple files.
   2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2233 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2234 if test -z "$INSTALL"; then
   2235 if ${ac_cv_path_install+:} false; then :
   2236   $as_echo_n "(cached) " >&6
   2237 else
   2238   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2239 for as_dir in $PATH
   2240 do
   2241   IFS=$as_save_IFS
   2242   test -z "$as_dir" && as_dir=.
   2243     # Account for people who put trailing slashes in PATH elements.
   2244 case $as_dir/ in #((
   2245   ./ | .// | /[cC]/* | \
   2246   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2247   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2248   /usr/ucb/* ) ;;
   2249   *)
   2250     # OSF1 and SCO ODT 3.0 have their own names for install.
   2251     # Don't use installbsd from OSF since it installs stuff as root
   2252     # by default.
   2253     for ac_prog in ginstall scoinst install; do
   2254       for ac_exec_ext in '' $ac_executable_extensions; do
   2255 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2256 	  if test $ac_prog = install &&
   2257 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2258 	    # AIX install.  It has an incompatible calling convention.
   2259 	    :
   2260 	  elif test $ac_prog = install &&
   2261 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2262 	    # program-specific install script used by HP pwplus--don't use.
   2263 	    :
   2264 	  else
   2265 	    rm -rf conftest.one conftest.two conftest.dir
   2266 	    echo one > conftest.one
   2267 	    echo two > conftest.two
   2268 	    mkdir conftest.dir
   2269 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2270 	      test -s conftest.one && test -s conftest.two &&
   2271 	      test -s conftest.dir/conftest.one &&
   2272 	      test -s conftest.dir/conftest.two
   2273 	    then
   2274 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2275 	      break 3
   2276 	    fi
   2277 	  fi
   2278 	fi
   2279       done
   2280     done
   2281     ;;
   2282 esac
   2283 
   2284   done
   2285 IFS=$as_save_IFS
   2286 
   2287 rm -rf conftest.one conftest.two conftest.dir
   2288 
   2289 fi
   2290   if test "${ac_cv_path_install+set}" = set; then
   2291     INSTALL=$ac_cv_path_install
   2292   else
   2293     # As a last resort, use the slow shell script.  Don't cache a
   2294     # value for INSTALL within a source directory, because that will
   2295     # break other packages using the cache if that directory is
   2296     # removed, or if the value is a relative name.
   2297     INSTALL=$ac_install_sh
   2298   fi
   2299 fi
   2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2301 $as_echo "$INSTALL" >&6; }
   2302 
   2303 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2304 # It thinks the first close brace ends the variable substitution.
   2305 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2306 
   2307 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2308 
   2309 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2310 
   2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2312 $as_echo_n "checking whether build environment is sane... " >&6; }
   2313 # Just in case
   2314 sleep 1
   2315 echo timestamp > conftest.file
   2316 # Reject unsafe characters in $srcdir or the absolute working directory
   2317 # name.  Accept space and tab only in the latter.
   2318 am_lf='
   2319 '
   2320 case `pwd` in
   2321   *[\\\"\#\$\&\'\`$am_lf]*)
   2322     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2323 esac
   2324 case $srcdir in
   2325   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2326     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2327 esac
   2328 
   2329 # Do `set' in a subshell so we don't clobber the current shell's
   2330 # arguments.  Must try -L first in case configure is actually a
   2331 # symlink; some systems play weird games with the mod time of symlinks
   2332 # (eg FreeBSD returns the mod time of the symlink's containing
   2333 # directory).
   2334 if (
   2335    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2336    if test "$*" = "X"; then
   2337       # -L didn't work.
   2338       set X `ls -t "$srcdir/configure" conftest.file`
   2339    fi
   2340    rm -f conftest.file
   2341    if test "$*" != "X $srcdir/configure conftest.file" \
   2342       && test "$*" != "X conftest.file $srcdir/configure"; then
   2343 
   2344       # If neither matched, then we have a broken ls.  This can happen
   2345       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2346       # broken ls alias from the environment.  This has actually
   2347       # happened.  Such a system could not be considered "sane".
   2348       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2349 alias in your environment" "$LINENO" 5
   2350    fi
   2351 
   2352    test "$2" = conftest.file
   2353    )
   2354 then
   2355    # Ok.
   2356    :
   2357 else
   2358    as_fn_error $? "newly created file is older than distributed files!
   2359 Check your system clock" "$LINENO" 5
   2360 fi
   2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2362 $as_echo "yes" >&6; }
   2363 test "$program_prefix" != NONE &&
   2364   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2365 # Use a double $ so make ignores it.
   2366 test "$program_suffix" != NONE &&
   2367   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2368 # Double any \ or $.
   2369 # By default was `s,x,x', remove it if useless.
   2370 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2371 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2372 
   2373 # expand $ac_aux_dir to an absolute path
   2374 am_aux_dir=`cd $ac_aux_dir && pwd`
   2375 
   2376 if test x"${MISSING+set}" != xset; then
   2377   case $am_aux_dir in
   2378   *\ * | *\	*)
   2379     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2380   *)
   2381     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2382   esac
   2383 fi
   2384 # Use eval to expand $SHELL
   2385 if eval "$MISSING --run true"; then
   2386   am_missing_run="$MISSING --run "
   2387 else
   2388   am_missing_run=
   2389   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2390 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2391 fi
   2392 
   2393 if test x"${install_sh}" != xset; then
   2394   case $am_aux_dir in
   2395   *\ * | *\	*)
   2396     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2397   *)
   2398     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2399   esac
   2400 fi
   2401 
   2402 # Installed binaries are usually stripped using `strip' when the user
   2403 # run `make install-strip'.  However `strip' might not be the right
   2404 # tool to use in cross-compilation environments, therefore Automake
   2405 # will honor the `STRIP' environment variable to overrule this program.
   2406 if test "$cross_compiling" != no; then
   2407   if test -n "$ac_tool_prefix"; then
   2408   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2409 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2411 $as_echo_n "checking for $ac_word... " >&6; }
   2412 if ${ac_cv_prog_STRIP+:} false; then :
   2413   $as_echo_n "(cached) " >&6
   2414 else
   2415   if test -n "$STRIP"; then
   2416   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2417 else
   2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2419 for as_dir in $PATH
   2420 do
   2421   IFS=$as_save_IFS
   2422   test -z "$as_dir" && as_dir=.
   2423     for ac_exec_ext in '' $ac_executable_extensions; do
   2424   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2425     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2427     break 2
   2428   fi
   2429 done
   2430   done
   2431 IFS=$as_save_IFS
   2432 
   2433 fi
   2434 fi
   2435 STRIP=$ac_cv_prog_STRIP
   2436 if test -n "$STRIP"; then
   2437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2438 $as_echo "$STRIP" >&6; }
   2439 else
   2440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2441 $as_echo "no" >&6; }
   2442 fi
   2443 
   2444 
   2445 fi
   2446 if test -z "$ac_cv_prog_STRIP"; then
   2447   ac_ct_STRIP=$STRIP
   2448   # Extract the first word of "strip", so it can be a program name with args.
   2449 set dummy strip; ac_word=$2
   2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2451 $as_echo_n "checking for $ac_word... " >&6; }
   2452 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2453   $as_echo_n "(cached) " >&6
   2454 else
   2455   if test -n "$ac_ct_STRIP"; then
   2456   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2457 else
   2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2459 for as_dir in $PATH
   2460 do
   2461   IFS=$as_save_IFS
   2462   test -z "$as_dir" && as_dir=.
   2463     for ac_exec_ext in '' $ac_executable_extensions; do
   2464   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2465     ac_cv_prog_ac_ct_STRIP="strip"
   2466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2467     break 2
   2468   fi
   2469 done
   2470   done
   2471 IFS=$as_save_IFS
   2472 
   2473 fi
   2474 fi
   2475 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2476 if test -n "$ac_ct_STRIP"; then
   2477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2478 $as_echo "$ac_ct_STRIP" >&6; }
   2479 else
   2480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2481 $as_echo "no" >&6; }
   2482 fi
   2483 
   2484   if test "x$ac_ct_STRIP" = x; then
   2485     STRIP=":"
   2486   else
   2487     case $cross_compiling:$ac_tool_warned in
   2488 yes:)
   2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2491 ac_tool_warned=yes ;;
   2492 esac
   2493     STRIP=$ac_ct_STRIP
   2494   fi
   2495 else
   2496   STRIP="$ac_cv_prog_STRIP"
   2497 fi
   2498 
   2499 fi
   2500 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2501 
   2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2503 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2504 if test -z "$MKDIR_P"; then
   2505   if ${ac_cv_path_mkdir+:} false; then :
   2506   $as_echo_n "(cached) " >&6
   2507 else
   2508   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2509 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2510 do
   2511   IFS=$as_save_IFS
   2512   test -z "$as_dir" && as_dir=.
   2513     for ac_prog in mkdir gmkdir; do
   2514 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2515 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2516 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2517 	     'mkdir (GNU coreutils) '* | \
   2518 	     'mkdir (coreutils) '* | \
   2519 	     'mkdir (fileutils) '4.1*)
   2520 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2521 	       break 3;;
   2522 	   esac
   2523 	 done
   2524        done
   2525   done
   2526 IFS=$as_save_IFS
   2527 
   2528 fi
   2529 
   2530   test -d ./--version && rmdir ./--version
   2531   if test "${ac_cv_path_mkdir+set}" = set; then
   2532     MKDIR_P="$ac_cv_path_mkdir -p"
   2533   else
   2534     # As a last resort, use the slow shell script.  Don't cache a
   2535     # value for MKDIR_P within a source directory, because that will
   2536     # break other packages using the cache if that directory is
   2537     # removed, or if the value is a relative name.
   2538     MKDIR_P="$ac_install_sh -d"
   2539   fi
   2540 fi
   2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2542 $as_echo "$MKDIR_P" >&6; }
   2543 
   2544 mkdir_p="$MKDIR_P"
   2545 case $mkdir_p in
   2546   [\\/$]* | ?:[\\/]*) ;;
   2547   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2548 esac
   2549 
   2550 for ac_prog in gawk mawk nawk awk
   2551 do
   2552   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2553 set dummy $ac_prog; ac_word=$2
   2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2555 $as_echo_n "checking for $ac_word... " >&6; }
   2556 if ${ac_cv_prog_AWK+:} false; then :
   2557   $as_echo_n "(cached) " >&6
   2558 else
   2559   if test -n "$AWK"; then
   2560   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2561 else
   2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2563 for as_dir in $PATH
   2564 do
   2565   IFS=$as_save_IFS
   2566   test -z "$as_dir" && as_dir=.
   2567     for ac_exec_ext in '' $ac_executable_extensions; do
   2568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2569     ac_cv_prog_AWK="$ac_prog"
   2570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2571     break 2
   2572   fi
   2573 done
   2574   done
   2575 IFS=$as_save_IFS
   2576 
   2577 fi
   2578 fi
   2579 AWK=$ac_cv_prog_AWK
   2580 if test -n "$AWK"; then
   2581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2582 $as_echo "$AWK" >&6; }
   2583 else
   2584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2585 $as_echo "no" >&6; }
   2586 fi
   2587 
   2588 
   2589   test -n "$AWK" && break
   2590 done
   2591 
   2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2593 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2594 set x ${MAKE-make}
   2595 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2596 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2597   $as_echo_n "(cached) " >&6
   2598 else
   2599   cat >conftest.make <<\_ACEOF
   2600 SHELL = /bin/sh
   2601 all:
   2602 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2603 _ACEOF
   2604 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2605 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2606   *@@@%%%=?*=@@@%%%*)
   2607     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2608   *)
   2609     eval ac_cv_prog_make_${ac_make}_set=no;;
   2610 esac
   2611 rm -f conftest.make
   2612 fi
   2613 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2615 $as_echo "yes" >&6; }
   2616   SET_MAKE=
   2617 else
   2618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2619 $as_echo "no" >&6; }
   2620   SET_MAKE="MAKE=${MAKE-make}"
   2621 fi
   2622 
   2623 rm -rf .tst 2>/dev/null
   2624 mkdir .tst 2>/dev/null
   2625 if test -d .tst; then
   2626   am__leading_dot=.
   2627 else
   2628   am__leading_dot=_
   2629 fi
   2630 rmdir .tst 2>/dev/null
   2631 
   2632 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2633   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2634   # is not polluted with repeated "-I."
   2635   am__isrc=' -I$(srcdir)'
   2636   # test to see if srcdir already configured
   2637   if test -f $srcdir/config.status; then
   2638     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2639   fi
   2640 fi
   2641 
   2642 # test whether we have cygpath
   2643 if test -z "$CYGPATH_W"; then
   2644   if (cygpath --version) >/dev/null 2>/dev/null; then
   2645     CYGPATH_W='cygpath -w'
   2646   else
   2647     CYGPATH_W=echo
   2648   fi
   2649 fi
   2650 
   2651 
   2652 # Define the identity of the package.
   2653  PACKAGE='libxkbfile'
   2654  VERSION='1.0.8'
   2655 
   2656 
   2657 cat >>confdefs.h <<_ACEOF
   2658 #define PACKAGE "$PACKAGE"
   2659 _ACEOF
   2660 
   2661 
   2662 cat >>confdefs.h <<_ACEOF
   2663 #define VERSION "$VERSION"
   2664 _ACEOF
   2665 
   2666 # Some tools Automake needs.
   2667 
   2668 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2669 
   2670 
   2671 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2672 
   2673 
   2674 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2675 
   2676 
   2677 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2678 
   2679 
   2680 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2681 
   2682 # We need awk for the "check" target.  The system "awk" is bad on
   2683 # some platforms.
   2684 # Always define AMTAR for backward compatibility.
   2685 
   2686 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2687 
   2688 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2689 
   2690 
   2691 
   2692 
   2693 
   2694 
   2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2696 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2697     # Check whether --enable-maintainer-mode was given.
   2698 if test "${enable_maintainer_mode+set}" = set; then :
   2699   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2700 else
   2701   USE_MAINTAINER_MODE=no
   2702 fi
   2703 
   2704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2705 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2706    if test $USE_MAINTAINER_MODE = yes; then
   2707   MAINTAINER_MODE_TRUE=
   2708   MAINTAINER_MODE_FALSE='#'
   2709 else
   2710   MAINTAINER_MODE_TRUE='#'
   2711   MAINTAINER_MODE_FALSE=
   2712 fi
   2713 
   2714   MAINT=$MAINTAINER_MODE_TRUE
   2715 
   2716 
   2717 
   2718 # Initialize libtool
   2719 case `pwd` in
   2720   *\ * | *\	*)
   2721     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2722 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2723 esac
   2724 
   2725 
   2726 
   2727 macro_version='2.4'
   2728 macro_revision='1.3293'
   2729 
   2730 
   2731 
   2732 
   2733 
   2734 
   2735 
   2736 
   2737 
   2738 
   2739 
   2740 
   2741 
   2742 ltmain="$ac_aux_dir/ltmain.sh"
   2743 
   2744 # Make sure we can run config.sub.
   2745 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2746   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2747 
   2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2749 $as_echo_n "checking build system type... " >&6; }
   2750 if ${ac_cv_build+:} false; then :
   2751   $as_echo_n "(cached) " >&6
   2752 else
   2753   ac_build_alias=$build_alias
   2754 test "x$ac_build_alias" = x &&
   2755   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2756 test "x$ac_build_alias" = x &&
   2757   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2758 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2759   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2760 
   2761 fi
   2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2763 $as_echo "$ac_cv_build" >&6; }
   2764 case $ac_cv_build in
   2765 *-*-*) ;;
   2766 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2767 esac
   2768 build=$ac_cv_build
   2769 ac_save_IFS=$IFS; IFS='-'
   2770 set x $ac_cv_build
   2771 shift
   2772 build_cpu=$1
   2773 build_vendor=$2
   2774 shift; shift
   2775 # Remember, the first character of IFS is used to create $*,
   2776 # except with old shells:
   2777 build_os=$*
   2778 IFS=$ac_save_IFS
   2779 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2780 
   2781 
   2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2783 $as_echo_n "checking host system type... " >&6; }
   2784 if ${ac_cv_host+:} false; then :
   2785   $as_echo_n "(cached) " >&6
   2786 else
   2787   if test "x$host_alias" = x; then
   2788   ac_cv_host=$ac_cv_build
   2789 else
   2790   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2791     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2792 fi
   2793 
   2794 fi
   2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2796 $as_echo "$ac_cv_host" >&6; }
   2797 case $ac_cv_host in
   2798 *-*-*) ;;
   2799 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2800 esac
   2801 host=$ac_cv_host
   2802 ac_save_IFS=$IFS; IFS='-'
   2803 set x $ac_cv_host
   2804 shift
   2805 host_cpu=$1
   2806 host_vendor=$2
   2807 shift; shift
   2808 # Remember, the first character of IFS is used to create $*,
   2809 # except with old shells:
   2810 host_os=$*
   2811 IFS=$ac_save_IFS
   2812 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2813 
   2814 
   2815 # Backslashify metacharacters that are still active within
   2816 # double-quoted strings.
   2817 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2818 
   2819 # Same as above, but do not quote variable references.
   2820 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2821 
   2822 # Sed substitution to delay expansion of an escaped shell variable in a
   2823 # double_quote_subst'ed string.
   2824 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2825 
   2826 # Sed substitution to delay expansion of an escaped single quote.
   2827 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2828 
   2829 # Sed substitution to avoid accidental globbing in evaled expressions
   2830 no_glob_subst='s/\*/\\\*/g'
   2831 
   2832 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2833 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2834 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2835 
   2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2837 $as_echo_n "checking how to print strings... " >&6; }
   2838 # Test print first, because it will be a builtin if present.
   2839 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2840    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2841   ECHO='print -r --'
   2842 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2843   ECHO='printf %s\n'
   2844 else
   2845   # Use this function as a fallback that always works.
   2846   func_fallback_echo ()
   2847   {
   2848     eval 'cat <<_LTECHO_EOF
   2849 $1
   2850 _LTECHO_EOF'
   2851   }
   2852   ECHO='func_fallback_echo'
   2853 fi
   2854 
   2855 # func_echo_all arg...
   2856 # Invoke $ECHO with all args, space-separated.
   2857 func_echo_all ()
   2858 {
   2859     $ECHO ""
   2860 }
   2861 
   2862 case "$ECHO" in
   2863   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2864 $as_echo "printf" >&6; } ;;
   2865   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2866 $as_echo "print -r" >&6; } ;;
   2867   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2868 $as_echo "cat" >&6; } ;;
   2869 esac
   2870 
   2871 
   2872 
   2873 
   2874 
   2875 
   2876 
   2877 
   2878 
   2879 
   2880 
   2881 
   2882 
   2883 
   2884 DEPDIR="${am__leading_dot}deps"
   2885 
   2886 ac_config_commands="$ac_config_commands depfiles"
   2887 
   2888 
   2889 am_make=${MAKE-make}
   2890 cat > confinc << 'END'
   2891 am__doit:
   2892 	@echo this is the am__doit target
   2893 .PHONY: am__doit
   2894 END
   2895 # If we don't find an include directive, just comment out the code.
   2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2897 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2898 am__include="#"
   2899 am__quote=
   2900 _am_result=none
   2901 # First try GNU make style include.
   2902 echo "include confinc" > confmf
   2903 # Ignore all kinds of additional output from `make'.
   2904 case `$am_make -s -f confmf 2> /dev/null` in #(
   2905 *the\ am__doit\ target*)
   2906   am__include=include
   2907   am__quote=
   2908   _am_result=GNU
   2909   ;;
   2910 esac
   2911 # Now try BSD make style include.
   2912 if test "$am__include" = "#"; then
   2913    echo '.include "confinc"' > confmf
   2914    case `$am_make -s -f confmf 2> /dev/null` in #(
   2915    *the\ am__doit\ target*)
   2916      am__include=.include
   2917      am__quote="\""
   2918      _am_result=BSD
   2919      ;;
   2920    esac
   2921 fi
   2922 
   2923 
   2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2925 $as_echo "$_am_result" >&6; }
   2926 rm -f confinc confmf
   2927 
   2928 # Check whether --enable-dependency-tracking was given.
   2929 if test "${enable_dependency_tracking+set}" = set; then :
   2930   enableval=$enable_dependency_tracking;
   2931 fi
   2932 
   2933 if test "x$enable_dependency_tracking" != xno; then
   2934   am_depcomp="$ac_aux_dir/depcomp"
   2935   AMDEPBACKSLASH='\'
   2936 fi
   2937  if test "x$enable_dependency_tracking" != xno; then
   2938   AMDEP_TRUE=
   2939   AMDEP_FALSE='#'
   2940 else
   2941   AMDEP_TRUE='#'
   2942   AMDEP_FALSE=
   2943 fi
   2944 
   2945 
   2946 ac_ext=c
   2947 ac_cpp='$CPP $CPPFLAGS'
   2948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2951 if test -n "$ac_tool_prefix"; then
   2952   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2953 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2955 $as_echo_n "checking for $ac_word... " >&6; }
   2956 if ${ac_cv_prog_CC+:} false; then :
   2957   $as_echo_n "(cached) " >&6
   2958 else
   2959   if test -n "$CC"; then
   2960   ac_cv_prog_CC="$CC" # Let the user override the test.
   2961 else
   2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2963 for as_dir in $PATH
   2964 do
   2965   IFS=$as_save_IFS
   2966   test -z "$as_dir" && as_dir=.
   2967     for ac_exec_ext in '' $ac_executable_extensions; do
   2968   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2969     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2971     break 2
   2972   fi
   2973 done
   2974   done
   2975 IFS=$as_save_IFS
   2976 
   2977 fi
   2978 fi
   2979 CC=$ac_cv_prog_CC
   2980 if test -n "$CC"; then
   2981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2982 $as_echo "$CC" >&6; }
   2983 else
   2984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2985 $as_echo "no" >&6; }
   2986 fi
   2987 
   2988 
   2989 fi
   2990 if test -z "$ac_cv_prog_CC"; then
   2991   ac_ct_CC=$CC
   2992   # Extract the first word of "gcc", so it can be a program name with args.
   2993 set dummy gcc; ac_word=$2
   2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2995 $as_echo_n "checking for $ac_word... " >&6; }
   2996 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2997   $as_echo_n "(cached) " >&6
   2998 else
   2999   if test -n "$ac_ct_CC"; then
   3000   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3001 else
   3002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3003 for as_dir in $PATH
   3004 do
   3005   IFS=$as_save_IFS
   3006   test -z "$as_dir" && as_dir=.
   3007     for ac_exec_ext in '' $ac_executable_extensions; do
   3008   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3009     ac_cv_prog_ac_ct_CC="gcc"
   3010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3011     break 2
   3012   fi
   3013 done
   3014   done
   3015 IFS=$as_save_IFS
   3016 
   3017 fi
   3018 fi
   3019 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3020 if test -n "$ac_ct_CC"; then
   3021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3022 $as_echo "$ac_ct_CC" >&6; }
   3023 else
   3024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3025 $as_echo "no" >&6; }
   3026 fi
   3027 
   3028   if test "x$ac_ct_CC" = x; then
   3029     CC=""
   3030   else
   3031     case $cross_compiling:$ac_tool_warned in
   3032 yes:)
   3033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3035 ac_tool_warned=yes ;;
   3036 esac
   3037     CC=$ac_ct_CC
   3038   fi
   3039 else
   3040   CC="$ac_cv_prog_CC"
   3041 fi
   3042 
   3043 if test -z "$CC"; then
   3044           if test -n "$ac_tool_prefix"; then
   3045     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3046 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3048 $as_echo_n "checking for $ac_word... " >&6; }
   3049 if ${ac_cv_prog_CC+:} false; then :
   3050   $as_echo_n "(cached) " >&6
   3051 else
   3052   if test -n "$CC"; then
   3053   ac_cv_prog_CC="$CC" # Let the user override the test.
   3054 else
   3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3056 for as_dir in $PATH
   3057 do
   3058   IFS=$as_save_IFS
   3059   test -z "$as_dir" && as_dir=.
   3060     for ac_exec_ext in '' $ac_executable_extensions; do
   3061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3062     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3064     break 2
   3065   fi
   3066 done
   3067   done
   3068 IFS=$as_save_IFS
   3069 
   3070 fi
   3071 fi
   3072 CC=$ac_cv_prog_CC
   3073 if test -n "$CC"; then
   3074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3075 $as_echo "$CC" >&6; }
   3076 else
   3077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3078 $as_echo "no" >&6; }
   3079 fi
   3080 
   3081 
   3082   fi
   3083 fi
   3084 if test -z "$CC"; then
   3085   # Extract the first word of "cc", so it can be a program name with args.
   3086 set dummy cc; ac_word=$2
   3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3088 $as_echo_n "checking for $ac_word... " >&6; }
   3089 if ${ac_cv_prog_CC+:} false; then :
   3090   $as_echo_n "(cached) " >&6
   3091 else
   3092   if test -n "$CC"; then
   3093   ac_cv_prog_CC="$CC" # Let the user override the test.
   3094 else
   3095   ac_prog_rejected=no
   3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3097 for as_dir in $PATH
   3098 do
   3099   IFS=$as_save_IFS
   3100   test -z "$as_dir" && as_dir=.
   3101     for ac_exec_ext in '' $ac_executable_extensions; do
   3102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3103     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3104        ac_prog_rejected=yes
   3105        continue
   3106      fi
   3107     ac_cv_prog_CC="cc"
   3108     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3109     break 2
   3110   fi
   3111 done
   3112   done
   3113 IFS=$as_save_IFS
   3114 
   3115 if test $ac_prog_rejected = yes; then
   3116   # We found a bogon in the path, so make sure we never use it.
   3117   set dummy $ac_cv_prog_CC
   3118   shift
   3119   if test $# != 0; then
   3120     # We chose a different compiler from the bogus one.
   3121     # However, it has the same basename, so the bogon will be chosen
   3122     # first if we set CC to just the basename; use the full file name.
   3123     shift
   3124     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3125   fi
   3126 fi
   3127 fi
   3128 fi
   3129 CC=$ac_cv_prog_CC
   3130 if test -n "$CC"; then
   3131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3132 $as_echo "$CC" >&6; }
   3133 else
   3134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3135 $as_echo "no" >&6; }
   3136 fi
   3137 
   3138 
   3139 fi
   3140 if test -z "$CC"; then
   3141   if test -n "$ac_tool_prefix"; then
   3142   for ac_prog in cl.exe
   3143   do
   3144     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3147 $as_echo_n "checking for $ac_word... " >&6; }
   3148 if ${ac_cv_prog_CC+:} false; then :
   3149   $as_echo_n "(cached) " >&6
   3150 else
   3151   if test -n "$CC"; then
   3152   ac_cv_prog_CC="$CC" # Let the user override the test.
   3153 else
   3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3155 for as_dir in $PATH
   3156 do
   3157   IFS=$as_save_IFS
   3158   test -z "$as_dir" && as_dir=.
   3159     for ac_exec_ext in '' $ac_executable_extensions; do
   3160   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3161     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3163     break 2
   3164   fi
   3165 done
   3166   done
   3167 IFS=$as_save_IFS
   3168 
   3169 fi
   3170 fi
   3171 CC=$ac_cv_prog_CC
   3172 if test -n "$CC"; then
   3173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3174 $as_echo "$CC" >&6; }
   3175 else
   3176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3177 $as_echo "no" >&6; }
   3178 fi
   3179 
   3180 
   3181     test -n "$CC" && break
   3182   done
   3183 fi
   3184 if test -z "$CC"; then
   3185   ac_ct_CC=$CC
   3186   for ac_prog in cl.exe
   3187 do
   3188   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3189 set dummy $ac_prog; ac_word=$2
   3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3191 $as_echo_n "checking for $ac_word... " >&6; }
   3192 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3193   $as_echo_n "(cached) " >&6
   3194 else
   3195   if test -n "$ac_ct_CC"; then
   3196   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3197 else
   3198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3199 for as_dir in $PATH
   3200 do
   3201   IFS=$as_save_IFS
   3202   test -z "$as_dir" && as_dir=.
   3203     for ac_exec_ext in '' $ac_executable_extensions; do
   3204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3205     ac_cv_prog_ac_ct_CC="$ac_prog"
   3206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3207     break 2
   3208   fi
   3209 done
   3210   done
   3211 IFS=$as_save_IFS
   3212 
   3213 fi
   3214 fi
   3215 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3216 if test -n "$ac_ct_CC"; then
   3217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3218 $as_echo "$ac_ct_CC" >&6; }
   3219 else
   3220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3221 $as_echo "no" >&6; }
   3222 fi
   3223 
   3224 
   3225   test -n "$ac_ct_CC" && break
   3226 done
   3227 
   3228   if test "x$ac_ct_CC" = x; then
   3229     CC=""
   3230   else
   3231     case $cross_compiling:$ac_tool_warned in
   3232 yes:)
   3233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3235 ac_tool_warned=yes ;;
   3236 esac
   3237     CC=$ac_ct_CC
   3238   fi
   3239 fi
   3240 
   3241 fi
   3242 
   3243 
   3244 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3246 as_fn_error $? "no acceptable C compiler found in \$PATH
   3247 See \`config.log' for more details" "$LINENO" 5; }
   3248 
   3249 # Provide some information about the compiler.
   3250 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3251 set X $ac_compile
   3252 ac_compiler=$2
   3253 for ac_option in --version -v -V -qversion; do
   3254   { { ac_try="$ac_compiler $ac_option >&5"
   3255 case "(($ac_try" in
   3256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3257   *) ac_try_echo=$ac_try;;
   3258 esac
   3259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3260 $as_echo "$ac_try_echo"; } >&5
   3261   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3262   ac_status=$?
   3263   if test -s conftest.err; then
   3264     sed '10a\
   3265 ... rest of stderr output deleted ...
   3266          10q' conftest.err >conftest.er1
   3267     cat conftest.er1 >&5
   3268   fi
   3269   rm -f conftest.er1 conftest.err
   3270   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3271   test $ac_status = 0; }
   3272 done
   3273 
   3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3275 /* end confdefs.h.  */
   3276 
   3277 int
   3278 main ()
   3279 {
   3280 
   3281   ;
   3282   return 0;
   3283 }
   3284 _ACEOF
   3285 ac_clean_files_save=$ac_clean_files
   3286 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3287 # Try to create an executable without -o first, disregard a.out.
   3288 # It will help us diagnose broken compilers, and finding out an intuition
   3289 # of exeext.
   3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3291 $as_echo_n "checking whether the C compiler works... " >&6; }
   3292 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3293 
   3294 # The possible output files:
   3295 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3296 
   3297 ac_rmfiles=
   3298 for ac_file in $ac_files
   3299 do
   3300   case $ac_file in
   3301     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3302     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3303   esac
   3304 done
   3305 rm -f $ac_rmfiles
   3306 
   3307 if { { ac_try="$ac_link_default"
   3308 case "(($ac_try" in
   3309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3310   *) ac_try_echo=$ac_try;;
   3311 esac
   3312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3313 $as_echo "$ac_try_echo"; } >&5
   3314   (eval "$ac_link_default") 2>&5
   3315   ac_status=$?
   3316   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3317   test $ac_status = 0; }; then :
   3318   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3319 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3320 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3321 # so that the user can short-circuit this test for compilers unknown to
   3322 # Autoconf.
   3323 for ac_file in $ac_files ''
   3324 do
   3325   test -f "$ac_file" || continue
   3326   case $ac_file in
   3327     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3328 	;;
   3329     [ab].out )
   3330 	# We found the default executable, but exeext='' is most
   3331 	# certainly right.
   3332 	break;;
   3333     *.* )
   3334 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3335 	then :; else
   3336 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3337 	fi
   3338 	# We set ac_cv_exeext here because the later test for it is not
   3339 	# safe: cross compilers may not add the suffix if given an `-o'
   3340 	# argument, so we may need to know it at that point already.
   3341 	# Even if this section looks crufty: it has the advantage of
   3342 	# actually working.
   3343 	break;;
   3344     * )
   3345 	break;;
   3346   esac
   3347 done
   3348 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3349 
   3350 else
   3351   ac_file=''
   3352 fi
   3353 if test -z "$ac_file"; then :
   3354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3355 $as_echo "no" >&6; }
   3356 $as_echo "$as_me: failed program was:" >&5
   3357 sed 's/^/| /' conftest.$ac_ext >&5
   3358 
   3359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3361 as_fn_error 77 "C compiler cannot create executables
   3362 See \`config.log' for more details" "$LINENO" 5; }
   3363 else
   3364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3365 $as_echo "yes" >&6; }
   3366 fi
   3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3368 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3370 $as_echo "$ac_file" >&6; }
   3371 ac_exeext=$ac_cv_exeext
   3372 
   3373 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3374 ac_clean_files=$ac_clean_files_save
   3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3376 $as_echo_n "checking for suffix of executables... " >&6; }
   3377 if { { ac_try="$ac_link"
   3378 case "(($ac_try" in
   3379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3380   *) ac_try_echo=$ac_try;;
   3381 esac
   3382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3383 $as_echo "$ac_try_echo"; } >&5
   3384   (eval "$ac_link") 2>&5
   3385   ac_status=$?
   3386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3387   test $ac_status = 0; }; then :
   3388   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3389 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3390 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3391 # `rm'.
   3392 for ac_file in conftest.exe conftest conftest.*; do
   3393   test -f "$ac_file" || continue
   3394   case $ac_file in
   3395     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3396     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3397 	  break;;
   3398     * ) break;;
   3399   esac
   3400 done
   3401 else
   3402   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3404 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3405 See \`config.log' for more details" "$LINENO" 5; }
   3406 fi
   3407 rm -f conftest conftest$ac_cv_exeext
   3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3409 $as_echo "$ac_cv_exeext" >&6; }
   3410 
   3411 rm -f conftest.$ac_ext
   3412 EXEEXT=$ac_cv_exeext
   3413 ac_exeext=$EXEEXT
   3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3415 /* end confdefs.h.  */
   3416 #include <stdio.h>
   3417 int
   3418 main ()
   3419 {
   3420 FILE *f = fopen ("conftest.out", "w");
   3421  return ferror (f) || fclose (f) != 0;
   3422 
   3423   ;
   3424   return 0;
   3425 }
   3426 _ACEOF
   3427 ac_clean_files="$ac_clean_files conftest.out"
   3428 # Check that the compiler produces executables we can run.  If not, either
   3429 # the compiler is broken, or we cross compile.
   3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3431 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3432 if test "$cross_compiling" != yes; then
   3433   { { ac_try="$ac_link"
   3434 case "(($ac_try" in
   3435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3436   *) ac_try_echo=$ac_try;;
   3437 esac
   3438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3439 $as_echo "$ac_try_echo"; } >&5
   3440   (eval "$ac_link") 2>&5
   3441   ac_status=$?
   3442   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3443   test $ac_status = 0; }
   3444   if { ac_try='./conftest$ac_cv_exeext'
   3445   { { case "(($ac_try" in
   3446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3447   *) ac_try_echo=$ac_try;;
   3448 esac
   3449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3450 $as_echo "$ac_try_echo"; } >&5
   3451   (eval "$ac_try") 2>&5
   3452   ac_status=$?
   3453   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3454   test $ac_status = 0; }; }; then
   3455     cross_compiling=no
   3456   else
   3457     if test "$cross_compiling" = maybe; then
   3458 	cross_compiling=yes
   3459     else
   3460 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3462 as_fn_error $? "cannot run C compiled programs.
   3463 If you meant to cross compile, use \`--host'.
   3464 See \`config.log' for more details" "$LINENO" 5; }
   3465     fi
   3466   fi
   3467 fi
   3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3469 $as_echo "$cross_compiling" >&6; }
   3470 
   3471 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3472 ac_clean_files=$ac_clean_files_save
   3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3474 $as_echo_n "checking for suffix of object files... " >&6; }
   3475 if ${ac_cv_objext+:} false; then :
   3476   $as_echo_n "(cached) " >&6
   3477 else
   3478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3479 /* end confdefs.h.  */
   3480 
   3481 int
   3482 main ()
   3483 {
   3484 
   3485   ;
   3486   return 0;
   3487 }
   3488 _ACEOF
   3489 rm -f conftest.o conftest.obj
   3490 if { { ac_try="$ac_compile"
   3491 case "(($ac_try" in
   3492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3493   *) ac_try_echo=$ac_try;;
   3494 esac
   3495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3496 $as_echo "$ac_try_echo"; } >&5
   3497   (eval "$ac_compile") 2>&5
   3498   ac_status=$?
   3499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3500   test $ac_status = 0; }; then :
   3501   for ac_file in conftest.o conftest.obj conftest.*; do
   3502   test -f "$ac_file" || continue;
   3503   case $ac_file in
   3504     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3505     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3506        break;;
   3507   esac
   3508 done
   3509 else
   3510   $as_echo "$as_me: failed program was:" >&5
   3511 sed 's/^/| /' conftest.$ac_ext >&5
   3512 
   3513 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3515 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3516 See \`config.log' for more details" "$LINENO" 5; }
   3517 fi
   3518 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3519 fi
   3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3521 $as_echo "$ac_cv_objext" >&6; }
   3522 OBJEXT=$ac_cv_objext
   3523 ac_objext=$OBJEXT
   3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3525 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3526 if ${ac_cv_c_compiler_gnu+:} false; then :
   3527   $as_echo_n "(cached) " >&6
   3528 else
   3529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3530 /* end confdefs.h.  */
   3531 
   3532 int
   3533 main ()
   3534 {
   3535 #ifndef __GNUC__
   3536        choke me
   3537 #endif
   3538 
   3539   ;
   3540   return 0;
   3541 }
   3542 _ACEOF
   3543 if ac_fn_c_try_compile "$LINENO"; then :
   3544   ac_compiler_gnu=yes
   3545 else
   3546   ac_compiler_gnu=no
   3547 fi
   3548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3549 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3550 
   3551 fi
   3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3553 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3554 if test $ac_compiler_gnu = yes; then
   3555   GCC=yes
   3556 else
   3557   GCC=
   3558 fi
   3559 ac_test_CFLAGS=${CFLAGS+set}
   3560 ac_save_CFLAGS=$CFLAGS
   3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3562 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3563 if ${ac_cv_prog_cc_g+:} false; then :
   3564   $as_echo_n "(cached) " >&6
   3565 else
   3566   ac_save_c_werror_flag=$ac_c_werror_flag
   3567    ac_c_werror_flag=yes
   3568    ac_cv_prog_cc_g=no
   3569    CFLAGS="-g"
   3570    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3571 /* end confdefs.h.  */
   3572 
   3573 int
   3574 main ()
   3575 {
   3576 
   3577   ;
   3578   return 0;
   3579 }
   3580 _ACEOF
   3581 if ac_fn_c_try_compile "$LINENO"; then :
   3582   ac_cv_prog_cc_g=yes
   3583 else
   3584   CFLAGS=""
   3585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3586 /* end confdefs.h.  */
   3587 
   3588 int
   3589 main ()
   3590 {
   3591 
   3592   ;
   3593   return 0;
   3594 }
   3595 _ACEOF
   3596 if ac_fn_c_try_compile "$LINENO"; then :
   3597 
   3598 else
   3599   ac_c_werror_flag=$ac_save_c_werror_flag
   3600 	 CFLAGS="-g"
   3601 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3602 /* end confdefs.h.  */
   3603 
   3604 int
   3605 main ()
   3606 {
   3607 
   3608   ;
   3609   return 0;
   3610 }
   3611 _ACEOF
   3612 if ac_fn_c_try_compile "$LINENO"; then :
   3613   ac_cv_prog_cc_g=yes
   3614 fi
   3615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3616 fi
   3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3618 fi
   3619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3620    ac_c_werror_flag=$ac_save_c_werror_flag
   3621 fi
   3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3623 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3624 if test "$ac_test_CFLAGS" = set; then
   3625   CFLAGS=$ac_save_CFLAGS
   3626 elif test $ac_cv_prog_cc_g = yes; then
   3627   if test "$GCC" = yes; then
   3628     CFLAGS="-g -O2"
   3629   else
   3630     CFLAGS="-g"
   3631   fi
   3632 else
   3633   if test "$GCC" = yes; then
   3634     CFLAGS="-O2"
   3635   else
   3636     CFLAGS=
   3637   fi
   3638 fi
   3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3640 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3641 if ${ac_cv_prog_cc_c89+:} false; then :
   3642   $as_echo_n "(cached) " >&6
   3643 else
   3644   ac_cv_prog_cc_c89=no
   3645 ac_save_CC=$CC
   3646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3647 /* end confdefs.h.  */
   3648 #include <stdarg.h>
   3649 #include <stdio.h>
   3650 #include <sys/types.h>
   3651 #include <sys/stat.h>
   3652 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3653 struct buf { int x; };
   3654 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3655 static char *e (p, i)
   3656      char **p;
   3657      int i;
   3658 {
   3659   return p[i];
   3660 }
   3661 static char *f (char * (*g) (char **, int), char **p, ...)
   3662 {
   3663   char *s;
   3664   va_list v;
   3665   va_start (v,p);
   3666   s = g (p, va_arg (v,int));
   3667   va_end (v);
   3668   return s;
   3669 }
   3670 
   3671 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3672    function prototypes and stuff, but not '\xHH' hex character constants.
   3673    These don't provoke an error unfortunately, instead are silently treated
   3674    as 'x'.  The following induces an error, until -std is added to get
   3675    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3676    array size at least.  It's necessary to write '\x00'==0 to get something
   3677    that's true only with -std.  */
   3678 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3679 
   3680 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3681    inside strings and character constants.  */
   3682 #define FOO(x) 'x'
   3683 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3684 
   3685 int test (int i, double x);
   3686 struct s1 {int (*f) (int a);};
   3687 struct s2 {int (*f) (double a);};
   3688 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3689 int argc;
   3690 char **argv;
   3691 int
   3692 main ()
   3693 {
   3694 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3695   ;
   3696   return 0;
   3697 }
   3698 _ACEOF
   3699 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3700 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3701 do
   3702   CC="$ac_save_CC $ac_arg"
   3703   if ac_fn_c_try_compile "$LINENO"; then :
   3704   ac_cv_prog_cc_c89=$ac_arg
   3705 fi
   3706 rm -f core conftest.err conftest.$ac_objext
   3707   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3708 done
   3709 rm -f conftest.$ac_ext
   3710 CC=$ac_save_CC
   3711 
   3712 fi
   3713 # AC_CACHE_VAL
   3714 case "x$ac_cv_prog_cc_c89" in
   3715   x)
   3716     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3717 $as_echo "none needed" >&6; } ;;
   3718   xno)
   3719     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3720 $as_echo "unsupported" >&6; } ;;
   3721   *)
   3722     CC="$CC $ac_cv_prog_cc_c89"
   3723     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3724 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3725 esac
   3726 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3727 
   3728 fi
   3729 
   3730 ac_ext=c
   3731 ac_cpp='$CPP $CPPFLAGS'
   3732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3735 
   3736 depcc="$CC"   am_compiler_list=
   3737 
   3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3739 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3740 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3741   $as_echo_n "(cached) " >&6
   3742 else
   3743   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3744   # We make a subdir and do the tests there.  Otherwise we can end up
   3745   # making bogus files that we don't know about and never remove.  For
   3746   # instance it was reported that on HP-UX the gcc test will end up
   3747   # making a dummy file named `D' -- because `-MD' means `put the output
   3748   # in D'.
   3749   mkdir conftest.dir
   3750   # Copy depcomp to subdir because otherwise we won't find it if we're
   3751   # using a relative directory.
   3752   cp "$am_depcomp" conftest.dir
   3753   cd conftest.dir
   3754   # We will build objects and dependencies in a subdirectory because
   3755   # it helps to detect inapplicable dependency modes.  For instance
   3756   # both Tru64's cc and ICC support -MD to output dependencies as a
   3757   # side effect of compilation, but ICC will put the dependencies in
   3758   # the current directory while Tru64 will put them in the object
   3759   # directory.
   3760   mkdir sub
   3761 
   3762   am_cv_CC_dependencies_compiler_type=none
   3763   if test "$am_compiler_list" = ""; then
   3764      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3765   fi
   3766   am__universal=false
   3767   case " $depcc " in #(
   3768      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3769      esac
   3770 
   3771   for depmode in $am_compiler_list; do
   3772     # Setup a source with many dependencies, because some compilers
   3773     # like to wrap large dependency lists on column 80 (with \), and
   3774     # we should not choose a depcomp mode which is confused by this.
   3775     #
   3776     # We need to recreate these files for each test, as the compiler may
   3777     # overwrite some of them when testing with obscure command lines.
   3778     # This happens at least with the AIX C compiler.
   3779     : > sub/conftest.c
   3780     for i in 1 2 3 4 5 6; do
   3781       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3782       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3783       # Solaris 8's {/usr,}/bin/sh.
   3784       touch sub/conftst$i.h
   3785     done
   3786     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3787 
   3788     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3789     # mode.  It turns out that the SunPro C++ compiler does not properly
   3790     # handle `-M -o', and we need to detect this.  Also, some Intel
   3791     # versions had trouble with output in subdirs
   3792     am__obj=sub/conftest.${OBJEXT-o}
   3793     am__minus_obj="-o $am__obj"
   3794     case $depmode in
   3795     gcc)
   3796       # This depmode causes a compiler race in universal mode.
   3797       test "$am__universal" = false || continue
   3798       ;;
   3799     nosideeffect)
   3800       # after this tag, mechanisms are not by side-effect, so they'll
   3801       # only be used when explicitly requested
   3802       if test "x$enable_dependency_tracking" = xyes; then
   3803 	continue
   3804       else
   3805 	break
   3806       fi
   3807       ;;
   3808     msvisualcpp | msvcmsys)
   3809       # This compiler won't grok `-c -o', but also, the minuso test has
   3810       # not run yet.  These depmodes are late enough in the game, and
   3811       # so weak that their functioning should not be impacted.
   3812       am__obj=conftest.${OBJEXT-o}
   3813       am__minus_obj=
   3814       ;;
   3815     none) break ;;
   3816     esac
   3817     if depmode=$depmode \
   3818        source=sub/conftest.c object=$am__obj \
   3819        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3820        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3821          >/dev/null 2>conftest.err &&
   3822        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3823        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3824        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3825        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3826       # icc doesn't choke on unknown options, it will just issue warnings
   3827       # or remarks (even with -Werror).  So we grep stderr for any message
   3828       # that says an option was ignored or not supported.
   3829       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3830       #   icc: Command line warning: ignoring option '-M'; no argument required
   3831       # The diagnosis changed in icc 8.0:
   3832       #   icc: Command line remark: option '-MP' not supported
   3833       if (grep 'ignoring option' conftest.err ||
   3834           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3835         am_cv_CC_dependencies_compiler_type=$depmode
   3836         break
   3837       fi
   3838     fi
   3839   done
   3840 
   3841   cd ..
   3842   rm -rf conftest.dir
   3843 else
   3844   am_cv_CC_dependencies_compiler_type=none
   3845 fi
   3846 
   3847 fi
   3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3849 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3850 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3851 
   3852  if
   3853   test "x$enable_dependency_tracking" != xno \
   3854   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3855   am__fastdepCC_TRUE=
   3856   am__fastdepCC_FALSE='#'
   3857 else
   3858   am__fastdepCC_TRUE='#'
   3859   am__fastdepCC_FALSE=
   3860 fi
   3861 
   3862 
   3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3864 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3865 if ${ac_cv_path_SED+:} false; then :
   3866   $as_echo_n "(cached) " >&6
   3867 else
   3868             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3869      for ac_i in 1 2 3 4 5 6 7; do
   3870        ac_script="$ac_script$as_nl$ac_script"
   3871      done
   3872      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3873      { ac_script=; unset ac_script;}
   3874      if test -z "$SED"; then
   3875   ac_path_SED_found=false
   3876   # Loop through the user's path and test for each of PROGNAME-LIST
   3877   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3878 for as_dir in $PATH
   3879 do
   3880   IFS=$as_save_IFS
   3881   test -z "$as_dir" && as_dir=.
   3882     for ac_prog in sed gsed; do
   3883     for ac_exec_ext in '' $ac_executable_extensions; do
   3884       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3885       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3886 # Check for GNU ac_path_SED and select it if it is found.
   3887   # Check for GNU $ac_path_SED
   3888 case `"$ac_path_SED" --version 2>&1` in
   3889 *GNU*)
   3890   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3891 *)
   3892   ac_count=0
   3893   $as_echo_n 0123456789 >"conftest.in"
   3894   while :
   3895   do
   3896     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3897     mv "conftest.tmp" "conftest.in"
   3898     cp "conftest.in" "conftest.nl"
   3899     $as_echo '' >> "conftest.nl"
   3900     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3901     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3902     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3903     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3904       # Best one so far, save it but keep looking for a better one
   3905       ac_cv_path_SED="$ac_path_SED"
   3906       ac_path_SED_max=$ac_count
   3907     fi
   3908     # 10*(2^10) chars as input seems more than enough
   3909     test $ac_count -gt 10 && break
   3910   done
   3911   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3912 esac
   3913 
   3914       $ac_path_SED_found && break 3
   3915     done
   3916   done
   3917   done
   3918 IFS=$as_save_IFS
   3919   if test -z "$ac_cv_path_SED"; then
   3920     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3921   fi
   3922 else
   3923   ac_cv_path_SED=$SED
   3924 fi
   3925 
   3926 fi
   3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3928 $as_echo "$ac_cv_path_SED" >&6; }
   3929  SED="$ac_cv_path_SED"
   3930   rm -f conftest.sed
   3931 
   3932 test -z "$SED" && SED=sed
   3933 Xsed="$SED -e 1s/^X//"
   3934 
   3935 
   3936 
   3937 
   3938 
   3939 
   3940 
   3941 
   3942 
   3943 
   3944 
   3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3946 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3947 if ${ac_cv_path_GREP+:} false; then :
   3948   $as_echo_n "(cached) " >&6
   3949 else
   3950   if test -z "$GREP"; then
   3951   ac_path_GREP_found=false
   3952   # Loop through the user's path and test for each of PROGNAME-LIST
   3953   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3954 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3955 do
   3956   IFS=$as_save_IFS
   3957   test -z "$as_dir" && as_dir=.
   3958     for ac_prog in grep ggrep; do
   3959     for ac_exec_ext in '' $ac_executable_extensions; do
   3960       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3961       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3962 # Check for GNU ac_path_GREP and select it if it is found.
   3963   # Check for GNU $ac_path_GREP
   3964 case `"$ac_path_GREP" --version 2>&1` in
   3965 *GNU*)
   3966   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3967 *)
   3968   ac_count=0
   3969   $as_echo_n 0123456789 >"conftest.in"
   3970   while :
   3971   do
   3972     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3973     mv "conftest.tmp" "conftest.in"
   3974     cp "conftest.in" "conftest.nl"
   3975     $as_echo 'GREP' >> "conftest.nl"
   3976     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3977     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3978     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3979     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3980       # Best one so far, save it but keep looking for a better one
   3981       ac_cv_path_GREP="$ac_path_GREP"
   3982       ac_path_GREP_max=$ac_count
   3983     fi
   3984     # 10*(2^10) chars as input seems more than enough
   3985     test $ac_count -gt 10 && break
   3986   done
   3987   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3988 esac
   3989 
   3990       $ac_path_GREP_found && break 3
   3991     done
   3992   done
   3993   done
   3994 IFS=$as_save_IFS
   3995   if test -z "$ac_cv_path_GREP"; then
   3996     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3997   fi
   3998 else
   3999   ac_cv_path_GREP=$GREP
   4000 fi
   4001 
   4002 fi
   4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4004 $as_echo "$ac_cv_path_GREP" >&6; }
   4005  GREP="$ac_cv_path_GREP"
   4006 
   4007 
   4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4009 $as_echo_n "checking for egrep... " >&6; }
   4010 if ${ac_cv_path_EGREP+:} false; then :
   4011   $as_echo_n "(cached) " >&6
   4012 else
   4013   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4014    then ac_cv_path_EGREP="$GREP -E"
   4015    else
   4016      if test -z "$EGREP"; then
   4017   ac_path_EGREP_found=false
   4018   # Loop through the user's path and test for each of PROGNAME-LIST
   4019   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4020 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4021 do
   4022   IFS=$as_save_IFS
   4023   test -z "$as_dir" && as_dir=.
   4024     for ac_prog in egrep; do
   4025     for ac_exec_ext in '' $ac_executable_extensions; do
   4026       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4027       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4028 # Check for GNU ac_path_EGREP and select it if it is found.
   4029   # Check for GNU $ac_path_EGREP
   4030 case `"$ac_path_EGREP" --version 2>&1` in
   4031 *GNU*)
   4032   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4033 *)
   4034   ac_count=0
   4035   $as_echo_n 0123456789 >"conftest.in"
   4036   while :
   4037   do
   4038     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4039     mv "conftest.tmp" "conftest.in"
   4040     cp "conftest.in" "conftest.nl"
   4041     $as_echo 'EGREP' >> "conftest.nl"
   4042     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4043     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4044     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4045     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4046       # Best one so far, save it but keep looking for a better one
   4047       ac_cv_path_EGREP="$ac_path_EGREP"
   4048       ac_path_EGREP_max=$ac_count
   4049     fi
   4050     # 10*(2^10) chars as input seems more than enough
   4051     test $ac_count -gt 10 && break
   4052   done
   4053   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4054 esac
   4055 
   4056       $ac_path_EGREP_found && break 3
   4057     done
   4058   done
   4059   done
   4060 IFS=$as_save_IFS
   4061   if test -z "$ac_cv_path_EGREP"; then
   4062     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4063   fi
   4064 else
   4065   ac_cv_path_EGREP=$EGREP
   4066 fi
   4067 
   4068    fi
   4069 fi
   4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4071 $as_echo "$ac_cv_path_EGREP" >&6; }
   4072  EGREP="$ac_cv_path_EGREP"
   4073 
   4074 
   4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4076 $as_echo_n "checking for fgrep... " >&6; }
   4077 if ${ac_cv_path_FGREP+:} false; then :
   4078   $as_echo_n "(cached) " >&6
   4079 else
   4080   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4081    then ac_cv_path_FGREP="$GREP -F"
   4082    else
   4083      if test -z "$FGREP"; then
   4084   ac_path_FGREP_found=false
   4085   # Loop through the user's path and test for each of PROGNAME-LIST
   4086   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4087 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4088 do
   4089   IFS=$as_save_IFS
   4090   test -z "$as_dir" && as_dir=.
   4091     for ac_prog in fgrep; do
   4092     for ac_exec_ext in '' $ac_executable_extensions; do
   4093       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4094       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4095 # Check for GNU ac_path_FGREP and select it if it is found.
   4096   # Check for GNU $ac_path_FGREP
   4097 case `"$ac_path_FGREP" --version 2>&1` in
   4098 *GNU*)
   4099   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4100 *)
   4101   ac_count=0
   4102   $as_echo_n 0123456789 >"conftest.in"
   4103   while :
   4104   do
   4105     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4106     mv "conftest.tmp" "conftest.in"
   4107     cp "conftest.in" "conftest.nl"
   4108     $as_echo 'FGREP' >> "conftest.nl"
   4109     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4110     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4111     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4112     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4113       # Best one so far, save it but keep looking for a better one
   4114       ac_cv_path_FGREP="$ac_path_FGREP"
   4115       ac_path_FGREP_max=$ac_count
   4116     fi
   4117     # 10*(2^10) chars as input seems more than enough
   4118     test $ac_count -gt 10 && break
   4119   done
   4120   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4121 esac
   4122 
   4123       $ac_path_FGREP_found && break 3
   4124     done
   4125   done
   4126   done
   4127 IFS=$as_save_IFS
   4128   if test -z "$ac_cv_path_FGREP"; then
   4129     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4130   fi
   4131 else
   4132   ac_cv_path_FGREP=$FGREP
   4133 fi
   4134 
   4135    fi
   4136 fi
   4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4138 $as_echo "$ac_cv_path_FGREP" >&6; }
   4139  FGREP="$ac_cv_path_FGREP"
   4140 
   4141 
   4142 test -z "$GREP" && GREP=grep
   4143 
   4144 
   4145 
   4146 
   4147 
   4148 
   4149 
   4150 
   4151 
   4152 
   4153 
   4154 
   4155 
   4156 
   4157 
   4158 
   4159 
   4160 
   4161 
   4162 # Check whether --with-gnu-ld was given.
   4163 if test "${with_gnu_ld+set}" = set; then :
   4164   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4165 else
   4166   with_gnu_ld=no
   4167 fi
   4168 
   4169 ac_prog=ld
   4170 if test "$GCC" = yes; then
   4171   # Check if gcc -print-prog-name=ld gives a path.
   4172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4173 $as_echo_n "checking for ld used by $CC... " >&6; }
   4174   case $host in
   4175   *-*-mingw*)
   4176     # gcc leaves a trailing carriage return which upsets mingw
   4177     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4178   *)
   4179     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4180   esac
   4181   case $ac_prog in
   4182     # Accept absolute paths.
   4183     [\\/]* | ?:[\\/]*)
   4184       re_direlt='/[^/][^/]*/\.\./'
   4185       # Canonicalize the pathname of ld
   4186       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4187       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4188 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4189       done
   4190       test -z "$LD" && LD="$ac_prog"
   4191       ;;
   4192   "")
   4193     # If it fails, then pretend we aren't using GCC.
   4194     ac_prog=ld
   4195     ;;
   4196   *)
   4197     # If it is relative, then search for the first ld in PATH.
   4198     with_gnu_ld=unknown
   4199     ;;
   4200   esac
   4201 elif test "$with_gnu_ld" = yes; then
   4202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4203 $as_echo_n "checking for GNU ld... " >&6; }
   4204 else
   4205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4206 $as_echo_n "checking for non-GNU ld... " >&6; }
   4207 fi
   4208 if ${lt_cv_path_LD+:} false; then :
   4209   $as_echo_n "(cached) " >&6
   4210 else
   4211   if test -z "$LD"; then
   4212   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4213   for ac_dir in $PATH; do
   4214     IFS="$lt_save_ifs"
   4215     test -z "$ac_dir" && ac_dir=.
   4216     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4217       lt_cv_path_LD="$ac_dir/$ac_prog"
   4218       # Check to see if the program is GNU ld.  I'd rather use --version,
   4219       # but apparently some variants of GNU ld only accept -v.
   4220       # Break only if it was the GNU/non-GNU ld that we prefer.
   4221       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4222       *GNU* | *'with BFD'*)
   4223 	test "$with_gnu_ld" != no && break
   4224 	;;
   4225       *)
   4226 	test "$with_gnu_ld" != yes && break
   4227 	;;
   4228       esac
   4229     fi
   4230   done
   4231   IFS="$lt_save_ifs"
   4232 else
   4233   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4234 fi
   4235 fi
   4236 
   4237 LD="$lt_cv_path_LD"
   4238 if test -n "$LD"; then
   4239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4240 $as_echo "$LD" >&6; }
   4241 else
   4242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4243 $as_echo "no" >&6; }
   4244 fi
   4245 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4247 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4248 if ${lt_cv_prog_gnu_ld+:} false; then :
   4249   $as_echo_n "(cached) " >&6
   4250 else
   4251   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4252 case `$LD -v 2>&1 </dev/null` in
   4253 *GNU* | *'with BFD'*)
   4254   lt_cv_prog_gnu_ld=yes
   4255   ;;
   4256 *)
   4257   lt_cv_prog_gnu_ld=no
   4258   ;;
   4259 esac
   4260 fi
   4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4262 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4263 with_gnu_ld=$lt_cv_prog_gnu_ld
   4264 
   4265 
   4266 
   4267 
   4268 
   4269 
   4270 
   4271 
   4272 
   4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4274 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4275 if ${lt_cv_path_NM+:} false; then :
   4276   $as_echo_n "(cached) " >&6
   4277 else
   4278   if test -n "$NM"; then
   4279   # Let the user override the test.
   4280   lt_cv_path_NM="$NM"
   4281 else
   4282   lt_nm_to_check="${ac_tool_prefix}nm"
   4283   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4284     lt_nm_to_check="$lt_nm_to_check nm"
   4285   fi
   4286   for lt_tmp_nm in $lt_nm_to_check; do
   4287     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4288     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4289       IFS="$lt_save_ifs"
   4290       test -z "$ac_dir" && ac_dir=.
   4291       tmp_nm="$ac_dir/$lt_tmp_nm"
   4292       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4293 	# Check to see if the nm accepts a BSD-compat flag.
   4294 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4295 	#   nm: unknown option "B" ignored
   4296 	# Tru64's nm complains that /dev/null is an invalid object file
   4297 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4298 	*/dev/null* | *'Invalid file or object type'*)
   4299 	  lt_cv_path_NM="$tmp_nm -B"
   4300 	  break
   4301 	  ;;
   4302 	*)
   4303 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4304 	  */dev/null*)
   4305 	    lt_cv_path_NM="$tmp_nm -p"
   4306 	    break
   4307 	    ;;
   4308 	  *)
   4309 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4310 	    continue # so that we can try to find one that supports BSD flags
   4311 	    ;;
   4312 	  esac
   4313 	  ;;
   4314 	esac
   4315       fi
   4316     done
   4317     IFS="$lt_save_ifs"
   4318   done
   4319   : ${lt_cv_path_NM=no}
   4320 fi
   4321 fi
   4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4323 $as_echo "$lt_cv_path_NM" >&6; }
   4324 if test "$lt_cv_path_NM" != "no"; then
   4325   NM="$lt_cv_path_NM"
   4326 else
   4327   # Didn't find any BSD compatible name lister, look for dumpbin.
   4328   if test -n "$DUMPBIN"; then :
   4329     # Let the user override the test.
   4330   else
   4331     if test -n "$ac_tool_prefix"; then
   4332   for ac_prog in dumpbin "link -dump"
   4333   do
   4334     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4335 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4337 $as_echo_n "checking for $ac_word... " >&6; }
   4338 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4339   $as_echo_n "(cached) " >&6
   4340 else
   4341   if test -n "$DUMPBIN"; then
   4342   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4343 else
   4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4345 for as_dir in $PATH
   4346 do
   4347   IFS=$as_save_IFS
   4348   test -z "$as_dir" && as_dir=.
   4349     for ac_exec_ext in '' $ac_executable_extensions; do
   4350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4351     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4353     break 2
   4354   fi
   4355 done
   4356   done
   4357 IFS=$as_save_IFS
   4358 
   4359 fi
   4360 fi
   4361 DUMPBIN=$ac_cv_prog_DUMPBIN
   4362 if test -n "$DUMPBIN"; then
   4363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4364 $as_echo "$DUMPBIN" >&6; }
   4365 else
   4366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4367 $as_echo "no" >&6; }
   4368 fi
   4369 
   4370 
   4371     test -n "$DUMPBIN" && break
   4372   done
   4373 fi
   4374 if test -z "$DUMPBIN"; then
   4375   ac_ct_DUMPBIN=$DUMPBIN
   4376   for ac_prog in dumpbin "link -dump"
   4377 do
   4378   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4379 set dummy $ac_prog; ac_word=$2
   4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4381 $as_echo_n "checking for $ac_word... " >&6; }
   4382 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4383   $as_echo_n "(cached) " >&6
   4384 else
   4385   if test -n "$ac_ct_DUMPBIN"; then
   4386   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4387 else
   4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4389 for as_dir in $PATH
   4390 do
   4391   IFS=$as_save_IFS
   4392   test -z "$as_dir" && as_dir=.
   4393     for ac_exec_ext in '' $ac_executable_extensions; do
   4394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4395     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4397     break 2
   4398   fi
   4399 done
   4400   done
   4401 IFS=$as_save_IFS
   4402 
   4403 fi
   4404 fi
   4405 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4406 if test -n "$ac_ct_DUMPBIN"; then
   4407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4408 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4409 else
   4410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4411 $as_echo "no" >&6; }
   4412 fi
   4413 
   4414 
   4415   test -n "$ac_ct_DUMPBIN" && break
   4416 done
   4417 
   4418   if test "x$ac_ct_DUMPBIN" = x; then
   4419     DUMPBIN=":"
   4420   else
   4421     case $cross_compiling:$ac_tool_warned in
   4422 yes:)
   4423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4425 ac_tool_warned=yes ;;
   4426 esac
   4427     DUMPBIN=$ac_ct_DUMPBIN
   4428   fi
   4429 fi
   4430 
   4431     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4432     *COFF*)
   4433       DUMPBIN="$DUMPBIN -symbols"
   4434       ;;
   4435     *)
   4436       DUMPBIN=:
   4437       ;;
   4438     esac
   4439   fi
   4440 
   4441   if test "$DUMPBIN" != ":"; then
   4442     NM="$DUMPBIN"
   4443   fi
   4444 fi
   4445 test -z "$NM" && NM=nm
   4446 
   4447 
   4448 
   4449 
   4450 
   4451 
   4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4453 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4454 if ${lt_cv_nm_interface+:} false; then :
   4455   $as_echo_n "(cached) " >&6
   4456 else
   4457   lt_cv_nm_interface="BSD nm"
   4458   echo "int some_variable = 0;" > conftest.$ac_ext
   4459   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4460   (eval "$ac_compile" 2>conftest.err)
   4461   cat conftest.err >&5
   4462   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4463   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4464   cat conftest.err >&5
   4465   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4466   cat conftest.out >&5
   4467   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4468     lt_cv_nm_interface="MS dumpbin"
   4469   fi
   4470   rm -f conftest*
   4471 fi
   4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4473 $as_echo "$lt_cv_nm_interface" >&6; }
   4474 
   4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4476 $as_echo_n "checking whether ln -s works... " >&6; }
   4477 LN_S=$as_ln_s
   4478 if test "$LN_S" = "ln -s"; then
   4479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4480 $as_echo "yes" >&6; }
   4481 else
   4482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4483 $as_echo "no, using $LN_S" >&6; }
   4484 fi
   4485 
   4486 # find the maximum length of command line arguments
   4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4488 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4489 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4490   $as_echo_n "(cached) " >&6
   4491 else
   4492     i=0
   4493   teststring="ABCD"
   4494 
   4495   case $build_os in
   4496   msdosdjgpp*)
   4497     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4498     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4499     # during glob expansion).  Even if it were fixed, the result of this
   4500     # check would be larger than it should be.
   4501     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4502     ;;
   4503 
   4504   gnu*)
   4505     # Under GNU Hurd, this test is not required because there is
   4506     # no limit to the length of command line arguments.
   4507     # Libtool will interpret -1 as no limit whatsoever
   4508     lt_cv_sys_max_cmd_len=-1;
   4509     ;;
   4510 
   4511   cygwin* | mingw* | cegcc*)
   4512     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4513     # about 5 minutes as the teststring grows exponentially.
   4514     # Worse, since 9x/ME are not pre-emptively multitasking,
   4515     # you end up with a "frozen" computer, even though with patience
   4516     # the test eventually succeeds (with a max line length of 256k).
   4517     # Instead, let's just punt: use the minimum linelength reported by
   4518     # all of the supported platforms: 8192 (on NT/2K/XP).
   4519     lt_cv_sys_max_cmd_len=8192;
   4520     ;;
   4521 
   4522   mint*)
   4523     # On MiNT this can take a long time and run out of memory.
   4524     lt_cv_sys_max_cmd_len=8192;
   4525     ;;
   4526 
   4527   amigaos*)
   4528     # On AmigaOS with pdksh, this test takes hours, literally.
   4529     # So we just punt and use a minimum line length of 8192.
   4530     lt_cv_sys_max_cmd_len=8192;
   4531     ;;
   4532 
   4533   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4534     # This has been around since 386BSD, at least.  Likely further.
   4535     if test -x /sbin/sysctl; then
   4536       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4537     elif test -x /usr/sbin/sysctl; then
   4538       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4539     else
   4540       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4541     fi
   4542     # And add a safety zone
   4543     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4544     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4545     ;;
   4546 
   4547   interix*)
   4548     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4549     lt_cv_sys_max_cmd_len=196608
   4550     ;;
   4551 
   4552   osf*)
   4553     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4554     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4555     # nice to cause kernel panics so lets avoid the loop below.
   4556     # First set a reasonable default.
   4557     lt_cv_sys_max_cmd_len=16384
   4558     #
   4559     if test -x /sbin/sysconfig; then
   4560       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4561         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4562       esac
   4563     fi
   4564     ;;
   4565   sco3.2v5*)
   4566     lt_cv_sys_max_cmd_len=102400
   4567     ;;
   4568   sysv5* | sco5v6* | sysv4.2uw2*)
   4569     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4570     if test -n "$kargmax"; then
   4571       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4572     else
   4573       lt_cv_sys_max_cmd_len=32768
   4574     fi
   4575     ;;
   4576   *)
   4577     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4578     if test -n "$lt_cv_sys_max_cmd_len"; then
   4579       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4580       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4581     else
   4582       # Make teststring a little bigger before we do anything with it.
   4583       # a 1K string should be a reasonable start.
   4584       for i in 1 2 3 4 5 6 7 8 ; do
   4585         teststring=$teststring$teststring
   4586       done
   4587       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4588       # If test is not a shell built-in, we'll probably end up computing a
   4589       # maximum length that is only half of the actual maximum length, but
   4590       # we can't tell.
   4591       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   4592 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4593 	      test $i != 17 # 1/2 MB should be enough
   4594       do
   4595         i=`expr $i + 1`
   4596         teststring=$teststring$teststring
   4597       done
   4598       # Only check the string length outside the loop.
   4599       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4600       teststring=
   4601       # Add a significant safety factor because C++ compilers can tack on
   4602       # massive amounts of additional arguments before passing them to the
   4603       # linker.  It appears as though 1/2 is a usable value.
   4604       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4605     fi
   4606     ;;
   4607   esac
   4608 
   4609 fi
   4610 
   4611 if test -n $lt_cv_sys_max_cmd_len ; then
   4612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4613 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4614 else
   4615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4616 $as_echo "none" >&6; }
   4617 fi
   4618 max_cmd_len=$lt_cv_sys_max_cmd_len
   4619 
   4620 
   4621 
   4622 
   4623 
   4624 
   4625 : ${CP="cp -f"}
   4626 : ${MV="mv -f"}
   4627 : ${RM="rm -f"}
   4628 
   4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4630 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4631 # Try some XSI features
   4632 xsi_shell=no
   4633 ( _lt_dummy="a/b/c"
   4634   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4635       = c,a/b,b/c, \
   4636     && eval 'test $(( 1 + 1 )) -eq 2 \
   4637     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4638   && xsi_shell=yes
   4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4640 $as_echo "$xsi_shell" >&6; }
   4641 
   4642 
   4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4644 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4645 lt_shell_append=no
   4646 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4647     >/dev/null 2>&1 \
   4648   && lt_shell_append=yes
   4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4650 $as_echo "$lt_shell_append" >&6; }
   4651 
   4652 
   4653 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4654   lt_unset=unset
   4655 else
   4656   lt_unset=false
   4657 fi
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 # test EBCDIC or ASCII
   4664 case `echo X|tr X '\101'` in
   4665  A) # ASCII based system
   4666     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4667   lt_SP2NL='tr \040 \012'
   4668   lt_NL2SP='tr \015\012 \040\040'
   4669   ;;
   4670  *) # EBCDIC based system
   4671   lt_SP2NL='tr \100 \n'
   4672   lt_NL2SP='tr \r\n \100\100'
   4673   ;;
   4674 esac
   4675 
   4676 
   4677 
   4678 
   4679 
   4680 
   4681 
   4682 
   4683 
   4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4685 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4686 if ${lt_cv_to_host_file_cmd+:} false; then :
   4687   $as_echo_n "(cached) " >&6
   4688 else
   4689   case $host in
   4690   *-*-mingw* )
   4691     case $build in
   4692       *-*-mingw* ) # actually msys
   4693         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4694         ;;
   4695       *-*-cygwin* )
   4696         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4697         ;;
   4698       * ) # otherwise, assume *nix
   4699         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4700         ;;
   4701     esac
   4702     ;;
   4703   *-*-cygwin* )
   4704     case $build in
   4705       *-*-mingw* ) # actually msys
   4706         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4707         ;;
   4708       *-*-cygwin* )
   4709         lt_cv_to_host_file_cmd=func_convert_file_noop
   4710         ;;
   4711       * ) # otherwise, assume *nix
   4712         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4713         ;;
   4714     esac
   4715     ;;
   4716   * ) # unhandled hosts (and "normal" native builds)
   4717     lt_cv_to_host_file_cmd=func_convert_file_noop
   4718     ;;
   4719 esac
   4720 
   4721 fi
   4722 
   4723 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4725 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4732 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4733 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4734   $as_echo_n "(cached) " >&6
   4735 else
   4736   #assume ordinary cross tools, or native build.
   4737 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4738 case $host in
   4739   *-*-mingw* )
   4740     case $build in
   4741       *-*-mingw* ) # actually msys
   4742         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4743         ;;
   4744     esac
   4745     ;;
   4746 esac
   4747 
   4748 fi
   4749 
   4750 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4752 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4753 
   4754 
   4755 
   4756 
   4757 
   4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4759 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4760 if ${lt_cv_ld_reload_flag+:} false; then :
   4761   $as_echo_n "(cached) " >&6
   4762 else
   4763   lt_cv_ld_reload_flag='-r'
   4764 fi
   4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4766 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4767 reload_flag=$lt_cv_ld_reload_flag
   4768 case $reload_flag in
   4769 "" | " "*) ;;
   4770 *) reload_flag=" $reload_flag" ;;
   4771 esac
   4772 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4773 case $host_os in
   4774   cygwin* | mingw* | pw32* | cegcc*)
   4775     if test "$GCC" != yes; then
   4776       reload_cmds=false
   4777     fi
   4778     ;;
   4779   darwin*)
   4780     if test "$GCC" = yes; then
   4781       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4782     else
   4783       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4784     fi
   4785     ;;
   4786 esac
   4787 
   4788 
   4789 
   4790 
   4791 
   4792 
   4793 
   4794 
   4795 
   4796 if test -n "$ac_tool_prefix"; then
   4797   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4798 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4800 $as_echo_n "checking for $ac_word... " >&6; }
   4801 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4802   $as_echo_n "(cached) " >&6
   4803 else
   4804   if test -n "$OBJDUMP"; then
   4805   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4806 else
   4807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4808 for as_dir in $PATH
   4809 do
   4810   IFS=$as_save_IFS
   4811   test -z "$as_dir" && as_dir=.
   4812     for ac_exec_ext in '' $ac_executable_extensions; do
   4813   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4814     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4816     break 2
   4817   fi
   4818 done
   4819   done
   4820 IFS=$as_save_IFS
   4821 
   4822 fi
   4823 fi
   4824 OBJDUMP=$ac_cv_prog_OBJDUMP
   4825 if test -n "$OBJDUMP"; then
   4826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4827 $as_echo "$OBJDUMP" >&6; }
   4828 else
   4829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4830 $as_echo "no" >&6; }
   4831 fi
   4832 
   4833 
   4834 fi
   4835 if test -z "$ac_cv_prog_OBJDUMP"; then
   4836   ac_ct_OBJDUMP=$OBJDUMP
   4837   # Extract the first word of "objdump", so it can be a program name with args.
   4838 set dummy objdump; ac_word=$2
   4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4840 $as_echo_n "checking for $ac_word... " >&6; }
   4841 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4842   $as_echo_n "(cached) " >&6
   4843 else
   4844   if test -n "$ac_ct_OBJDUMP"; then
   4845   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4846 else
   4847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4848 for as_dir in $PATH
   4849 do
   4850   IFS=$as_save_IFS
   4851   test -z "$as_dir" && as_dir=.
   4852     for ac_exec_ext in '' $ac_executable_extensions; do
   4853   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4854     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4856     break 2
   4857   fi
   4858 done
   4859   done
   4860 IFS=$as_save_IFS
   4861 
   4862 fi
   4863 fi
   4864 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4865 if test -n "$ac_ct_OBJDUMP"; then
   4866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4867 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4868 else
   4869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4870 $as_echo "no" >&6; }
   4871 fi
   4872 
   4873   if test "x$ac_ct_OBJDUMP" = x; then
   4874     OBJDUMP="false"
   4875   else
   4876     case $cross_compiling:$ac_tool_warned in
   4877 yes:)
   4878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4880 ac_tool_warned=yes ;;
   4881 esac
   4882     OBJDUMP=$ac_ct_OBJDUMP
   4883   fi
   4884 else
   4885   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4886 fi
   4887 
   4888 test -z "$OBJDUMP" && OBJDUMP=objdump
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4899 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4900 if ${lt_cv_deplibs_check_method+:} false; then :
   4901   $as_echo_n "(cached) " >&6
   4902 else
   4903   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4904 lt_cv_file_magic_test_file=
   4905 lt_cv_deplibs_check_method='unknown'
   4906 # Need to set the preceding variable on all platforms that support
   4907 # interlibrary dependencies.
   4908 # 'none' -- dependencies not supported.
   4909 # `unknown' -- same as none, but documents that we really don't know.
   4910 # 'pass_all' -- all dependencies passed with no checks.
   4911 # 'test_compile' -- check by making test program.
   4912 # 'file_magic [[regex]]' -- check by looking for files in library path
   4913 # which responds to the $file_magic_cmd with a given extended regex.
   4914 # If you have `file' or equivalent on your system and you're not sure
   4915 # whether `pass_all' will *always* work, you probably want this one.
   4916 
   4917 case $host_os in
   4918 aix[4-9]*)
   4919   lt_cv_deplibs_check_method=pass_all
   4920   ;;
   4921 
   4922 beos*)
   4923   lt_cv_deplibs_check_method=pass_all
   4924   ;;
   4925 
   4926 bsdi[45]*)
   4927   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4928   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4929   lt_cv_file_magic_test_file=/shlib/libc.so
   4930   ;;
   4931 
   4932 cygwin*)
   4933   # func_win32_libid is a shell function defined in ltmain.sh
   4934   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4935   lt_cv_file_magic_cmd='func_win32_libid'
   4936   ;;
   4937 
   4938 mingw* | pw32*)
   4939   # Base MSYS/MinGW do not provide the 'file' command needed by
   4940   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4941   # unless we find 'file', for example because we are cross-compiling.
   4942   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   4943   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   4944     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4945     lt_cv_file_magic_cmd='func_win32_libid'
   4946   else
   4947     # Keep this pattern in sync with the one in func_win32_libid.
   4948     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   4949     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4950   fi
   4951   ;;
   4952 
   4953 cegcc*)
   4954   # use the weaker test based on 'objdump'. See mingw*.
   4955   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4956   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4957   ;;
   4958 
   4959 darwin* | rhapsody*)
   4960   lt_cv_deplibs_check_method=pass_all
   4961   ;;
   4962 
   4963 freebsd* | dragonfly*)
   4964   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4965     case $host_cpu in
   4966     i*86 )
   4967       # Not sure whether the presence of OpenBSD here was a mistake.
   4968       # Let's accept both of them until this is cleared up.
   4969       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4970       lt_cv_file_magic_cmd=/usr/bin/file
   4971       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4972       ;;
   4973     esac
   4974   else
   4975     lt_cv_deplibs_check_method=pass_all
   4976   fi
   4977   ;;
   4978 
   4979 gnu*)
   4980   lt_cv_deplibs_check_method=pass_all
   4981   ;;
   4982 
   4983 haiku*)
   4984   lt_cv_deplibs_check_method=pass_all
   4985   ;;
   4986 
   4987 hpux10.20* | hpux11*)
   4988   lt_cv_file_magic_cmd=/usr/bin/file
   4989   case $host_cpu in
   4990   ia64*)
   4991     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4992     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4993     ;;
   4994   hppa*64*)
   4995     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]'
   4996     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4997     ;;
   4998   *)
   4999     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5000     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5001     ;;
   5002   esac
   5003   ;;
   5004 
   5005 interix[3-9]*)
   5006   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5007   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5008   ;;
   5009 
   5010 irix5* | irix6* | nonstopux*)
   5011   case $LD in
   5012   *-32|*"-32 ") libmagic=32-bit;;
   5013   *-n32|*"-n32 ") libmagic=N32;;
   5014   *-64|*"-64 ") libmagic=64-bit;;
   5015   *) libmagic=never-match;;
   5016   esac
   5017   lt_cv_deplibs_check_method=pass_all
   5018   ;;
   5019 
   5020 # This must be Linux ELF.
   5021 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5022   lt_cv_deplibs_check_method=pass_all
   5023   ;;
   5024 
   5025 netbsd*)
   5026   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5027     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5028   else
   5029     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5030   fi
   5031   ;;
   5032 
   5033 newos6*)
   5034   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5035   lt_cv_file_magic_cmd=/usr/bin/file
   5036   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5037   ;;
   5038 
   5039 *nto* | *qnx*)
   5040   lt_cv_deplibs_check_method=pass_all
   5041   ;;
   5042 
   5043 openbsd*)
   5044   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5045     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5046   else
   5047     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5048   fi
   5049   ;;
   5050 
   5051 osf3* | osf4* | osf5*)
   5052   lt_cv_deplibs_check_method=pass_all
   5053   ;;
   5054 
   5055 rdos*)
   5056   lt_cv_deplibs_check_method=pass_all
   5057   ;;
   5058 
   5059 solaris*)
   5060   lt_cv_deplibs_check_method=pass_all
   5061   ;;
   5062 
   5063 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5064   lt_cv_deplibs_check_method=pass_all
   5065   ;;
   5066 
   5067 sysv4 | sysv4.3*)
   5068   case $host_vendor in
   5069   motorola)
   5070     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]'
   5071     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5072     ;;
   5073   ncr)
   5074     lt_cv_deplibs_check_method=pass_all
   5075     ;;
   5076   sequent)
   5077     lt_cv_file_magic_cmd='/bin/file'
   5078     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5079     ;;
   5080   sni)
   5081     lt_cv_file_magic_cmd='/bin/file'
   5082     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5083     lt_cv_file_magic_test_file=/lib/libc.so
   5084     ;;
   5085   siemens)
   5086     lt_cv_deplibs_check_method=pass_all
   5087     ;;
   5088   pc)
   5089     lt_cv_deplibs_check_method=pass_all
   5090     ;;
   5091   esac
   5092   ;;
   5093 
   5094 tpf*)
   5095   lt_cv_deplibs_check_method=pass_all
   5096   ;;
   5097 esac
   5098 
   5099 fi
   5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5101 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5102 
   5103 file_magic_glob=
   5104 want_nocaseglob=no
   5105 if test "$build" = "$host"; then
   5106   case $host_os in
   5107   mingw* | pw32*)
   5108     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5109       want_nocaseglob=yes
   5110     else
   5111       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5112     fi
   5113     ;;
   5114   esac
   5115 fi
   5116 
   5117 file_magic_cmd=$lt_cv_file_magic_cmd
   5118 deplibs_check_method=$lt_cv_deplibs_check_method
   5119 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 if test -n "$ac_tool_prefix"; then
   5143   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5144 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5146 $as_echo_n "checking for $ac_word... " >&6; }
   5147 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5148   $as_echo_n "(cached) " >&6
   5149 else
   5150   if test -n "$DLLTOOL"; then
   5151   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5152 else
   5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5154 for as_dir in $PATH
   5155 do
   5156   IFS=$as_save_IFS
   5157   test -z "$as_dir" && as_dir=.
   5158     for ac_exec_ext in '' $ac_executable_extensions; do
   5159   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5160     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5162     break 2
   5163   fi
   5164 done
   5165   done
   5166 IFS=$as_save_IFS
   5167 
   5168 fi
   5169 fi
   5170 DLLTOOL=$ac_cv_prog_DLLTOOL
   5171 if test -n "$DLLTOOL"; then
   5172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5173 $as_echo "$DLLTOOL" >&6; }
   5174 else
   5175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5176 $as_echo "no" >&6; }
   5177 fi
   5178 
   5179 
   5180 fi
   5181 if test -z "$ac_cv_prog_DLLTOOL"; then
   5182   ac_ct_DLLTOOL=$DLLTOOL
   5183   # Extract the first word of "dlltool", so it can be a program name with args.
   5184 set dummy dlltool; ac_word=$2
   5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5186 $as_echo_n "checking for $ac_word... " >&6; }
   5187 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5188   $as_echo_n "(cached) " >&6
   5189 else
   5190   if test -n "$ac_ct_DLLTOOL"; then
   5191   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5192 else
   5193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5194 for as_dir in $PATH
   5195 do
   5196   IFS=$as_save_IFS
   5197   test -z "$as_dir" && as_dir=.
   5198     for ac_exec_ext in '' $ac_executable_extensions; do
   5199   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5200     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5201     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5202     break 2
   5203   fi
   5204 done
   5205   done
   5206 IFS=$as_save_IFS
   5207 
   5208 fi
   5209 fi
   5210 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5211 if test -n "$ac_ct_DLLTOOL"; then
   5212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5213 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5214 else
   5215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5216 $as_echo "no" >&6; }
   5217 fi
   5218 
   5219   if test "x$ac_ct_DLLTOOL" = x; then
   5220     DLLTOOL="false"
   5221   else
   5222     case $cross_compiling:$ac_tool_warned in
   5223 yes:)
   5224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5226 ac_tool_warned=yes ;;
   5227 esac
   5228     DLLTOOL=$ac_ct_DLLTOOL
   5229   fi
   5230 else
   5231   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5232 fi
   5233 
   5234 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5246 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5247 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5248   $as_echo_n "(cached) " >&6
   5249 else
   5250   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5251 
   5252 case $host_os in
   5253 cygwin* | mingw* | pw32* | cegcc*)
   5254   # two different shell functions defined in ltmain.sh
   5255   # decide which to use based on capabilities of $DLLTOOL
   5256   case `$DLLTOOL --help 2>&1` in
   5257   *--identify-strict*)
   5258     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5259     ;;
   5260   *)
   5261     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5262     ;;
   5263   esac
   5264   ;;
   5265 *)
   5266   # fallback: assume linklib IS sharedlib
   5267   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5268   ;;
   5269 esac
   5270 
   5271 fi
   5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5273 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5274 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5275 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 if test -n "$ac_tool_prefix"; then
   5285   for ac_prog in ar
   5286   do
   5287     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5288 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5290 $as_echo_n "checking for $ac_word... " >&6; }
   5291 if ${ac_cv_prog_AR+:} false; then :
   5292   $as_echo_n "(cached) " >&6
   5293 else
   5294   if test -n "$AR"; then
   5295   ac_cv_prog_AR="$AR" # Let the user override the test.
   5296 else
   5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5298 for as_dir in $PATH
   5299 do
   5300   IFS=$as_save_IFS
   5301   test -z "$as_dir" && as_dir=.
   5302     for ac_exec_ext in '' $ac_executable_extensions; do
   5303   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5304     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5305     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5306     break 2
   5307   fi
   5308 done
   5309   done
   5310 IFS=$as_save_IFS
   5311 
   5312 fi
   5313 fi
   5314 AR=$ac_cv_prog_AR
   5315 if test -n "$AR"; then
   5316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5317 $as_echo "$AR" >&6; }
   5318 else
   5319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5320 $as_echo "no" >&6; }
   5321 fi
   5322 
   5323 
   5324     test -n "$AR" && break
   5325   done
   5326 fi
   5327 if test -z "$AR"; then
   5328   ac_ct_AR=$AR
   5329   for ac_prog in ar
   5330 do
   5331   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5332 set dummy $ac_prog; ac_word=$2
   5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5334 $as_echo_n "checking for $ac_word... " >&6; }
   5335 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5336   $as_echo_n "(cached) " >&6
   5337 else
   5338   if test -n "$ac_ct_AR"; then
   5339   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5340 else
   5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5342 for as_dir in $PATH
   5343 do
   5344   IFS=$as_save_IFS
   5345   test -z "$as_dir" && as_dir=.
   5346     for ac_exec_ext in '' $ac_executable_extensions; do
   5347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5348     ac_cv_prog_ac_ct_AR="$ac_prog"
   5349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5350     break 2
   5351   fi
   5352 done
   5353   done
   5354 IFS=$as_save_IFS
   5355 
   5356 fi
   5357 fi
   5358 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5359 if test -n "$ac_ct_AR"; then
   5360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5361 $as_echo "$ac_ct_AR" >&6; }
   5362 else
   5363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5364 $as_echo "no" >&6; }
   5365 fi
   5366 
   5367 
   5368   test -n "$ac_ct_AR" && break
   5369 done
   5370 
   5371   if test "x$ac_ct_AR" = x; then
   5372     AR="false"
   5373   else
   5374     case $cross_compiling:$ac_tool_warned in
   5375 yes:)
   5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5378 ac_tool_warned=yes ;;
   5379 esac
   5380     AR=$ac_ct_AR
   5381   fi
   5382 fi
   5383 
   5384 : ${AR=ar}
   5385 : ${AR_FLAGS=cru}
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5398 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5399 if ${lt_cv_ar_at_file+:} false; then :
   5400   $as_echo_n "(cached) " >&6
   5401 else
   5402   lt_cv_ar_at_file=no
   5403    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5404 /* end confdefs.h.  */
   5405 
   5406 int
   5407 main ()
   5408 {
   5409 
   5410   ;
   5411   return 0;
   5412 }
   5413 _ACEOF
   5414 if ac_fn_c_try_compile "$LINENO"; then :
   5415   echo conftest.$ac_objext > conftest.lst
   5416       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5417       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5418   (eval $lt_ar_try) 2>&5
   5419   ac_status=$?
   5420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5421   test $ac_status = 0; }
   5422       if test "$ac_status" -eq 0; then
   5423 	# Ensure the archiver fails upon bogus file names.
   5424 	rm -f conftest.$ac_objext libconftest.a
   5425 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5426   (eval $lt_ar_try) 2>&5
   5427   ac_status=$?
   5428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5429   test $ac_status = 0; }
   5430 	if test "$ac_status" -ne 0; then
   5431           lt_cv_ar_at_file=@
   5432         fi
   5433       fi
   5434       rm -f conftest.* libconftest.a
   5435 
   5436 fi
   5437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5438 
   5439 fi
   5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5441 $as_echo "$lt_cv_ar_at_file" >&6; }
   5442 
   5443 if test "x$lt_cv_ar_at_file" = xno; then
   5444   archiver_list_spec=
   5445 else
   5446   archiver_list_spec=$lt_cv_ar_at_file
   5447 fi
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 if test -n "$ac_tool_prefix"; then
   5456   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5457 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5459 $as_echo_n "checking for $ac_word... " >&6; }
   5460 if ${ac_cv_prog_STRIP+:} false; then :
   5461   $as_echo_n "(cached) " >&6
   5462 else
   5463   if test -n "$STRIP"; then
   5464   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5465 else
   5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5467 for as_dir in $PATH
   5468 do
   5469   IFS=$as_save_IFS
   5470   test -z "$as_dir" && as_dir=.
   5471     for ac_exec_ext in '' $ac_executable_extensions; do
   5472   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5473     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5475     break 2
   5476   fi
   5477 done
   5478   done
   5479 IFS=$as_save_IFS
   5480 
   5481 fi
   5482 fi
   5483 STRIP=$ac_cv_prog_STRIP
   5484 if test -n "$STRIP"; then
   5485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5486 $as_echo "$STRIP" >&6; }
   5487 else
   5488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5489 $as_echo "no" >&6; }
   5490 fi
   5491 
   5492 
   5493 fi
   5494 if test -z "$ac_cv_prog_STRIP"; then
   5495   ac_ct_STRIP=$STRIP
   5496   # Extract the first word of "strip", so it can be a program name with args.
   5497 set dummy strip; ac_word=$2
   5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5499 $as_echo_n "checking for $ac_word... " >&6; }
   5500 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5501   $as_echo_n "(cached) " >&6
   5502 else
   5503   if test -n "$ac_ct_STRIP"; then
   5504   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5505 else
   5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5507 for as_dir in $PATH
   5508 do
   5509   IFS=$as_save_IFS
   5510   test -z "$as_dir" && as_dir=.
   5511     for ac_exec_ext in '' $ac_executable_extensions; do
   5512   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5513     ac_cv_prog_ac_ct_STRIP="strip"
   5514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5515     break 2
   5516   fi
   5517 done
   5518   done
   5519 IFS=$as_save_IFS
   5520 
   5521 fi
   5522 fi
   5523 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5524 if test -n "$ac_ct_STRIP"; then
   5525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5526 $as_echo "$ac_ct_STRIP" >&6; }
   5527 else
   5528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5529 $as_echo "no" >&6; }
   5530 fi
   5531 
   5532   if test "x$ac_ct_STRIP" = x; then
   5533     STRIP=":"
   5534   else
   5535     case $cross_compiling:$ac_tool_warned in
   5536 yes:)
   5537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5539 ac_tool_warned=yes ;;
   5540 esac
   5541     STRIP=$ac_ct_STRIP
   5542   fi
   5543 else
   5544   STRIP="$ac_cv_prog_STRIP"
   5545 fi
   5546 
   5547 test -z "$STRIP" && STRIP=:
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 if test -n "$ac_tool_prefix"; then
   5555   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5556 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5558 $as_echo_n "checking for $ac_word... " >&6; }
   5559 if ${ac_cv_prog_RANLIB+:} false; then :
   5560   $as_echo_n "(cached) " >&6
   5561 else
   5562   if test -n "$RANLIB"; then
   5563   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5564 else
   5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5566 for as_dir in $PATH
   5567 do
   5568   IFS=$as_save_IFS
   5569   test -z "$as_dir" && as_dir=.
   5570     for ac_exec_ext in '' $ac_executable_extensions; do
   5571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5572     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5574     break 2
   5575   fi
   5576 done
   5577   done
   5578 IFS=$as_save_IFS
   5579 
   5580 fi
   5581 fi
   5582 RANLIB=$ac_cv_prog_RANLIB
   5583 if test -n "$RANLIB"; then
   5584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5585 $as_echo "$RANLIB" >&6; }
   5586 else
   5587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5588 $as_echo "no" >&6; }
   5589 fi
   5590 
   5591 
   5592 fi
   5593 if test -z "$ac_cv_prog_RANLIB"; then
   5594   ac_ct_RANLIB=$RANLIB
   5595   # Extract the first word of "ranlib", so it can be a program name with args.
   5596 set dummy ranlib; ac_word=$2
   5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5598 $as_echo_n "checking for $ac_word... " >&6; }
   5599 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5600   $as_echo_n "(cached) " >&6
   5601 else
   5602   if test -n "$ac_ct_RANLIB"; then
   5603   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5604 else
   5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5606 for as_dir in $PATH
   5607 do
   5608   IFS=$as_save_IFS
   5609   test -z "$as_dir" && as_dir=.
   5610     for ac_exec_ext in '' $ac_executable_extensions; do
   5611   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5612     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5614     break 2
   5615   fi
   5616 done
   5617   done
   5618 IFS=$as_save_IFS
   5619 
   5620 fi
   5621 fi
   5622 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5623 if test -n "$ac_ct_RANLIB"; then
   5624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5625 $as_echo "$ac_ct_RANLIB" >&6; }
   5626 else
   5627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5628 $as_echo "no" >&6; }
   5629 fi
   5630 
   5631   if test "x$ac_ct_RANLIB" = x; then
   5632     RANLIB=":"
   5633   else
   5634     case $cross_compiling:$ac_tool_warned in
   5635 yes:)
   5636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5638 ac_tool_warned=yes ;;
   5639 esac
   5640     RANLIB=$ac_ct_RANLIB
   5641   fi
   5642 else
   5643   RANLIB="$ac_cv_prog_RANLIB"
   5644 fi
   5645 
   5646 test -z "$RANLIB" && RANLIB=:
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 # Determine commands to create old-style static archives.
   5654 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5655 old_postinstall_cmds='chmod 644 $oldlib'
   5656 old_postuninstall_cmds=
   5657 
   5658 if test -n "$RANLIB"; then
   5659   case $host_os in
   5660   openbsd*)
   5661     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5662     ;;
   5663   *)
   5664     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5665     ;;
   5666   esac
   5667   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5668 fi
   5669 
   5670 case $host_os in
   5671   darwin*)
   5672     lock_old_archive_extraction=yes ;;
   5673   *)
   5674     lock_old_archive_extraction=no ;;
   5675 esac
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 # If no C compiler was specified, use CC.
   5716 LTCC=${LTCC-"$CC"}
   5717 
   5718 # If no C compiler flags were specified, use CFLAGS.
   5719 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5720 
   5721 # Allow CC to be a program name with arguments.
   5722 compiler=$CC
   5723 
   5724 
   5725 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5727 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5728 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5729   $as_echo_n "(cached) " >&6
   5730 else
   5731 
   5732 # These are sane defaults that work on at least a few old systems.
   5733 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5734 
   5735 # Character class describing NM global symbol codes.
   5736 symcode='[BCDEGRST]'
   5737 
   5738 # Regexp to match symbols that can be accessed directly from C.
   5739 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5740 
   5741 # Define system-specific variables.
   5742 case $host_os in
   5743 aix*)
   5744   symcode='[BCDT]'
   5745   ;;
   5746 cygwin* | mingw* | pw32* | cegcc*)
   5747   symcode='[ABCDGISTW]'
   5748   ;;
   5749 hpux*)
   5750   if test "$host_cpu" = ia64; then
   5751     symcode='[ABCDEGRST]'
   5752   fi
   5753   ;;
   5754 irix* | nonstopux*)
   5755   symcode='[BCDEGRST]'
   5756   ;;
   5757 osf*)
   5758   symcode='[BCDEGQRST]'
   5759   ;;
   5760 solaris*)
   5761   symcode='[BDRT]'
   5762   ;;
   5763 sco3.2v5*)
   5764   symcode='[DT]'
   5765   ;;
   5766 sysv4.2uw2*)
   5767   symcode='[DT]'
   5768   ;;
   5769 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5770   symcode='[ABDT]'
   5771   ;;
   5772 sysv4)
   5773   symcode='[DFNSTU]'
   5774   ;;
   5775 esac
   5776 
   5777 # If we're using GNU nm, then use its standard symbol codes.
   5778 case `$NM -V 2>&1` in
   5779 *GNU* | *'with BFD'*)
   5780   symcode='[ABCDGIRSTW]' ;;
   5781 esac
   5782 
   5783 # Transform an extracted symbol line into a proper C declaration.
   5784 # Some systems (esp. on ia64) link data and code symbols differently,
   5785 # so use this general approach.
   5786 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5787 
   5788 # Transform an extracted symbol line into symbol name and symbol address
   5789 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5790 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'"
   5791 
   5792 # Handle CRLF in mingw tool chain
   5793 opt_cr=
   5794 case $build_os in
   5795 mingw*)
   5796   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5797   ;;
   5798 esac
   5799 
   5800 # Try without a prefix underscore, then with it.
   5801 for ac_symprfx in "" "_"; do
   5802 
   5803   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5804   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5805 
   5806   # Write the raw and C identifiers.
   5807   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5808     # Fake it for dumpbin and say T for any non-static function
   5809     # and D for any global variable.
   5810     # Also find C++ and __fastcall symbols from MSVC++,
   5811     # which start with @ or ?.
   5812     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5813 "     {last_section=section; section=\$ 3};"\
   5814 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5815 "     \$ 0!~/External *\|/{next};"\
   5816 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5817 "     {if(hide[section]) next};"\
   5818 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5819 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5820 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5821 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5822 "     ' prfx=^$ac_symprfx"
   5823   else
   5824     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5825   fi
   5826   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5827 
   5828   # Check to see that the pipe works correctly.
   5829   pipe_works=no
   5830 
   5831   rm -f conftest*
   5832   cat > conftest.$ac_ext <<_LT_EOF
   5833 #ifdef __cplusplus
   5834 extern "C" {
   5835 #endif
   5836 char nm_test_var;
   5837 void nm_test_func(void);
   5838 void nm_test_func(void){}
   5839 #ifdef __cplusplus
   5840 }
   5841 #endif
   5842 int main(){nm_test_var='a';nm_test_func();return(0);}
   5843 _LT_EOF
   5844 
   5845   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5846   (eval $ac_compile) 2>&5
   5847   ac_status=$?
   5848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5849   test $ac_status = 0; }; then
   5850     # Now try to grab the symbols.
   5851     nlist=conftest.nm
   5852     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5853   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5854   ac_status=$?
   5855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5856   test $ac_status = 0; } && test -s "$nlist"; then
   5857       # Try sorting and uniquifying the output.
   5858       if sort "$nlist" | uniq > "$nlist"T; then
   5859 	mv -f "$nlist"T "$nlist"
   5860       else
   5861 	rm -f "$nlist"T
   5862       fi
   5863 
   5864       # Make sure that we snagged all the symbols we need.
   5865       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5866 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5867 	  cat <<_LT_EOF > conftest.$ac_ext
   5868 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5869 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5870 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5871    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5872 # define LT_DLSYM_CONST
   5873 #elif defined(__osf__)
   5874 /* This system does not cope well with relocations in const data.  */
   5875 # define LT_DLSYM_CONST
   5876 #else
   5877 # define LT_DLSYM_CONST const
   5878 #endif
   5879 
   5880 #ifdef __cplusplus
   5881 extern "C" {
   5882 #endif
   5883 
   5884 _LT_EOF
   5885 	  # Now generate the symbol file.
   5886 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5887 
   5888 	  cat <<_LT_EOF >> conftest.$ac_ext
   5889 
   5890 /* The mapping between symbol names and symbols.  */
   5891 LT_DLSYM_CONST struct {
   5892   const char *name;
   5893   void       *address;
   5894 }
   5895 lt__PROGRAM__LTX_preloaded_symbols[] =
   5896 {
   5897   { "@PROGRAM@", (void *) 0 },
   5898 _LT_EOF
   5899 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5900 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5901   {0, (void *) 0}
   5902 };
   5903 
   5904 /* This works around a problem in FreeBSD linker */
   5905 #ifdef FREEBSD_WORKAROUND
   5906 static const void *lt_preloaded_setup() {
   5907   return lt__PROGRAM__LTX_preloaded_symbols;
   5908 }
   5909 #endif
   5910 
   5911 #ifdef __cplusplus
   5912 }
   5913 #endif
   5914 _LT_EOF
   5915 	  # Now try linking the two files.
   5916 	  mv conftest.$ac_objext conftstm.$ac_objext
   5917 	  lt_globsym_save_LIBS=$LIBS
   5918 	  lt_globsym_save_CFLAGS=$CFLAGS
   5919 	  LIBS="conftstm.$ac_objext"
   5920 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5921 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5922   (eval $ac_link) 2>&5
   5923   ac_status=$?
   5924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5925   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   5926 	    pipe_works=yes
   5927 	  fi
   5928 	  LIBS=$lt_globsym_save_LIBS
   5929 	  CFLAGS=$lt_globsym_save_CFLAGS
   5930 	else
   5931 	  echo "cannot find nm_test_func in $nlist" >&5
   5932 	fi
   5933       else
   5934 	echo "cannot find nm_test_var in $nlist" >&5
   5935       fi
   5936     else
   5937       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5938     fi
   5939   else
   5940     echo "$progname: failed program was:" >&5
   5941     cat conftest.$ac_ext >&5
   5942   fi
   5943   rm -rf conftest* conftst*
   5944 
   5945   # Do not use the global_symbol_pipe unless it works.
   5946   if test "$pipe_works" = yes; then
   5947     break
   5948   else
   5949     lt_cv_sys_global_symbol_pipe=
   5950   fi
   5951 done
   5952 
   5953 fi
   5954 
   5955 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5956   lt_cv_sys_global_symbol_to_cdecl=
   5957 fi
   5958 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   5960 $as_echo "failed" >&6; }
   5961 else
   5962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   5963 $as_echo "ok" >&6; }
   5964 fi
   5965 
   5966 # Response file support.
   5967 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5968   nm_file_list_spec='@'
   5969 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   5970   nm_file_list_spec='@'
   5971 fi
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6000 $as_echo_n "checking for sysroot... " >&6; }
   6001 
   6002 # Check whether --with-sysroot was given.
   6003 if test "${with_sysroot+set}" = set; then :
   6004   withval=$with_sysroot;
   6005 else
   6006   with_sysroot=no
   6007 fi
   6008 
   6009 
   6010 lt_sysroot=
   6011 case ${with_sysroot} in #(
   6012  yes)
   6013    if test "$GCC" = yes; then
   6014      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6015    fi
   6016    ;; #(
   6017  /*)
   6018    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6019    ;; #(
   6020  no|'')
   6021    ;; #(
   6022  *)
   6023    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6024 $as_echo "${with_sysroot}" >&6; }
   6025    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6026    ;;
   6027 esac
   6028 
   6029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6030 $as_echo "${lt_sysroot:-no}" >&6; }
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 # Check whether --enable-libtool-lock was given.
   6037 if test "${enable_libtool_lock+set}" = set; then :
   6038   enableval=$enable_libtool_lock;
   6039 fi
   6040 
   6041 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6042 
   6043 # Some flags need to be propagated to the compiler or linker for good
   6044 # libtool support.
   6045 case $host in
   6046 ia64-*-hpux*)
   6047   # Find out which ABI we are using.
   6048   echo 'int i;' > conftest.$ac_ext
   6049   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6050   (eval $ac_compile) 2>&5
   6051   ac_status=$?
   6052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6053   test $ac_status = 0; }; then
   6054     case `/usr/bin/file conftest.$ac_objext` in
   6055       *ELF-32*)
   6056 	HPUX_IA64_MODE="32"
   6057 	;;
   6058       *ELF-64*)
   6059 	HPUX_IA64_MODE="64"
   6060 	;;
   6061     esac
   6062   fi
   6063   rm -rf conftest*
   6064   ;;
   6065 *-*-irix6*)
   6066   # Find out which ABI we are using.
   6067   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6068   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6069   (eval $ac_compile) 2>&5
   6070   ac_status=$?
   6071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6072   test $ac_status = 0; }; then
   6073     if test "$lt_cv_prog_gnu_ld" = yes; then
   6074       case `/usr/bin/file conftest.$ac_objext` in
   6075 	*32-bit*)
   6076 	  LD="${LD-ld} -melf32bsmip"
   6077 	  ;;
   6078 	*N32*)
   6079 	  LD="${LD-ld} -melf32bmipn32"
   6080 	  ;;
   6081 	*64-bit*)
   6082 	  LD="${LD-ld} -melf64bmip"
   6083 	;;
   6084       esac
   6085     else
   6086       case `/usr/bin/file conftest.$ac_objext` in
   6087 	*32-bit*)
   6088 	  LD="${LD-ld} -32"
   6089 	  ;;
   6090 	*N32*)
   6091 	  LD="${LD-ld} -n32"
   6092 	  ;;
   6093 	*64-bit*)
   6094 	  LD="${LD-ld} -64"
   6095 	  ;;
   6096       esac
   6097     fi
   6098   fi
   6099   rm -rf conftest*
   6100   ;;
   6101 
   6102 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6103 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6104   # Find out which ABI we are using.
   6105   echo 'int i;' > conftest.$ac_ext
   6106   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6107   (eval $ac_compile) 2>&5
   6108   ac_status=$?
   6109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6110   test $ac_status = 0; }; then
   6111     case `/usr/bin/file conftest.o` in
   6112       *32-bit*)
   6113 	case $host in
   6114 	  x86_64-*kfreebsd*-gnu)
   6115 	    LD="${LD-ld} -m elf_i386_fbsd"
   6116 	    ;;
   6117 	  x86_64-*linux*)
   6118 	    LD="${LD-ld} -m elf_i386"
   6119 	    ;;
   6120 	  ppc64-*linux*|powerpc64-*linux*)
   6121 	    LD="${LD-ld} -m elf32ppclinux"
   6122 	    ;;
   6123 	  s390x-*linux*)
   6124 	    LD="${LD-ld} -m elf_s390"
   6125 	    ;;
   6126 	  sparc64-*linux*)
   6127 	    LD="${LD-ld} -m elf32_sparc"
   6128 	    ;;
   6129 	esac
   6130 	;;
   6131       *64-bit*)
   6132 	case $host in
   6133 	  x86_64-*kfreebsd*-gnu)
   6134 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6135 	    ;;
   6136 	  x86_64-*linux*)
   6137 	    LD="${LD-ld} -m elf_x86_64"
   6138 	    ;;
   6139 	  ppc*-*linux*|powerpc*-*linux*)
   6140 	    LD="${LD-ld} -m elf64ppc"
   6141 	    ;;
   6142 	  s390*-*linux*|s390*-*tpf*)
   6143 	    LD="${LD-ld} -m elf64_s390"
   6144 	    ;;
   6145 	  sparc*-*linux*)
   6146 	    LD="${LD-ld} -m elf64_sparc"
   6147 	    ;;
   6148 	esac
   6149 	;;
   6150     esac
   6151   fi
   6152   rm -rf conftest*
   6153   ;;
   6154 
   6155 *-*-sco3.2v5*)
   6156   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6157   SAVE_CFLAGS="$CFLAGS"
   6158   CFLAGS="$CFLAGS -belf"
   6159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6160 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6161 if ${lt_cv_cc_needs_belf+:} false; then :
   6162   $as_echo_n "(cached) " >&6
   6163 else
   6164   ac_ext=c
   6165 ac_cpp='$CPP $CPPFLAGS'
   6166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6169 
   6170      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6171 /* end confdefs.h.  */
   6172 
   6173 int
   6174 main ()
   6175 {
   6176 
   6177   ;
   6178   return 0;
   6179 }
   6180 _ACEOF
   6181 if ac_fn_c_try_link "$LINENO"; then :
   6182   lt_cv_cc_needs_belf=yes
   6183 else
   6184   lt_cv_cc_needs_belf=no
   6185 fi
   6186 rm -f core conftest.err conftest.$ac_objext \
   6187     conftest$ac_exeext conftest.$ac_ext
   6188      ac_ext=c
   6189 ac_cpp='$CPP $CPPFLAGS'
   6190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6193 
   6194 fi
   6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6196 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6197   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6198     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6199     CFLAGS="$SAVE_CFLAGS"
   6200   fi
   6201   ;;
   6202 sparc*-*solaris*)
   6203   # Find out which ABI we are using.
   6204   echo 'int i;' > conftest.$ac_ext
   6205   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6206   (eval $ac_compile) 2>&5
   6207   ac_status=$?
   6208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6209   test $ac_status = 0; }; then
   6210     case `/usr/bin/file conftest.o` in
   6211     *64-bit*)
   6212       case $lt_cv_prog_gnu_ld in
   6213       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6214       *)
   6215 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6216 	  LD="${LD-ld} -64"
   6217 	fi
   6218 	;;
   6219       esac
   6220       ;;
   6221     esac
   6222   fi
   6223   rm -rf conftest*
   6224   ;;
   6225 esac
   6226 
   6227 need_locks="$enable_libtool_lock"
   6228 
   6229 if test -n "$ac_tool_prefix"; then
   6230   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6231 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6233 $as_echo_n "checking for $ac_word... " >&6; }
   6234 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6235   $as_echo_n "(cached) " >&6
   6236 else
   6237   if test -n "$MANIFEST_TOOL"; then
   6238   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6239 else
   6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6241 for as_dir in $PATH
   6242 do
   6243   IFS=$as_save_IFS
   6244   test -z "$as_dir" && as_dir=.
   6245     for ac_exec_ext in '' $ac_executable_extensions; do
   6246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6247     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6249     break 2
   6250   fi
   6251 done
   6252   done
   6253 IFS=$as_save_IFS
   6254 
   6255 fi
   6256 fi
   6257 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6258 if test -n "$MANIFEST_TOOL"; then
   6259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6260 $as_echo "$MANIFEST_TOOL" >&6; }
   6261 else
   6262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6263 $as_echo "no" >&6; }
   6264 fi
   6265 
   6266 
   6267 fi
   6268 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6269   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6270   # Extract the first word of "mt", so it can be a program name with args.
   6271 set dummy mt; ac_word=$2
   6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6273 $as_echo_n "checking for $ac_word... " >&6; }
   6274 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6275   $as_echo_n "(cached) " >&6
   6276 else
   6277   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6278   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6279 else
   6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6281 for as_dir in $PATH
   6282 do
   6283   IFS=$as_save_IFS
   6284   test -z "$as_dir" && as_dir=.
   6285     for ac_exec_ext in '' $ac_executable_extensions; do
   6286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6287     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6289     break 2
   6290   fi
   6291 done
   6292   done
   6293 IFS=$as_save_IFS
   6294 
   6295 fi
   6296 fi
   6297 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6298 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6300 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6301 else
   6302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6303 $as_echo "no" >&6; }
   6304 fi
   6305 
   6306   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6307     MANIFEST_TOOL=":"
   6308   else
   6309     case $cross_compiling:$ac_tool_warned in
   6310 yes:)
   6311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6313 ac_tool_warned=yes ;;
   6314 esac
   6315     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6316   fi
   6317 else
   6318   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6319 fi
   6320 
   6321 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6323 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6324 if ${lt_cv_path_mainfest_tool+:} false; then :
   6325   $as_echo_n "(cached) " >&6
   6326 else
   6327   lt_cv_path_mainfest_tool=no
   6328   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6329   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6330   cat conftest.err >&5
   6331   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6332     lt_cv_path_mainfest_tool=yes
   6333   fi
   6334   rm -f conftest*
   6335 fi
   6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6337 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6338 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6339   MANIFEST_TOOL=:
   6340 fi
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347   case $host_os in
   6348     rhapsody* | darwin*)
   6349     if test -n "$ac_tool_prefix"; then
   6350   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6351 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6353 $as_echo_n "checking for $ac_word... " >&6; }
   6354 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6355   $as_echo_n "(cached) " >&6
   6356 else
   6357   if test -n "$DSYMUTIL"; then
   6358   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6359 else
   6360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6361 for as_dir in $PATH
   6362 do
   6363   IFS=$as_save_IFS
   6364   test -z "$as_dir" && as_dir=.
   6365     for ac_exec_ext in '' $ac_executable_extensions; do
   6366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6367     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6369     break 2
   6370   fi
   6371 done
   6372   done
   6373 IFS=$as_save_IFS
   6374 
   6375 fi
   6376 fi
   6377 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6378 if test -n "$DSYMUTIL"; then
   6379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6380 $as_echo "$DSYMUTIL" >&6; }
   6381 else
   6382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6383 $as_echo "no" >&6; }
   6384 fi
   6385 
   6386 
   6387 fi
   6388 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6389   ac_ct_DSYMUTIL=$DSYMUTIL
   6390   # Extract the first word of "dsymutil", so it can be a program name with args.
   6391 set dummy dsymutil; ac_word=$2
   6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6393 $as_echo_n "checking for $ac_word... " >&6; }
   6394 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6395   $as_echo_n "(cached) " >&6
   6396 else
   6397   if test -n "$ac_ct_DSYMUTIL"; then
   6398   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6399 else
   6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6401 for as_dir in $PATH
   6402 do
   6403   IFS=$as_save_IFS
   6404   test -z "$as_dir" && as_dir=.
   6405     for ac_exec_ext in '' $ac_executable_extensions; do
   6406   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6407     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6409     break 2
   6410   fi
   6411 done
   6412   done
   6413 IFS=$as_save_IFS
   6414 
   6415 fi
   6416 fi
   6417 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6418 if test -n "$ac_ct_DSYMUTIL"; then
   6419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6420 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6421 else
   6422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6423 $as_echo "no" >&6; }
   6424 fi
   6425 
   6426   if test "x$ac_ct_DSYMUTIL" = x; then
   6427     DSYMUTIL=":"
   6428   else
   6429     case $cross_compiling:$ac_tool_warned in
   6430 yes:)
   6431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6433 ac_tool_warned=yes ;;
   6434 esac
   6435     DSYMUTIL=$ac_ct_DSYMUTIL
   6436   fi
   6437 else
   6438   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6439 fi
   6440 
   6441     if test -n "$ac_tool_prefix"; then
   6442   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6443 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6445 $as_echo_n "checking for $ac_word... " >&6; }
   6446 if ${ac_cv_prog_NMEDIT+:} false; then :
   6447   $as_echo_n "(cached) " >&6
   6448 else
   6449   if test -n "$NMEDIT"; then
   6450   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6451 else
   6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6453 for as_dir in $PATH
   6454 do
   6455   IFS=$as_save_IFS
   6456   test -z "$as_dir" && as_dir=.
   6457     for ac_exec_ext in '' $ac_executable_extensions; do
   6458   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6459     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6461     break 2
   6462   fi
   6463 done
   6464   done
   6465 IFS=$as_save_IFS
   6466 
   6467 fi
   6468 fi
   6469 NMEDIT=$ac_cv_prog_NMEDIT
   6470 if test -n "$NMEDIT"; then
   6471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6472 $as_echo "$NMEDIT" >&6; }
   6473 else
   6474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6475 $as_echo "no" >&6; }
   6476 fi
   6477 
   6478 
   6479 fi
   6480 if test -z "$ac_cv_prog_NMEDIT"; then
   6481   ac_ct_NMEDIT=$NMEDIT
   6482   # Extract the first word of "nmedit", so it can be a program name with args.
   6483 set dummy nmedit; ac_word=$2
   6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6485 $as_echo_n "checking for $ac_word... " >&6; }
   6486 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6487   $as_echo_n "(cached) " >&6
   6488 else
   6489   if test -n "$ac_ct_NMEDIT"; then
   6490   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6491 else
   6492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6493 for as_dir in $PATH
   6494 do
   6495   IFS=$as_save_IFS
   6496   test -z "$as_dir" && as_dir=.
   6497     for ac_exec_ext in '' $ac_executable_extensions; do
   6498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6499     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6501     break 2
   6502   fi
   6503 done
   6504   done
   6505 IFS=$as_save_IFS
   6506 
   6507 fi
   6508 fi
   6509 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6510 if test -n "$ac_ct_NMEDIT"; then
   6511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6512 $as_echo "$ac_ct_NMEDIT" >&6; }
   6513 else
   6514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6515 $as_echo "no" >&6; }
   6516 fi
   6517 
   6518   if test "x$ac_ct_NMEDIT" = x; then
   6519     NMEDIT=":"
   6520   else
   6521     case $cross_compiling:$ac_tool_warned in
   6522 yes:)
   6523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6525 ac_tool_warned=yes ;;
   6526 esac
   6527     NMEDIT=$ac_ct_NMEDIT
   6528   fi
   6529 else
   6530   NMEDIT="$ac_cv_prog_NMEDIT"
   6531 fi
   6532 
   6533     if test -n "$ac_tool_prefix"; then
   6534   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6535 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6537 $as_echo_n "checking for $ac_word... " >&6; }
   6538 if ${ac_cv_prog_LIPO+:} false; then :
   6539   $as_echo_n "(cached) " >&6
   6540 else
   6541   if test -n "$LIPO"; then
   6542   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6543 else
   6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6545 for as_dir in $PATH
   6546 do
   6547   IFS=$as_save_IFS
   6548   test -z "$as_dir" && as_dir=.
   6549     for ac_exec_ext in '' $ac_executable_extensions; do
   6550   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6551     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6553     break 2
   6554   fi
   6555 done
   6556   done
   6557 IFS=$as_save_IFS
   6558 
   6559 fi
   6560 fi
   6561 LIPO=$ac_cv_prog_LIPO
   6562 if test -n "$LIPO"; then
   6563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6564 $as_echo "$LIPO" >&6; }
   6565 else
   6566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6567 $as_echo "no" >&6; }
   6568 fi
   6569 
   6570 
   6571 fi
   6572 if test -z "$ac_cv_prog_LIPO"; then
   6573   ac_ct_LIPO=$LIPO
   6574   # Extract the first word of "lipo", so it can be a program name with args.
   6575 set dummy lipo; ac_word=$2
   6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6577 $as_echo_n "checking for $ac_word... " >&6; }
   6578 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6579   $as_echo_n "(cached) " >&6
   6580 else
   6581   if test -n "$ac_ct_LIPO"; then
   6582   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6583 else
   6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6585 for as_dir in $PATH
   6586 do
   6587   IFS=$as_save_IFS
   6588   test -z "$as_dir" && as_dir=.
   6589     for ac_exec_ext in '' $ac_executable_extensions; do
   6590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6591     ac_cv_prog_ac_ct_LIPO="lipo"
   6592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6593     break 2
   6594   fi
   6595 done
   6596   done
   6597 IFS=$as_save_IFS
   6598 
   6599 fi
   6600 fi
   6601 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6602 if test -n "$ac_ct_LIPO"; then
   6603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6604 $as_echo "$ac_ct_LIPO" >&6; }
   6605 else
   6606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6607 $as_echo "no" >&6; }
   6608 fi
   6609 
   6610   if test "x$ac_ct_LIPO" = x; then
   6611     LIPO=":"
   6612   else
   6613     case $cross_compiling:$ac_tool_warned in
   6614 yes:)
   6615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6617 ac_tool_warned=yes ;;
   6618 esac
   6619     LIPO=$ac_ct_LIPO
   6620   fi
   6621 else
   6622   LIPO="$ac_cv_prog_LIPO"
   6623 fi
   6624 
   6625     if test -n "$ac_tool_prefix"; then
   6626   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6627 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6629 $as_echo_n "checking for $ac_word... " >&6; }
   6630 if ${ac_cv_prog_OTOOL+:} false; then :
   6631   $as_echo_n "(cached) " >&6
   6632 else
   6633   if test -n "$OTOOL"; then
   6634   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6635 else
   6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6637 for as_dir in $PATH
   6638 do
   6639   IFS=$as_save_IFS
   6640   test -z "$as_dir" && as_dir=.
   6641     for ac_exec_ext in '' $ac_executable_extensions; do
   6642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6643     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6645     break 2
   6646   fi
   6647 done
   6648   done
   6649 IFS=$as_save_IFS
   6650 
   6651 fi
   6652 fi
   6653 OTOOL=$ac_cv_prog_OTOOL
   6654 if test -n "$OTOOL"; then
   6655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6656 $as_echo "$OTOOL" >&6; }
   6657 else
   6658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6659 $as_echo "no" >&6; }
   6660 fi
   6661 
   6662 
   6663 fi
   6664 if test -z "$ac_cv_prog_OTOOL"; then
   6665   ac_ct_OTOOL=$OTOOL
   6666   # Extract the first word of "otool", so it can be a program name with args.
   6667 set dummy otool; ac_word=$2
   6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6669 $as_echo_n "checking for $ac_word... " >&6; }
   6670 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6671   $as_echo_n "(cached) " >&6
   6672 else
   6673   if test -n "$ac_ct_OTOOL"; then
   6674   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6675 else
   6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6677 for as_dir in $PATH
   6678 do
   6679   IFS=$as_save_IFS
   6680   test -z "$as_dir" && as_dir=.
   6681     for ac_exec_ext in '' $ac_executable_extensions; do
   6682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6683     ac_cv_prog_ac_ct_OTOOL="otool"
   6684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6685     break 2
   6686   fi
   6687 done
   6688   done
   6689 IFS=$as_save_IFS
   6690 
   6691 fi
   6692 fi
   6693 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6694 if test -n "$ac_ct_OTOOL"; then
   6695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6696 $as_echo "$ac_ct_OTOOL" >&6; }
   6697 else
   6698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6699 $as_echo "no" >&6; }
   6700 fi
   6701 
   6702   if test "x$ac_ct_OTOOL" = x; then
   6703     OTOOL=":"
   6704   else
   6705     case $cross_compiling:$ac_tool_warned in
   6706 yes:)
   6707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6709 ac_tool_warned=yes ;;
   6710 esac
   6711     OTOOL=$ac_ct_OTOOL
   6712   fi
   6713 else
   6714   OTOOL="$ac_cv_prog_OTOOL"
   6715 fi
   6716 
   6717     if test -n "$ac_tool_prefix"; then
   6718   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6719 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6721 $as_echo_n "checking for $ac_word... " >&6; }
   6722 if ${ac_cv_prog_OTOOL64+:} false; then :
   6723   $as_echo_n "(cached) " >&6
   6724 else
   6725   if test -n "$OTOOL64"; then
   6726   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6727 else
   6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6729 for as_dir in $PATH
   6730 do
   6731   IFS=$as_save_IFS
   6732   test -z "$as_dir" && as_dir=.
   6733     for ac_exec_ext in '' $ac_executable_extensions; do
   6734   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6735     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6737     break 2
   6738   fi
   6739 done
   6740   done
   6741 IFS=$as_save_IFS
   6742 
   6743 fi
   6744 fi
   6745 OTOOL64=$ac_cv_prog_OTOOL64
   6746 if test -n "$OTOOL64"; then
   6747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6748 $as_echo "$OTOOL64" >&6; }
   6749 else
   6750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6751 $as_echo "no" >&6; }
   6752 fi
   6753 
   6754 
   6755 fi
   6756 if test -z "$ac_cv_prog_OTOOL64"; then
   6757   ac_ct_OTOOL64=$OTOOL64
   6758   # Extract the first word of "otool64", so it can be a program name with args.
   6759 set dummy otool64; ac_word=$2
   6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6761 $as_echo_n "checking for $ac_word... " >&6; }
   6762 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6763   $as_echo_n "(cached) " >&6
   6764 else
   6765   if test -n "$ac_ct_OTOOL64"; then
   6766   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6767 else
   6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6769 for as_dir in $PATH
   6770 do
   6771   IFS=$as_save_IFS
   6772   test -z "$as_dir" && as_dir=.
   6773     for ac_exec_ext in '' $ac_executable_extensions; do
   6774   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6775     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6777     break 2
   6778   fi
   6779 done
   6780   done
   6781 IFS=$as_save_IFS
   6782 
   6783 fi
   6784 fi
   6785 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6786 if test -n "$ac_ct_OTOOL64"; then
   6787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6788 $as_echo "$ac_ct_OTOOL64" >&6; }
   6789 else
   6790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6791 $as_echo "no" >&6; }
   6792 fi
   6793 
   6794   if test "x$ac_ct_OTOOL64" = x; then
   6795     OTOOL64=":"
   6796   else
   6797     case $cross_compiling:$ac_tool_warned in
   6798 yes:)
   6799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6801 ac_tool_warned=yes ;;
   6802 esac
   6803     OTOOL64=$ac_ct_OTOOL64
   6804   fi
   6805 else
   6806   OTOOL64="$ac_cv_prog_OTOOL64"
   6807 fi
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6836 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6837 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6838   $as_echo_n "(cached) " >&6
   6839 else
   6840   lt_cv_apple_cc_single_mod=no
   6841       if test -z "${LT_MULTI_MODULE}"; then
   6842 	# By default we will add the -single_module flag. You can override
   6843 	# by either setting the environment variable LT_MULTI_MODULE
   6844 	# non-empty at configure time, or by adding -multi_module to the
   6845 	# link flags.
   6846 	rm -rf libconftest.dylib*
   6847 	echo "int foo(void){return 1;}" > conftest.c
   6848 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6849 -dynamiclib -Wl,-single_module conftest.c" >&5
   6850 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6851 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6852         _lt_result=$?
   6853 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6854 	  lt_cv_apple_cc_single_mod=yes
   6855 	else
   6856 	  cat conftest.err >&5
   6857 	fi
   6858 	rm -rf libconftest.dylib*
   6859 	rm -f conftest.*
   6860       fi
   6861 fi
   6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6863 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6864     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6865 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6866 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6867   $as_echo_n "(cached) " >&6
   6868 else
   6869   lt_cv_ld_exported_symbols_list=no
   6870       save_LDFLAGS=$LDFLAGS
   6871       echo "_main" > conftest.sym
   6872       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6874 /* end confdefs.h.  */
   6875 
   6876 int
   6877 main ()
   6878 {
   6879 
   6880   ;
   6881   return 0;
   6882 }
   6883 _ACEOF
   6884 if ac_fn_c_try_link "$LINENO"; then :
   6885   lt_cv_ld_exported_symbols_list=yes
   6886 else
   6887   lt_cv_ld_exported_symbols_list=no
   6888 fi
   6889 rm -f core conftest.err conftest.$ac_objext \
   6890     conftest$ac_exeext conftest.$ac_ext
   6891 	LDFLAGS="$save_LDFLAGS"
   6892 
   6893 fi
   6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6895 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6896     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   6897 $as_echo_n "checking for -force_load linker flag... " >&6; }
   6898 if ${lt_cv_ld_force_load+:} false; then :
   6899   $as_echo_n "(cached) " >&6
   6900 else
   6901   lt_cv_ld_force_load=no
   6902       cat > conftest.c << _LT_EOF
   6903 int forced_loaded() { return 2;}
   6904 _LT_EOF
   6905       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   6906       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   6907       echo "$AR cru libconftest.a conftest.o" >&5
   6908       $AR cru libconftest.a conftest.o 2>&5
   6909       echo "$RANLIB libconftest.a" >&5
   6910       $RANLIB libconftest.a 2>&5
   6911       cat > conftest.c << _LT_EOF
   6912 int main() { return 0;}
   6913 _LT_EOF
   6914       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   6915       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   6916       _lt_result=$?
   6917       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   6918 	lt_cv_ld_force_load=yes
   6919       else
   6920 	cat conftest.err >&5
   6921       fi
   6922         rm -f conftest.err libconftest.a conftest conftest.c
   6923         rm -rf conftest.dSYM
   6924 
   6925 fi
   6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   6927 $as_echo "$lt_cv_ld_force_load" >&6; }
   6928     case $host_os in
   6929     rhapsody* | darwin1.[012])
   6930       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6931     darwin1.*)
   6932       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6933     darwin*) # darwin 5.x on
   6934       # if running on 10.5 or later, the deployment target defaults
   6935       # to the OS version, if on x86, and 10.4, the deployment
   6936       # target defaults to 10.4. Don't you love it?
   6937       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6938 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6939 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6940 	10.[012]*)
   6941 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6942 	10.*)
   6943 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6944       esac
   6945     ;;
   6946   esac
   6947     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6948       _lt_dar_single_mod='$single_module'
   6949     fi
   6950     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6951       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6952     else
   6953       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6954     fi
   6955     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   6956       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6957     else
   6958       _lt_dsymutil=
   6959     fi
   6960     ;;
   6961   esac
   6962 
   6963 ac_ext=c
   6964 ac_cpp='$CPP $CPPFLAGS'
   6965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   6969 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6970 # On Suns, sometimes $CPP names a directory.
   6971 if test -n "$CPP" && test -d "$CPP"; then
   6972   CPP=
   6973 fi
   6974 if test -z "$CPP"; then
   6975   if ${ac_cv_prog_CPP+:} false; then :
   6976   $as_echo_n "(cached) " >&6
   6977 else
   6978       # Double quotes because CPP needs to be expanded
   6979     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6980     do
   6981       ac_preproc_ok=false
   6982 for ac_c_preproc_warn_flag in '' yes
   6983 do
   6984   # Use a header file that comes with gcc, so configuring glibc
   6985   # with a fresh cross-compiler works.
   6986   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6987   # <limits.h> exists even on freestanding compilers.
   6988   # On the NeXT, cc -E runs the code through the compiler's parser,
   6989   # not just through cpp. "Syntax error" is here to catch this case.
   6990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6991 /* end confdefs.h.  */
   6992 #ifdef __STDC__
   6993 # include <limits.h>
   6994 #else
   6995 # include <assert.h>
   6996 #endif
   6997 		     Syntax error
   6998 _ACEOF
   6999 if ac_fn_c_try_cpp "$LINENO"; then :
   7000 
   7001 else
   7002   # Broken: fails on valid input.
   7003 continue
   7004 fi
   7005 rm -f conftest.err conftest.i conftest.$ac_ext
   7006 
   7007   # OK, works on sane cases.  Now check whether nonexistent headers
   7008   # can be detected and how.
   7009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7010 /* end confdefs.h.  */
   7011 #include <ac_nonexistent.h>
   7012 _ACEOF
   7013 if ac_fn_c_try_cpp "$LINENO"; then :
   7014   # Broken: success on invalid input.
   7015 continue
   7016 else
   7017   # Passes both tests.
   7018 ac_preproc_ok=:
   7019 break
   7020 fi
   7021 rm -f conftest.err conftest.i conftest.$ac_ext
   7022 
   7023 done
   7024 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7025 rm -f conftest.i conftest.err conftest.$ac_ext
   7026 if $ac_preproc_ok; then :
   7027   break
   7028 fi
   7029 
   7030     done
   7031     ac_cv_prog_CPP=$CPP
   7032 
   7033 fi
   7034   CPP=$ac_cv_prog_CPP
   7035 else
   7036   ac_cv_prog_CPP=$CPP
   7037 fi
   7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7039 $as_echo "$CPP" >&6; }
   7040 ac_preproc_ok=false
   7041 for ac_c_preproc_warn_flag in '' yes
   7042 do
   7043   # Use a header file that comes with gcc, so configuring glibc
   7044   # with a fresh cross-compiler works.
   7045   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7046   # <limits.h> exists even on freestanding compilers.
   7047   # On the NeXT, cc -E runs the code through the compiler's parser,
   7048   # not just through cpp. "Syntax error" is here to catch this case.
   7049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7050 /* end confdefs.h.  */
   7051 #ifdef __STDC__
   7052 # include <limits.h>
   7053 #else
   7054 # include <assert.h>
   7055 #endif
   7056 		     Syntax error
   7057 _ACEOF
   7058 if ac_fn_c_try_cpp "$LINENO"; then :
   7059 
   7060 else
   7061   # Broken: fails on valid input.
   7062 continue
   7063 fi
   7064 rm -f conftest.err conftest.i conftest.$ac_ext
   7065 
   7066   # OK, works on sane cases.  Now check whether nonexistent headers
   7067   # can be detected and how.
   7068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7069 /* end confdefs.h.  */
   7070 #include <ac_nonexistent.h>
   7071 _ACEOF
   7072 if ac_fn_c_try_cpp "$LINENO"; then :
   7073   # Broken: success on invalid input.
   7074 continue
   7075 else
   7076   # Passes both tests.
   7077 ac_preproc_ok=:
   7078 break
   7079 fi
   7080 rm -f conftest.err conftest.i conftest.$ac_ext
   7081 
   7082 done
   7083 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7084 rm -f conftest.i conftest.err conftest.$ac_ext
   7085 if $ac_preproc_ok; then :
   7086 
   7087 else
   7088   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7090 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7091 See \`config.log' for more details" "$LINENO" 5; }
   7092 fi
   7093 
   7094 ac_ext=c
   7095 ac_cpp='$CPP $CPPFLAGS'
   7096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7099 
   7100 
   7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7102 $as_echo_n "checking for ANSI C header files... " >&6; }
   7103 if ${ac_cv_header_stdc+:} false; then :
   7104   $as_echo_n "(cached) " >&6
   7105 else
   7106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7107 /* end confdefs.h.  */
   7108 #include <stdlib.h>
   7109 #include <stdarg.h>
   7110 #include <string.h>
   7111 #include <float.h>
   7112 
   7113 int
   7114 main ()
   7115 {
   7116 
   7117   ;
   7118   return 0;
   7119 }
   7120 _ACEOF
   7121 if ac_fn_c_try_compile "$LINENO"; then :
   7122   ac_cv_header_stdc=yes
   7123 else
   7124   ac_cv_header_stdc=no
   7125 fi
   7126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7127 
   7128 if test $ac_cv_header_stdc = yes; then
   7129   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7131 /* end confdefs.h.  */
   7132 #include <string.h>
   7133 
   7134 _ACEOF
   7135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7136   $EGREP "memchr" >/dev/null 2>&1; then :
   7137 
   7138 else
   7139   ac_cv_header_stdc=no
   7140 fi
   7141 rm -f conftest*
   7142 
   7143 fi
   7144 
   7145 if test $ac_cv_header_stdc = yes; then
   7146   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7148 /* end confdefs.h.  */
   7149 #include <stdlib.h>
   7150 
   7151 _ACEOF
   7152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7153   $EGREP "free" >/dev/null 2>&1; then :
   7154 
   7155 else
   7156   ac_cv_header_stdc=no
   7157 fi
   7158 rm -f conftest*
   7159 
   7160 fi
   7161 
   7162 if test $ac_cv_header_stdc = yes; then
   7163   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7164   if test "$cross_compiling" = yes; then :
   7165   :
   7166 else
   7167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7168 /* end confdefs.h.  */
   7169 #include <ctype.h>
   7170 #include <stdlib.h>
   7171 #if ((' ' & 0x0FF) == 0x020)
   7172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7174 #else
   7175 # define ISLOWER(c) \
   7176 		   (('a' <= (c) && (c) <= 'i') \
   7177 		     || ('j' <= (c) && (c) <= 'r') \
   7178 		     || ('s' <= (c) && (c) <= 'z'))
   7179 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7180 #endif
   7181 
   7182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7183 int
   7184 main ()
   7185 {
   7186   int i;
   7187   for (i = 0; i < 256; i++)
   7188     if (XOR (islower (i), ISLOWER (i))
   7189 	|| toupper (i) != TOUPPER (i))
   7190       return 2;
   7191   return 0;
   7192 }
   7193 _ACEOF
   7194 if ac_fn_c_try_run "$LINENO"; then :
   7195 
   7196 else
   7197   ac_cv_header_stdc=no
   7198 fi
   7199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7200   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7201 fi
   7202 
   7203 fi
   7204 fi
   7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7206 $as_echo "$ac_cv_header_stdc" >&6; }
   7207 if test $ac_cv_header_stdc = yes; then
   7208 
   7209 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7210 
   7211 fi
   7212 
   7213 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7214 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7215 		  inttypes.h stdint.h unistd.h
   7216 do :
   7217   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7218 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7219 "
   7220 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7221   cat >>confdefs.h <<_ACEOF
   7222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7223 _ACEOF
   7224 
   7225 fi
   7226 
   7227 done
   7228 
   7229 
   7230 for ac_header in dlfcn.h
   7231 do :
   7232   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7233 "
   7234 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7235   cat >>confdefs.h <<_ACEOF
   7236 #define HAVE_DLFCN_H 1
   7237 _ACEOF
   7238 
   7239 fi
   7240 
   7241 done
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 # Set options
   7248 
   7249 
   7250 
   7251         enable_dlopen=no
   7252 
   7253 
   7254   enable_win32_dll=no
   7255 
   7256 
   7257             # Check whether --enable-shared was given.
   7258 if test "${enable_shared+set}" = set; then :
   7259   enableval=$enable_shared; p=${PACKAGE-default}
   7260     case $enableval in
   7261     yes) enable_shared=yes ;;
   7262     no) enable_shared=no ;;
   7263     *)
   7264       enable_shared=no
   7265       # Look at the argument we got.  We use all the common list separators.
   7266       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7267       for pkg in $enableval; do
   7268 	IFS="$lt_save_ifs"
   7269 	if test "X$pkg" = "X$p"; then
   7270 	  enable_shared=yes
   7271 	fi
   7272       done
   7273       IFS="$lt_save_ifs"
   7274       ;;
   7275     esac
   7276 else
   7277   enable_shared=yes
   7278 fi
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288   # Check whether --enable-static was given.
   7289 if test "${enable_static+set}" = set; then :
   7290   enableval=$enable_static; p=${PACKAGE-default}
   7291     case $enableval in
   7292     yes) enable_static=yes ;;
   7293     no) enable_static=no ;;
   7294     *)
   7295      enable_static=no
   7296       # Look at the argument we got.  We use all the common list separators.
   7297       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7298       for pkg in $enableval; do
   7299 	IFS="$lt_save_ifs"
   7300 	if test "X$pkg" = "X$p"; then
   7301 	  enable_static=yes
   7302 	fi
   7303       done
   7304       IFS="$lt_save_ifs"
   7305       ;;
   7306     esac
   7307 else
   7308   enable_static=yes
   7309 fi
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 # Check whether --with-pic was given.
   7321 if test "${with_pic+set}" = set; then :
   7322   withval=$with_pic; pic_mode="$withval"
   7323 else
   7324   pic_mode=default
   7325 fi
   7326 
   7327 
   7328 test -z "$pic_mode" && pic_mode=default
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 
   7336   # Check whether --enable-fast-install was given.
   7337 if test "${enable_fast_install+set}" = set; then :
   7338   enableval=$enable_fast_install; p=${PACKAGE-default}
   7339     case $enableval in
   7340     yes) enable_fast_install=yes ;;
   7341     no) enable_fast_install=no ;;
   7342     *)
   7343       enable_fast_install=no
   7344       # Look at the argument we got.  We use all the common list separators.
   7345       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7346       for pkg in $enableval; do
   7347 	IFS="$lt_save_ifs"
   7348 	if test "X$pkg" = "X$p"; then
   7349 	  enable_fast_install=yes
   7350 	fi
   7351       done
   7352       IFS="$lt_save_ifs"
   7353       ;;
   7354     esac
   7355 else
   7356   enable_fast_install=yes
   7357 fi
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 # This can be used to rebuild libtool when needed
   7370 LIBTOOL_DEPS="$ltmain"
   7371 
   7372 # Always use our own libtool.
   7373 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 test -z "$LN_S" && LN_S="ln -s"
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 if test -n "${ZSH_VERSION+set}" ; then
   7416    setopt NO_GLOB_SUBST
   7417 fi
   7418 
   7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7420 $as_echo_n "checking for objdir... " >&6; }
   7421 if ${lt_cv_objdir+:} false; then :
   7422   $as_echo_n "(cached) " >&6
   7423 else
   7424   rm -f .libs 2>/dev/null
   7425 mkdir .libs 2>/dev/null
   7426 if test -d .libs; then
   7427   lt_cv_objdir=.libs
   7428 else
   7429   # MS-DOS does not allow filenames that begin with a dot.
   7430   lt_cv_objdir=_libs
   7431 fi
   7432 rmdir .libs 2>/dev/null
   7433 fi
   7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7435 $as_echo "$lt_cv_objdir" >&6; }
   7436 objdir=$lt_cv_objdir
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 cat >>confdefs.h <<_ACEOF
   7443 #define LT_OBJDIR "$lt_cv_objdir/"
   7444 _ACEOF
   7445 
   7446 
   7447 
   7448 
   7449 case $host_os in
   7450 aix3*)
   7451   # AIX sometimes has problems with the GCC collect2 program.  For some
   7452   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7453   # vanish in a puff of smoke.
   7454   if test "X${COLLECT_NAMES+set}" != Xset; then
   7455     COLLECT_NAMES=
   7456     export COLLECT_NAMES
   7457   fi
   7458   ;;
   7459 esac
   7460 
   7461 # Global variables:
   7462 ofile=libtool
   7463 can_build_shared=yes
   7464 
   7465 # All known linkers require a `.a' archive for static linking (except MSVC,
   7466 # which needs '.lib').
   7467 libext=a
   7468 
   7469 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7470 
   7471 old_CC="$CC"
   7472 old_CFLAGS="$CFLAGS"
   7473 
   7474 # Set sane defaults for various variables
   7475 test -z "$CC" && CC=cc
   7476 test -z "$LTCC" && LTCC=$CC
   7477 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7478 test -z "$LD" && LD=ld
   7479 test -z "$ac_objext" && ac_objext=o
   7480 
   7481 for cc_temp in $compiler""; do
   7482   case $cc_temp in
   7483     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7484     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7485     \-*) ;;
   7486     *) break;;
   7487   esac
   7488 done
   7489 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7490 
   7491 
   7492 # Only perform the check for file, if the check method requires it
   7493 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7494 case $deplibs_check_method in
   7495 file_magic*)
   7496   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7497     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7498 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7499 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7500   $as_echo_n "(cached) " >&6
   7501 else
   7502   case $MAGIC_CMD in
   7503 [\\/*] |  ?:[\\/]*)
   7504   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7505   ;;
   7506 *)
   7507   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7508   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7509   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7510   for ac_dir in $ac_dummy; do
   7511     IFS="$lt_save_ifs"
   7512     test -z "$ac_dir" && ac_dir=.
   7513     if test -f $ac_dir/${ac_tool_prefix}file; then
   7514       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7515       if test -n "$file_magic_test_file"; then
   7516 	case $deplibs_check_method in
   7517 	"file_magic "*)
   7518 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7519 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7520 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7521 	    $EGREP "$file_magic_regex" > /dev/null; then
   7522 	    :
   7523 	  else
   7524 	    cat <<_LT_EOF 1>&2
   7525 
   7526 *** Warning: the command libtool uses to detect shared libraries,
   7527 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7528 *** The result is that libtool may fail to recognize shared libraries
   7529 *** as such.  This will affect the creation of libtool libraries that
   7530 *** depend on shared libraries, but programs linked with such libtool
   7531 *** libraries will work regardless of this problem.  Nevertheless, you
   7532 *** may want to report the problem to your system manager and/or to
   7533 *** bug-libtool@gnu.org
   7534 
   7535 _LT_EOF
   7536 	  fi ;;
   7537 	esac
   7538       fi
   7539       break
   7540     fi
   7541   done
   7542   IFS="$lt_save_ifs"
   7543   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7544   ;;
   7545 esac
   7546 fi
   7547 
   7548 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7549 if test -n "$MAGIC_CMD"; then
   7550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7551 $as_echo "$MAGIC_CMD" >&6; }
   7552 else
   7553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7554 $as_echo "no" >&6; }
   7555 fi
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7562   if test -n "$ac_tool_prefix"; then
   7563     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7564 $as_echo_n "checking for file... " >&6; }
   7565 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7566   $as_echo_n "(cached) " >&6
   7567 else
   7568   case $MAGIC_CMD in
   7569 [\\/*] |  ?:[\\/]*)
   7570   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7571   ;;
   7572 *)
   7573   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7574   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7575   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7576   for ac_dir in $ac_dummy; do
   7577     IFS="$lt_save_ifs"
   7578     test -z "$ac_dir" && ac_dir=.
   7579     if test -f $ac_dir/file; then
   7580       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7581       if test -n "$file_magic_test_file"; then
   7582 	case $deplibs_check_method in
   7583 	"file_magic "*)
   7584 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7585 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7586 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7587 	    $EGREP "$file_magic_regex" > /dev/null; then
   7588 	    :
   7589 	  else
   7590 	    cat <<_LT_EOF 1>&2
   7591 
   7592 *** Warning: the command libtool uses to detect shared libraries,
   7593 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7594 *** The result is that libtool may fail to recognize shared libraries
   7595 *** as such.  This will affect the creation of libtool libraries that
   7596 *** depend on shared libraries, but programs linked with such libtool
   7597 *** libraries will work regardless of this problem.  Nevertheless, you
   7598 *** may want to report the problem to your system manager and/or to
   7599 *** bug-libtool@gnu.org
   7600 
   7601 _LT_EOF
   7602 	  fi ;;
   7603 	esac
   7604       fi
   7605       break
   7606     fi
   7607   done
   7608   IFS="$lt_save_ifs"
   7609   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7610   ;;
   7611 esac
   7612 fi
   7613 
   7614 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7615 if test -n "$MAGIC_CMD"; then
   7616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7617 $as_echo "$MAGIC_CMD" >&6; }
   7618 else
   7619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7620 $as_echo "no" >&6; }
   7621 fi
   7622 
   7623 
   7624   else
   7625     MAGIC_CMD=:
   7626   fi
   7627 fi
   7628 
   7629   fi
   7630   ;;
   7631 esac
   7632 
   7633 # Use C for the default configuration in the libtool script
   7634 
   7635 lt_save_CC="$CC"
   7636 ac_ext=c
   7637 ac_cpp='$CPP $CPPFLAGS'
   7638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7641 
   7642 
   7643 # Source file extension for C test sources.
   7644 ac_ext=c
   7645 
   7646 # Object file extension for compiled C test sources.
   7647 objext=o
   7648 objext=$objext
   7649 
   7650 # Code to be used in simple compile tests
   7651 lt_simple_compile_test_code="int some_variable = 0;"
   7652 
   7653 # Code to be used in simple link tests
   7654 lt_simple_link_test_code='int main(){return(0);}'
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 # If no C compiler was specified, use CC.
   7663 LTCC=${LTCC-"$CC"}
   7664 
   7665 # If no C compiler flags were specified, use CFLAGS.
   7666 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7667 
   7668 # Allow CC to be a program name with arguments.
   7669 compiler=$CC
   7670 
   7671 # Save the default compiler, since it gets overwritten when the other
   7672 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7673 compiler_DEFAULT=$CC
   7674 
   7675 # save warnings/boilerplate of simple test code
   7676 ac_outfile=conftest.$ac_objext
   7677 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7678 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7679 _lt_compiler_boilerplate=`cat conftest.err`
   7680 $RM conftest*
   7681 
   7682 ac_outfile=conftest.$ac_objext
   7683 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7684 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7685 _lt_linker_boilerplate=`cat conftest.err`
   7686 $RM -r conftest*
   7687 
   7688 
   7689 if test -n "$compiler"; then
   7690 
   7691 lt_prog_compiler_no_builtin_flag=
   7692 
   7693 if test "$GCC" = yes; then
   7694   case $cc_basename in
   7695   nvcc*)
   7696     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7697   *)
   7698     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7699   esac
   7700 
   7701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7702 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7703 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7704   $as_echo_n "(cached) " >&6
   7705 else
   7706   lt_cv_prog_compiler_rtti_exceptions=no
   7707    ac_outfile=conftest.$ac_objext
   7708    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7709    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7710    # Insert the option either (1) after the last *FLAGS variable, or
   7711    # (2) before a word containing "conftest.", or (3) at the end.
   7712    # Note that $ac_compile itself does not contain backslashes and begins
   7713    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7714    # The option is referenced via a variable to avoid confusing sed.
   7715    lt_compile=`echo "$ac_compile" | $SED \
   7716    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7717    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7718    -e 's:$: $lt_compiler_flag:'`
   7719    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7720    (eval "$lt_compile" 2>conftest.err)
   7721    ac_status=$?
   7722    cat conftest.err >&5
   7723    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7724    if (exit $ac_status) && test -s "$ac_outfile"; then
   7725      # The compiler can only warn and ignore the option if not recognized
   7726      # So say no if there are warnings other than the usual output.
   7727      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7728      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7729      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7730        lt_cv_prog_compiler_rtti_exceptions=yes
   7731      fi
   7732    fi
   7733    $RM conftest*
   7734 
   7735 fi
   7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7737 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7738 
   7739 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7740     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7741 else
   7742     :
   7743 fi
   7744 
   7745 fi
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752   lt_prog_compiler_wl=
   7753 lt_prog_compiler_pic=
   7754 lt_prog_compiler_static=
   7755 
   7756 
   7757   if test "$GCC" = yes; then
   7758     lt_prog_compiler_wl='-Wl,'
   7759     lt_prog_compiler_static='-static'
   7760 
   7761     case $host_os in
   7762       aix*)
   7763       # All AIX code is PIC.
   7764       if test "$host_cpu" = ia64; then
   7765 	# AIX 5 now supports IA64 processor
   7766 	lt_prog_compiler_static='-Bstatic'
   7767       fi
   7768       ;;
   7769 
   7770     amigaos*)
   7771       case $host_cpu in
   7772       powerpc)
   7773             # see comment about AmigaOS4 .so support
   7774             lt_prog_compiler_pic='-fPIC'
   7775         ;;
   7776       m68k)
   7777             # FIXME: we need at least 68020 code to build shared libraries, but
   7778             # adding the `-m68020' flag to GCC prevents building anything better,
   7779             # like `-m68040'.
   7780             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7781         ;;
   7782       esac
   7783       ;;
   7784 
   7785     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7786       # PIC is the default for these OSes.
   7787       ;;
   7788 
   7789     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7790       # This hack is so that the source file can tell whether it is being
   7791       # built for inclusion in a dll (and should export symbols for example).
   7792       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7793       # (--disable-auto-import) libraries
   7794       lt_prog_compiler_pic='-DDLL_EXPORT'
   7795       ;;
   7796 
   7797     darwin* | rhapsody*)
   7798       # PIC is the default on this platform
   7799       # Common symbols not allowed in MH_DYLIB files
   7800       lt_prog_compiler_pic='-fno-common'
   7801       ;;
   7802 
   7803     haiku*)
   7804       # PIC is the default for Haiku.
   7805       # The "-static" flag exists, but is broken.
   7806       lt_prog_compiler_static=
   7807       ;;
   7808 
   7809     hpux*)
   7810       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7811       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7812       # sets the default TLS model and affects inlining.
   7813       case $host_cpu in
   7814       hppa*64*)
   7815 	# +Z the default
   7816 	;;
   7817       *)
   7818 	lt_prog_compiler_pic='-fPIC'
   7819 	;;
   7820       esac
   7821       ;;
   7822 
   7823     interix[3-9]*)
   7824       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7825       # Instead, we relocate shared libraries at runtime.
   7826       ;;
   7827 
   7828     msdosdjgpp*)
   7829       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7830       # on systems that don't support them.
   7831       lt_prog_compiler_can_build_shared=no
   7832       enable_shared=no
   7833       ;;
   7834 
   7835     *nto* | *qnx*)
   7836       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7837       # it will coredump.
   7838       lt_prog_compiler_pic='-fPIC -shared'
   7839       ;;
   7840 
   7841     sysv4*MP*)
   7842       if test -d /usr/nec; then
   7843 	lt_prog_compiler_pic=-Kconform_pic
   7844       fi
   7845       ;;
   7846 
   7847     *)
   7848       lt_prog_compiler_pic='-fPIC'
   7849       ;;
   7850     esac
   7851 
   7852     case $cc_basename in
   7853     nvcc*) # Cuda Compiler Driver 2.2
   7854       lt_prog_compiler_wl='-Xlinker '
   7855       lt_prog_compiler_pic='-Xcompiler -fPIC'
   7856       ;;
   7857     esac
   7858   else
   7859     # PORTME Check for flag to pass linker flags through the system compiler.
   7860     case $host_os in
   7861     aix*)
   7862       lt_prog_compiler_wl='-Wl,'
   7863       if test "$host_cpu" = ia64; then
   7864 	# AIX 5 now supports IA64 processor
   7865 	lt_prog_compiler_static='-Bstatic'
   7866       else
   7867 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7868       fi
   7869       ;;
   7870 
   7871     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7872       # This hack is so that the source file can tell whether it is being
   7873       # built for inclusion in a dll (and should export symbols for example).
   7874       lt_prog_compiler_pic='-DDLL_EXPORT'
   7875       ;;
   7876 
   7877     hpux9* | hpux10* | hpux11*)
   7878       lt_prog_compiler_wl='-Wl,'
   7879       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7880       # not for PA HP-UX.
   7881       case $host_cpu in
   7882       hppa*64*|ia64*)
   7883 	# +Z the default
   7884 	;;
   7885       *)
   7886 	lt_prog_compiler_pic='+Z'
   7887 	;;
   7888       esac
   7889       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7890       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7891       ;;
   7892 
   7893     irix5* | irix6* | nonstopux*)
   7894       lt_prog_compiler_wl='-Wl,'
   7895       # PIC (with -KPIC) is the default.
   7896       lt_prog_compiler_static='-non_shared'
   7897       ;;
   7898 
   7899     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   7900       case $cc_basename in
   7901       # old Intel for x86_64 which still supported -KPIC.
   7902       ecc*)
   7903 	lt_prog_compiler_wl='-Wl,'
   7904 	lt_prog_compiler_pic='-KPIC'
   7905 	lt_prog_compiler_static='-static'
   7906         ;;
   7907       # icc used to be incompatible with GCC.
   7908       # ICC 10 doesn't accept -KPIC any more.
   7909       icc* | ifort*)
   7910 	lt_prog_compiler_wl='-Wl,'
   7911 	lt_prog_compiler_pic='-fPIC'
   7912 	lt_prog_compiler_static='-static'
   7913         ;;
   7914       # Lahey Fortran 8.1.
   7915       lf95*)
   7916 	lt_prog_compiler_wl='-Wl,'
   7917 	lt_prog_compiler_pic='--shared'
   7918 	lt_prog_compiler_static='--static'
   7919 	;;
   7920       nagfor*)
   7921 	# NAG Fortran compiler
   7922 	lt_prog_compiler_wl='-Wl,-Wl,,'
   7923 	lt_prog_compiler_pic='-PIC'
   7924 	lt_prog_compiler_static='-Bstatic'
   7925 	;;
   7926       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   7927         # Portland Group compilers (*not* the Pentium gcc compiler,
   7928 	# which looks to be a dead project)
   7929 	lt_prog_compiler_wl='-Wl,'
   7930 	lt_prog_compiler_pic='-fpic'
   7931 	lt_prog_compiler_static='-Bstatic'
   7932         ;;
   7933       ccc*)
   7934         lt_prog_compiler_wl='-Wl,'
   7935         # All Alpha code is PIC.
   7936         lt_prog_compiler_static='-non_shared'
   7937         ;;
   7938       xl* | bgxl* | bgf* | mpixl*)
   7939 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   7940 	lt_prog_compiler_wl='-Wl,'
   7941 	lt_prog_compiler_pic='-qpic'
   7942 	lt_prog_compiler_static='-qstaticlink'
   7943 	;;
   7944       *)
   7945 	case `$CC -V 2>&1 | sed 5q` in
   7946 	*Sun\ F* | *Sun*Fortran*)
   7947 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7948 	  lt_prog_compiler_pic='-KPIC'
   7949 	  lt_prog_compiler_static='-Bstatic'
   7950 	  lt_prog_compiler_wl=''
   7951 	  ;;
   7952 	*Sun\ C*)
   7953 	  # Sun C 5.9
   7954 	  lt_prog_compiler_pic='-KPIC'
   7955 	  lt_prog_compiler_static='-Bstatic'
   7956 	  lt_prog_compiler_wl='-Wl,'
   7957 	  ;;
   7958 	esac
   7959 	;;
   7960       esac
   7961       ;;
   7962 
   7963     newsos6)
   7964       lt_prog_compiler_pic='-KPIC'
   7965       lt_prog_compiler_static='-Bstatic'
   7966       ;;
   7967 
   7968     *nto* | *qnx*)
   7969       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7970       # it will coredump.
   7971       lt_prog_compiler_pic='-fPIC -shared'
   7972       ;;
   7973 
   7974     osf3* | osf4* | osf5*)
   7975       lt_prog_compiler_wl='-Wl,'
   7976       # All OSF/1 code is PIC.
   7977       lt_prog_compiler_static='-non_shared'
   7978       ;;
   7979 
   7980     rdos*)
   7981       lt_prog_compiler_static='-non_shared'
   7982       ;;
   7983 
   7984     solaris*)
   7985       lt_prog_compiler_pic='-KPIC'
   7986       lt_prog_compiler_static='-Bstatic'
   7987       case $cc_basename in
   7988       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   7989 	lt_prog_compiler_wl='-Qoption ld ';;
   7990       *)
   7991 	lt_prog_compiler_wl='-Wl,';;
   7992       esac
   7993       ;;
   7994 
   7995     sunos4*)
   7996       lt_prog_compiler_wl='-Qoption ld '
   7997       lt_prog_compiler_pic='-PIC'
   7998       lt_prog_compiler_static='-Bstatic'
   7999       ;;
   8000 
   8001     sysv4 | sysv4.2uw2* | sysv4.3*)
   8002       lt_prog_compiler_wl='-Wl,'
   8003       lt_prog_compiler_pic='-KPIC'
   8004       lt_prog_compiler_static='-Bstatic'
   8005       ;;
   8006 
   8007     sysv4*MP*)
   8008       if test -d /usr/nec ;then
   8009 	lt_prog_compiler_pic='-Kconform_pic'
   8010 	lt_prog_compiler_static='-Bstatic'
   8011       fi
   8012       ;;
   8013 
   8014     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8015       lt_prog_compiler_wl='-Wl,'
   8016       lt_prog_compiler_pic='-KPIC'
   8017       lt_prog_compiler_static='-Bstatic'
   8018       ;;
   8019 
   8020     unicos*)
   8021       lt_prog_compiler_wl='-Wl,'
   8022       lt_prog_compiler_can_build_shared=no
   8023       ;;
   8024 
   8025     uts4*)
   8026       lt_prog_compiler_pic='-pic'
   8027       lt_prog_compiler_static='-Bstatic'
   8028       ;;
   8029 
   8030     *)
   8031       lt_prog_compiler_can_build_shared=no
   8032       ;;
   8033     esac
   8034   fi
   8035 
   8036 case $host_os in
   8037   # For platforms which do not support PIC, -DPIC is meaningless:
   8038   *djgpp*)
   8039     lt_prog_compiler_pic=
   8040     ;;
   8041   *)
   8042     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8043     ;;
   8044 esac
   8045 
   8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8047 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8048 if ${lt_cv_prog_compiler_pic+:} false; then :
   8049   $as_echo_n "(cached) " >&6
   8050 else
   8051   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8052 fi
   8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8054 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8055 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8056 
   8057 #
   8058 # Check to make sure the PIC flag actually works.
   8059 #
   8060 if test -n "$lt_prog_compiler_pic"; then
   8061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8062 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8063 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8064   $as_echo_n "(cached) " >&6
   8065 else
   8066   lt_cv_prog_compiler_pic_works=no
   8067    ac_outfile=conftest.$ac_objext
   8068    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8069    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8070    # Insert the option either (1) after the last *FLAGS variable, or
   8071    # (2) before a word containing "conftest.", or (3) at the end.
   8072    # Note that $ac_compile itself does not contain backslashes and begins
   8073    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8074    # The option is referenced via a variable to avoid confusing sed.
   8075    lt_compile=`echo "$ac_compile" | $SED \
   8076    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8077    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8078    -e 's:$: $lt_compiler_flag:'`
   8079    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8080    (eval "$lt_compile" 2>conftest.err)
   8081    ac_status=$?
   8082    cat conftest.err >&5
   8083    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8084    if (exit $ac_status) && test -s "$ac_outfile"; then
   8085      # The compiler can only warn and ignore the option if not recognized
   8086      # So say no if there are warnings other than the usual output.
   8087      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8088      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8089      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8090        lt_cv_prog_compiler_pic_works=yes
   8091      fi
   8092    fi
   8093    $RM conftest*
   8094 
   8095 fi
   8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8097 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8098 
   8099 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8100     case $lt_prog_compiler_pic in
   8101      "" | " "*) ;;
   8102      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8103      esac
   8104 else
   8105     lt_prog_compiler_pic=
   8106      lt_prog_compiler_can_build_shared=no
   8107 fi
   8108 
   8109 fi
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 #
   8122 # Check to make sure the static flag actually works.
   8123 #
   8124 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8126 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8127 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8128   $as_echo_n "(cached) " >&6
   8129 else
   8130   lt_cv_prog_compiler_static_works=no
   8131    save_LDFLAGS="$LDFLAGS"
   8132    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8133    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8134    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8135      # The linker can only warn and ignore the option if not recognized
   8136      # So say no if there are warnings
   8137      if test -s conftest.err; then
   8138        # Append any errors to the config.log.
   8139        cat conftest.err 1>&5
   8140        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8141        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8142        if diff conftest.exp conftest.er2 >/dev/null; then
   8143          lt_cv_prog_compiler_static_works=yes
   8144        fi
   8145      else
   8146        lt_cv_prog_compiler_static_works=yes
   8147      fi
   8148    fi
   8149    $RM -r conftest*
   8150    LDFLAGS="$save_LDFLAGS"
   8151 
   8152 fi
   8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8154 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8155 
   8156 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8157     :
   8158 else
   8159     lt_prog_compiler_static=
   8160 fi
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8169 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8170 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8171   $as_echo_n "(cached) " >&6
   8172 else
   8173   lt_cv_prog_compiler_c_o=no
   8174    $RM -r conftest 2>/dev/null
   8175    mkdir conftest
   8176    cd conftest
   8177    mkdir out
   8178    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8179 
   8180    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8181    # Insert the option either (1) after the last *FLAGS variable, or
   8182    # (2) before a word containing "conftest.", or (3) at the end.
   8183    # Note that $ac_compile itself does not contain backslashes and begins
   8184    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8185    lt_compile=`echo "$ac_compile" | $SED \
   8186    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8187    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8188    -e 's:$: $lt_compiler_flag:'`
   8189    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8190    (eval "$lt_compile" 2>out/conftest.err)
   8191    ac_status=$?
   8192    cat out/conftest.err >&5
   8193    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8194    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8195    then
   8196      # The compiler can only warn and ignore the option if not recognized
   8197      # So say no if there are warnings
   8198      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8199      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8200      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8201        lt_cv_prog_compiler_c_o=yes
   8202      fi
   8203    fi
   8204    chmod u+w . 2>&5
   8205    $RM conftest*
   8206    # SGI C++ compiler will create directory out/ii_files/ for
   8207    # template instantiation
   8208    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8209    $RM out/* && rmdir out
   8210    cd ..
   8211    $RM -r conftest
   8212    $RM conftest*
   8213 
   8214 fi
   8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8216 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8224 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8225 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8226   $as_echo_n "(cached) " >&6
   8227 else
   8228   lt_cv_prog_compiler_c_o=no
   8229    $RM -r conftest 2>/dev/null
   8230    mkdir conftest
   8231    cd conftest
   8232    mkdir out
   8233    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8234 
   8235    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8236    # Insert the option either (1) after the last *FLAGS variable, or
   8237    # (2) before a word containing "conftest.", or (3) at the end.
   8238    # Note that $ac_compile itself does not contain backslashes and begins
   8239    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8240    lt_compile=`echo "$ac_compile" | $SED \
   8241    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8242    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8243    -e 's:$: $lt_compiler_flag:'`
   8244    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8245    (eval "$lt_compile" 2>out/conftest.err)
   8246    ac_status=$?
   8247    cat out/conftest.err >&5
   8248    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8249    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8250    then
   8251      # The compiler can only warn and ignore the option if not recognized
   8252      # So say no if there are warnings
   8253      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8254      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8255      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8256        lt_cv_prog_compiler_c_o=yes
   8257      fi
   8258    fi
   8259    chmod u+w . 2>&5
   8260    $RM conftest*
   8261    # SGI C++ compiler will create directory out/ii_files/ for
   8262    # template instantiation
   8263    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8264    $RM out/* && rmdir out
   8265    cd ..
   8266    $RM -r conftest
   8267    $RM conftest*
   8268 
   8269 fi
   8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8271 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8272 
   8273 
   8274 
   8275 
   8276 hard_links="nottested"
   8277 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8278   # do not overwrite the value of need_locks provided by the user
   8279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8280 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8281   hard_links=yes
   8282   $RM conftest*
   8283   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8284   touch conftest.a
   8285   ln conftest.a conftest.b 2>&5 || hard_links=no
   8286   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8288 $as_echo "$hard_links" >&6; }
   8289   if test "$hard_links" = no; then
   8290     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8291 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8292     need_locks=warn
   8293   fi
   8294 else
   8295   need_locks=no
   8296 fi
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8304 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8305 
   8306   runpath_var=
   8307   allow_undefined_flag=
   8308   always_export_symbols=no
   8309   archive_cmds=
   8310   archive_expsym_cmds=
   8311   compiler_needs_object=no
   8312   enable_shared_with_static_runtimes=no
   8313   export_dynamic_flag_spec=
   8314   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8315   hardcode_automatic=no
   8316   hardcode_direct=no
   8317   hardcode_direct_absolute=no
   8318   hardcode_libdir_flag_spec=
   8319   hardcode_libdir_flag_spec_ld=
   8320   hardcode_libdir_separator=
   8321   hardcode_minus_L=no
   8322   hardcode_shlibpath_var=unsupported
   8323   inherit_rpath=no
   8324   link_all_deplibs=unknown
   8325   module_cmds=
   8326   module_expsym_cmds=
   8327   old_archive_from_new_cmds=
   8328   old_archive_from_expsyms_cmds=
   8329   thread_safe_flag_spec=
   8330   whole_archive_flag_spec=
   8331   # include_expsyms should be a list of space-separated symbols to be *always*
   8332   # included in the symbol list
   8333   include_expsyms=
   8334   # exclude_expsyms can be an extended regexp of symbols to exclude
   8335   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8336   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8337   # as well as any symbol that contains `d'.
   8338   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8339   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8340   # platforms (ab)use it in PIC code, but their linkers get confused if
   8341   # the symbol is explicitly referenced.  Since portable code cannot
   8342   # rely on this symbol name, it's probably fine to never include it in
   8343   # preloaded symbol tables.
   8344   # Exclude shared library initialization/finalization symbols.
   8345   extract_expsyms_cmds=
   8346 
   8347   case $host_os in
   8348   cygwin* | mingw* | pw32* | cegcc*)
   8349     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8350     # When not using gcc, we currently assume that we are using
   8351     # Microsoft Visual C++.
   8352     if test "$GCC" != yes; then
   8353       with_gnu_ld=no
   8354     fi
   8355     ;;
   8356   interix*)
   8357     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8358     with_gnu_ld=yes
   8359     ;;
   8360   openbsd*)
   8361     with_gnu_ld=no
   8362     ;;
   8363   esac
   8364 
   8365   ld_shlibs=yes
   8366 
   8367   # On some targets, GNU ld is compatible enough with the native linker
   8368   # that we're better off using the native interface for both.
   8369   lt_use_gnu_ld_interface=no
   8370   if test "$with_gnu_ld" = yes; then
   8371     case $host_os in
   8372       aix*)
   8373 	# The AIX port of GNU ld has always aspired to compatibility
   8374 	# with the native linker.  However, as the warning in the GNU ld
   8375 	# block says, versions before 2.19.5* couldn't really create working
   8376 	# shared libraries, regardless of the interface used.
   8377 	case `$LD -v 2>&1` in
   8378 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8379 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8380 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8381 	  *)
   8382 	    lt_use_gnu_ld_interface=yes
   8383 	    ;;
   8384 	esac
   8385 	;;
   8386       *)
   8387 	lt_use_gnu_ld_interface=yes
   8388 	;;
   8389     esac
   8390   fi
   8391 
   8392   if test "$lt_use_gnu_ld_interface" = yes; then
   8393     # If archive_cmds runs LD, not CC, wlarc should be empty
   8394     wlarc='${wl}'
   8395 
   8396     # Set some defaults for GNU ld with shared library support. These
   8397     # are reset later if shared libraries are not supported. Putting them
   8398     # here allows them to be overridden if necessary.
   8399     runpath_var=LD_RUN_PATH
   8400     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8401     export_dynamic_flag_spec='${wl}--export-dynamic'
   8402     # ancient GNU ld didn't support --whole-archive et. al.
   8403     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8404       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8405     else
   8406       whole_archive_flag_spec=
   8407     fi
   8408     supports_anon_versioning=no
   8409     case `$LD -v 2>&1` in
   8410       *GNU\ gold*) supports_anon_versioning=yes ;;
   8411       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8412       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8413       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8414       *\ 2.11.*) ;; # other 2.11 versions
   8415       *) supports_anon_versioning=yes ;;
   8416     esac
   8417 
   8418     # See if GNU ld supports shared libraries.
   8419     case $host_os in
   8420     aix[3-9]*)
   8421       # On AIX/PPC, the GNU linker is very broken
   8422       if test "$host_cpu" != ia64; then
   8423 	ld_shlibs=no
   8424 	cat <<_LT_EOF 1>&2
   8425 
   8426 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8427 *** to be unable to reliably create shared libraries on AIX.
   8428 *** Therefore, libtool is disabling shared libraries support.  If you
   8429 *** really care for shared libraries, you may want to install binutils
   8430 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8431 *** You will then need to restart the configuration process.
   8432 
   8433 _LT_EOF
   8434       fi
   8435       ;;
   8436 
   8437     amigaos*)
   8438       case $host_cpu in
   8439       powerpc)
   8440             # see comment about AmigaOS4 .so support
   8441             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8442             archive_expsym_cmds=''
   8443         ;;
   8444       m68k)
   8445             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)'
   8446             hardcode_libdir_flag_spec='-L$libdir'
   8447             hardcode_minus_L=yes
   8448         ;;
   8449       esac
   8450       ;;
   8451 
   8452     beos*)
   8453       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8454 	allow_undefined_flag=unsupported
   8455 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8456 	# support --undefined.  This deserves some investigation.  FIXME
   8457 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8458       else
   8459 	ld_shlibs=no
   8460       fi
   8461       ;;
   8462 
   8463     cygwin* | mingw* | pw32* | cegcc*)
   8464       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8465       # as there is no search path for DLLs.
   8466       hardcode_libdir_flag_spec='-L$libdir'
   8467       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8468       allow_undefined_flag=unsupported
   8469       always_export_symbols=no
   8470       enable_shared_with_static_runtimes=yes
   8471       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'
   8472       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8473 
   8474       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8475         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8476 	# If the export-symbols file already is a .def file (1st line
   8477 	# is EXPORTS), use it as is; otherwise, prepend...
   8478 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8479 	  cp $export_symbols $output_objdir/$soname.def;
   8480 	else
   8481 	  echo EXPORTS > $output_objdir/$soname.def;
   8482 	  cat $export_symbols >> $output_objdir/$soname.def;
   8483 	fi~
   8484 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8485       else
   8486 	ld_shlibs=no
   8487       fi
   8488       ;;
   8489 
   8490     haiku*)
   8491       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8492       link_all_deplibs=yes
   8493       ;;
   8494 
   8495     interix[3-9]*)
   8496       hardcode_direct=no
   8497       hardcode_shlibpath_var=no
   8498       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8499       export_dynamic_flag_spec='${wl}-E'
   8500       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8501       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8502       # default) and relocated if they conflict, which is a slow very memory
   8503       # consuming and fragmenting process.  To avoid this, we pick a random,
   8504       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8505       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8506       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8507       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'
   8508       ;;
   8509 
   8510     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8511       tmp_diet=no
   8512       if test "$host_os" = linux-dietlibc; then
   8513 	case $cc_basename in
   8514 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8515 	esac
   8516       fi
   8517       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8518 	 && test "$tmp_diet" = no
   8519       then
   8520 	tmp_addflag=' $pic_flag'
   8521 	tmp_sharedflag='-shared'
   8522 	case $cc_basename,$host_cpu in
   8523         pgcc*)				# Portland Group C compiler
   8524 	  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'
   8525 	  tmp_addflag=' $pic_flag'
   8526 	  ;;
   8527 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8528 					# Portland Group f77 and f90 compilers
   8529 	  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'
   8530 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8531 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8532 	  tmp_addflag=' -i_dynamic' ;;
   8533 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8534 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8535 	ifc* | ifort*)			# Intel Fortran compiler
   8536 	  tmp_addflag=' -nofor_main' ;;
   8537 	lf95*)				# Lahey Fortran 8.1
   8538 	  whole_archive_flag_spec=
   8539 	  tmp_sharedflag='--shared' ;;
   8540 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8541 	  tmp_sharedflag='-qmkshrobj'
   8542 	  tmp_addflag= ;;
   8543 	nvcc*)	# Cuda Compiler Driver 2.2
   8544 	  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'
   8545 	  compiler_needs_object=yes
   8546 	  ;;
   8547 	esac
   8548 	case `$CC -V 2>&1 | sed 5q` in
   8549 	*Sun\ C*)			# Sun C 5.9
   8550 	  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'
   8551 	  compiler_needs_object=yes
   8552 	  tmp_sharedflag='-G' ;;
   8553 	*Sun\ F*)			# Sun Fortran 8.3
   8554 	  tmp_sharedflag='-G' ;;
   8555 	esac
   8556 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8557 
   8558         if test "x$supports_anon_versioning" = xyes; then
   8559           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8560 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8561 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8562 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8563         fi
   8564 
   8565 	case $cc_basename in
   8566 	xlf* | bgf* | bgxlf* | mpixlf*)
   8567 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8568 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8569 	  hardcode_libdir_flag_spec=
   8570 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8571 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8572 	  if test "x$supports_anon_versioning" = xyes; then
   8573 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8574 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8575 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8576 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8577 	  fi
   8578 	  ;;
   8579 	esac
   8580       else
   8581         ld_shlibs=no
   8582       fi
   8583       ;;
   8584 
   8585     netbsd*)
   8586       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8587 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8588 	wlarc=
   8589       else
   8590 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8591 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8592       fi
   8593       ;;
   8594 
   8595     solaris*)
   8596       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8597 	ld_shlibs=no
   8598 	cat <<_LT_EOF 1>&2
   8599 
   8600 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8601 *** create shared libraries on Solaris systems.  Therefore, libtool
   8602 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8603 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8604 *** your PATH or compiler configuration so that the native linker is
   8605 *** used, and then restart.
   8606 
   8607 _LT_EOF
   8608       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8609 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8610 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8611       else
   8612 	ld_shlibs=no
   8613       fi
   8614       ;;
   8615 
   8616     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8617       case `$LD -v 2>&1` in
   8618         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8619 	ld_shlibs=no
   8620 	cat <<_LT_EOF 1>&2
   8621 
   8622 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8623 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8624 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8625 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8626 *** your PATH or compiler configuration so that the native linker is
   8627 *** used, and then restart.
   8628 
   8629 _LT_EOF
   8630 	;;
   8631 	*)
   8632 	  # For security reasons, it is highly recommended that you always
   8633 	  # use absolute paths for naming shared libraries, and exclude the
   8634 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8635 	  # requires that you compile everything twice, which is a pain.
   8636 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8637 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8638 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8639 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8640 	  else
   8641 	    ld_shlibs=no
   8642 	  fi
   8643 	;;
   8644       esac
   8645       ;;
   8646 
   8647     sunos4*)
   8648       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8649       wlarc=
   8650       hardcode_direct=yes
   8651       hardcode_shlibpath_var=no
   8652       ;;
   8653 
   8654     *)
   8655       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8656 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8657 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8658       else
   8659 	ld_shlibs=no
   8660       fi
   8661       ;;
   8662     esac
   8663 
   8664     if test "$ld_shlibs" = no; then
   8665       runpath_var=
   8666       hardcode_libdir_flag_spec=
   8667       export_dynamic_flag_spec=
   8668       whole_archive_flag_spec=
   8669     fi
   8670   else
   8671     # PORTME fill in a description of your system's linker (not GNU ld)
   8672     case $host_os in
   8673     aix3*)
   8674       allow_undefined_flag=unsupported
   8675       always_export_symbols=yes
   8676       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'
   8677       # Note: this linker hardcodes the directories in LIBPATH if there
   8678       # are no directories specified by -L.
   8679       hardcode_minus_L=yes
   8680       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8681 	# Neither direct hardcoding nor static linking is supported with a
   8682 	# broken collect2.
   8683 	hardcode_direct=unsupported
   8684       fi
   8685       ;;
   8686 
   8687     aix[4-9]*)
   8688       if test "$host_cpu" = ia64; then
   8689 	# On IA64, the linker does run time linking by default, so we don't
   8690 	# have to do anything special.
   8691 	aix_use_runtimelinking=no
   8692 	exp_sym_flag='-Bexport'
   8693 	no_entry_flag=""
   8694       else
   8695 	# If we're using GNU nm, then we don't want the "-C" option.
   8696 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8697 	# Also, AIX nm treats weak defined symbols like other global
   8698 	# defined symbols, whereas GNU nm marks them as "W".
   8699 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8700 	  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'
   8701 	else
   8702 	  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'
   8703 	fi
   8704 	aix_use_runtimelinking=no
   8705 
   8706 	# Test if we are trying to use run time linking or normal
   8707 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8708 	# need to do runtime linking.
   8709 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8710 	  for ld_flag in $LDFLAGS; do
   8711 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8712 	    aix_use_runtimelinking=yes
   8713 	    break
   8714 	  fi
   8715 	  done
   8716 	  ;;
   8717 	esac
   8718 
   8719 	exp_sym_flag='-bexport'
   8720 	no_entry_flag='-bnoentry'
   8721       fi
   8722 
   8723       # When large executables or shared objects are built, AIX ld can
   8724       # have problems creating the table of contents.  If linking a library
   8725       # or program results in "error TOC overflow" add -mminimal-toc to
   8726       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8727       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8728 
   8729       archive_cmds=''
   8730       hardcode_direct=yes
   8731       hardcode_direct_absolute=yes
   8732       hardcode_libdir_separator=':'
   8733       link_all_deplibs=yes
   8734       file_list_spec='${wl}-f,'
   8735 
   8736       if test "$GCC" = yes; then
   8737 	case $host_os in aix4.[012]|aix4.[012].*)
   8738 	# We only want to do this on AIX 4.2 and lower, the check
   8739 	# below for broken collect2 doesn't work under 4.3+
   8740 	  collect2name=`${CC} -print-prog-name=collect2`
   8741 	  if test -f "$collect2name" &&
   8742 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8743 	  then
   8744 	  # We have reworked collect2
   8745 	  :
   8746 	  else
   8747 	  # We have old collect2
   8748 	  hardcode_direct=unsupported
   8749 	  # It fails to find uninstalled libraries when the uninstalled
   8750 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8751 	  # to unsupported forces relinking
   8752 	  hardcode_minus_L=yes
   8753 	  hardcode_libdir_flag_spec='-L$libdir'
   8754 	  hardcode_libdir_separator=
   8755 	  fi
   8756 	  ;;
   8757 	esac
   8758 	shared_flag='-shared'
   8759 	if test "$aix_use_runtimelinking" = yes; then
   8760 	  shared_flag="$shared_flag "'${wl}-G'
   8761 	fi
   8762       else
   8763 	# not using gcc
   8764 	if test "$host_cpu" = ia64; then
   8765 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8766 	# chokes on -Wl,-G. The following line is correct:
   8767 	  shared_flag='-G'
   8768 	else
   8769 	  if test "$aix_use_runtimelinking" = yes; then
   8770 	    shared_flag='${wl}-G'
   8771 	  else
   8772 	    shared_flag='${wl}-bM:SRE'
   8773 	  fi
   8774 	fi
   8775       fi
   8776 
   8777       export_dynamic_flag_spec='${wl}-bexpall'
   8778       # It seems that -bexpall does not export symbols beginning with
   8779       # underscore (_), so it is better to generate a list of symbols to export.
   8780       always_export_symbols=yes
   8781       if test "$aix_use_runtimelinking" = yes; then
   8782 	# Warning - without using the other runtime loading flags (-brtl),
   8783 	# -berok will link without error, but may produce a broken library.
   8784 	allow_undefined_flag='-berok'
   8785         # Determine the default libpath from the value encoded in an
   8786         # empty executable.
   8787         if test "${lt_cv_aix_libpath+set}" = set; then
   8788   aix_libpath=$lt_cv_aix_libpath
   8789 else
   8790   if ${lt_cv_aix_libpath_+:} false; then :
   8791   $as_echo_n "(cached) " >&6
   8792 else
   8793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8794 /* end confdefs.h.  */
   8795 
   8796 int
   8797 main ()
   8798 {
   8799 
   8800   ;
   8801   return 0;
   8802 }
   8803 _ACEOF
   8804 if ac_fn_c_try_link "$LINENO"; then :
   8805 
   8806   lt_aix_libpath_sed='
   8807       /Import File Strings/,/^$/ {
   8808 	  /^0/ {
   8809 	      s/^0  *\([^ ]*\) *$/\1/
   8810 	      p
   8811 	  }
   8812       }'
   8813   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8814   # Check for a 64-bit object if we didn't find anything.
   8815   if test -z "$lt_cv_aix_libpath_"; then
   8816     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8817   fi
   8818 fi
   8819 rm -f core conftest.err conftest.$ac_objext \
   8820     conftest$ac_exeext conftest.$ac_ext
   8821   if test -z "$lt_cv_aix_libpath_"; then
   8822     lt_cv_aix_libpath_="/usr/lib:/lib"
   8823   fi
   8824 
   8825 fi
   8826 
   8827   aix_libpath=$lt_cv_aix_libpath_
   8828 fi
   8829 
   8830         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8831         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"
   8832       else
   8833 	if test "$host_cpu" = ia64; then
   8834 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8835 	  allow_undefined_flag="-z nodefs"
   8836 	  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"
   8837 	else
   8838 	 # Determine the default libpath from the value encoded in an
   8839 	 # empty executable.
   8840 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8841   aix_libpath=$lt_cv_aix_libpath
   8842 else
   8843   if ${lt_cv_aix_libpath_+:} false; then :
   8844   $as_echo_n "(cached) " >&6
   8845 else
   8846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8847 /* end confdefs.h.  */
   8848 
   8849 int
   8850 main ()
   8851 {
   8852 
   8853   ;
   8854   return 0;
   8855 }
   8856 _ACEOF
   8857 if ac_fn_c_try_link "$LINENO"; then :
   8858 
   8859   lt_aix_libpath_sed='
   8860       /Import File Strings/,/^$/ {
   8861 	  /^0/ {
   8862 	      s/^0  *\([^ ]*\) *$/\1/
   8863 	      p
   8864 	  }
   8865       }'
   8866   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8867   # Check for a 64-bit object if we didn't find anything.
   8868   if test -z "$lt_cv_aix_libpath_"; then
   8869     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8870   fi
   8871 fi
   8872 rm -f core conftest.err conftest.$ac_objext \
   8873     conftest$ac_exeext conftest.$ac_ext
   8874   if test -z "$lt_cv_aix_libpath_"; then
   8875     lt_cv_aix_libpath_="/usr/lib:/lib"
   8876   fi
   8877 
   8878 fi
   8879 
   8880   aix_libpath=$lt_cv_aix_libpath_
   8881 fi
   8882 
   8883 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8884 	  # Warning - without using the other run time loading flags,
   8885 	  # -berok will link without error, but may produce a broken library.
   8886 	  no_undefined_flag=' ${wl}-bernotok'
   8887 	  allow_undefined_flag=' ${wl}-berok'
   8888 	  if test "$with_gnu_ld" = yes; then
   8889 	    # We only use this code for GNU lds that support --whole-archive.
   8890 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   8891 	  else
   8892 	    # Exported symbols can be pulled into shared objects from archives
   8893 	    whole_archive_flag_spec='$convenience'
   8894 	  fi
   8895 	  archive_cmds_need_lc=yes
   8896 	  # This is similar to how AIX traditionally builds its shared libraries.
   8897 	  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'
   8898 	fi
   8899       fi
   8900       ;;
   8901 
   8902     amigaos*)
   8903       case $host_cpu in
   8904       powerpc)
   8905             # see comment about AmigaOS4 .so support
   8906             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8907             archive_expsym_cmds=''
   8908         ;;
   8909       m68k)
   8910             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)'
   8911             hardcode_libdir_flag_spec='-L$libdir'
   8912             hardcode_minus_L=yes
   8913         ;;
   8914       esac
   8915       ;;
   8916 
   8917     bsdi[45]*)
   8918       export_dynamic_flag_spec=-rdynamic
   8919       ;;
   8920 
   8921     cygwin* | mingw* | pw32* | cegcc*)
   8922       # When not using gcc, we currently assume that we are using
   8923       # Microsoft Visual C++.
   8924       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8925       # no search path for DLLs.
   8926       case $cc_basename in
   8927       cl*)
   8928 	# Native MSVC
   8929 	hardcode_libdir_flag_spec=' '
   8930 	allow_undefined_flag=unsupported
   8931 	always_export_symbols=yes
   8932 	file_list_spec='@'
   8933 	# Tell ltmain to make .lib files, not .a files.
   8934 	libext=lib
   8935 	# Tell ltmain to make .dll files, not .so files.
   8936 	shrext_cmds=".dll"
   8937 	# FIXME: Setting linknames here is a bad hack.
   8938 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   8939 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8940 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   8941 	  else
   8942 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   8943 	  fi~
   8944 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   8945 	  linknames='
   8946 	# The linker will not automatically build a static lib if we build a DLL.
   8947 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   8948 	enable_shared_with_static_runtimes=yes
   8949 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8950 	# Don't use ranlib
   8951 	old_postinstall_cmds='chmod 644 $oldlib'
   8952 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   8953 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   8954 	  case $lt_outputfile in
   8955 	    *.exe|*.EXE) ;;
   8956 	    *)
   8957 	      lt_outputfile="$lt_outputfile.exe"
   8958 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   8959 	      ;;
   8960 	  esac~
   8961 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   8962 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   8963 	    $RM "$lt_outputfile.manifest";
   8964 	  fi'
   8965 	;;
   8966       *)
   8967 	# Assume MSVC wrapper
   8968 	hardcode_libdir_flag_spec=' '
   8969 	allow_undefined_flag=unsupported
   8970 	# Tell ltmain to make .lib files, not .a files.
   8971 	libext=lib
   8972 	# Tell ltmain to make .dll files, not .so files.
   8973 	shrext_cmds=".dll"
   8974 	# FIXME: Setting linknames here is a bad hack.
   8975 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   8976 	# The linker will automatically build a .lib file if we build a DLL.
   8977 	old_archive_from_new_cmds='true'
   8978 	# FIXME: Should let the user specify the lib program.
   8979 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8980 	enable_shared_with_static_runtimes=yes
   8981 	;;
   8982       esac
   8983       ;;
   8984 
   8985     darwin* | rhapsody*)
   8986 
   8987 
   8988   archive_cmds_need_lc=no
   8989   hardcode_direct=no
   8990   hardcode_automatic=yes
   8991   hardcode_shlibpath_var=unsupported
   8992   if test "$lt_cv_ld_force_load" = "yes"; then
   8993     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\"`'
   8994   else
   8995     whole_archive_flag_spec=''
   8996   fi
   8997   link_all_deplibs=yes
   8998   allow_undefined_flag="$_lt_dar_allow_undefined"
   8999   case $cc_basename in
   9000      ifort*) _lt_dar_can_shared=yes ;;
   9001      *) _lt_dar_can_shared=$GCC ;;
   9002   esac
   9003   if test "$_lt_dar_can_shared" = "yes"; then
   9004     output_verbose_link_cmd=func_echo_all
   9005     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9006     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9007     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}"
   9008     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}"
   9009 
   9010   else
   9011   ld_shlibs=no
   9012   fi
   9013 
   9014       ;;
   9015 
   9016     dgux*)
   9017       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9018       hardcode_libdir_flag_spec='-L$libdir'
   9019       hardcode_shlibpath_var=no
   9020       ;;
   9021 
   9022     freebsd1*)
   9023       ld_shlibs=no
   9024       ;;
   9025 
   9026     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9027     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9028     # does not break anything, and helps significantly (at the cost of a little
   9029     # extra space).
   9030     freebsd2.2*)
   9031       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9032       hardcode_libdir_flag_spec='-R$libdir'
   9033       hardcode_direct=yes
   9034       hardcode_shlibpath_var=no
   9035       ;;
   9036 
   9037     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9038     freebsd2*)
   9039       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9040       hardcode_direct=yes
   9041       hardcode_minus_L=yes
   9042       hardcode_shlibpath_var=no
   9043       ;;
   9044 
   9045     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9046     freebsd* | dragonfly*)
   9047       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9048       hardcode_libdir_flag_spec='-R$libdir'
   9049       hardcode_direct=yes
   9050       hardcode_shlibpath_var=no
   9051       ;;
   9052 
   9053     hpux9*)
   9054       if test "$GCC" = yes; then
   9055 	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'
   9056       else
   9057 	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'
   9058       fi
   9059       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9060       hardcode_libdir_separator=:
   9061       hardcode_direct=yes
   9062 
   9063       # hardcode_minus_L: Not really in the search PATH,
   9064       # but as the default location of the library.
   9065       hardcode_minus_L=yes
   9066       export_dynamic_flag_spec='${wl}-E'
   9067       ;;
   9068 
   9069     hpux10*)
   9070       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9071 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9072       else
   9073 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9074       fi
   9075       if test "$with_gnu_ld" = no; then
   9076 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9077 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9078 	hardcode_libdir_separator=:
   9079 	hardcode_direct=yes
   9080 	hardcode_direct_absolute=yes
   9081 	export_dynamic_flag_spec='${wl}-E'
   9082 	# hardcode_minus_L: Not really in the search PATH,
   9083 	# but as the default location of the library.
   9084 	hardcode_minus_L=yes
   9085       fi
   9086       ;;
   9087 
   9088     hpux11*)
   9089       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9090 	case $host_cpu in
   9091 	hppa*64*)
   9092 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9093 	  ;;
   9094 	ia64*)
   9095 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9096 	  ;;
   9097 	*)
   9098 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9099 	  ;;
   9100 	esac
   9101       else
   9102 	case $host_cpu in
   9103 	hppa*64*)
   9104 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9105 	  ;;
   9106 	ia64*)
   9107 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9108 	  ;;
   9109 	*)
   9110 
   9111 	  # Older versions of the 11.00 compiler do not understand -b yet
   9112 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9113 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9114 $as_echo_n "checking if $CC understands -b... " >&6; }
   9115 if ${lt_cv_prog_compiler__b+:} false; then :
   9116   $as_echo_n "(cached) " >&6
   9117 else
   9118   lt_cv_prog_compiler__b=no
   9119    save_LDFLAGS="$LDFLAGS"
   9120    LDFLAGS="$LDFLAGS -b"
   9121    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9122    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9123      # The linker can only warn and ignore the option if not recognized
   9124      # So say no if there are warnings
   9125      if test -s conftest.err; then
   9126        # Append any errors to the config.log.
   9127        cat conftest.err 1>&5
   9128        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9129        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9130        if diff conftest.exp conftest.er2 >/dev/null; then
   9131          lt_cv_prog_compiler__b=yes
   9132        fi
   9133      else
   9134        lt_cv_prog_compiler__b=yes
   9135      fi
   9136    fi
   9137    $RM -r conftest*
   9138    LDFLAGS="$save_LDFLAGS"
   9139 
   9140 fi
   9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9142 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9143 
   9144 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9145     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9146 else
   9147     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9148 fi
   9149 
   9150 	  ;;
   9151 	esac
   9152       fi
   9153       if test "$with_gnu_ld" = no; then
   9154 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9155 	hardcode_libdir_separator=:
   9156 
   9157 	case $host_cpu in
   9158 	hppa*64*|ia64*)
   9159 	  hardcode_direct=no
   9160 	  hardcode_shlibpath_var=no
   9161 	  ;;
   9162 	*)
   9163 	  hardcode_direct=yes
   9164 	  hardcode_direct_absolute=yes
   9165 	  export_dynamic_flag_spec='${wl}-E'
   9166 
   9167 	  # hardcode_minus_L: Not really in the search PATH,
   9168 	  # but as the default location of the library.
   9169 	  hardcode_minus_L=yes
   9170 	  ;;
   9171 	esac
   9172       fi
   9173       ;;
   9174 
   9175     irix5* | irix6* | nonstopux*)
   9176       if test "$GCC" = yes; then
   9177 	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'
   9178 	# Try to use the -exported_symbol ld option, if it does not
   9179 	# work, assume that -exports_file does not work either and
   9180 	# implicitly export all symbols.
   9181 	# This should be the same for all languages, so no per-tag cache variable.
   9182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9183 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9184 if ${lt_cv_irix_exported_symbol+:} false; then :
   9185   $as_echo_n "(cached) " >&6
   9186 else
   9187   save_LDFLAGS="$LDFLAGS"
   9188 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9189 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9190 /* end confdefs.h.  */
   9191 int foo (void) { return 0; }
   9192 _ACEOF
   9193 if ac_fn_c_try_link "$LINENO"; then :
   9194   lt_cv_irix_exported_symbol=yes
   9195 else
   9196   lt_cv_irix_exported_symbol=no
   9197 fi
   9198 rm -f core conftest.err conftest.$ac_objext \
   9199     conftest$ac_exeext conftest.$ac_ext
   9200            LDFLAGS="$save_LDFLAGS"
   9201 fi
   9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9203 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9204 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9205           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'
   9206 	fi
   9207       else
   9208 	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'
   9209 	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'
   9210       fi
   9211       archive_cmds_need_lc='no'
   9212       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9213       hardcode_libdir_separator=:
   9214       inherit_rpath=yes
   9215       link_all_deplibs=yes
   9216       ;;
   9217 
   9218     netbsd*)
   9219       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9220 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9221       else
   9222 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9223       fi
   9224       hardcode_libdir_flag_spec='-R$libdir'
   9225       hardcode_direct=yes
   9226       hardcode_shlibpath_var=no
   9227       ;;
   9228 
   9229     newsos6)
   9230       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9231       hardcode_direct=yes
   9232       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9233       hardcode_libdir_separator=:
   9234       hardcode_shlibpath_var=no
   9235       ;;
   9236 
   9237     *nto* | *qnx*)
   9238       ;;
   9239 
   9240     openbsd*)
   9241       if test -f /usr/libexec/ld.so; then
   9242 	hardcode_direct=yes
   9243 	hardcode_shlibpath_var=no
   9244 	hardcode_direct_absolute=yes
   9245 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9246 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9247 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9248 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9249 	  export_dynamic_flag_spec='${wl}-E'
   9250 	else
   9251 	  case $host_os in
   9252 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9253 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9254 	     hardcode_libdir_flag_spec='-R$libdir'
   9255 	     ;;
   9256 	   *)
   9257 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9258 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9259 	     ;;
   9260 	  esac
   9261 	fi
   9262       else
   9263 	ld_shlibs=no
   9264       fi
   9265       ;;
   9266 
   9267     os2*)
   9268       hardcode_libdir_flag_spec='-L$libdir'
   9269       hardcode_minus_L=yes
   9270       allow_undefined_flag=unsupported
   9271       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'
   9272       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9273       ;;
   9274 
   9275     osf3*)
   9276       if test "$GCC" = yes; then
   9277 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9278 	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'
   9279       else
   9280 	allow_undefined_flag=' -expect_unresolved \*'
   9281 	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'
   9282       fi
   9283       archive_cmds_need_lc='no'
   9284       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9285       hardcode_libdir_separator=:
   9286       ;;
   9287 
   9288     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9289       if test "$GCC" = yes; then
   9290 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9291 	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'
   9292 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9293       else
   9294 	allow_undefined_flag=' -expect_unresolved \*'
   9295 	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'
   9296 	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~
   9297 	$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'
   9298 
   9299 	# Both c and cxx compiler support -rpath directly
   9300 	hardcode_libdir_flag_spec='-rpath $libdir'
   9301       fi
   9302       archive_cmds_need_lc='no'
   9303       hardcode_libdir_separator=:
   9304       ;;
   9305 
   9306     solaris*)
   9307       no_undefined_flag=' -z defs'
   9308       if test "$GCC" = yes; then
   9309 	wlarc='${wl}'
   9310 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9311 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9312 	  $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'
   9313       else
   9314 	case `$CC -V 2>&1` in
   9315 	*"Compilers 5.0"*)
   9316 	  wlarc=''
   9317 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9318 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9319 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9320 	  ;;
   9321 	*)
   9322 	  wlarc='${wl}'
   9323 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9324 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9325 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9326 	  ;;
   9327 	esac
   9328       fi
   9329       hardcode_libdir_flag_spec='-R$libdir'
   9330       hardcode_shlibpath_var=no
   9331       case $host_os in
   9332       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9333       *)
   9334 	# The compiler driver will combine and reorder linker options,
   9335 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9336 	# but is careful enough not to reorder.
   9337 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9338 	if test "$GCC" = yes; then
   9339 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9340 	else
   9341 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9342 	fi
   9343 	;;
   9344       esac
   9345       link_all_deplibs=yes
   9346       ;;
   9347 
   9348     sunos4*)
   9349       if test "x$host_vendor" = xsequent; then
   9350 	# Use $CC to link under sequent, because it throws in some extra .o
   9351 	# files that make .init and .fini sections work.
   9352 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9353       else
   9354 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9355       fi
   9356       hardcode_libdir_flag_spec='-L$libdir'
   9357       hardcode_direct=yes
   9358       hardcode_minus_L=yes
   9359       hardcode_shlibpath_var=no
   9360       ;;
   9361 
   9362     sysv4)
   9363       case $host_vendor in
   9364 	sni)
   9365 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9366 	  hardcode_direct=yes # is this really true???
   9367 	;;
   9368 	siemens)
   9369 	  ## LD is ld it makes a PLAMLIB
   9370 	  ## CC just makes a GrossModule.
   9371 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9372 	  reload_cmds='$CC -r -o $output$reload_objs'
   9373 	  hardcode_direct=no
   9374         ;;
   9375 	motorola)
   9376 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9377 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9378 	;;
   9379       esac
   9380       runpath_var='LD_RUN_PATH'
   9381       hardcode_shlibpath_var=no
   9382       ;;
   9383 
   9384     sysv4.3*)
   9385       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9386       hardcode_shlibpath_var=no
   9387       export_dynamic_flag_spec='-Bexport'
   9388       ;;
   9389 
   9390     sysv4*MP*)
   9391       if test -d /usr/nec; then
   9392 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9393 	hardcode_shlibpath_var=no
   9394 	runpath_var=LD_RUN_PATH
   9395 	hardcode_runpath_var=yes
   9396 	ld_shlibs=yes
   9397       fi
   9398       ;;
   9399 
   9400     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9401       no_undefined_flag='${wl}-z,text'
   9402       archive_cmds_need_lc=no
   9403       hardcode_shlibpath_var=no
   9404       runpath_var='LD_RUN_PATH'
   9405 
   9406       if test "$GCC" = yes; then
   9407 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9408 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9409       else
   9410 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9411 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9412       fi
   9413       ;;
   9414 
   9415     sysv5* | sco3.2v5* | sco5v6*)
   9416       # Note: We can NOT use -z defs as we might desire, because we do not
   9417       # link with -lc, and that would cause any symbols used from libc to
   9418       # always be unresolved, which means just about no library would
   9419       # ever link correctly.  If we're not using GNU ld we use -z text
   9420       # though, which does catch some bad symbols but isn't as heavy-handed
   9421       # as -z defs.
   9422       no_undefined_flag='${wl}-z,text'
   9423       allow_undefined_flag='${wl}-z,nodefs'
   9424       archive_cmds_need_lc=no
   9425       hardcode_shlibpath_var=no
   9426       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9427       hardcode_libdir_separator=':'
   9428       link_all_deplibs=yes
   9429       export_dynamic_flag_spec='${wl}-Bexport'
   9430       runpath_var='LD_RUN_PATH'
   9431 
   9432       if test "$GCC" = yes; then
   9433 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9434 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9435       else
   9436 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9437 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9438       fi
   9439       ;;
   9440 
   9441     uts4*)
   9442       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9443       hardcode_libdir_flag_spec='-L$libdir'
   9444       hardcode_shlibpath_var=no
   9445       ;;
   9446 
   9447     *)
   9448       ld_shlibs=no
   9449       ;;
   9450     esac
   9451 
   9452     if test x$host_vendor = xsni; then
   9453       case $host in
   9454       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9455 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9456 	;;
   9457       esac
   9458     fi
   9459   fi
   9460 
   9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9462 $as_echo "$ld_shlibs" >&6; }
   9463 test "$ld_shlibs" = no && can_build_shared=no
   9464 
   9465 with_gnu_ld=$with_gnu_ld
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 #
   9482 # Do we need to explicitly link libc?
   9483 #
   9484 case "x$archive_cmds_need_lc" in
   9485 x|xyes)
   9486   # Assume -lc should be added
   9487   archive_cmds_need_lc=yes
   9488 
   9489   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9490     case $archive_cmds in
   9491     *'~'*)
   9492       # FIXME: we may have to deal with multi-command sequences.
   9493       ;;
   9494     '$CC '*)
   9495       # Test whether the compiler implicitly links with -lc since on some
   9496       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9497       # to ld, don't add -lc before -lgcc.
   9498       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9499 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9500 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9501   $as_echo_n "(cached) " >&6
   9502 else
   9503   $RM conftest*
   9504 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9505 
   9506 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9507   (eval $ac_compile) 2>&5
   9508   ac_status=$?
   9509   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9510   test $ac_status = 0; } 2>conftest.err; then
   9511 	  soname=conftest
   9512 	  lib=conftest
   9513 	  libobjs=conftest.$ac_objext
   9514 	  deplibs=
   9515 	  wl=$lt_prog_compiler_wl
   9516 	  pic_flag=$lt_prog_compiler_pic
   9517 	  compiler_flags=-v
   9518 	  linker_flags=-v
   9519 	  verstring=
   9520 	  output_objdir=.
   9521 	  libname=conftest
   9522 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9523 	  allow_undefined_flag=
   9524 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9525   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9526   ac_status=$?
   9527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9528   test $ac_status = 0; }
   9529 	  then
   9530 	    lt_cv_archive_cmds_need_lc=no
   9531 	  else
   9532 	    lt_cv_archive_cmds_need_lc=yes
   9533 	  fi
   9534 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9535 	else
   9536 	  cat conftest.err 1>&5
   9537 	fi
   9538 	$RM conftest*
   9539 
   9540 fi
   9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9542 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9543       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9544       ;;
   9545     esac
   9546   fi
   9547   ;;
   9548 esac
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9707 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9708 
   9709 if test "$GCC" = yes; then
   9710   case $host_os in
   9711     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9712     *) lt_awk_arg="/^libraries:/" ;;
   9713   esac
   9714   case $host_os in
   9715     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9716     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9717   esac
   9718   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9719   case $lt_search_path_spec in
   9720   *\;*)
   9721     # if the path contains ";" then we assume it to be the separator
   9722     # otherwise default to the standard path separator (i.e. ":") - it is
   9723     # assumed that no part of a normal pathname contains ";" but that should
   9724     # okay in the real world where ";" in dirpaths is itself problematic.
   9725     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9726     ;;
   9727   *)
   9728     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9729     ;;
   9730   esac
   9731   # Ok, now we have the path, separated by spaces, we can step through it
   9732   # and add multilib dir if necessary.
   9733   lt_tmp_lt_search_path_spec=
   9734   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9735   for lt_sys_path in $lt_search_path_spec; do
   9736     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9737       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9738     else
   9739       test -d "$lt_sys_path" && \
   9740 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9741     fi
   9742   done
   9743   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9744 BEGIN {RS=" "; FS="/|\n";} {
   9745   lt_foo="";
   9746   lt_count=0;
   9747   for (lt_i = NF; lt_i > 0; lt_i--) {
   9748     if ($lt_i != "" && $lt_i != ".") {
   9749       if ($lt_i == "..") {
   9750         lt_count++;
   9751       } else {
   9752         if (lt_count == 0) {
   9753           lt_foo="/" $lt_i lt_foo;
   9754         } else {
   9755           lt_count--;
   9756         }
   9757       }
   9758     }
   9759   }
   9760   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9761   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9762 }'`
   9763   # AWK program above erroneously prepends '/' to C:/dos/paths
   9764   # for these hosts.
   9765   case $host_os in
   9766     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9767       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9768   esac
   9769   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9770 else
   9771   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9772 fi
   9773 library_names_spec=
   9774 libname_spec='lib$name'
   9775 soname_spec=
   9776 shrext_cmds=".so"
   9777 postinstall_cmds=
   9778 postuninstall_cmds=
   9779 finish_cmds=
   9780 finish_eval=
   9781 shlibpath_var=
   9782 shlibpath_overrides_runpath=unknown
   9783 version_type=none
   9784 dynamic_linker="$host_os ld.so"
   9785 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9786 need_lib_prefix=unknown
   9787 hardcode_into_libs=no
   9788 
   9789 # when you set need_version to no, make sure it does not cause -set_version
   9790 # flags to be left without arguments
   9791 need_version=unknown
   9792 
   9793 case $host_os in
   9794 aix3*)
   9795   version_type=linux
   9796   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9797   shlibpath_var=LIBPATH
   9798 
   9799   # AIX 3 has no versioning support, so we append a major version to the name.
   9800   soname_spec='${libname}${release}${shared_ext}$major'
   9801   ;;
   9802 
   9803 aix[4-9]*)
   9804   version_type=linux
   9805   need_lib_prefix=no
   9806   need_version=no
   9807   hardcode_into_libs=yes
   9808   if test "$host_cpu" = ia64; then
   9809     # AIX 5 supports IA64
   9810     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9811     shlibpath_var=LD_LIBRARY_PATH
   9812   else
   9813     # With GCC up to 2.95.x, collect2 would create an import file
   9814     # for dependence libraries.  The import file would start with
   9815     # the line `#! .'.  This would cause the generated library to
   9816     # depend on `.', always an invalid library.  This was fixed in
   9817     # development snapshots of GCC prior to 3.0.
   9818     case $host_os in
   9819       aix4 | aix4.[01] | aix4.[01].*)
   9820       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9821 	   echo ' yes '
   9822 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9823 	:
   9824       else
   9825 	can_build_shared=no
   9826       fi
   9827       ;;
   9828     esac
   9829     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9830     # soname into executable. Probably we can add versioning support to
   9831     # collect2, so additional links can be useful in future.
   9832     if test "$aix_use_runtimelinking" = yes; then
   9833       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9834       # instead of lib<name>.a to let people know that these are not
   9835       # typical AIX shared libraries.
   9836       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9837     else
   9838       # We preserve .a as extension for shared libraries through AIX4.2
   9839       # and later when we are not doing run time linking.
   9840       library_names_spec='${libname}${release}.a $libname.a'
   9841       soname_spec='${libname}${release}${shared_ext}$major'
   9842     fi
   9843     shlibpath_var=LIBPATH
   9844   fi
   9845   ;;
   9846 
   9847 amigaos*)
   9848   case $host_cpu in
   9849   powerpc)
   9850     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9851     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9852     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9853     ;;
   9854   m68k)
   9855     library_names_spec='$libname.ixlibrary $libname.a'
   9856     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9857     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'
   9858     ;;
   9859   esac
   9860   ;;
   9861 
   9862 beos*)
   9863   library_names_spec='${libname}${shared_ext}'
   9864   dynamic_linker="$host_os ld.so"
   9865   shlibpath_var=LIBRARY_PATH
   9866   ;;
   9867 
   9868 bsdi[45]*)
   9869   version_type=linux
   9870   need_version=no
   9871   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9872   soname_spec='${libname}${release}${shared_ext}$major'
   9873   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9874   shlibpath_var=LD_LIBRARY_PATH
   9875   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9876   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9877   # the default ld.so.conf also contains /usr/contrib/lib and
   9878   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9879   # libtool to hard-code these into programs
   9880   ;;
   9881 
   9882 cygwin* | mingw* | pw32* | cegcc*)
   9883   version_type=windows
   9884   shrext_cmds=".dll"
   9885   need_version=no
   9886   need_lib_prefix=no
   9887 
   9888   case $GCC,$cc_basename in
   9889   yes,*)
   9890     # gcc
   9891     library_names_spec='$libname.dll.a'
   9892     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9893     postinstall_cmds='base_file=`basename \${file}`~
   9894       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9895       dldir=$destdir/`dirname \$dlpath`~
   9896       test -d \$dldir || mkdir -p \$dldir~
   9897       $install_prog $dir/$dlname \$dldir/$dlname~
   9898       chmod a+x \$dldir/$dlname~
   9899       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9900         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9901       fi'
   9902     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9903       dlpath=$dir/\$dldll~
   9904        $RM \$dlpath'
   9905     shlibpath_overrides_runpath=yes
   9906 
   9907     case $host_os in
   9908     cygwin*)
   9909       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9910       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9911 
   9912       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   9913       ;;
   9914     mingw* | cegcc*)
   9915       # MinGW DLLs use traditional 'lib' prefix
   9916       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9917       ;;
   9918     pw32*)
   9919       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9920       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9921       ;;
   9922     esac
   9923     dynamic_linker='Win32 ld.exe'
   9924     ;;
   9925 
   9926   *,cl*)
   9927     # Native MSVC
   9928     libname_spec='$name'
   9929     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9930     library_names_spec='${libname}.dll.lib'
   9931 
   9932     case $build_os in
   9933     mingw*)
   9934       sys_lib_search_path_spec=
   9935       lt_save_ifs=$IFS
   9936       IFS=';'
   9937       for lt_path in $LIB
   9938       do
   9939         IFS=$lt_save_ifs
   9940         # Let DOS variable expansion print the short 8.3 style file name.
   9941         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   9942         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   9943       done
   9944       IFS=$lt_save_ifs
   9945       # Convert to MSYS style.
   9946       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   9947       ;;
   9948     cygwin*)
   9949       # Convert to unix form, then to dos form, then back to unix form
   9950       # but this time dos style (no spaces!) so that the unix form looks
   9951       # like /cygdrive/c/PROGRA~1:/cygdr...
   9952       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   9953       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   9954       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   9955       ;;
   9956     *)
   9957       sys_lib_search_path_spec="$LIB"
   9958       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9959         # It is most probably a Windows format PATH.
   9960         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9961       else
   9962         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   9963       fi
   9964       # FIXME: find the short name or the path components, as spaces are
   9965       # common. (e.g. "Program Files" -> "PROGRA~1")
   9966       ;;
   9967     esac
   9968 
   9969     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9970     postinstall_cmds='base_file=`basename \${file}`~
   9971       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9972       dldir=$destdir/`dirname \$dlpath`~
   9973       test -d \$dldir || mkdir -p \$dldir~
   9974       $install_prog $dir/$dlname \$dldir/$dlname'
   9975     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9976       dlpath=$dir/\$dldll~
   9977        $RM \$dlpath'
   9978     shlibpath_overrides_runpath=yes
   9979     dynamic_linker='Win32 link.exe'
   9980     ;;
   9981 
   9982   *)
   9983     # Assume MSVC wrapper
   9984     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9985     dynamic_linker='Win32 ld.exe'
   9986     ;;
   9987   esac
   9988   # FIXME: first we should search . and the directory the executable is in
   9989   shlibpath_var=PATH
   9990   ;;
   9991 
   9992 darwin* | rhapsody*)
   9993   dynamic_linker="$host_os dyld"
   9994   version_type=darwin
   9995   need_lib_prefix=no
   9996   need_version=no
   9997   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9998   soname_spec='${libname}${release}${major}$shared_ext'
   9999   shlibpath_overrides_runpath=yes
   10000   shlibpath_var=DYLD_LIBRARY_PATH
   10001   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10002 
   10003   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10004   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10005   ;;
   10006 
   10007 dgux*)
   10008   version_type=linux
   10009   need_lib_prefix=no
   10010   need_version=no
   10011   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10012   soname_spec='${libname}${release}${shared_ext}$major'
   10013   shlibpath_var=LD_LIBRARY_PATH
   10014   ;;
   10015 
   10016 freebsd1*)
   10017   dynamic_linker=no
   10018   ;;
   10019 
   10020 freebsd* | dragonfly*)
   10021   # DragonFly does not have aout.  When/if they implement a new
   10022   # versioning mechanism, adjust this.
   10023   if test -x /usr/bin/objformat; then
   10024     objformat=`/usr/bin/objformat`
   10025   else
   10026     case $host_os in
   10027     freebsd[123]*) objformat=aout ;;
   10028     *) objformat=elf ;;
   10029     esac
   10030   fi
   10031   version_type=freebsd-$objformat
   10032   case $version_type in
   10033     freebsd-elf*)
   10034       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10035       need_version=no
   10036       need_lib_prefix=no
   10037       ;;
   10038     freebsd-*)
   10039       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10040       need_version=yes
   10041       ;;
   10042   esac
   10043   shlibpath_var=LD_LIBRARY_PATH
   10044   case $host_os in
   10045   freebsd2*)
   10046     shlibpath_overrides_runpath=yes
   10047     ;;
   10048   freebsd3.[01]* | freebsdelf3.[01]*)
   10049     shlibpath_overrides_runpath=yes
   10050     hardcode_into_libs=yes
   10051     ;;
   10052   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10053   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10054     shlibpath_overrides_runpath=no
   10055     hardcode_into_libs=yes
   10056     ;;
   10057   *) # from 4.6 on, and DragonFly
   10058     shlibpath_overrides_runpath=yes
   10059     hardcode_into_libs=yes
   10060     ;;
   10061   esac
   10062   ;;
   10063 
   10064 gnu*)
   10065   version_type=linux
   10066   need_lib_prefix=no
   10067   need_version=no
   10068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10069   soname_spec='${libname}${release}${shared_ext}$major'
   10070   shlibpath_var=LD_LIBRARY_PATH
   10071   hardcode_into_libs=yes
   10072   ;;
   10073 
   10074 haiku*)
   10075   version_type=linux
   10076   need_lib_prefix=no
   10077   need_version=no
   10078   dynamic_linker="$host_os runtime_loader"
   10079   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10080   soname_spec='${libname}${release}${shared_ext}$major'
   10081   shlibpath_var=LIBRARY_PATH
   10082   shlibpath_overrides_runpath=yes
   10083   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10084   hardcode_into_libs=yes
   10085   ;;
   10086 
   10087 hpux9* | hpux10* | hpux11*)
   10088   # Give a soname corresponding to the major version so that dld.sl refuses to
   10089   # link against other versions.
   10090   version_type=sunos
   10091   need_lib_prefix=no
   10092   need_version=no
   10093   case $host_cpu in
   10094   ia64*)
   10095     shrext_cmds='.so'
   10096     hardcode_into_libs=yes
   10097     dynamic_linker="$host_os dld.so"
   10098     shlibpath_var=LD_LIBRARY_PATH
   10099     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10100     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10101     soname_spec='${libname}${release}${shared_ext}$major'
   10102     if test "X$HPUX_IA64_MODE" = X32; then
   10103       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10104     else
   10105       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10106     fi
   10107     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10108     ;;
   10109   hppa*64*)
   10110     shrext_cmds='.sl'
   10111     hardcode_into_libs=yes
   10112     dynamic_linker="$host_os dld.sl"
   10113     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10114     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10115     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10116     soname_spec='${libname}${release}${shared_ext}$major'
   10117     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10118     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10119     ;;
   10120   *)
   10121     shrext_cmds='.sl'
   10122     dynamic_linker="$host_os dld.sl"
   10123     shlibpath_var=SHLIB_PATH
   10124     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10125     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10126     soname_spec='${libname}${release}${shared_ext}$major'
   10127     ;;
   10128   esac
   10129   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10130   postinstall_cmds='chmod 555 $lib'
   10131   # or fails outright, so override atomically:
   10132   install_override_mode=555
   10133   ;;
   10134 
   10135 interix[3-9]*)
   10136   version_type=linux
   10137   need_lib_prefix=no
   10138   need_version=no
   10139   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10140   soname_spec='${libname}${release}${shared_ext}$major'
   10141   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10142   shlibpath_var=LD_LIBRARY_PATH
   10143   shlibpath_overrides_runpath=no
   10144   hardcode_into_libs=yes
   10145   ;;
   10146 
   10147 irix5* | irix6* | nonstopux*)
   10148   case $host_os in
   10149     nonstopux*) version_type=nonstopux ;;
   10150     *)
   10151 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10152 		version_type=linux
   10153 	else
   10154 		version_type=irix
   10155 	fi ;;
   10156   esac
   10157   need_lib_prefix=no
   10158   need_version=no
   10159   soname_spec='${libname}${release}${shared_ext}$major'
   10160   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10161   case $host_os in
   10162   irix5* | nonstopux*)
   10163     libsuff= shlibsuff=
   10164     ;;
   10165   *)
   10166     case $LD in # libtool.m4 will add one of these switches to LD
   10167     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10168       libsuff= shlibsuff= libmagic=32-bit;;
   10169     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10170       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10171     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10172       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10173     *) libsuff= shlibsuff= libmagic=never-match;;
   10174     esac
   10175     ;;
   10176   esac
   10177   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10178   shlibpath_overrides_runpath=no
   10179   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10180   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10181   hardcode_into_libs=yes
   10182   ;;
   10183 
   10184 # No shared lib support for Linux oldld, aout, or coff.
   10185 linux*oldld* | linux*aout* | linux*coff*)
   10186   dynamic_linker=no
   10187   ;;
   10188 
   10189 # This must be Linux ELF.
   10190 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10191   version_type=linux
   10192   need_lib_prefix=no
   10193   need_version=no
   10194   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10195   soname_spec='${libname}${release}${shared_ext}$major'
   10196   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10197   shlibpath_var=LD_LIBRARY_PATH
   10198   shlibpath_overrides_runpath=no
   10199 
   10200   # Some binutils ld are patched to set DT_RUNPATH
   10201   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10202   $as_echo_n "(cached) " >&6
   10203 else
   10204   lt_cv_shlibpath_overrides_runpath=no
   10205     save_LDFLAGS=$LDFLAGS
   10206     save_libdir=$libdir
   10207     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10208 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10209     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10210 /* end confdefs.h.  */
   10211 
   10212 int
   10213 main ()
   10214 {
   10215 
   10216   ;
   10217   return 0;
   10218 }
   10219 _ACEOF
   10220 if ac_fn_c_try_link "$LINENO"; then :
   10221   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10222   lt_cv_shlibpath_overrides_runpath=yes
   10223 fi
   10224 fi
   10225 rm -f core conftest.err conftest.$ac_objext \
   10226     conftest$ac_exeext conftest.$ac_ext
   10227     LDFLAGS=$save_LDFLAGS
   10228     libdir=$save_libdir
   10229 
   10230 fi
   10231 
   10232   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10233 
   10234   # This implies no fast_install, which is unacceptable.
   10235   # Some rework will be needed to allow for fast_install
   10236   # before this can be enabled.
   10237   hardcode_into_libs=yes
   10238 
   10239   # Append ld.so.conf contents to the search path
   10240   if test -f /etc/ld.so.conf; then
   10241     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' ' '`
   10242     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10243   fi
   10244 
   10245   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10246   # powerpc, because MkLinux only supported shared libraries with the
   10247   # GNU dynamic linker.  Since this was broken with cross compilers,
   10248   # most powerpc-linux boxes support dynamic linking these days and
   10249   # people can always --disable-shared, the test was removed, and we
   10250   # assume the GNU/Linux dynamic linker is in use.
   10251   dynamic_linker='GNU/Linux ld.so'
   10252   ;;
   10253 
   10254 netbsd*)
   10255   version_type=sunos
   10256   need_lib_prefix=no
   10257   need_version=no
   10258   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10259     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10260     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10261     dynamic_linker='NetBSD (a.out) ld.so'
   10262   else
   10263     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10264     soname_spec='${libname}${release}${shared_ext}$major'
   10265     dynamic_linker='NetBSD ld.elf_so'
   10266   fi
   10267   shlibpath_var=LD_LIBRARY_PATH
   10268   shlibpath_overrides_runpath=yes
   10269   hardcode_into_libs=yes
   10270   ;;
   10271 
   10272 newsos6)
   10273   version_type=linux
   10274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10275   shlibpath_var=LD_LIBRARY_PATH
   10276   shlibpath_overrides_runpath=yes
   10277   ;;
   10278 
   10279 *nto* | *qnx*)
   10280   version_type=qnx
   10281   need_lib_prefix=no
   10282   need_version=no
   10283   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10284   soname_spec='${libname}${release}${shared_ext}$major'
   10285   shlibpath_var=LD_LIBRARY_PATH
   10286   shlibpath_overrides_runpath=no
   10287   hardcode_into_libs=yes
   10288   dynamic_linker='ldqnx.so'
   10289   ;;
   10290 
   10291 openbsd*)
   10292   version_type=sunos
   10293   sys_lib_dlsearch_path_spec="/usr/lib"
   10294   need_lib_prefix=no
   10295   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10296   case $host_os in
   10297     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10298     *)				need_version=no  ;;
   10299   esac
   10300   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10301   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10302   shlibpath_var=LD_LIBRARY_PATH
   10303   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10304     case $host_os in
   10305       openbsd2.[89] | openbsd2.[89].*)
   10306 	shlibpath_overrides_runpath=no
   10307 	;;
   10308       *)
   10309 	shlibpath_overrides_runpath=yes
   10310 	;;
   10311       esac
   10312   else
   10313     shlibpath_overrides_runpath=yes
   10314   fi
   10315   ;;
   10316 
   10317 os2*)
   10318   libname_spec='$name'
   10319   shrext_cmds=".dll"
   10320   need_lib_prefix=no
   10321   library_names_spec='$libname${shared_ext} $libname.a'
   10322   dynamic_linker='OS/2 ld.exe'
   10323   shlibpath_var=LIBPATH
   10324   ;;
   10325 
   10326 osf3* | osf4* | osf5*)
   10327   version_type=osf
   10328   need_lib_prefix=no
   10329   need_version=no
   10330   soname_spec='${libname}${release}${shared_ext}$major'
   10331   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10332   shlibpath_var=LD_LIBRARY_PATH
   10333   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10334   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10335   ;;
   10336 
   10337 rdos*)
   10338   dynamic_linker=no
   10339   ;;
   10340 
   10341 solaris*)
   10342   version_type=linux
   10343   need_lib_prefix=no
   10344   need_version=no
   10345   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10346   soname_spec='${libname}${release}${shared_ext}$major'
   10347   shlibpath_var=LD_LIBRARY_PATH
   10348   shlibpath_overrides_runpath=yes
   10349   hardcode_into_libs=yes
   10350   # ldd complains unless libraries are executable
   10351   postinstall_cmds='chmod +x $lib'
   10352   ;;
   10353 
   10354 sunos4*)
   10355   version_type=sunos
   10356   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10357   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10358   shlibpath_var=LD_LIBRARY_PATH
   10359   shlibpath_overrides_runpath=yes
   10360   if test "$with_gnu_ld" = yes; then
   10361     need_lib_prefix=no
   10362   fi
   10363   need_version=yes
   10364   ;;
   10365 
   10366 sysv4 | sysv4.3*)
   10367   version_type=linux
   10368   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10369   soname_spec='${libname}${release}${shared_ext}$major'
   10370   shlibpath_var=LD_LIBRARY_PATH
   10371   case $host_vendor in
   10372     sni)
   10373       shlibpath_overrides_runpath=no
   10374       need_lib_prefix=no
   10375       runpath_var=LD_RUN_PATH
   10376       ;;
   10377     siemens)
   10378       need_lib_prefix=no
   10379       ;;
   10380     motorola)
   10381       need_lib_prefix=no
   10382       need_version=no
   10383       shlibpath_overrides_runpath=no
   10384       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10385       ;;
   10386   esac
   10387   ;;
   10388 
   10389 sysv4*MP*)
   10390   if test -d /usr/nec ;then
   10391     version_type=linux
   10392     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10393     soname_spec='$libname${shared_ext}.$major'
   10394     shlibpath_var=LD_LIBRARY_PATH
   10395   fi
   10396   ;;
   10397 
   10398 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10399   version_type=freebsd-elf
   10400   need_lib_prefix=no
   10401   need_version=no
   10402   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10403   soname_spec='${libname}${release}${shared_ext}$major'
   10404   shlibpath_var=LD_LIBRARY_PATH
   10405   shlibpath_overrides_runpath=yes
   10406   hardcode_into_libs=yes
   10407   if test "$with_gnu_ld" = yes; then
   10408     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10409   else
   10410     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10411     case $host_os in
   10412       sco3.2v5*)
   10413         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10414 	;;
   10415     esac
   10416   fi
   10417   sys_lib_dlsearch_path_spec='/usr/lib'
   10418   ;;
   10419 
   10420 tpf*)
   10421   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10422   version_type=linux
   10423   need_lib_prefix=no
   10424   need_version=no
   10425   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10426   shlibpath_var=LD_LIBRARY_PATH
   10427   shlibpath_overrides_runpath=no
   10428   hardcode_into_libs=yes
   10429   ;;
   10430 
   10431 uts4*)
   10432   version_type=linux
   10433   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10434   soname_spec='${libname}${release}${shared_ext}$major'
   10435   shlibpath_var=LD_LIBRARY_PATH
   10436   ;;
   10437 
   10438 *)
   10439   dynamic_linker=no
   10440   ;;
   10441 esac
   10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10443 $as_echo "$dynamic_linker" >&6; }
   10444 test "$dynamic_linker" = no && can_build_shared=no
   10445 
   10446 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10447 if test "$GCC" = yes; then
   10448   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10449 fi
   10450 
   10451 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10452   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10453 fi
   10454 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10455   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10456 fi
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10550 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10551 hardcode_action=
   10552 if test -n "$hardcode_libdir_flag_spec" ||
   10553    test -n "$runpath_var" ||
   10554    test "X$hardcode_automatic" = "Xyes" ; then
   10555 
   10556   # We can hardcode non-existent directories.
   10557   if test "$hardcode_direct" != no &&
   10558      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10559      # have to relink, otherwise we might link with an installed library
   10560      # when we should be linking with a yet-to-be-installed one
   10561      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10562      test "$hardcode_minus_L" != no; then
   10563     # Linking always hardcodes the temporary library directory.
   10564     hardcode_action=relink
   10565   else
   10566     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10567     hardcode_action=immediate
   10568   fi
   10569 else
   10570   # We cannot hardcode anything, or else we can only hardcode existing
   10571   # directories.
   10572   hardcode_action=unsupported
   10573 fi
   10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10575 $as_echo "$hardcode_action" >&6; }
   10576 
   10577 if test "$hardcode_action" = relink ||
   10578    test "$inherit_rpath" = yes; then
   10579   # Fast installation is not supported
   10580   enable_fast_install=no
   10581 elif test "$shlibpath_overrides_runpath" = yes ||
   10582      test "$enable_shared" = no; then
   10583   # Fast installation is not necessary
   10584   enable_fast_install=needless
   10585 fi
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592   if test "x$enable_dlopen" != xyes; then
   10593   enable_dlopen=unknown
   10594   enable_dlopen_self=unknown
   10595   enable_dlopen_self_static=unknown
   10596 else
   10597   lt_cv_dlopen=no
   10598   lt_cv_dlopen_libs=
   10599 
   10600   case $host_os in
   10601   beos*)
   10602     lt_cv_dlopen="load_add_on"
   10603     lt_cv_dlopen_libs=
   10604     lt_cv_dlopen_self=yes
   10605     ;;
   10606 
   10607   mingw* | pw32* | cegcc*)
   10608     lt_cv_dlopen="LoadLibrary"
   10609     lt_cv_dlopen_libs=
   10610     ;;
   10611 
   10612   cygwin*)
   10613     lt_cv_dlopen="dlopen"
   10614     lt_cv_dlopen_libs=
   10615     ;;
   10616 
   10617   darwin*)
   10618   # if libdl is installed we need to link against it
   10619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10620 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10621 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10622   $as_echo_n "(cached) " >&6
   10623 else
   10624   ac_check_lib_save_LIBS=$LIBS
   10625 LIBS="-ldl  $LIBS"
   10626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10627 /* end confdefs.h.  */
   10628 
   10629 /* Override any GCC internal prototype to avoid an error.
   10630    Use char because int might match the return type of a GCC
   10631    builtin and then its argument prototype would still apply.  */
   10632 #ifdef __cplusplus
   10633 extern "C"
   10634 #endif
   10635 char dlopen ();
   10636 int
   10637 main ()
   10638 {
   10639 return dlopen ();
   10640   ;
   10641   return 0;
   10642 }
   10643 _ACEOF
   10644 if ac_fn_c_try_link "$LINENO"; then :
   10645   ac_cv_lib_dl_dlopen=yes
   10646 else
   10647   ac_cv_lib_dl_dlopen=no
   10648 fi
   10649 rm -f core conftest.err conftest.$ac_objext \
   10650     conftest$ac_exeext conftest.$ac_ext
   10651 LIBS=$ac_check_lib_save_LIBS
   10652 fi
   10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10654 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10655 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10656   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10657 else
   10658 
   10659     lt_cv_dlopen="dyld"
   10660     lt_cv_dlopen_libs=
   10661     lt_cv_dlopen_self=yes
   10662 
   10663 fi
   10664 
   10665     ;;
   10666 
   10667   *)
   10668     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10669 if test "x$ac_cv_func_shl_load" = xyes; then :
   10670   lt_cv_dlopen="shl_load"
   10671 else
   10672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10673 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10674 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10675   $as_echo_n "(cached) " >&6
   10676 else
   10677   ac_check_lib_save_LIBS=$LIBS
   10678 LIBS="-ldld  $LIBS"
   10679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10680 /* end confdefs.h.  */
   10681 
   10682 /* Override any GCC internal prototype to avoid an error.
   10683    Use char because int might match the return type of a GCC
   10684    builtin and then its argument prototype would still apply.  */
   10685 #ifdef __cplusplus
   10686 extern "C"
   10687 #endif
   10688 char shl_load ();
   10689 int
   10690 main ()
   10691 {
   10692 return shl_load ();
   10693   ;
   10694   return 0;
   10695 }
   10696 _ACEOF
   10697 if ac_fn_c_try_link "$LINENO"; then :
   10698   ac_cv_lib_dld_shl_load=yes
   10699 else
   10700   ac_cv_lib_dld_shl_load=no
   10701 fi
   10702 rm -f core conftest.err conftest.$ac_objext \
   10703     conftest$ac_exeext conftest.$ac_ext
   10704 LIBS=$ac_check_lib_save_LIBS
   10705 fi
   10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10707 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10708 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10709   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10710 else
   10711   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10712 if test "x$ac_cv_func_dlopen" = xyes; then :
   10713   lt_cv_dlopen="dlopen"
   10714 else
   10715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10716 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10717 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10718   $as_echo_n "(cached) " >&6
   10719 else
   10720   ac_check_lib_save_LIBS=$LIBS
   10721 LIBS="-ldl  $LIBS"
   10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10723 /* end confdefs.h.  */
   10724 
   10725 /* Override any GCC internal prototype to avoid an error.
   10726    Use char because int might match the return type of a GCC
   10727    builtin and then its argument prototype would still apply.  */
   10728 #ifdef __cplusplus
   10729 extern "C"
   10730 #endif
   10731 char dlopen ();
   10732 int
   10733 main ()
   10734 {
   10735 return dlopen ();
   10736   ;
   10737   return 0;
   10738 }
   10739 _ACEOF
   10740 if ac_fn_c_try_link "$LINENO"; then :
   10741   ac_cv_lib_dl_dlopen=yes
   10742 else
   10743   ac_cv_lib_dl_dlopen=no
   10744 fi
   10745 rm -f core conftest.err conftest.$ac_objext \
   10746     conftest$ac_exeext conftest.$ac_ext
   10747 LIBS=$ac_check_lib_save_LIBS
   10748 fi
   10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10750 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10751 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10752   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10753 else
   10754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10755 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10756 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10757   $as_echo_n "(cached) " >&6
   10758 else
   10759   ac_check_lib_save_LIBS=$LIBS
   10760 LIBS="-lsvld  $LIBS"
   10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10762 /* end confdefs.h.  */
   10763 
   10764 /* Override any GCC internal prototype to avoid an error.
   10765    Use char because int might match the return type of a GCC
   10766    builtin and then its argument prototype would still apply.  */
   10767 #ifdef __cplusplus
   10768 extern "C"
   10769 #endif
   10770 char dlopen ();
   10771 int
   10772 main ()
   10773 {
   10774 return dlopen ();
   10775   ;
   10776   return 0;
   10777 }
   10778 _ACEOF
   10779 if ac_fn_c_try_link "$LINENO"; then :
   10780   ac_cv_lib_svld_dlopen=yes
   10781 else
   10782   ac_cv_lib_svld_dlopen=no
   10783 fi
   10784 rm -f core conftest.err conftest.$ac_objext \
   10785     conftest$ac_exeext conftest.$ac_ext
   10786 LIBS=$ac_check_lib_save_LIBS
   10787 fi
   10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10789 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10790 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10791   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10792 else
   10793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10794 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10795 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10796   $as_echo_n "(cached) " >&6
   10797 else
   10798   ac_check_lib_save_LIBS=$LIBS
   10799 LIBS="-ldld  $LIBS"
   10800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10801 /* end confdefs.h.  */
   10802 
   10803 /* Override any GCC internal prototype to avoid an error.
   10804    Use char because int might match the return type of a GCC
   10805    builtin and then its argument prototype would still apply.  */
   10806 #ifdef __cplusplus
   10807 extern "C"
   10808 #endif
   10809 char dld_link ();
   10810 int
   10811 main ()
   10812 {
   10813 return dld_link ();
   10814   ;
   10815   return 0;
   10816 }
   10817 _ACEOF
   10818 if ac_fn_c_try_link "$LINENO"; then :
   10819   ac_cv_lib_dld_dld_link=yes
   10820 else
   10821   ac_cv_lib_dld_dld_link=no
   10822 fi
   10823 rm -f core conftest.err conftest.$ac_objext \
   10824     conftest$ac_exeext conftest.$ac_ext
   10825 LIBS=$ac_check_lib_save_LIBS
   10826 fi
   10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10828 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10829 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10830   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10831 fi
   10832 
   10833 
   10834 fi
   10835 
   10836 
   10837 fi
   10838 
   10839 
   10840 fi
   10841 
   10842 
   10843 fi
   10844 
   10845 
   10846 fi
   10847 
   10848     ;;
   10849   esac
   10850 
   10851   if test "x$lt_cv_dlopen" != xno; then
   10852     enable_dlopen=yes
   10853   else
   10854     enable_dlopen=no
   10855   fi
   10856 
   10857   case $lt_cv_dlopen in
   10858   dlopen)
   10859     save_CPPFLAGS="$CPPFLAGS"
   10860     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10861 
   10862     save_LDFLAGS="$LDFLAGS"
   10863     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10864 
   10865     save_LIBS="$LIBS"
   10866     LIBS="$lt_cv_dlopen_libs $LIBS"
   10867 
   10868     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10869 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10870 if ${lt_cv_dlopen_self+:} false; then :
   10871   $as_echo_n "(cached) " >&6
   10872 else
   10873   	  if test "$cross_compiling" = yes; then :
   10874   lt_cv_dlopen_self=cross
   10875 else
   10876   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10877   lt_status=$lt_dlunknown
   10878   cat > conftest.$ac_ext <<_LT_EOF
   10879 #line $LINENO "configure"
   10880 #include "confdefs.h"
   10881 
   10882 #if HAVE_DLFCN_H
   10883 #include <dlfcn.h>
   10884 #endif
   10885 
   10886 #include <stdio.h>
   10887 
   10888 #ifdef RTLD_GLOBAL
   10889 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10890 #else
   10891 #  ifdef DL_GLOBAL
   10892 #    define LT_DLGLOBAL		DL_GLOBAL
   10893 #  else
   10894 #    define LT_DLGLOBAL		0
   10895 #  endif
   10896 #endif
   10897 
   10898 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10899    find out it does not work in some platform. */
   10900 #ifndef LT_DLLAZY_OR_NOW
   10901 #  ifdef RTLD_LAZY
   10902 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10903 #  else
   10904 #    ifdef DL_LAZY
   10905 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10906 #    else
   10907 #      ifdef RTLD_NOW
   10908 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10909 #      else
   10910 #        ifdef DL_NOW
   10911 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10912 #        else
   10913 #          define LT_DLLAZY_OR_NOW	0
   10914 #        endif
   10915 #      endif
   10916 #    endif
   10917 #  endif
   10918 #endif
   10919 
   10920 /* When -fvisbility=hidden is used, assume the code has been annotated
   10921    correspondingly for the symbols needed.  */
   10922 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   10923 int fnord () __attribute__((visibility("default")));
   10924 #endif
   10925 
   10926 int fnord () { return 42; }
   10927 int main ()
   10928 {
   10929   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10930   int status = $lt_dlunknown;
   10931 
   10932   if (self)
   10933     {
   10934       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10935       else
   10936         {
   10937 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   10938           else puts (dlerror ());
   10939 	}
   10940       /* dlclose (self); */
   10941     }
   10942   else
   10943     puts (dlerror ());
   10944 
   10945   return status;
   10946 }
   10947 _LT_EOF
   10948   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10949   (eval $ac_link) 2>&5
   10950   ac_status=$?
   10951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10952   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10953     (./conftest; exit; ) >&5 2>/dev/null
   10954     lt_status=$?
   10955     case x$lt_status in
   10956       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10957       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10958       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10959     esac
   10960   else :
   10961     # compilation failed
   10962     lt_cv_dlopen_self=no
   10963   fi
   10964 fi
   10965 rm -fr conftest*
   10966 
   10967 
   10968 fi
   10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   10970 $as_echo "$lt_cv_dlopen_self" >&6; }
   10971 
   10972     if test "x$lt_cv_dlopen_self" = xyes; then
   10973       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10974       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   10975 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10976 if ${lt_cv_dlopen_self_static+:} false; then :
   10977   $as_echo_n "(cached) " >&6
   10978 else
   10979   	  if test "$cross_compiling" = yes; then :
   10980   lt_cv_dlopen_self_static=cross
   10981 else
   10982   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10983   lt_status=$lt_dlunknown
   10984   cat > conftest.$ac_ext <<_LT_EOF
   10985 #line $LINENO "configure"
   10986 #include "confdefs.h"
   10987 
   10988 #if HAVE_DLFCN_H
   10989 #include <dlfcn.h>
   10990 #endif
   10991 
   10992 #include <stdio.h>
   10993 
   10994 #ifdef RTLD_GLOBAL
   10995 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10996 #else
   10997 #  ifdef DL_GLOBAL
   10998 #    define LT_DLGLOBAL		DL_GLOBAL
   10999 #  else
   11000 #    define LT_DLGLOBAL		0
   11001 #  endif
   11002 #endif
   11003 
   11004 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11005    find out it does not work in some platform. */
   11006 #ifndef LT_DLLAZY_OR_NOW
   11007 #  ifdef RTLD_LAZY
   11008 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11009 #  else
   11010 #    ifdef DL_LAZY
   11011 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11012 #    else
   11013 #      ifdef RTLD_NOW
   11014 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11015 #      else
   11016 #        ifdef DL_NOW
   11017 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11018 #        else
   11019 #          define LT_DLLAZY_OR_NOW	0
   11020 #        endif
   11021 #      endif
   11022 #    endif
   11023 #  endif
   11024 #endif
   11025 
   11026 /* When -fvisbility=hidden is used, assume the code has been annotated
   11027    correspondingly for the symbols needed.  */
   11028 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11029 int fnord () __attribute__((visibility("default")));
   11030 #endif
   11031 
   11032 int fnord () { return 42; }
   11033 int main ()
   11034 {
   11035   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11036   int status = $lt_dlunknown;
   11037 
   11038   if (self)
   11039     {
   11040       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11041       else
   11042         {
   11043 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11044           else puts (dlerror ());
   11045 	}
   11046       /* dlclose (self); */
   11047     }
   11048   else
   11049     puts (dlerror ());
   11050 
   11051   return status;
   11052 }
   11053 _LT_EOF
   11054   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11055   (eval $ac_link) 2>&5
   11056   ac_status=$?
   11057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11058   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11059     (./conftest; exit; ) >&5 2>/dev/null
   11060     lt_status=$?
   11061     case x$lt_status in
   11062       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11063       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11064       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11065     esac
   11066   else :
   11067     # compilation failed
   11068     lt_cv_dlopen_self_static=no
   11069   fi
   11070 fi
   11071 rm -fr conftest*
   11072 
   11073 
   11074 fi
   11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11076 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11077     fi
   11078 
   11079     CPPFLAGS="$save_CPPFLAGS"
   11080     LDFLAGS="$save_LDFLAGS"
   11081     LIBS="$save_LIBS"
   11082     ;;
   11083   esac
   11084 
   11085   case $lt_cv_dlopen_self in
   11086   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11087   *) enable_dlopen_self=unknown ;;
   11088   esac
   11089 
   11090   case $lt_cv_dlopen_self_static in
   11091   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11092   *) enable_dlopen_self_static=unknown ;;
   11093   esac
   11094 fi
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 striplib=
   11113 old_striplib=
   11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11115 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11116 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11117   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11118   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11120 $as_echo "yes" >&6; }
   11121 else
   11122 # FIXME - insert some real tests, host_os isn't really good enough
   11123   case $host_os in
   11124   darwin*)
   11125     if test -n "$STRIP" ; then
   11126       striplib="$STRIP -x"
   11127       old_striplib="$STRIP -S"
   11128       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11129 $as_echo "yes" >&6; }
   11130     else
   11131       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11132 $as_echo "no" >&6; }
   11133     fi
   11134     ;;
   11135   *)
   11136     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11137 $as_echo "no" >&6; }
   11138     ;;
   11139   esac
   11140 fi
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153   # Report which library types will actually be built
   11154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11155 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11157 $as_echo "$can_build_shared" >&6; }
   11158 
   11159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11160 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11161   test "$can_build_shared" = "no" && enable_shared=no
   11162 
   11163   # On AIX, shared libraries and static libraries use the same namespace, and
   11164   # are all built from PIC.
   11165   case $host_os in
   11166   aix3*)
   11167     test "$enable_shared" = yes && enable_static=no
   11168     if test -n "$RANLIB"; then
   11169       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11170       postinstall_cmds='$RANLIB $lib'
   11171     fi
   11172     ;;
   11173 
   11174   aix[4-9]*)
   11175     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11176       test "$enable_shared" = yes && enable_static=no
   11177     fi
   11178     ;;
   11179   esac
   11180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11181 $as_echo "$enable_shared" >&6; }
   11182 
   11183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11184 $as_echo_n "checking whether to build static libraries... " >&6; }
   11185   # Make sure either enable_shared or enable_static is yes.
   11186   test "$enable_shared" = yes || enable_static=yes
   11187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11188 $as_echo "$enable_static" >&6; }
   11189 
   11190 
   11191 
   11192 
   11193 fi
   11194 ac_ext=c
   11195 ac_cpp='$CPP $CPPFLAGS'
   11196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11199 
   11200 CC="$lt_save_CC"
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214         ac_config_commands="$ac_config_commands libtool"
   11215 
   11216 
   11217 
   11218 
   11219 # Only expand once:
   11220 
   11221 
   11222 
   11223 # Require X.Org macros 1.8 or later for AC_PROG_INSTALL
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11236 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11237 if ${ac_cv_prog_cc_c99+:} false; then :
   11238   $as_echo_n "(cached) " >&6
   11239 else
   11240   ac_cv_prog_cc_c99=no
   11241 ac_save_CC=$CC
   11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11243 /* end confdefs.h.  */
   11244 #include <stdarg.h>
   11245 #include <stdbool.h>
   11246 #include <stdlib.h>
   11247 #include <wchar.h>
   11248 #include <stdio.h>
   11249 
   11250 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11251 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11252 #define showlist(...) puts (#__VA_ARGS__)
   11253 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11254 static void
   11255 test_varargs_macros (void)
   11256 {
   11257   int x = 1234;
   11258   int y = 5678;
   11259   debug ("Flag");
   11260   debug ("X = %d\n", x);
   11261   showlist (The first, second, and third items.);
   11262   report (x>y, "x is %d but y is %d", x, y);
   11263 }
   11264 
   11265 // Check long long types.
   11266 #define BIG64 18446744073709551615ull
   11267 #define BIG32 4294967295ul
   11268 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11269 #if !BIG_OK
   11270   your preprocessor is broken;
   11271 #endif
   11272 #if BIG_OK
   11273 #else
   11274   your preprocessor is broken;
   11275 #endif
   11276 static long long int bignum = -9223372036854775807LL;
   11277 static unsigned long long int ubignum = BIG64;
   11278 
   11279 struct incomplete_array
   11280 {
   11281   int datasize;
   11282   double data[];
   11283 };
   11284 
   11285 struct named_init {
   11286   int number;
   11287   const wchar_t *name;
   11288   double average;
   11289 };
   11290 
   11291 typedef const char *ccp;
   11292 
   11293 static inline int
   11294 test_restrict (ccp restrict text)
   11295 {
   11296   // See if C++-style comments work.
   11297   // Iterate through items via the restricted pointer.
   11298   // Also check for declarations in for loops.
   11299   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11300     continue;
   11301   return 0;
   11302 }
   11303 
   11304 // Check varargs and va_copy.
   11305 static void
   11306 test_varargs (const char *format, ...)
   11307 {
   11308   va_list args;
   11309   va_start (args, format);
   11310   va_list args_copy;
   11311   va_copy (args_copy, args);
   11312 
   11313   const char *str;
   11314   int number;
   11315   float fnumber;
   11316 
   11317   while (*format)
   11318     {
   11319       switch (*format++)
   11320 	{
   11321 	case 's': // string
   11322 	  str = va_arg (args_copy, const char *);
   11323 	  break;
   11324 	case 'd': // int
   11325 	  number = va_arg (args_copy, int);
   11326 	  break;
   11327 	case 'f': // float
   11328 	  fnumber = va_arg (args_copy, double);
   11329 	  break;
   11330 	default:
   11331 	  break;
   11332 	}
   11333     }
   11334   va_end (args_copy);
   11335   va_end (args);
   11336 }
   11337 
   11338 int
   11339 main ()
   11340 {
   11341 
   11342   // Check bool.
   11343   _Bool success = false;
   11344 
   11345   // Check restrict.
   11346   if (test_restrict ("String literal") == 0)
   11347     success = true;
   11348   char *restrict newvar = "Another string";
   11349 
   11350   // Check varargs.
   11351   test_varargs ("s, d' f .", "string", 65, 34.234);
   11352   test_varargs_macros ();
   11353 
   11354   // Check flexible array members.
   11355   struct incomplete_array *ia =
   11356     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11357   ia->datasize = 10;
   11358   for (int i = 0; i < ia->datasize; ++i)
   11359     ia->data[i] = i * 1.234;
   11360 
   11361   // Check named initializers.
   11362   struct named_init ni = {
   11363     .number = 34,
   11364     .name = L"Test wide string",
   11365     .average = 543.34343,
   11366   };
   11367 
   11368   ni.number = 58;
   11369 
   11370   int dynamic_array[ni.number];
   11371   dynamic_array[ni.number - 1] = 543;
   11372 
   11373   // work around unused variable warnings
   11374   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11375 	  || dynamic_array[ni.number - 1] != 543);
   11376 
   11377   ;
   11378   return 0;
   11379 }
   11380 _ACEOF
   11381 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11382 do
   11383   CC="$ac_save_CC $ac_arg"
   11384   if ac_fn_c_try_compile "$LINENO"; then :
   11385   ac_cv_prog_cc_c99=$ac_arg
   11386 fi
   11387 rm -f core conftest.err conftest.$ac_objext
   11388   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11389 done
   11390 rm -f conftest.$ac_ext
   11391 CC=$ac_save_CC
   11392 
   11393 fi
   11394 # AC_CACHE_VAL
   11395 case "x$ac_cv_prog_cc_c99" in
   11396   x)
   11397     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11398 $as_echo "none needed" >&6; } ;;
   11399   xno)
   11400     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11401 $as_echo "unsupported" >&6; } ;;
   11402   *)
   11403     CC="$CC $ac_cv_prog_cc_c99"
   11404     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11405 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11406 esac
   11407 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11408 
   11409 fi
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11417 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11418   CLANGCC="yes"
   11419 else
   11420   CLANGCC="no"
   11421 fi
   11422 
   11423 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11424 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11425   INTELCC="yes"
   11426 else
   11427   INTELCC="no"
   11428 fi
   11429 
   11430 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11431 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11432   SUNCC="yes"
   11433 else
   11434   SUNCC="no"
   11435 fi
   11436 
   11437 
   11438 
   11439 
   11440 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11441 	if test -n "$ac_tool_prefix"; then
   11442   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11443 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11445 $as_echo_n "checking for $ac_word... " >&6; }
   11446 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11447   $as_echo_n "(cached) " >&6
   11448 else
   11449   case $PKG_CONFIG in
   11450   [\\/]* | ?:[\\/]*)
   11451   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11452   ;;
   11453   *)
   11454   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11455 for as_dir in $PATH
   11456 do
   11457   IFS=$as_save_IFS
   11458   test -z "$as_dir" && as_dir=.
   11459     for ac_exec_ext in '' $ac_executable_extensions; do
   11460   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11461     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11462     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11463     break 2
   11464   fi
   11465 done
   11466   done
   11467 IFS=$as_save_IFS
   11468 
   11469   ;;
   11470 esac
   11471 fi
   11472 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11473 if test -n "$PKG_CONFIG"; then
   11474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11475 $as_echo "$PKG_CONFIG" >&6; }
   11476 else
   11477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11478 $as_echo "no" >&6; }
   11479 fi
   11480 
   11481 
   11482 fi
   11483 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11484   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11485   # Extract the first word of "pkg-config", so it can be a program name with args.
   11486 set dummy pkg-config; ac_word=$2
   11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11488 $as_echo_n "checking for $ac_word... " >&6; }
   11489 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11490   $as_echo_n "(cached) " >&6
   11491 else
   11492   case $ac_pt_PKG_CONFIG in
   11493   [\\/]* | ?:[\\/]*)
   11494   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11495   ;;
   11496   *)
   11497   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11498 for as_dir in $PATH
   11499 do
   11500   IFS=$as_save_IFS
   11501   test -z "$as_dir" && as_dir=.
   11502     for ac_exec_ext in '' $ac_executable_extensions; do
   11503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11504     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11506     break 2
   11507   fi
   11508 done
   11509   done
   11510 IFS=$as_save_IFS
   11511 
   11512   ;;
   11513 esac
   11514 fi
   11515 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11516 if test -n "$ac_pt_PKG_CONFIG"; then
   11517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11518 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11519 else
   11520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11521 $as_echo "no" >&6; }
   11522 fi
   11523 
   11524   if test "x$ac_pt_PKG_CONFIG" = x; then
   11525     PKG_CONFIG=""
   11526   else
   11527     case $cross_compiling:$ac_tool_warned in
   11528 yes:)
   11529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11531 ac_tool_warned=yes ;;
   11532 esac
   11533     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11534   fi
   11535 else
   11536   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11537 fi
   11538 
   11539 fi
   11540 if test -n "$PKG_CONFIG"; then
   11541 	_pkg_min_version=0.9.0
   11542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11543 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11544 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11545 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11546 $as_echo "yes" >&6; }
   11547 	else
   11548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11549 $as_echo "no" >&6; }
   11550 		PKG_CONFIG=""
   11551 	fi
   11552 
   11553 fi
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 # Check whether --enable-selective-werror was given.
   11560 if test "${enable_selective_werror+set}" = set; then :
   11561   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11562 else
   11563   SELECTIVE_WERROR=yes
   11564 fi
   11565 
   11566 
   11567 
   11568 
   11569 
   11570 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11571 if test "x$SUNCC" = "xyes"; then
   11572     BASE_CFLAGS="-v"
   11573 else
   11574     BASE_CFLAGS=""
   11575 fi
   11576 
   11577 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11578 
   11579 
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 
   11586 
   11587 
   11588 
   11589 xorg_testset_save_CFLAGS="$CFLAGS"
   11590 
   11591 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11594 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11595 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11596   $as_echo_n "(cached) " >&6
   11597 else
   11598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11599 /* end confdefs.h.  */
   11600 int i;
   11601 _ACEOF
   11602 if ac_fn_c_try_compile "$LINENO"; then :
   11603   xorg_cv_compiler_flag_unknown_warning_option=yes
   11604 else
   11605   xorg_cv_compiler_flag_unknown_warning_option=no
   11606 fi
   11607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11608 fi
   11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11610 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11611 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11612 	CFLAGS="$xorg_testset_save_CFLAGS"
   11613 fi
   11614 
   11615 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11616 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11618 	fi
   11619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11621 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11622 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11623   $as_echo_n "(cached) " >&6
   11624 else
   11625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11626 /* end confdefs.h.  */
   11627 int i;
   11628 _ACEOF
   11629 if ac_fn_c_try_compile "$LINENO"; then :
   11630   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11631 else
   11632   xorg_cv_compiler_flag_unused_command_line_argument=no
   11633 fi
   11634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11635 fi
   11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11637 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11638 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11639 	CFLAGS="$xorg_testset_save_CFLAGS"
   11640 fi
   11641 
   11642 found="no"
   11643 
   11644 	if test $found = "no" ; then
   11645 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11647 		fi
   11648 
   11649 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11651 		fi
   11652 
   11653 		CFLAGS="$CFLAGS -Wall"
   11654 
   11655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11656 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11657 		cacheid=`$as_echo xorg_cv_cc_flag_-Wall`
   11658 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11659   $as_echo_n "(cached) " >&6
   11660 else
   11661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11662 /* end confdefs.h.  */
   11663 int i;
   11664 int
   11665 main ()
   11666 {
   11667 
   11668   ;
   11669   return 0;
   11670 }
   11671 _ACEOF
   11672 if ac_fn_c_try_link "$LINENO"; then :
   11673   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11674 else
   11675   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11676 fi
   11677 rm -f core conftest.err conftest.$ac_objext \
   11678     conftest$ac_exeext conftest.$ac_ext
   11679 fi
   11680 
   11681 
   11682 		CFLAGS="$xorg_testset_save_CFLAGS"
   11683 
   11684 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   11685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11686 $as_echo "$supported" >&6; }
   11687 		if test "$supported" = "yes" ; then
   11688 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11689 			found="yes"
   11690 		fi
   11691 	fi
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 xorg_testset_save_CFLAGS="$CFLAGS"
   11706 
   11707 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11708 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11710 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11711 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11712   $as_echo_n "(cached) " >&6
   11713 else
   11714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11715 /* end confdefs.h.  */
   11716 int i;
   11717 _ACEOF
   11718 if ac_fn_c_try_compile "$LINENO"; then :
   11719   xorg_cv_compiler_flag_unknown_warning_option=yes
   11720 else
   11721   xorg_cv_compiler_flag_unknown_warning_option=no
   11722 fi
   11723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11724 fi
   11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11726 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11727 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11728 	CFLAGS="$xorg_testset_save_CFLAGS"
   11729 fi
   11730 
   11731 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11732 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11733 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11734 	fi
   11735 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11737 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11738 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11739   $as_echo_n "(cached) " >&6
   11740 else
   11741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11742 /* end confdefs.h.  */
   11743 int i;
   11744 _ACEOF
   11745 if ac_fn_c_try_compile "$LINENO"; then :
   11746   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11747 else
   11748   xorg_cv_compiler_flag_unused_command_line_argument=no
   11749 fi
   11750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11751 fi
   11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11753 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11754 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11755 	CFLAGS="$xorg_testset_save_CFLAGS"
   11756 fi
   11757 
   11758 found="no"
   11759 
   11760 	if test $found = "no" ; then
   11761 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11763 		fi
   11764 
   11765 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11767 		fi
   11768 
   11769 		CFLAGS="$CFLAGS -Wpointer-arith"
   11770 
   11771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11772 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11773 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-arith`
   11774 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11775   $as_echo_n "(cached) " >&6
   11776 else
   11777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11778 /* end confdefs.h.  */
   11779 int i;
   11780 int
   11781 main ()
   11782 {
   11783 
   11784   ;
   11785   return 0;
   11786 }
   11787 _ACEOF
   11788 if ac_fn_c_try_link "$LINENO"; then :
   11789   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11790 else
   11791   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11792 fi
   11793 rm -f core conftest.err conftest.$ac_objext \
   11794     conftest$ac_exeext conftest.$ac_ext
   11795 fi
   11796 
   11797 
   11798 		CFLAGS="$xorg_testset_save_CFLAGS"
   11799 
   11800 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   11801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11802 $as_echo "$supported" >&6; }
   11803 		if test "$supported" = "yes" ; then
   11804 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11805 			found="yes"
   11806 		fi
   11807 	fi
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 xorg_testset_save_CFLAGS="$CFLAGS"
   11822 
   11823 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11826 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11827 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11828   $as_echo_n "(cached) " >&6
   11829 else
   11830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11831 /* end confdefs.h.  */
   11832 int i;
   11833 _ACEOF
   11834 if ac_fn_c_try_compile "$LINENO"; then :
   11835   xorg_cv_compiler_flag_unknown_warning_option=yes
   11836 else
   11837   xorg_cv_compiler_flag_unknown_warning_option=no
   11838 fi
   11839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11840 fi
   11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11842 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11843 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11844 	CFLAGS="$xorg_testset_save_CFLAGS"
   11845 fi
   11846 
   11847 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11848 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11850 	fi
   11851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11853 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11854 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11855   $as_echo_n "(cached) " >&6
   11856 else
   11857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11858 /* end confdefs.h.  */
   11859 int i;
   11860 _ACEOF
   11861 if ac_fn_c_try_compile "$LINENO"; then :
   11862   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11863 else
   11864   xorg_cv_compiler_flag_unused_command_line_argument=no
   11865 fi
   11866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11867 fi
   11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11869 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11870 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11871 	CFLAGS="$xorg_testset_save_CFLAGS"
   11872 fi
   11873 
   11874 found="no"
   11875 
   11876 	if test $found = "no" ; then
   11877 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11879 		fi
   11880 
   11881 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11883 		fi
   11884 
   11885 		CFLAGS="$CFLAGS -Wmissing-declarations"
   11886 
   11887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   11888 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   11889 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-declarations`
   11890 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11891   $as_echo_n "(cached) " >&6
   11892 else
   11893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11894 /* end confdefs.h.  */
   11895 int i;
   11896 int
   11897 main ()
   11898 {
   11899 
   11900   ;
   11901   return 0;
   11902 }
   11903 _ACEOF
   11904 if ac_fn_c_try_link "$LINENO"; then :
   11905   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11906 else
   11907   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11908 fi
   11909 rm -f core conftest.err conftest.$ac_objext \
   11910     conftest$ac_exeext conftest.$ac_ext
   11911 fi
   11912 
   11913 
   11914 		CFLAGS="$xorg_testset_save_CFLAGS"
   11915 
   11916 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   11917 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11918 $as_echo "$supported" >&6; }
   11919 		if test "$supported" = "yes" ; then
   11920 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   11921 			found="yes"
   11922 		fi
   11923 	fi
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 xorg_testset_save_CFLAGS="$CFLAGS"
   11938 
   11939 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11940 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11942 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11943 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11944   $as_echo_n "(cached) " >&6
   11945 else
   11946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11947 /* end confdefs.h.  */
   11948 int i;
   11949 _ACEOF
   11950 if ac_fn_c_try_compile "$LINENO"; then :
   11951   xorg_cv_compiler_flag_unknown_warning_option=yes
   11952 else
   11953   xorg_cv_compiler_flag_unknown_warning_option=no
   11954 fi
   11955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11956 fi
   11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11958 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11959 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11960 	CFLAGS="$xorg_testset_save_CFLAGS"
   11961 fi
   11962 
   11963 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11964 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11965 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11966 	fi
   11967 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11969 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11970 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11971   $as_echo_n "(cached) " >&6
   11972 else
   11973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11974 /* end confdefs.h.  */
   11975 int i;
   11976 _ACEOF
   11977 if ac_fn_c_try_compile "$LINENO"; then :
   11978   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11979 else
   11980   xorg_cv_compiler_flag_unused_command_line_argument=no
   11981 fi
   11982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11983 fi
   11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11985 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11986 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11987 	CFLAGS="$xorg_testset_save_CFLAGS"
   11988 fi
   11989 
   11990 found="no"
   11991 
   11992 	if test $found = "no" ; then
   11993 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11994 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11995 		fi
   11996 
   11997 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11998 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11999 		fi
   12000 
   12001 		CFLAGS="$CFLAGS -Wformat=2"
   12002 
   12003 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12004 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12005 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat=2`
   12006 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12007   $as_echo_n "(cached) " >&6
   12008 else
   12009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12010 /* end confdefs.h.  */
   12011 int i;
   12012 int
   12013 main ()
   12014 {
   12015 
   12016   ;
   12017   return 0;
   12018 }
   12019 _ACEOF
   12020 if ac_fn_c_try_link "$LINENO"; then :
   12021   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12022 else
   12023   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12024 fi
   12025 rm -f core conftest.err conftest.$ac_objext \
   12026     conftest$ac_exeext conftest.$ac_ext
   12027 fi
   12028 
   12029 
   12030 		CFLAGS="$xorg_testset_save_CFLAGS"
   12031 
   12032 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12034 $as_echo "$supported" >&6; }
   12035 		if test "$supported" = "yes" ; then
   12036 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12037 			found="yes"
   12038 		fi
   12039 	fi
   12040 
   12041 	if test $found = "no" ; then
   12042 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12043 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12044 		fi
   12045 
   12046 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12047 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12048 		fi
   12049 
   12050 		CFLAGS="$CFLAGS -Wformat"
   12051 
   12052 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12053 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12054 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat`
   12055 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12056   $as_echo_n "(cached) " >&6
   12057 else
   12058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12059 /* end confdefs.h.  */
   12060 int i;
   12061 int
   12062 main ()
   12063 {
   12064 
   12065   ;
   12066   return 0;
   12067 }
   12068 _ACEOF
   12069 if ac_fn_c_try_link "$LINENO"; then :
   12070   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12071 else
   12072   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12073 fi
   12074 rm -f core conftest.err conftest.$ac_objext \
   12075     conftest$ac_exeext conftest.$ac_ext
   12076 fi
   12077 
   12078 
   12079 		CFLAGS="$xorg_testset_save_CFLAGS"
   12080 
   12081 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12082 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12083 $as_echo "$supported" >&6; }
   12084 		if test "$supported" = "yes" ; then
   12085 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12086 			found="yes"
   12087 		fi
   12088 	fi
   12089 
   12090 
   12091 
   12092 
   12093 
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 
   12102 
   12103 
   12104 xorg_testset_save_CFLAGS="$CFLAGS"
   12105 
   12106 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12107 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12109 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12110 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12111   $as_echo_n "(cached) " >&6
   12112 else
   12113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12114 /* end confdefs.h.  */
   12115 int i;
   12116 _ACEOF
   12117 if ac_fn_c_try_compile "$LINENO"; then :
   12118   xorg_cv_compiler_flag_unknown_warning_option=yes
   12119 else
   12120   xorg_cv_compiler_flag_unknown_warning_option=no
   12121 fi
   12122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12123 fi
   12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12125 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12126 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12127 	CFLAGS="$xorg_testset_save_CFLAGS"
   12128 fi
   12129 
   12130 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12131 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12132 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12133 	fi
   12134 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12135 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12136 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12137 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12138   $as_echo_n "(cached) " >&6
   12139 else
   12140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12141 /* end confdefs.h.  */
   12142 int i;
   12143 _ACEOF
   12144 if ac_fn_c_try_compile "$LINENO"; then :
   12145   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12146 else
   12147   xorg_cv_compiler_flag_unused_command_line_argument=no
   12148 fi
   12149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12150 fi
   12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12152 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12153 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12154 	CFLAGS="$xorg_testset_save_CFLAGS"
   12155 fi
   12156 
   12157 found="no"
   12158 
   12159 	if test $found = "no" ; then
   12160 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12161 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12162 		fi
   12163 
   12164 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12165 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12166 		fi
   12167 
   12168 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12169 
   12170 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12171 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12172 		cacheid=`$as_echo xorg_cv_cc_flag_-Wstrict-prototypes`
   12173 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12174   $as_echo_n "(cached) " >&6
   12175 else
   12176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12177 /* end confdefs.h.  */
   12178 int i;
   12179 int
   12180 main ()
   12181 {
   12182 
   12183   ;
   12184   return 0;
   12185 }
   12186 _ACEOF
   12187 if ac_fn_c_try_link "$LINENO"; then :
   12188   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12189 else
   12190   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12191 fi
   12192 rm -f core conftest.err conftest.$ac_objext \
   12193     conftest$ac_exeext conftest.$ac_ext
   12194 fi
   12195 
   12196 
   12197 		CFLAGS="$xorg_testset_save_CFLAGS"
   12198 
   12199 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12200 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12201 $as_echo "$supported" >&6; }
   12202 		if test "$supported" = "yes" ; then
   12203 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12204 			found="yes"
   12205 		fi
   12206 	fi
   12207 
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 xorg_testset_save_CFLAGS="$CFLAGS"
   12221 
   12222 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12225 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12226 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12227   $as_echo_n "(cached) " >&6
   12228 else
   12229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12230 /* end confdefs.h.  */
   12231 int i;
   12232 _ACEOF
   12233 if ac_fn_c_try_compile "$LINENO"; then :
   12234   xorg_cv_compiler_flag_unknown_warning_option=yes
   12235 else
   12236   xorg_cv_compiler_flag_unknown_warning_option=no
   12237 fi
   12238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12239 fi
   12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12241 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12242 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12243 	CFLAGS="$xorg_testset_save_CFLAGS"
   12244 fi
   12245 
   12246 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12247 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12249 	fi
   12250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12252 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12253 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12254   $as_echo_n "(cached) " >&6
   12255 else
   12256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12257 /* end confdefs.h.  */
   12258 int i;
   12259 _ACEOF
   12260 if ac_fn_c_try_compile "$LINENO"; then :
   12261   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12262 else
   12263   xorg_cv_compiler_flag_unused_command_line_argument=no
   12264 fi
   12265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12266 fi
   12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12268 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12269 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12270 	CFLAGS="$xorg_testset_save_CFLAGS"
   12271 fi
   12272 
   12273 found="no"
   12274 
   12275 	if test $found = "no" ; then
   12276 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12278 		fi
   12279 
   12280 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12282 		fi
   12283 
   12284 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12285 
   12286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12287 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12288 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-prototypes`
   12289 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12290   $as_echo_n "(cached) " >&6
   12291 else
   12292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12293 /* end confdefs.h.  */
   12294 int i;
   12295 int
   12296 main ()
   12297 {
   12298 
   12299   ;
   12300   return 0;
   12301 }
   12302 _ACEOF
   12303 if ac_fn_c_try_link "$LINENO"; then :
   12304   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12305 else
   12306   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12307 fi
   12308 rm -f core conftest.err conftest.$ac_objext \
   12309     conftest$ac_exeext conftest.$ac_ext
   12310 fi
   12311 
   12312 
   12313 		CFLAGS="$xorg_testset_save_CFLAGS"
   12314 
   12315 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12317 $as_echo "$supported" >&6; }
   12318 		if test "$supported" = "yes" ; then
   12319 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12320 			found="yes"
   12321 		fi
   12322 	fi
   12323 
   12324 
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 
   12333 
   12334 
   12335 
   12336 xorg_testset_save_CFLAGS="$CFLAGS"
   12337 
   12338 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12339 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12341 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12342 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12343   $as_echo_n "(cached) " >&6
   12344 else
   12345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12346 /* end confdefs.h.  */
   12347 int i;
   12348 _ACEOF
   12349 if ac_fn_c_try_compile "$LINENO"; then :
   12350   xorg_cv_compiler_flag_unknown_warning_option=yes
   12351 else
   12352   xorg_cv_compiler_flag_unknown_warning_option=no
   12353 fi
   12354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12355 fi
   12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12357 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12358 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12359 	CFLAGS="$xorg_testset_save_CFLAGS"
   12360 fi
   12361 
   12362 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12363 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12364 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12365 	fi
   12366 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12367 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12368 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12369 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12370   $as_echo_n "(cached) " >&6
   12371 else
   12372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12373 /* end confdefs.h.  */
   12374 int i;
   12375 _ACEOF
   12376 if ac_fn_c_try_compile "$LINENO"; then :
   12377   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12378 else
   12379   xorg_cv_compiler_flag_unused_command_line_argument=no
   12380 fi
   12381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12382 fi
   12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12384 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12385 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12386 	CFLAGS="$xorg_testset_save_CFLAGS"
   12387 fi
   12388 
   12389 found="no"
   12390 
   12391 	if test $found = "no" ; then
   12392 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12393 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12394 		fi
   12395 
   12396 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12397 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12398 		fi
   12399 
   12400 		CFLAGS="$CFLAGS -Wnested-externs"
   12401 
   12402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12403 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12404 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnested-externs`
   12405 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12406   $as_echo_n "(cached) " >&6
   12407 else
   12408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12409 /* end confdefs.h.  */
   12410 int i;
   12411 int
   12412 main ()
   12413 {
   12414 
   12415   ;
   12416   return 0;
   12417 }
   12418 _ACEOF
   12419 if ac_fn_c_try_link "$LINENO"; then :
   12420   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12421 else
   12422   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12423 fi
   12424 rm -f core conftest.err conftest.$ac_objext \
   12425     conftest$ac_exeext conftest.$ac_ext
   12426 fi
   12427 
   12428 
   12429 		CFLAGS="$xorg_testset_save_CFLAGS"
   12430 
   12431 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12433 $as_echo "$supported" >&6; }
   12434 		if test "$supported" = "yes" ; then
   12435 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12436 			found="yes"
   12437 		fi
   12438 	fi
   12439 
   12440 
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 
   12448 
   12449 
   12450 
   12451 
   12452 xorg_testset_save_CFLAGS="$CFLAGS"
   12453 
   12454 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12455 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12457 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12458 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12459   $as_echo_n "(cached) " >&6
   12460 else
   12461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12462 /* end confdefs.h.  */
   12463 int i;
   12464 _ACEOF
   12465 if ac_fn_c_try_compile "$LINENO"; then :
   12466   xorg_cv_compiler_flag_unknown_warning_option=yes
   12467 else
   12468   xorg_cv_compiler_flag_unknown_warning_option=no
   12469 fi
   12470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12471 fi
   12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12473 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12474 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12475 	CFLAGS="$xorg_testset_save_CFLAGS"
   12476 fi
   12477 
   12478 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12479 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12480 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12481 	fi
   12482 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12483 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12484 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12485 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12486   $as_echo_n "(cached) " >&6
   12487 else
   12488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12489 /* end confdefs.h.  */
   12490 int i;
   12491 _ACEOF
   12492 if ac_fn_c_try_compile "$LINENO"; then :
   12493   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12494 else
   12495   xorg_cv_compiler_flag_unused_command_line_argument=no
   12496 fi
   12497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12498 fi
   12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12500 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12501 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12502 	CFLAGS="$xorg_testset_save_CFLAGS"
   12503 fi
   12504 
   12505 found="no"
   12506 
   12507 	if test $found = "no" ; then
   12508 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12509 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12510 		fi
   12511 
   12512 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12513 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12514 		fi
   12515 
   12516 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12517 
   12518 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12519 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12520 		cacheid=`$as_echo xorg_cv_cc_flag_-Wbad-function-cast`
   12521 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12522   $as_echo_n "(cached) " >&6
   12523 else
   12524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12525 /* end confdefs.h.  */
   12526 int i;
   12527 int
   12528 main ()
   12529 {
   12530 
   12531   ;
   12532   return 0;
   12533 }
   12534 _ACEOF
   12535 if ac_fn_c_try_link "$LINENO"; then :
   12536   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12537 else
   12538   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12539 fi
   12540 rm -f core conftest.err conftest.$ac_objext \
   12541     conftest$ac_exeext conftest.$ac_ext
   12542 fi
   12543 
   12544 
   12545 		CFLAGS="$xorg_testset_save_CFLAGS"
   12546 
   12547 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12549 $as_echo "$supported" >&6; }
   12550 		if test "$supported" = "yes" ; then
   12551 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12552 			found="yes"
   12553 		fi
   12554 	fi
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 
   12566 
   12567 
   12568 xorg_testset_save_CFLAGS="$CFLAGS"
   12569 
   12570 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12571 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12573 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12574 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12575   $as_echo_n "(cached) " >&6
   12576 else
   12577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12578 /* end confdefs.h.  */
   12579 int i;
   12580 _ACEOF
   12581 if ac_fn_c_try_compile "$LINENO"; then :
   12582   xorg_cv_compiler_flag_unknown_warning_option=yes
   12583 else
   12584   xorg_cv_compiler_flag_unknown_warning_option=no
   12585 fi
   12586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12587 fi
   12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12589 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12590 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12591 	CFLAGS="$xorg_testset_save_CFLAGS"
   12592 fi
   12593 
   12594 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12595 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12597 	fi
   12598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12599 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12600 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12601 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12602   $as_echo_n "(cached) " >&6
   12603 else
   12604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12605 /* end confdefs.h.  */
   12606 int i;
   12607 _ACEOF
   12608 if ac_fn_c_try_compile "$LINENO"; then :
   12609   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12610 else
   12611   xorg_cv_compiler_flag_unused_command_line_argument=no
   12612 fi
   12613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12614 fi
   12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12616 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12617 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12618 	CFLAGS="$xorg_testset_save_CFLAGS"
   12619 fi
   12620 
   12621 found="no"
   12622 
   12623 	if test $found = "no" ; then
   12624 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12625 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12626 		fi
   12627 
   12628 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12629 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12630 		fi
   12631 
   12632 		CFLAGS="$CFLAGS -Wold-style-definition"
   12633 
   12634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12635 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12636 		cacheid=`$as_echo xorg_cv_cc_flag_-Wold-style-definition`
   12637 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12638   $as_echo_n "(cached) " >&6
   12639 else
   12640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12641 /* end confdefs.h.  */
   12642 int i;
   12643 int
   12644 main ()
   12645 {
   12646 
   12647   ;
   12648   return 0;
   12649 }
   12650 _ACEOF
   12651 if ac_fn_c_try_link "$LINENO"; then :
   12652   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12653 else
   12654   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12655 fi
   12656 rm -f core conftest.err conftest.$ac_objext \
   12657     conftest$ac_exeext conftest.$ac_ext
   12658 fi
   12659 
   12660 
   12661 		CFLAGS="$xorg_testset_save_CFLAGS"
   12662 
   12663 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12665 $as_echo "$supported" >&6; }
   12666 		if test "$supported" = "yes" ; then
   12667 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12668 			found="yes"
   12669 		fi
   12670 	fi
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 xorg_testset_save_CFLAGS="$CFLAGS"
   12685 
   12686 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12687 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12689 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12690 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12691   $as_echo_n "(cached) " >&6
   12692 else
   12693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12694 /* end confdefs.h.  */
   12695 int i;
   12696 _ACEOF
   12697 if ac_fn_c_try_compile "$LINENO"; then :
   12698   xorg_cv_compiler_flag_unknown_warning_option=yes
   12699 else
   12700   xorg_cv_compiler_flag_unknown_warning_option=no
   12701 fi
   12702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12703 fi
   12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12705 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12706 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12707 	CFLAGS="$xorg_testset_save_CFLAGS"
   12708 fi
   12709 
   12710 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12711 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12713 	fi
   12714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12716 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12717 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12718   $as_echo_n "(cached) " >&6
   12719 else
   12720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12721 /* end confdefs.h.  */
   12722 int i;
   12723 _ACEOF
   12724 if ac_fn_c_try_compile "$LINENO"; then :
   12725   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12726 else
   12727   xorg_cv_compiler_flag_unused_command_line_argument=no
   12728 fi
   12729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12730 fi
   12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12732 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12733 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12734 	CFLAGS="$xorg_testset_save_CFLAGS"
   12735 fi
   12736 
   12737 found="no"
   12738 
   12739 	if test $found = "no" ; then
   12740 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12742 		fi
   12743 
   12744 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12746 		fi
   12747 
   12748 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12749 
   12750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12751 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12752 		cacheid=`$as_echo xorg_cv_cc_flag_-Wdeclaration-after-statement`
   12753 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12754   $as_echo_n "(cached) " >&6
   12755 else
   12756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12757 /* end confdefs.h.  */
   12758 int i;
   12759 int
   12760 main ()
   12761 {
   12762 
   12763   ;
   12764   return 0;
   12765 }
   12766 _ACEOF
   12767 if ac_fn_c_try_link "$LINENO"; then :
   12768   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12769 else
   12770   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12771 fi
   12772 rm -f core conftest.err conftest.$ac_objext \
   12773     conftest$ac_exeext conftest.$ac_ext
   12774 fi
   12775 
   12776 
   12777 		CFLAGS="$xorg_testset_save_CFLAGS"
   12778 
   12779 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12781 $as_echo "$supported" >&6; }
   12782 		if test "$supported" = "yes" ; then
   12783 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12784 			found="yes"
   12785 		fi
   12786 	fi
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 # This chunk adds additional warnings that could catch undesired effects.
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 xorg_testset_save_CFLAGS="$CFLAGS"
   12805 
   12806 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12807 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12809 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12810 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12811   $as_echo_n "(cached) " >&6
   12812 else
   12813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12814 /* end confdefs.h.  */
   12815 int i;
   12816 _ACEOF
   12817 if ac_fn_c_try_compile "$LINENO"; then :
   12818   xorg_cv_compiler_flag_unknown_warning_option=yes
   12819 else
   12820   xorg_cv_compiler_flag_unknown_warning_option=no
   12821 fi
   12822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12823 fi
   12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12825 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12826 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12827 	CFLAGS="$xorg_testset_save_CFLAGS"
   12828 fi
   12829 
   12830 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12831 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12832 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12833 	fi
   12834 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12836 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12837 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12838   $as_echo_n "(cached) " >&6
   12839 else
   12840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12841 /* end confdefs.h.  */
   12842 int i;
   12843 _ACEOF
   12844 if ac_fn_c_try_compile "$LINENO"; then :
   12845   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12846 else
   12847   xorg_cv_compiler_flag_unused_command_line_argument=no
   12848 fi
   12849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12850 fi
   12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12852 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12853 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12854 	CFLAGS="$xorg_testset_save_CFLAGS"
   12855 fi
   12856 
   12857 found="no"
   12858 
   12859 	if test $found = "no" ; then
   12860 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12861 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12862 		fi
   12863 
   12864 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12865 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12866 		fi
   12867 
   12868 		CFLAGS="$CFLAGS -Wunused"
   12869 
   12870 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   12871 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   12872 		cacheid=`$as_echo xorg_cv_cc_flag_-Wunused`
   12873 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12874   $as_echo_n "(cached) " >&6
   12875 else
   12876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12877 /* end confdefs.h.  */
   12878 int i;
   12879 int
   12880 main ()
   12881 {
   12882 
   12883   ;
   12884   return 0;
   12885 }
   12886 _ACEOF
   12887 if ac_fn_c_try_link "$LINENO"; then :
   12888   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12889 else
   12890   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12891 fi
   12892 rm -f core conftest.err conftest.$ac_objext \
   12893     conftest$ac_exeext conftest.$ac_ext
   12894 fi
   12895 
   12896 
   12897 		CFLAGS="$xorg_testset_save_CFLAGS"
   12898 
   12899 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12901 $as_echo "$supported" >&6; }
   12902 		if test "$supported" = "yes" ; then
   12903 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   12904 			found="yes"
   12905 		fi
   12906 	fi
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 
   12919 
   12920 xorg_testset_save_CFLAGS="$CFLAGS"
   12921 
   12922 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12925 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12926 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12927   $as_echo_n "(cached) " >&6
   12928 else
   12929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12930 /* end confdefs.h.  */
   12931 int i;
   12932 _ACEOF
   12933 if ac_fn_c_try_compile "$LINENO"; then :
   12934   xorg_cv_compiler_flag_unknown_warning_option=yes
   12935 else
   12936   xorg_cv_compiler_flag_unknown_warning_option=no
   12937 fi
   12938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12939 fi
   12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12941 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12942 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12943 	CFLAGS="$xorg_testset_save_CFLAGS"
   12944 fi
   12945 
   12946 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12947 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12948 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12949 	fi
   12950 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12952 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12953 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12954   $as_echo_n "(cached) " >&6
   12955 else
   12956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12957 /* end confdefs.h.  */
   12958 int i;
   12959 _ACEOF
   12960 if ac_fn_c_try_compile "$LINENO"; then :
   12961   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12962 else
   12963   xorg_cv_compiler_flag_unused_command_line_argument=no
   12964 fi
   12965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12966 fi
   12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12968 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12969 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12970 	CFLAGS="$xorg_testset_save_CFLAGS"
   12971 fi
   12972 
   12973 found="no"
   12974 
   12975 	if test $found = "no" ; then
   12976 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12978 		fi
   12979 
   12980 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12982 		fi
   12983 
   12984 		CFLAGS="$CFLAGS -Wuninitialized"
   12985 
   12986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   12987 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   12988 		cacheid=`$as_echo xorg_cv_cc_flag_-Wuninitialized`
   12989 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12990   $as_echo_n "(cached) " >&6
   12991 else
   12992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12993 /* end confdefs.h.  */
   12994 int i;
   12995 int
   12996 main ()
   12997 {
   12998 
   12999   ;
   13000   return 0;
   13001 }
   13002 _ACEOF
   13003 if ac_fn_c_try_link "$LINENO"; then :
   13004   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13005 else
   13006   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13007 fi
   13008 rm -f core conftest.err conftest.$ac_objext \
   13009     conftest$ac_exeext conftest.$ac_ext
   13010 fi
   13011 
   13012 
   13013 		CFLAGS="$xorg_testset_save_CFLAGS"
   13014 
   13015 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13017 $as_echo "$supported" >&6; }
   13018 		if test "$supported" = "yes" ; then
   13019 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13020 			found="yes"
   13021 		fi
   13022 	fi
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 
   13036 xorg_testset_save_CFLAGS="$CFLAGS"
   13037 
   13038 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13039 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13040 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13041 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13042 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13043   $as_echo_n "(cached) " >&6
   13044 else
   13045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13046 /* end confdefs.h.  */
   13047 int i;
   13048 _ACEOF
   13049 if ac_fn_c_try_compile "$LINENO"; then :
   13050   xorg_cv_compiler_flag_unknown_warning_option=yes
   13051 else
   13052   xorg_cv_compiler_flag_unknown_warning_option=no
   13053 fi
   13054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13055 fi
   13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13057 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13058 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13059 	CFLAGS="$xorg_testset_save_CFLAGS"
   13060 fi
   13061 
   13062 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13063 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13064 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13065 	fi
   13066 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13068 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13069 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13070   $as_echo_n "(cached) " >&6
   13071 else
   13072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13073 /* end confdefs.h.  */
   13074 int i;
   13075 _ACEOF
   13076 if ac_fn_c_try_compile "$LINENO"; then :
   13077   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13078 else
   13079   xorg_cv_compiler_flag_unused_command_line_argument=no
   13080 fi
   13081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13082 fi
   13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13084 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13085 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13086 	CFLAGS="$xorg_testset_save_CFLAGS"
   13087 fi
   13088 
   13089 found="no"
   13090 
   13091 	if test $found = "no" ; then
   13092 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13093 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13094 		fi
   13095 
   13096 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13097 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13098 		fi
   13099 
   13100 		CFLAGS="$CFLAGS -Wshadow"
   13101 
   13102 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13103 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13104 		cacheid=`$as_echo xorg_cv_cc_flag_-Wshadow`
   13105 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13106   $as_echo_n "(cached) " >&6
   13107 else
   13108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13109 /* end confdefs.h.  */
   13110 int i;
   13111 int
   13112 main ()
   13113 {
   13114 
   13115   ;
   13116   return 0;
   13117 }
   13118 _ACEOF
   13119 if ac_fn_c_try_link "$LINENO"; then :
   13120   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13121 else
   13122   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13123 fi
   13124 rm -f core conftest.err conftest.$ac_objext \
   13125     conftest$ac_exeext conftest.$ac_ext
   13126 fi
   13127 
   13128 
   13129 		CFLAGS="$xorg_testset_save_CFLAGS"
   13130 
   13131 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13132 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13133 $as_echo "$supported" >&6; }
   13134 		if test "$supported" = "yes" ; then
   13135 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13136 			found="yes"
   13137 		fi
   13138 	fi
   13139 
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 
   13152 xorg_testset_save_CFLAGS="$CFLAGS"
   13153 
   13154 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13155 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13157 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13158 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13159   $as_echo_n "(cached) " >&6
   13160 else
   13161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13162 /* end confdefs.h.  */
   13163 int i;
   13164 _ACEOF
   13165 if ac_fn_c_try_compile "$LINENO"; then :
   13166   xorg_cv_compiler_flag_unknown_warning_option=yes
   13167 else
   13168   xorg_cv_compiler_flag_unknown_warning_option=no
   13169 fi
   13170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13171 fi
   13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13173 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13174 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13175 	CFLAGS="$xorg_testset_save_CFLAGS"
   13176 fi
   13177 
   13178 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13179 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13181 	fi
   13182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13184 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13185 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13186   $as_echo_n "(cached) " >&6
   13187 else
   13188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13189 /* end confdefs.h.  */
   13190 int i;
   13191 _ACEOF
   13192 if ac_fn_c_try_compile "$LINENO"; then :
   13193   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13194 else
   13195   xorg_cv_compiler_flag_unused_command_line_argument=no
   13196 fi
   13197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13198 fi
   13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13200 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13201 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13202 	CFLAGS="$xorg_testset_save_CFLAGS"
   13203 fi
   13204 
   13205 found="no"
   13206 
   13207 	if test $found = "no" ; then
   13208 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13209 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13210 		fi
   13211 
   13212 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13213 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13214 		fi
   13215 
   13216 		CFLAGS="$CFLAGS -Wcast-qual"
   13217 
   13218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13219 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13220 		cacheid=`$as_echo xorg_cv_cc_flag_-Wcast-qual`
   13221 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13222   $as_echo_n "(cached) " >&6
   13223 else
   13224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13225 /* end confdefs.h.  */
   13226 int i;
   13227 int
   13228 main ()
   13229 {
   13230 
   13231   ;
   13232   return 0;
   13233 }
   13234 _ACEOF
   13235 if ac_fn_c_try_link "$LINENO"; then :
   13236   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13237 else
   13238   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13239 fi
   13240 rm -f core conftest.err conftest.$ac_objext \
   13241     conftest$ac_exeext conftest.$ac_ext
   13242 fi
   13243 
   13244 
   13245 		CFLAGS="$xorg_testset_save_CFLAGS"
   13246 
   13247 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13249 $as_echo "$supported" >&6; }
   13250 		if test "$supported" = "yes" ; then
   13251 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13252 			found="yes"
   13253 		fi
   13254 	fi
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 xorg_testset_save_CFLAGS="$CFLAGS"
   13269 
   13270 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13271 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13273 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13274 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13275   $as_echo_n "(cached) " >&6
   13276 else
   13277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13278 /* end confdefs.h.  */
   13279 int i;
   13280 _ACEOF
   13281 if ac_fn_c_try_compile "$LINENO"; then :
   13282   xorg_cv_compiler_flag_unknown_warning_option=yes
   13283 else
   13284   xorg_cv_compiler_flag_unknown_warning_option=no
   13285 fi
   13286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13287 fi
   13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13289 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13290 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13291 	CFLAGS="$xorg_testset_save_CFLAGS"
   13292 fi
   13293 
   13294 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13295 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13297 	fi
   13298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13300 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13301 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13302   $as_echo_n "(cached) " >&6
   13303 else
   13304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13305 /* end confdefs.h.  */
   13306 int i;
   13307 _ACEOF
   13308 if ac_fn_c_try_compile "$LINENO"; then :
   13309   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13310 else
   13311   xorg_cv_compiler_flag_unused_command_line_argument=no
   13312 fi
   13313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13314 fi
   13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13316 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13317 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13318 	CFLAGS="$xorg_testset_save_CFLAGS"
   13319 fi
   13320 
   13321 found="no"
   13322 
   13323 	if test $found = "no" ; then
   13324 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13325 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13326 		fi
   13327 
   13328 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13329 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13330 		fi
   13331 
   13332 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13333 
   13334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13335 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13336 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-noreturn`
   13337 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13338   $as_echo_n "(cached) " >&6
   13339 else
   13340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13341 /* end confdefs.h.  */
   13342 int i;
   13343 int
   13344 main ()
   13345 {
   13346 
   13347   ;
   13348   return 0;
   13349 }
   13350 _ACEOF
   13351 if ac_fn_c_try_link "$LINENO"; then :
   13352   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13353 else
   13354   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13355 fi
   13356 rm -f core conftest.err conftest.$ac_objext \
   13357     conftest$ac_exeext conftest.$ac_ext
   13358 fi
   13359 
   13360 
   13361 		CFLAGS="$xorg_testset_save_CFLAGS"
   13362 
   13363 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13365 $as_echo "$supported" >&6; }
   13366 		if test "$supported" = "yes" ; then
   13367 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13368 			found="yes"
   13369 		fi
   13370 	fi
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 xorg_testset_save_CFLAGS="$CFLAGS"
   13385 
   13386 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13387 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13388 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13389 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13390 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13391   $as_echo_n "(cached) " >&6
   13392 else
   13393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13394 /* end confdefs.h.  */
   13395 int i;
   13396 _ACEOF
   13397 if ac_fn_c_try_compile "$LINENO"; then :
   13398   xorg_cv_compiler_flag_unknown_warning_option=yes
   13399 else
   13400   xorg_cv_compiler_flag_unknown_warning_option=no
   13401 fi
   13402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13403 fi
   13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13405 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13406 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13407 	CFLAGS="$xorg_testset_save_CFLAGS"
   13408 fi
   13409 
   13410 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13411 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13413 	fi
   13414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13416 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13417 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13418   $as_echo_n "(cached) " >&6
   13419 else
   13420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13421 /* end confdefs.h.  */
   13422 int i;
   13423 _ACEOF
   13424 if ac_fn_c_try_compile "$LINENO"; then :
   13425   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13426 else
   13427   xorg_cv_compiler_flag_unused_command_line_argument=no
   13428 fi
   13429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13430 fi
   13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13432 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13433 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13434 	CFLAGS="$xorg_testset_save_CFLAGS"
   13435 fi
   13436 
   13437 found="no"
   13438 
   13439 	if test $found = "no" ; then
   13440 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13442 		fi
   13443 
   13444 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13446 		fi
   13447 
   13448 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13449 
   13450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13451 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13452 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-format-attribute`
   13453 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13454   $as_echo_n "(cached) " >&6
   13455 else
   13456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13457 /* end confdefs.h.  */
   13458 int i;
   13459 int
   13460 main ()
   13461 {
   13462 
   13463   ;
   13464   return 0;
   13465 }
   13466 _ACEOF
   13467 if ac_fn_c_try_link "$LINENO"; then :
   13468   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13469 else
   13470   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13471 fi
   13472 rm -f core conftest.err conftest.$ac_objext \
   13473     conftest$ac_exeext conftest.$ac_ext
   13474 fi
   13475 
   13476 
   13477 		CFLAGS="$xorg_testset_save_CFLAGS"
   13478 
   13479 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13481 $as_echo "$supported" >&6; }
   13482 		if test "$supported" = "yes" ; then
   13483 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13484 			found="yes"
   13485 		fi
   13486 	fi
   13487 
   13488 
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 
   13499 
   13500 xorg_testset_save_CFLAGS="$CFLAGS"
   13501 
   13502 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13503 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13505 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13506 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13507   $as_echo_n "(cached) " >&6
   13508 else
   13509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13510 /* end confdefs.h.  */
   13511 int i;
   13512 _ACEOF
   13513 if ac_fn_c_try_compile "$LINENO"; then :
   13514   xorg_cv_compiler_flag_unknown_warning_option=yes
   13515 else
   13516   xorg_cv_compiler_flag_unknown_warning_option=no
   13517 fi
   13518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13519 fi
   13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13521 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13522 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13523 	CFLAGS="$xorg_testset_save_CFLAGS"
   13524 fi
   13525 
   13526 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13527 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13529 	fi
   13530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13532 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13533 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13534   $as_echo_n "(cached) " >&6
   13535 else
   13536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13537 /* end confdefs.h.  */
   13538 int i;
   13539 _ACEOF
   13540 if ac_fn_c_try_compile "$LINENO"; then :
   13541   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13542 else
   13543   xorg_cv_compiler_flag_unused_command_line_argument=no
   13544 fi
   13545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13546 fi
   13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13548 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13549 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13550 	CFLAGS="$xorg_testset_save_CFLAGS"
   13551 fi
   13552 
   13553 found="no"
   13554 
   13555 	if test $found = "no" ; then
   13556 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13558 		fi
   13559 
   13560 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13562 		fi
   13563 
   13564 		CFLAGS="$CFLAGS -Wredundant-decls"
   13565 
   13566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13567 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13568 		cacheid=`$as_echo xorg_cv_cc_flag_-Wredundant-decls`
   13569 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13570   $as_echo_n "(cached) " >&6
   13571 else
   13572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13573 /* end confdefs.h.  */
   13574 int i;
   13575 int
   13576 main ()
   13577 {
   13578 
   13579   ;
   13580   return 0;
   13581 }
   13582 _ACEOF
   13583 if ac_fn_c_try_link "$LINENO"; then :
   13584   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13585 else
   13586   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13587 fi
   13588 rm -f core conftest.err conftest.$ac_objext \
   13589     conftest$ac_exeext conftest.$ac_ext
   13590 fi
   13591 
   13592 
   13593 		CFLAGS="$xorg_testset_save_CFLAGS"
   13594 
   13595 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13597 $as_echo "$supported" >&6; }
   13598 		if test "$supported" = "yes" ; then
   13599 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13600 			found="yes"
   13601 		fi
   13602 	fi
   13603 
   13604 
   13605 
   13606 # These are currently disabled because they are noisy.  They will be enabled
   13607 # in the future once the codebase is sufficiently modernized to silence
   13608 # them.  For now, I don't want them to drown out the other warnings.
   13609 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13610 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13611 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13612 
   13613 # Turn some warnings into errors, so we don't accidently get successful builds
   13614 # when there are problems that should be fixed.
   13615 
   13616 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13617 
   13618 
   13619 
   13620 
   13621 
   13622 
   13623 
   13624 
   13625 
   13626 
   13627 
   13628 xorg_testset_save_CFLAGS="$CFLAGS"
   13629 
   13630 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13631 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13633 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13634 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13635   $as_echo_n "(cached) " >&6
   13636 else
   13637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13638 /* end confdefs.h.  */
   13639 int i;
   13640 _ACEOF
   13641 if ac_fn_c_try_compile "$LINENO"; then :
   13642   xorg_cv_compiler_flag_unknown_warning_option=yes
   13643 else
   13644   xorg_cv_compiler_flag_unknown_warning_option=no
   13645 fi
   13646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13647 fi
   13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13649 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13650 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13651 	CFLAGS="$xorg_testset_save_CFLAGS"
   13652 fi
   13653 
   13654 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13655 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13656 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13657 	fi
   13658 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13659 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13660 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13661 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13662   $as_echo_n "(cached) " >&6
   13663 else
   13664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13665 /* end confdefs.h.  */
   13666 int i;
   13667 _ACEOF
   13668 if ac_fn_c_try_compile "$LINENO"; then :
   13669   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13670 else
   13671   xorg_cv_compiler_flag_unused_command_line_argument=no
   13672 fi
   13673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13674 fi
   13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13676 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13677 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13678 	CFLAGS="$xorg_testset_save_CFLAGS"
   13679 fi
   13680 
   13681 found="no"
   13682 
   13683 	if test $found = "no" ; then
   13684 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13686 		fi
   13687 
   13688 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13690 		fi
   13691 
   13692 		CFLAGS="$CFLAGS -Werror=implicit"
   13693 
   13694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13695 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13696 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=implicit`
   13697 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13698   $as_echo_n "(cached) " >&6
   13699 else
   13700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13701 /* end confdefs.h.  */
   13702 int i;
   13703 int
   13704 main ()
   13705 {
   13706 
   13707   ;
   13708   return 0;
   13709 }
   13710 _ACEOF
   13711 if ac_fn_c_try_link "$LINENO"; then :
   13712   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13713 else
   13714   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13715 fi
   13716 rm -f core conftest.err conftest.$ac_objext \
   13717     conftest$ac_exeext conftest.$ac_ext
   13718 fi
   13719 
   13720 
   13721 		CFLAGS="$xorg_testset_save_CFLAGS"
   13722 
   13723 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13724 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13725 $as_echo "$supported" >&6; }
   13726 		if test "$supported" = "yes" ; then
   13727 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13728 			found="yes"
   13729 		fi
   13730 	fi
   13731 
   13732 	if test $found = "no" ; then
   13733 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13735 		fi
   13736 
   13737 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13739 		fi
   13740 
   13741 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13742 
   13743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13744 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13745 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED`
   13746 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13747   $as_echo_n "(cached) " >&6
   13748 else
   13749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13750 /* end confdefs.h.  */
   13751 int i;
   13752 int
   13753 main ()
   13754 {
   13755 
   13756   ;
   13757   return 0;
   13758 }
   13759 _ACEOF
   13760 if ac_fn_c_try_link "$LINENO"; then :
   13761   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13762 else
   13763   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13764 fi
   13765 rm -f core conftest.err conftest.$ac_objext \
   13766     conftest$ac_exeext conftest.$ac_ext
   13767 fi
   13768 
   13769 
   13770 		CFLAGS="$xorg_testset_save_CFLAGS"
   13771 
   13772 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13774 $as_echo "$supported" >&6; }
   13775 		if test "$supported" = "yes" ; then
   13776 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13777 			found="yes"
   13778 		fi
   13779 	fi
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 
   13790 
   13791 
   13792 
   13793 xorg_testset_save_CFLAGS="$CFLAGS"
   13794 
   13795 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13798 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13799 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13800   $as_echo_n "(cached) " >&6
   13801 else
   13802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13803 /* end confdefs.h.  */
   13804 int i;
   13805 _ACEOF
   13806 if ac_fn_c_try_compile "$LINENO"; then :
   13807   xorg_cv_compiler_flag_unknown_warning_option=yes
   13808 else
   13809   xorg_cv_compiler_flag_unknown_warning_option=no
   13810 fi
   13811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13812 fi
   13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13814 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13815 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13816 	CFLAGS="$xorg_testset_save_CFLAGS"
   13817 fi
   13818 
   13819 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13820 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13821 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13822 	fi
   13823 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13825 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13826 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13827   $as_echo_n "(cached) " >&6
   13828 else
   13829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13830 /* end confdefs.h.  */
   13831 int i;
   13832 _ACEOF
   13833 if ac_fn_c_try_compile "$LINENO"; then :
   13834   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13835 else
   13836   xorg_cv_compiler_flag_unused_command_line_argument=no
   13837 fi
   13838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13839 fi
   13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13841 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13842 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13843 	CFLAGS="$xorg_testset_save_CFLAGS"
   13844 fi
   13845 
   13846 found="no"
   13847 
   13848 	if test $found = "no" ; then
   13849 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13850 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13851 		fi
   13852 
   13853 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13854 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13855 		fi
   13856 
   13857 		CFLAGS="$CFLAGS -Werror=nonnull"
   13858 
   13859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   13860 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   13861 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=nonnull`
   13862 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13863   $as_echo_n "(cached) " >&6
   13864 else
   13865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13866 /* end confdefs.h.  */
   13867 int i;
   13868 int
   13869 main ()
   13870 {
   13871 
   13872   ;
   13873   return 0;
   13874 }
   13875 _ACEOF
   13876 if ac_fn_c_try_link "$LINENO"; then :
   13877   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13878 else
   13879   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13880 fi
   13881 rm -f core conftest.err conftest.$ac_objext \
   13882     conftest$ac_exeext conftest.$ac_ext
   13883 fi
   13884 
   13885 
   13886 		CFLAGS="$xorg_testset_save_CFLAGS"
   13887 
   13888 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13890 $as_echo "$supported" >&6; }
   13891 		if test "$supported" = "yes" ; then
   13892 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   13893 			found="yes"
   13894 		fi
   13895 	fi
   13896 
   13897 
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 
   13909 xorg_testset_save_CFLAGS="$CFLAGS"
   13910 
   13911 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13912 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13914 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13915 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13916   $as_echo_n "(cached) " >&6
   13917 else
   13918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13919 /* end confdefs.h.  */
   13920 int i;
   13921 _ACEOF
   13922 if ac_fn_c_try_compile "$LINENO"; then :
   13923   xorg_cv_compiler_flag_unknown_warning_option=yes
   13924 else
   13925   xorg_cv_compiler_flag_unknown_warning_option=no
   13926 fi
   13927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13928 fi
   13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13930 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13931 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13932 	CFLAGS="$xorg_testset_save_CFLAGS"
   13933 fi
   13934 
   13935 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13936 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13937 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13938 	fi
   13939 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13941 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13942 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13943   $as_echo_n "(cached) " >&6
   13944 else
   13945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13946 /* end confdefs.h.  */
   13947 int i;
   13948 _ACEOF
   13949 if ac_fn_c_try_compile "$LINENO"; then :
   13950   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13951 else
   13952   xorg_cv_compiler_flag_unused_command_line_argument=no
   13953 fi
   13954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13955 fi
   13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13957 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13958 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13959 	CFLAGS="$xorg_testset_save_CFLAGS"
   13960 fi
   13961 
   13962 found="no"
   13963 
   13964 	if test $found = "no" ; then
   13965 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13966 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13967 		fi
   13968 
   13969 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13970 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13971 		fi
   13972 
   13973 		CFLAGS="$CFLAGS -Werror=init-self"
   13974 
   13975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   13976 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   13977 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=init-self`
   13978 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13979   $as_echo_n "(cached) " >&6
   13980 else
   13981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13982 /* end confdefs.h.  */
   13983 int i;
   13984 int
   13985 main ()
   13986 {
   13987 
   13988   ;
   13989   return 0;
   13990 }
   13991 _ACEOF
   13992 if ac_fn_c_try_link "$LINENO"; then :
   13993   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13994 else
   13995   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13996 fi
   13997 rm -f core conftest.err conftest.$ac_objext \
   13998     conftest$ac_exeext conftest.$ac_ext
   13999 fi
   14000 
   14001 
   14002 		CFLAGS="$xorg_testset_save_CFLAGS"
   14003 
   14004 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14006 $as_echo "$supported" >&6; }
   14007 		if test "$supported" = "yes" ; then
   14008 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14009 			found="yes"
   14010 		fi
   14011 	fi
   14012 
   14013 
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 xorg_testset_save_CFLAGS="$CFLAGS"
   14026 
   14027 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14030 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14031 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14032   $as_echo_n "(cached) " >&6
   14033 else
   14034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14035 /* end confdefs.h.  */
   14036 int i;
   14037 _ACEOF
   14038 if ac_fn_c_try_compile "$LINENO"; then :
   14039   xorg_cv_compiler_flag_unknown_warning_option=yes
   14040 else
   14041   xorg_cv_compiler_flag_unknown_warning_option=no
   14042 fi
   14043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14044 fi
   14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14046 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14047 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14048 	CFLAGS="$xorg_testset_save_CFLAGS"
   14049 fi
   14050 
   14051 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14052 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14053 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14054 	fi
   14055 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14057 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14058 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14059   $as_echo_n "(cached) " >&6
   14060 else
   14061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14062 /* end confdefs.h.  */
   14063 int i;
   14064 _ACEOF
   14065 if ac_fn_c_try_compile "$LINENO"; then :
   14066   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14067 else
   14068   xorg_cv_compiler_flag_unused_command_line_argument=no
   14069 fi
   14070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14071 fi
   14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14073 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14074 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14075 	CFLAGS="$xorg_testset_save_CFLAGS"
   14076 fi
   14077 
   14078 found="no"
   14079 
   14080 	if test $found = "no" ; then
   14081 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14083 		fi
   14084 
   14085 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14087 		fi
   14088 
   14089 		CFLAGS="$CFLAGS -Werror=main"
   14090 
   14091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14092 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14093 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=main`
   14094 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14095   $as_echo_n "(cached) " >&6
   14096 else
   14097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14098 /* end confdefs.h.  */
   14099 int i;
   14100 int
   14101 main ()
   14102 {
   14103 
   14104   ;
   14105   return 0;
   14106 }
   14107 _ACEOF
   14108 if ac_fn_c_try_link "$LINENO"; then :
   14109   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14110 else
   14111   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14112 fi
   14113 rm -f core conftest.err conftest.$ac_objext \
   14114     conftest$ac_exeext conftest.$ac_ext
   14115 fi
   14116 
   14117 
   14118 		CFLAGS="$xorg_testset_save_CFLAGS"
   14119 
   14120 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14122 $as_echo "$supported" >&6; }
   14123 		if test "$supported" = "yes" ; then
   14124 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14125 			found="yes"
   14126 		fi
   14127 	fi
   14128 
   14129 
   14130 
   14131 
   14132 
   14133 
   14134 
   14135 
   14136 
   14137 
   14138 
   14139 
   14140 
   14141 xorg_testset_save_CFLAGS="$CFLAGS"
   14142 
   14143 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14146 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14147 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14148   $as_echo_n "(cached) " >&6
   14149 else
   14150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14151 /* end confdefs.h.  */
   14152 int i;
   14153 _ACEOF
   14154 if ac_fn_c_try_compile "$LINENO"; then :
   14155   xorg_cv_compiler_flag_unknown_warning_option=yes
   14156 else
   14157   xorg_cv_compiler_flag_unknown_warning_option=no
   14158 fi
   14159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14160 fi
   14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14162 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14163 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14164 	CFLAGS="$xorg_testset_save_CFLAGS"
   14165 fi
   14166 
   14167 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14168 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14170 	fi
   14171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14173 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14174 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14175   $as_echo_n "(cached) " >&6
   14176 else
   14177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14178 /* end confdefs.h.  */
   14179 int i;
   14180 _ACEOF
   14181 if ac_fn_c_try_compile "$LINENO"; then :
   14182   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14183 else
   14184   xorg_cv_compiler_flag_unused_command_line_argument=no
   14185 fi
   14186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14187 fi
   14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14189 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14190 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14191 	CFLAGS="$xorg_testset_save_CFLAGS"
   14192 fi
   14193 
   14194 found="no"
   14195 
   14196 	if test $found = "no" ; then
   14197 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14199 		fi
   14200 
   14201 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14203 		fi
   14204 
   14205 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14206 
   14207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14208 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14209 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=missing-braces`
   14210 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14211   $as_echo_n "(cached) " >&6
   14212 else
   14213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14214 /* end confdefs.h.  */
   14215 int i;
   14216 int
   14217 main ()
   14218 {
   14219 
   14220   ;
   14221   return 0;
   14222 }
   14223 _ACEOF
   14224 if ac_fn_c_try_link "$LINENO"; then :
   14225   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14226 else
   14227   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14228 fi
   14229 rm -f core conftest.err conftest.$ac_objext \
   14230     conftest$ac_exeext conftest.$ac_ext
   14231 fi
   14232 
   14233 
   14234 		CFLAGS="$xorg_testset_save_CFLAGS"
   14235 
   14236 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14238 $as_echo "$supported" >&6; }
   14239 		if test "$supported" = "yes" ; then
   14240 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14241 			found="yes"
   14242 		fi
   14243 	fi
   14244 
   14245 
   14246 
   14247 
   14248 
   14249 
   14250 
   14251 
   14252 
   14253 
   14254 
   14255 
   14256 
   14257 xorg_testset_save_CFLAGS="$CFLAGS"
   14258 
   14259 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14260 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14261 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14262 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14263 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14264   $as_echo_n "(cached) " >&6
   14265 else
   14266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14267 /* end confdefs.h.  */
   14268 int i;
   14269 _ACEOF
   14270 if ac_fn_c_try_compile "$LINENO"; then :
   14271   xorg_cv_compiler_flag_unknown_warning_option=yes
   14272 else
   14273   xorg_cv_compiler_flag_unknown_warning_option=no
   14274 fi
   14275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14276 fi
   14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14278 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14279 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14280 	CFLAGS="$xorg_testset_save_CFLAGS"
   14281 fi
   14282 
   14283 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14284 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14285 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14286 	fi
   14287 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14289 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14290 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14291   $as_echo_n "(cached) " >&6
   14292 else
   14293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14294 /* end confdefs.h.  */
   14295 int i;
   14296 _ACEOF
   14297 if ac_fn_c_try_compile "$LINENO"; then :
   14298   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14299 else
   14300   xorg_cv_compiler_flag_unused_command_line_argument=no
   14301 fi
   14302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14303 fi
   14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14305 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14306 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14307 	CFLAGS="$xorg_testset_save_CFLAGS"
   14308 fi
   14309 
   14310 found="no"
   14311 
   14312 	if test $found = "no" ; then
   14313 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14315 		fi
   14316 
   14317 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14319 		fi
   14320 
   14321 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14322 
   14323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14324 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14325 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=sequence-point`
   14326 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14327   $as_echo_n "(cached) " >&6
   14328 else
   14329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14330 /* end confdefs.h.  */
   14331 int i;
   14332 int
   14333 main ()
   14334 {
   14335 
   14336   ;
   14337   return 0;
   14338 }
   14339 _ACEOF
   14340 if ac_fn_c_try_link "$LINENO"; then :
   14341   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14342 else
   14343   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14344 fi
   14345 rm -f core conftest.err conftest.$ac_objext \
   14346     conftest$ac_exeext conftest.$ac_ext
   14347 fi
   14348 
   14349 
   14350 		CFLAGS="$xorg_testset_save_CFLAGS"
   14351 
   14352 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14353 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14354 $as_echo "$supported" >&6; }
   14355 		if test "$supported" = "yes" ; then
   14356 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14357 			found="yes"
   14358 		fi
   14359 	fi
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 xorg_testset_save_CFLAGS="$CFLAGS"
   14374 
   14375 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14376 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14377 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14378 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14379 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14380   $as_echo_n "(cached) " >&6
   14381 else
   14382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14383 /* end confdefs.h.  */
   14384 int i;
   14385 _ACEOF
   14386 if ac_fn_c_try_compile "$LINENO"; then :
   14387   xorg_cv_compiler_flag_unknown_warning_option=yes
   14388 else
   14389   xorg_cv_compiler_flag_unknown_warning_option=no
   14390 fi
   14391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14392 fi
   14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14394 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14395 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14396 	CFLAGS="$xorg_testset_save_CFLAGS"
   14397 fi
   14398 
   14399 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14400 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14401 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14402 	fi
   14403 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14405 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14406 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14407   $as_echo_n "(cached) " >&6
   14408 else
   14409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14410 /* end confdefs.h.  */
   14411 int i;
   14412 _ACEOF
   14413 if ac_fn_c_try_compile "$LINENO"; then :
   14414   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14415 else
   14416   xorg_cv_compiler_flag_unused_command_line_argument=no
   14417 fi
   14418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14419 fi
   14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14421 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14422 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14423 	CFLAGS="$xorg_testset_save_CFLAGS"
   14424 fi
   14425 
   14426 found="no"
   14427 
   14428 	if test $found = "no" ; then
   14429 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14431 		fi
   14432 
   14433 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14435 		fi
   14436 
   14437 		CFLAGS="$CFLAGS -Werror=return-type"
   14438 
   14439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14440 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14441 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=return-type`
   14442 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14443   $as_echo_n "(cached) " >&6
   14444 else
   14445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14446 /* end confdefs.h.  */
   14447 int i;
   14448 int
   14449 main ()
   14450 {
   14451 
   14452   ;
   14453   return 0;
   14454 }
   14455 _ACEOF
   14456 if ac_fn_c_try_link "$LINENO"; then :
   14457   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14458 else
   14459   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14460 fi
   14461 rm -f core conftest.err conftest.$ac_objext \
   14462     conftest$ac_exeext conftest.$ac_ext
   14463 fi
   14464 
   14465 
   14466 		CFLAGS="$xorg_testset_save_CFLAGS"
   14467 
   14468 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14470 $as_echo "$supported" >&6; }
   14471 		if test "$supported" = "yes" ; then
   14472 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14473 			found="yes"
   14474 		fi
   14475 	fi
   14476 
   14477 	if test $found = "no" ; then
   14478 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14479 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14480 		fi
   14481 
   14482 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14483 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14484 		fi
   14485 
   14486 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14487 
   14488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14489 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14490 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT`
   14491 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14492   $as_echo_n "(cached) " >&6
   14493 else
   14494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14495 /* end confdefs.h.  */
   14496 int i;
   14497 int
   14498 main ()
   14499 {
   14500 
   14501   ;
   14502   return 0;
   14503 }
   14504 _ACEOF
   14505 if ac_fn_c_try_link "$LINENO"; then :
   14506   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14507 else
   14508   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14509 fi
   14510 rm -f core conftest.err conftest.$ac_objext \
   14511     conftest$ac_exeext conftest.$ac_ext
   14512 fi
   14513 
   14514 
   14515 		CFLAGS="$xorg_testset_save_CFLAGS"
   14516 
   14517 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14518 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14519 $as_echo "$supported" >&6; }
   14520 		if test "$supported" = "yes" ; then
   14521 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14522 			found="yes"
   14523 		fi
   14524 	fi
   14525 
   14526 
   14527 
   14528 
   14529 
   14530 
   14531 
   14532 
   14533 
   14534 
   14535 
   14536 
   14537 
   14538 xorg_testset_save_CFLAGS="$CFLAGS"
   14539 
   14540 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14541 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14543 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14544 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14545   $as_echo_n "(cached) " >&6
   14546 else
   14547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14548 /* end confdefs.h.  */
   14549 int i;
   14550 _ACEOF
   14551 if ac_fn_c_try_compile "$LINENO"; then :
   14552   xorg_cv_compiler_flag_unknown_warning_option=yes
   14553 else
   14554   xorg_cv_compiler_flag_unknown_warning_option=no
   14555 fi
   14556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14557 fi
   14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14559 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14560 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14561 	CFLAGS="$xorg_testset_save_CFLAGS"
   14562 fi
   14563 
   14564 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14565 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14566 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14567 	fi
   14568 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14569 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14570 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14571 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14572   $as_echo_n "(cached) " >&6
   14573 else
   14574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14575 /* end confdefs.h.  */
   14576 int i;
   14577 _ACEOF
   14578 if ac_fn_c_try_compile "$LINENO"; then :
   14579   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14580 else
   14581   xorg_cv_compiler_flag_unused_command_line_argument=no
   14582 fi
   14583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14584 fi
   14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14586 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14587 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14588 	CFLAGS="$xorg_testset_save_CFLAGS"
   14589 fi
   14590 
   14591 found="no"
   14592 
   14593 	if test $found = "no" ; then
   14594 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14595 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14596 		fi
   14597 
   14598 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14599 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14600 		fi
   14601 
   14602 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14603 
   14604 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14605 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14606 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=trigraphs`
   14607 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14608   $as_echo_n "(cached) " >&6
   14609 else
   14610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14611 /* end confdefs.h.  */
   14612 int i;
   14613 int
   14614 main ()
   14615 {
   14616 
   14617   ;
   14618   return 0;
   14619 }
   14620 _ACEOF
   14621 if ac_fn_c_try_link "$LINENO"; then :
   14622   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14623 else
   14624   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14625 fi
   14626 rm -f core conftest.err conftest.$ac_objext \
   14627     conftest$ac_exeext conftest.$ac_ext
   14628 fi
   14629 
   14630 
   14631 		CFLAGS="$xorg_testset_save_CFLAGS"
   14632 
   14633 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14635 $as_echo "$supported" >&6; }
   14636 		if test "$supported" = "yes" ; then
   14637 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14638 			found="yes"
   14639 		fi
   14640 	fi
   14641 
   14642 
   14643 
   14644 
   14645 
   14646 
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 
   14654 xorg_testset_save_CFLAGS="$CFLAGS"
   14655 
   14656 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14657 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14659 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14660 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14661   $as_echo_n "(cached) " >&6
   14662 else
   14663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14664 /* end confdefs.h.  */
   14665 int i;
   14666 _ACEOF
   14667 if ac_fn_c_try_compile "$LINENO"; then :
   14668   xorg_cv_compiler_flag_unknown_warning_option=yes
   14669 else
   14670   xorg_cv_compiler_flag_unknown_warning_option=no
   14671 fi
   14672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14673 fi
   14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14675 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14676 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14677 	CFLAGS="$xorg_testset_save_CFLAGS"
   14678 fi
   14679 
   14680 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14681 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14682 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14683 	fi
   14684 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14686 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14687 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14688   $as_echo_n "(cached) " >&6
   14689 else
   14690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14691 /* end confdefs.h.  */
   14692 int i;
   14693 _ACEOF
   14694 if ac_fn_c_try_compile "$LINENO"; then :
   14695   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14696 else
   14697   xorg_cv_compiler_flag_unused_command_line_argument=no
   14698 fi
   14699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14700 fi
   14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14702 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14703 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14704 	CFLAGS="$xorg_testset_save_CFLAGS"
   14705 fi
   14706 
   14707 found="no"
   14708 
   14709 	if test $found = "no" ; then
   14710 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14712 		fi
   14713 
   14714 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14716 		fi
   14717 
   14718 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14719 
   14720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14721 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14722 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=array-bounds`
   14723 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 int
   14730 main ()
   14731 {
   14732 
   14733   ;
   14734   return 0;
   14735 }
   14736 _ACEOF
   14737 if ac_fn_c_try_link "$LINENO"; then :
   14738   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14739 else
   14740   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14741 fi
   14742 rm -f core conftest.err conftest.$ac_objext \
   14743     conftest$ac_exeext conftest.$ac_ext
   14744 fi
   14745 
   14746 
   14747 		CFLAGS="$xorg_testset_save_CFLAGS"
   14748 
   14749 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14751 $as_echo "$supported" >&6; }
   14752 		if test "$supported" = "yes" ; then
   14753 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14754 			found="yes"
   14755 		fi
   14756 	fi
   14757 
   14758 
   14759 
   14760 
   14761 
   14762 
   14763 
   14764 
   14765 
   14766 
   14767 
   14768 
   14769 
   14770 xorg_testset_save_CFLAGS="$CFLAGS"
   14771 
   14772 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14775 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14776 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14777   $as_echo_n "(cached) " >&6
   14778 else
   14779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14780 /* end confdefs.h.  */
   14781 int i;
   14782 _ACEOF
   14783 if ac_fn_c_try_compile "$LINENO"; then :
   14784   xorg_cv_compiler_flag_unknown_warning_option=yes
   14785 else
   14786   xorg_cv_compiler_flag_unknown_warning_option=no
   14787 fi
   14788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14789 fi
   14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14791 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14792 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14793 	CFLAGS="$xorg_testset_save_CFLAGS"
   14794 fi
   14795 
   14796 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14797 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14799 	fi
   14800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14802 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14803 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14804   $as_echo_n "(cached) " >&6
   14805 else
   14806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14807 /* end confdefs.h.  */
   14808 int i;
   14809 _ACEOF
   14810 if ac_fn_c_try_compile "$LINENO"; then :
   14811   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14812 else
   14813   xorg_cv_compiler_flag_unused_command_line_argument=no
   14814 fi
   14815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14816 fi
   14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14818 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14819 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14820 	CFLAGS="$xorg_testset_save_CFLAGS"
   14821 fi
   14822 
   14823 found="no"
   14824 
   14825 	if test $found = "no" ; then
   14826 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14828 		fi
   14829 
   14830 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14832 		fi
   14833 
   14834 		CFLAGS="$CFLAGS -Werror=write-strings"
   14835 
   14836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   14837 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   14838 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=write-strings`
   14839 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14840   $as_echo_n "(cached) " >&6
   14841 else
   14842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14843 /* end confdefs.h.  */
   14844 int i;
   14845 int
   14846 main ()
   14847 {
   14848 
   14849   ;
   14850   return 0;
   14851 }
   14852 _ACEOF
   14853 if ac_fn_c_try_link "$LINENO"; then :
   14854   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14855 else
   14856   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14857 fi
   14858 rm -f core conftest.err conftest.$ac_objext \
   14859     conftest$ac_exeext conftest.$ac_ext
   14860 fi
   14861 
   14862 
   14863 		CFLAGS="$xorg_testset_save_CFLAGS"
   14864 
   14865 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14867 $as_echo "$supported" >&6; }
   14868 		if test "$supported" = "yes" ; then
   14869 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   14870 			found="yes"
   14871 		fi
   14872 	fi
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 
   14884 
   14885 
   14886 xorg_testset_save_CFLAGS="$CFLAGS"
   14887 
   14888 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14891 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14892 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14893   $as_echo_n "(cached) " >&6
   14894 else
   14895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14896 /* end confdefs.h.  */
   14897 int i;
   14898 _ACEOF
   14899 if ac_fn_c_try_compile "$LINENO"; then :
   14900   xorg_cv_compiler_flag_unknown_warning_option=yes
   14901 else
   14902   xorg_cv_compiler_flag_unknown_warning_option=no
   14903 fi
   14904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14905 fi
   14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14907 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14908 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14909 	CFLAGS="$xorg_testset_save_CFLAGS"
   14910 fi
   14911 
   14912 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14913 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14914 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14915 	fi
   14916 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14918 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14919 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14920   $as_echo_n "(cached) " >&6
   14921 else
   14922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14923 /* end confdefs.h.  */
   14924 int i;
   14925 _ACEOF
   14926 if ac_fn_c_try_compile "$LINENO"; then :
   14927   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14928 else
   14929   xorg_cv_compiler_flag_unused_command_line_argument=no
   14930 fi
   14931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14932 fi
   14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14934 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14935 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14936 	CFLAGS="$xorg_testset_save_CFLAGS"
   14937 fi
   14938 
   14939 found="no"
   14940 
   14941 	if test $found = "no" ; then
   14942 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14944 		fi
   14945 
   14946 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14948 		fi
   14949 
   14950 		CFLAGS="$CFLAGS -Werror=address"
   14951 
   14952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   14953 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   14954 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=address`
   14955 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14956   $as_echo_n "(cached) " >&6
   14957 else
   14958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14959 /* end confdefs.h.  */
   14960 int i;
   14961 int
   14962 main ()
   14963 {
   14964 
   14965   ;
   14966   return 0;
   14967 }
   14968 _ACEOF
   14969 if ac_fn_c_try_link "$LINENO"; then :
   14970   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14971 else
   14972   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14973 fi
   14974 rm -f core conftest.err conftest.$ac_objext \
   14975     conftest$ac_exeext conftest.$ac_ext
   14976 fi
   14977 
   14978 
   14979 		CFLAGS="$xorg_testset_save_CFLAGS"
   14980 
   14981 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14983 $as_echo "$supported" >&6; }
   14984 		if test "$supported" = "yes" ; then
   14985 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   14986 			found="yes"
   14987 		fi
   14988 	fi
   14989 
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 
   14997 
   14998 
   14999 
   15000 
   15001 
   15002 xorg_testset_save_CFLAGS="$CFLAGS"
   15003 
   15004 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15005 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15006 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15007 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15008 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15009   $as_echo_n "(cached) " >&6
   15010 else
   15011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15012 /* end confdefs.h.  */
   15013 int i;
   15014 _ACEOF
   15015 if ac_fn_c_try_compile "$LINENO"; then :
   15016   xorg_cv_compiler_flag_unknown_warning_option=yes
   15017 else
   15018   xorg_cv_compiler_flag_unknown_warning_option=no
   15019 fi
   15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15021 fi
   15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15023 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15024 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15025 	CFLAGS="$xorg_testset_save_CFLAGS"
   15026 fi
   15027 
   15028 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15029 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15031 	fi
   15032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15034 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15035 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15036   $as_echo_n "(cached) " >&6
   15037 else
   15038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15039 /* end confdefs.h.  */
   15040 int i;
   15041 _ACEOF
   15042 if ac_fn_c_try_compile "$LINENO"; then :
   15043   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15044 else
   15045   xorg_cv_compiler_flag_unused_command_line_argument=no
   15046 fi
   15047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15048 fi
   15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15050 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15051 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15052 	CFLAGS="$xorg_testset_save_CFLAGS"
   15053 fi
   15054 
   15055 found="no"
   15056 
   15057 	if test $found = "no" ; then
   15058 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15060 		fi
   15061 
   15062 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15064 		fi
   15065 
   15066 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15067 
   15068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15069 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15070 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=int-to-pointer-cast`
   15071 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15072   $as_echo_n "(cached) " >&6
   15073 else
   15074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15075 /* end confdefs.h.  */
   15076 int i;
   15077 int
   15078 main ()
   15079 {
   15080 
   15081   ;
   15082   return 0;
   15083 }
   15084 _ACEOF
   15085 if ac_fn_c_try_link "$LINENO"; then :
   15086   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15087 else
   15088   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15089 fi
   15090 rm -f core conftest.err conftest.$ac_objext \
   15091     conftest$ac_exeext conftest.$ac_ext
   15092 fi
   15093 
   15094 
   15095 		CFLAGS="$xorg_testset_save_CFLAGS"
   15096 
   15097 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15099 $as_echo "$supported" >&6; }
   15100 		if test "$supported" = "yes" ; then
   15101 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15102 			found="yes"
   15103 		fi
   15104 	fi
   15105 
   15106 	if test $found = "no" ; then
   15107 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15108 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15109 		fi
   15110 
   15111 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15112 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15113 		fi
   15114 
   15115 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15116 
   15117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15118 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15119 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION`
   15120 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15121   $as_echo_n "(cached) " >&6
   15122 else
   15123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15124 /* end confdefs.h.  */
   15125 int i;
   15126 int
   15127 main ()
   15128 {
   15129 
   15130   ;
   15131   return 0;
   15132 }
   15133 _ACEOF
   15134 if ac_fn_c_try_link "$LINENO"; then :
   15135   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15136 else
   15137   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15138 fi
   15139 rm -f core conftest.err conftest.$ac_objext \
   15140     conftest$ac_exeext conftest.$ac_ext
   15141 fi
   15142 
   15143 
   15144 		CFLAGS="$xorg_testset_save_CFLAGS"
   15145 
   15146 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15148 $as_echo "$supported" >&6; }
   15149 		if test "$supported" = "yes" ; then
   15150 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15151 			found="yes"
   15152 		fi
   15153 	fi
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 
   15167 xorg_testset_save_CFLAGS="$CFLAGS"
   15168 
   15169 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15170 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15171 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15172 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15173 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15174   $as_echo_n "(cached) " >&6
   15175 else
   15176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15177 /* end confdefs.h.  */
   15178 int i;
   15179 _ACEOF
   15180 if ac_fn_c_try_compile "$LINENO"; then :
   15181   xorg_cv_compiler_flag_unknown_warning_option=yes
   15182 else
   15183   xorg_cv_compiler_flag_unknown_warning_option=no
   15184 fi
   15185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15186 fi
   15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15188 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15189 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15190 	CFLAGS="$xorg_testset_save_CFLAGS"
   15191 fi
   15192 
   15193 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15194 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15196 	fi
   15197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15198 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15199 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15200 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15201   $as_echo_n "(cached) " >&6
   15202 else
   15203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15204 /* end confdefs.h.  */
   15205 int i;
   15206 _ACEOF
   15207 if ac_fn_c_try_compile "$LINENO"; then :
   15208   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15209 else
   15210   xorg_cv_compiler_flag_unused_command_line_argument=no
   15211 fi
   15212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15213 fi
   15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15215 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15216 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15217 	CFLAGS="$xorg_testset_save_CFLAGS"
   15218 fi
   15219 
   15220 found="no"
   15221 
   15222 	if test $found = "no" ; then
   15223 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15224 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15225 		fi
   15226 
   15227 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15228 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15229 		fi
   15230 
   15231 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15232 
   15233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15234 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15235 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=pointer-to-int-cast`
   15236 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15237   $as_echo_n "(cached) " >&6
   15238 else
   15239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15240 /* end confdefs.h.  */
   15241 int i;
   15242 int
   15243 main ()
   15244 {
   15245 
   15246   ;
   15247   return 0;
   15248 }
   15249 _ACEOF
   15250 if ac_fn_c_try_link "$LINENO"; then :
   15251   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15252 else
   15253   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15254 fi
   15255 rm -f core conftest.err conftest.$ac_objext \
   15256     conftest$ac_exeext conftest.$ac_ext
   15257 fi
   15258 
   15259 
   15260 		CFLAGS="$xorg_testset_save_CFLAGS"
   15261 
   15262 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15264 $as_echo "$supported" >&6; }
   15265 		if test "$supported" = "yes" ; then
   15266 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15267 			found="yes"
   15268 		fi
   15269 	fi
   15270 
   15271  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15272 else
   15273 { $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
   15274 $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;}
   15275 
   15276 
   15277 
   15278 
   15279 
   15280 
   15281 
   15282 
   15283 
   15284 
   15285 
   15286 xorg_testset_save_CFLAGS="$CFLAGS"
   15287 
   15288 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15291 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15292 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15293   $as_echo_n "(cached) " >&6
   15294 else
   15295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15296 /* end confdefs.h.  */
   15297 int i;
   15298 _ACEOF
   15299 if ac_fn_c_try_compile "$LINENO"; then :
   15300   xorg_cv_compiler_flag_unknown_warning_option=yes
   15301 else
   15302   xorg_cv_compiler_flag_unknown_warning_option=no
   15303 fi
   15304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15305 fi
   15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15307 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15308 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15309 	CFLAGS="$xorg_testset_save_CFLAGS"
   15310 fi
   15311 
   15312 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15313 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15315 	fi
   15316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15318 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15319 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15320   $as_echo_n "(cached) " >&6
   15321 else
   15322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15323 /* end confdefs.h.  */
   15324 int i;
   15325 _ACEOF
   15326 if ac_fn_c_try_compile "$LINENO"; then :
   15327   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15328 else
   15329   xorg_cv_compiler_flag_unused_command_line_argument=no
   15330 fi
   15331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15332 fi
   15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15334 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15335 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15336 	CFLAGS="$xorg_testset_save_CFLAGS"
   15337 fi
   15338 
   15339 found="no"
   15340 
   15341 	if test $found = "no" ; then
   15342 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15344 		fi
   15345 
   15346 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15348 		fi
   15349 
   15350 		CFLAGS="$CFLAGS -Wimplicit"
   15351 
   15352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15353 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15354 		cacheid=`$as_echo xorg_cv_cc_flag_-Wimplicit`
   15355 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15356   $as_echo_n "(cached) " >&6
   15357 else
   15358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15359 /* end confdefs.h.  */
   15360 int i;
   15361 int
   15362 main ()
   15363 {
   15364 
   15365   ;
   15366   return 0;
   15367 }
   15368 _ACEOF
   15369 if ac_fn_c_try_link "$LINENO"; then :
   15370   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15371 else
   15372   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15373 fi
   15374 rm -f core conftest.err conftest.$ac_objext \
   15375     conftest$ac_exeext conftest.$ac_ext
   15376 fi
   15377 
   15378 
   15379 		CFLAGS="$xorg_testset_save_CFLAGS"
   15380 
   15381 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15383 $as_echo "$supported" >&6; }
   15384 		if test "$supported" = "yes" ; then
   15385 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15386 			found="yes"
   15387 		fi
   15388 	fi
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 
   15395 
   15396 
   15397 
   15398 
   15399 
   15400 
   15401 
   15402 xorg_testset_save_CFLAGS="$CFLAGS"
   15403 
   15404 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15407 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15408 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15409   $as_echo_n "(cached) " >&6
   15410 else
   15411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15412 /* end confdefs.h.  */
   15413 int i;
   15414 _ACEOF
   15415 if ac_fn_c_try_compile "$LINENO"; then :
   15416   xorg_cv_compiler_flag_unknown_warning_option=yes
   15417 else
   15418   xorg_cv_compiler_flag_unknown_warning_option=no
   15419 fi
   15420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15421 fi
   15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15423 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15424 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15425 	CFLAGS="$xorg_testset_save_CFLAGS"
   15426 fi
   15427 
   15428 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15429 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15431 	fi
   15432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15434 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15435 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15436   $as_echo_n "(cached) " >&6
   15437 else
   15438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15439 /* end confdefs.h.  */
   15440 int i;
   15441 _ACEOF
   15442 if ac_fn_c_try_compile "$LINENO"; then :
   15443   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15444 else
   15445   xorg_cv_compiler_flag_unused_command_line_argument=no
   15446 fi
   15447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15448 fi
   15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15450 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15451 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15452 	CFLAGS="$xorg_testset_save_CFLAGS"
   15453 fi
   15454 
   15455 found="no"
   15456 
   15457 	if test $found = "no" ; then
   15458 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15460 		fi
   15461 
   15462 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15464 		fi
   15465 
   15466 		CFLAGS="$CFLAGS -Wnonnull"
   15467 
   15468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15469 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15470 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnonnull`
   15471 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15472   $as_echo_n "(cached) " >&6
   15473 else
   15474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15475 /* end confdefs.h.  */
   15476 int i;
   15477 int
   15478 main ()
   15479 {
   15480 
   15481   ;
   15482   return 0;
   15483 }
   15484 _ACEOF
   15485 if ac_fn_c_try_link "$LINENO"; then :
   15486   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15487 else
   15488   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15489 fi
   15490 rm -f core conftest.err conftest.$ac_objext \
   15491     conftest$ac_exeext conftest.$ac_ext
   15492 fi
   15493 
   15494 
   15495 		CFLAGS="$xorg_testset_save_CFLAGS"
   15496 
   15497 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15499 $as_echo "$supported" >&6; }
   15500 		if test "$supported" = "yes" ; then
   15501 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15502 			found="yes"
   15503 		fi
   15504 	fi
   15505 
   15506 
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 
   15517 
   15518 xorg_testset_save_CFLAGS="$CFLAGS"
   15519 
   15520 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15523 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15524 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15525   $as_echo_n "(cached) " >&6
   15526 else
   15527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15528 /* end confdefs.h.  */
   15529 int i;
   15530 _ACEOF
   15531 if ac_fn_c_try_compile "$LINENO"; then :
   15532   xorg_cv_compiler_flag_unknown_warning_option=yes
   15533 else
   15534   xorg_cv_compiler_flag_unknown_warning_option=no
   15535 fi
   15536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15537 fi
   15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15539 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15540 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15541 	CFLAGS="$xorg_testset_save_CFLAGS"
   15542 fi
   15543 
   15544 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15545 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15547 	fi
   15548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15550 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15551 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15552   $as_echo_n "(cached) " >&6
   15553 else
   15554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15555 /* end confdefs.h.  */
   15556 int i;
   15557 _ACEOF
   15558 if ac_fn_c_try_compile "$LINENO"; then :
   15559   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15560 else
   15561   xorg_cv_compiler_flag_unused_command_line_argument=no
   15562 fi
   15563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15564 fi
   15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15566 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15567 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15568 	CFLAGS="$xorg_testset_save_CFLAGS"
   15569 fi
   15570 
   15571 found="no"
   15572 
   15573 	if test $found = "no" ; then
   15574 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15576 		fi
   15577 
   15578 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15580 		fi
   15581 
   15582 		CFLAGS="$CFLAGS -Winit-self"
   15583 
   15584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15585 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15586 		cacheid=`$as_echo xorg_cv_cc_flag_-Winit-self`
   15587 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15588   $as_echo_n "(cached) " >&6
   15589 else
   15590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15591 /* end confdefs.h.  */
   15592 int i;
   15593 int
   15594 main ()
   15595 {
   15596 
   15597   ;
   15598   return 0;
   15599 }
   15600 _ACEOF
   15601 if ac_fn_c_try_link "$LINENO"; then :
   15602   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15603 else
   15604   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15605 fi
   15606 rm -f core conftest.err conftest.$ac_objext \
   15607     conftest$ac_exeext conftest.$ac_ext
   15608 fi
   15609 
   15610 
   15611 		CFLAGS="$xorg_testset_save_CFLAGS"
   15612 
   15613 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15615 $as_echo "$supported" >&6; }
   15616 		if test "$supported" = "yes" ; then
   15617 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15618 			found="yes"
   15619 		fi
   15620 	fi
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 
   15630 
   15631 
   15632 
   15633 
   15634 xorg_testset_save_CFLAGS="$CFLAGS"
   15635 
   15636 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15637 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15638 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15639 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15640 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15641   $as_echo_n "(cached) " >&6
   15642 else
   15643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15644 /* end confdefs.h.  */
   15645 int i;
   15646 _ACEOF
   15647 if ac_fn_c_try_compile "$LINENO"; then :
   15648   xorg_cv_compiler_flag_unknown_warning_option=yes
   15649 else
   15650   xorg_cv_compiler_flag_unknown_warning_option=no
   15651 fi
   15652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15653 fi
   15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15655 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15656 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15657 	CFLAGS="$xorg_testset_save_CFLAGS"
   15658 fi
   15659 
   15660 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15661 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15662 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15663 	fi
   15664 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15666 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15667 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15668   $as_echo_n "(cached) " >&6
   15669 else
   15670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15671 /* end confdefs.h.  */
   15672 int i;
   15673 _ACEOF
   15674 if ac_fn_c_try_compile "$LINENO"; then :
   15675   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15676 else
   15677   xorg_cv_compiler_flag_unused_command_line_argument=no
   15678 fi
   15679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15680 fi
   15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15682 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15683 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15684 	CFLAGS="$xorg_testset_save_CFLAGS"
   15685 fi
   15686 
   15687 found="no"
   15688 
   15689 	if test $found = "no" ; then
   15690 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15691 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15692 		fi
   15693 
   15694 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15695 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15696 		fi
   15697 
   15698 		CFLAGS="$CFLAGS -Wmain"
   15699 
   15700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15701 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15702 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmain`
   15703 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15704   $as_echo_n "(cached) " >&6
   15705 else
   15706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15707 /* end confdefs.h.  */
   15708 int i;
   15709 int
   15710 main ()
   15711 {
   15712 
   15713   ;
   15714   return 0;
   15715 }
   15716 _ACEOF
   15717 if ac_fn_c_try_link "$LINENO"; then :
   15718   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15719 else
   15720   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15721 fi
   15722 rm -f core conftest.err conftest.$ac_objext \
   15723     conftest$ac_exeext conftest.$ac_ext
   15724 fi
   15725 
   15726 
   15727 		CFLAGS="$xorg_testset_save_CFLAGS"
   15728 
   15729 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15731 $as_echo "$supported" >&6; }
   15732 		if test "$supported" = "yes" ; then
   15733 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15734 			found="yes"
   15735 		fi
   15736 	fi
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 
   15750 xorg_testset_save_CFLAGS="$CFLAGS"
   15751 
   15752 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15755 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15756 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15757   $as_echo_n "(cached) " >&6
   15758 else
   15759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15760 /* end confdefs.h.  */
   15761 int i;
   15762 _ACEOF
   15763 if ac_fn_c_try_compile "$LINENO"; then :
   15764   xorg_cv_compiler_flag_unknown_warning_option=yes
   15765 else
   15766   xorg_cv_compiler_flag_unknown_warning_option=no
   15767 fi
   15768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15769 fi
   15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15771 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15772 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15773 	CFLAGS="$xorg_testset_save_CFLAGS"
   15774 fi
   15775 
   15776 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15777 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15778 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15779 	fi
   15780 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15782 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15783 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15784   $as_echo_n "(cached) " >&6
   15785 else
   15786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15787 /* end confdefs.h.  */
   15788 int i;
   15789 _ACEOF
   15790 if ac_fn_c_try_compile "$LINENO"; then :
   15791   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15792 else
   15793   xorg_cv_compiler_flag_unused_command_line_argument=no
   15794 fi
   15795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15796 fi
   15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15798 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15799 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15800 	CFLAGS="$xorg_testset_save_CFLAGS"
   15801 fi
   15802 
   15803 found="no"
   15804 
   15805 	if test $found = "no" ; then
   15806 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15807 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15808 		fi
   15809 
   15810 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15811 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15812 		fi
   15813 
   15814 		CFLAGS="$CFLAGS -Wmissing-braces"
   15815 
   15816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   15817 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   15818 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-braces`
   15819 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15820   $as_echo_n "(cached) " >&6
   15821 else
   15822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15823 /* end confdefs.h.  */
   15824 int i;
   15825 int
   15826 main ()
   15827 {
   15828 
   15829   ;
   15830   return 0;
   15831 }
   15832 _ACEOF
   15833 if ac_fn_c_try_link "$LINENO"; then :
   15834   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15835 else
   15836   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15837 fi
   15838 rm -f core conftest.err conftest.$ac_objext \
   15839     conftest$ac_exeext conftest.$ac_ext
   15840 fi
   15841 
   15842 
   15843 		CFLAGS="$xorg_testset_save_CFLAGS"
   15844 
   15845 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15846 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15847 $as_echo "$supported" >&6; }
   15848 		if test "$supported" = "yes" ; then
   15849 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   15850 			found="yes"
   15851 		fi
   15852 	fi
   15853 
   15854 
   15855 
   15856 
   15857 
   15858 
   15859 
   15860 
   15861 
   15862 
   15863 
   15864 
   15865 
   15866 xorg_testset_save_CFLAGS="$CFLAGS"
   15867 
   15868 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15869 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15871 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15872 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15873   $as_echo_n "(cached) " >&6
   15874 else
   15875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15876 /* end confdefs.h.  */
   15877 int i;
   15878 _ACEOF
   15879 if ac_fn_c_try_compile "$LINENO"; then :
   15880   xorg_cv_compiler_flag_unknown_warning_option=yes
   15881 else
   15882   xorg_cv_compiler_flag_unknown_warning_option=no
   15883 fi
   15884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15885 fi
   15886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15887 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15888 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15889 	CFLAGS="$xorg_testset_save_CFLAGS"
   15890 fi
   15891 
   15892 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15893 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15895 	fi
   15896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15898 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15899 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15900   $as_echo_n "(cached) " >&6
   15901 else
   15902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15903 /* end confdefs.h.  */
   15904 int i;
   15905 _ACEOF
   15906 if ac_fn_c_try_compile "$LINENO"; then :
   15907   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15908 else
   15909   xorg_cv_compiler_flag_unused_command_line_argument=no
   15910 fi
   15911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15912 fi
   15913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15914 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15915 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15916 	CFLAGS="$xorg_testset_save_CFLAGS"
   15917 fi
   15918 
   15919 found="no"
   15920 
   15921 	if test $found = "no" ; then
   15922 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15923 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15924 		fi
   15925 
   15926 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15927 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15928 		fi
   15929 
   15930 		CFLAGS="$CFLAGS -Wsequence-point"
   15931 
   15932 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   15933 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   15934 		cacheid=`$as_echo xorg_cv_cc_flag_-Wsequence-point`
   15935 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15936   $as_echo_n "(cached) " >&6
   15937 else
   15938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15939 /* end confdefs.h.  */
   15940 int i;
   15941 int
   15942 main ()
   15943 {
   15944 
   15945   ;
   15946   return 0;
   15947 }
   15948 _ACEOF
   15949 if ac_fn_c_try_link "$LINENO"; then :
   15950   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15951 else
   15952   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15953 fi
   15954 rm -f core conftest.err conftest.$ac_objext \
   15955     conftest$ac_exeext conftest.$ac_ext
   15956 fi
   15957 
   15958 
   15959 		CFLAGS="$xorg_testset_save_CFLAGS"
   15960 
   15961 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15962 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15963 $as_echo "$supported" >&6; }
   15964 		if test "$supported" = "yes" ; then
   15965 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   15966 			found="yes"
   15967 		fi
   15968 	fi
   15969 
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 
   15981 
   15982 xorg_testset_save_CFLAGS="$CFLAGS"
   15983 
   15984 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15985 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15986 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15987 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15988 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15989   $as_echo_n "(cached) " >&6
   15990 else
   15991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15992 /* end confdefs.h.  */
   15993 int i;
   15994 _ACEOF
   15995 if ac_fn_c_try_compile "$LINENO"; then :
   15996   xorg_cv_compiler_flag_unknown_warning_option=yes
   15997 else
   15998   xorg_cv_compiler_flag_unknown_warning_option=no
   15999 fi
   16000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16001 fi
   16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16003 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16004 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16005 	CFLAGS="$xorg_testset_save_CFLAGS"
   16006 fi
   16007 
   16008 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16009 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16010 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16011 	fi
   16012 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16014 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16015 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16016   $as_echo_n "(cached) " >&6
   16017 else
   16018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16019 /* end confdefs.h.  */
   16020 int i;
   16021 _ACEOF
   16022 if ac_fn_c_try_compile "$LINENO"; then :
   16023   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16024 else
   16025   xorg_cv_compiler_flag_unused_command_line_argument=no
   16026 fi
   16027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16028 fi
   16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16030 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16031 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16032 	CFLAGS="$xorg_testset_save_CFLAGS"
   16033 fi
   16034 
   16035 found="no"
   16036 
   16037 	if test $found = "no" ; then
   16038 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16040 		fi
   16041 
   16042 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16044 		fi
   16045 
   16046 		CFLAGS="$CFLAGS -Wreturn-type"
   16047 
   16048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16049 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16050 		cacheid=`$as_echo xorg_cv_cc_flag_-Wreturn-type`
   16051 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16052   $as_echo_n "(cached) " >&6
   16053 else
   16054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16055 /* end confdefs.h.  */
   16056 int i;
   16057 int
   16058 main ()
   16059 {
   16060 
   16061   ;
   16062   return 0;
   16063 }
   16064 _ACEOF
   16065 if ac_fn_c_try_link "$LINENO"; then :
   16066   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16067 else
   16068   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16069 fi
   16070 rm -f core conftest.err conftest.$ac_objext \
   16071     conftest$ac_exeext conftest.$ac_ext
   16072 fi
   16073 
   16074 
   16075 		CFLAGS="$xorg_testset_save_CFLAGS"
   16076 
   16077 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16079 $as_echo "$supported" >&6; }
   16080 		if test "$supported" = "yes" ; then
   16081 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16082 			found="yes"
   16083 		fi
   16084 	fi
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 
   16096 
   16097 
   16098 xorg_testset_save_CFLAGS="$CFLAGS"
   16099 
   16100 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16101 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16103 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16104 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16105   $as_echo_n "(cached) " >&6
   16106 else
   16107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16108 /* end confdefs.h.  */
   16109 int i;
   16110 _ACEOF
   16111 if ac_fn_c_try_compile "$LINENO"; then :
   16112   xorg_cv_compiler_flag_unknown_warning_option=yes
   16113 else
   16114   xorg_cv_compiler_flag_unknown_warning_option=no
   16115 fi
   16116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16117 fi
   16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16119 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16120 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16121 	CFLAGS="$xorg_testset_save_CFLAGS"
   16122 fi
   16123 
   16124 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16125 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16126 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16127 	fi
   16128 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16130 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16131 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16132   $as_echo_n "(cached) " >&6
   16133 else
   16134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16135 /* end confdefs.h.  */
   16136 int i;
   16137 _ACEOF
   16138 if ac_fn_c_try_compile "$LINENO"; then :
   16139   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16140 else
   16141   xorg_cv_compiler_flag_unused_command_line_argument=no
   16142 fi
   16143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16144 fi
   16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16146 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16147 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16148 	CFLAGS="$xorg_testset_save_CFLAGS"
   16149 fi
   16150 
   16151 found="no"
   16152 
   16153 	if test $found = "no" ; then
   16154 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16156 		fi
   16157 
   16158 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16160 		fi
   16161 
   16162 		CFLAGS="$CFLAGS -Wtrigraphs"
   16163 
   16164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16165 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16166 		cacheid=`$as_echo xorg_cv_cc_flag_-Wtrigraphs`
   16167 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16168   $as_echo_n "(cached) " >&6
   16169 else
   16170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16171 /* end confdefs.h.  */
   16172 int i;
   16173 int
   16174 main ()
   16175 {
   16176 
   16177   ;
   16178   return 0;
   16179 }
   16180 _ACEOF
   16181 if ac_fn_c_try_link "$LINENO"; then :
   16182   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16183 else
   16184   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16185 fi
   16186 rm -f core conftest.err conftest.$ac_objext \
   16187     conftest$ac_exeext conftest.$ac_ext
   16188 fi
   16189 
   16190 
   16191 		CFLAGS="$xorg_testset_save_CFLAGS"
   16192 
   16193 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16194 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16195 $as_echo "$supported" >&6; }
   16196 		if test "$supported" = "yes" ; then
   16197 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16198 			found="yes"
   16199 		fi
   16200 	fi
   16201 
   16202 
   16203 
   16204 
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214 xorg_testset_save_CFLAGS="$CFLAGS"
   16215 
   16216 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16219 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16220 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16221   $as_echo_n "(cached) " >&6
   16222 else
   16223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16224 /* end confdefs.h.  */
   16225 int i;
   16226 _ACEOF
   16227 if ac_fn_c_try_compile "$LINENO"; then :
   16228   xorg_cv_compiler_flag_unknown_warning_option=yes
   16229 else
   16230   xorg_cv_compiler_flag_unknown_warning_option=no
   16231 fi
   16232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16233 fi
   16234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16235 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16236 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16237 	CFLAGS="$xorg_testset_save_CFLAGS"
   16238 fi
   16239 
   16240 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16241 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16242 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16243 	fi
   16244 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16246 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16247 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16248   $as_echo_n "(cached) " >&6
   16249 else
   16250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16251 /* end confdefs.h.  */
   16252 int i;
   16253 _ACEOF
   16254 if ac_fn_c_try_compile "$LINENO"; then :
   16255   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16256 else
   16257   xorg_cv_compiler_flag_unused_command_line_argument=no
   16258 fi
   16259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16260 fi
   16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16262 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16263 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16264 	CFLAGS="$xorg_testset_save_CFLAGS"
   16265 fi
   16266 
   16267 found="no"
   16268 
   16269 	if test $found = "no" ; then
   16270 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16272 		fi
   16273 
   16274 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16276 		fi
   16277 
   16278 		CFLAGS="$CFLAGS -Warray-bounds"
   16279 
   16280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16281 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16282 		cacheid=`$as_echo xorg_cv_cc_flag_-Warray-bounds`
   16283 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16284   $as_echo_n "(cached) " >&6
   16285 else
   16286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16287 /* end confdefs.h.  */
   16288 int i;
   16289 int
   16290 main ()
   16291 {
   16292 
   16293   ;
   16294   return 0;
   16295 }
   16296 _ACEOF
   16297 if ac_fn_c_try_link "$LINENO"; then :
   16298   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16299 else
   16300   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16301 fi
   16302 rm -f core conftest.err conftest.$ac_objext \
   16303     conftest$ac_exeext conftest.$ac_ext
   16304 fi
   16305 
   16306 
   16307 		CFLAGS="$xorg_testset_save_CFLAGS"
   16308 
   16309 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16311 $as_echo "$supported" >&6; }
   16312 		if test "$supported" = "yes" ; then
   16313 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16314 			found="yes"
   16315 		fi
   16316 	fi
   16317 
   16318 
   16319 
   16320 
   16321 
   16322 
   16323 
   16324 
   16325 
   16326 
   16327 
   16328 
   16329 
   16330 xorg_testset_save_CFLAGS="$CFLAGS"
   16331 
   16332 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16335 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16336 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16337   $as_echo_n "(cached) " >&6
   16338 else
   16339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16340 /* end confdefs.h.  */
   16341 int i;
   16342 _ACEOF
   16343 if ac_fn_c_try_compile "$LINENO"; then :
   16344   xorg_cv_compiler_flag_unknown_warning_option=yes
   16345 else
   16346   xorg_cv_compiler_flag_unknown_warning_option=no
   16347 fi
   16348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16349 fi
   16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16351 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16352 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16353 	CFLAGS="$xorg_testset_save_CFLAGS"
   16354 fi
   16355 
   16356 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16357 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16358 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16359 	fi
   16360 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16362 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16363 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16364   $as_echo_n "(cached) " >&6
   16365 else
   16366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16367 /* end confdefs.h.  */
   16368 int i;
   16369 _ACEOF
   16370 if ac_fn_c_try_compile "$LINENO"; then :
   16371   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16372 else
   16373   xorg_cv_compiler_flag_unused_command_line_argument=no
   16374 fi
   16375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16376 fi
   16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16378 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16379 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16380 	CFLAGS="$xorg_testset_save_CFLAGS"
   16381 fi
   16382 
   16383 found="no"
   16384 
   16385 	if test $found = "no" ; then
   16386 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16388 		fi
   16389 
   16390 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16392 		fi
   16393 
   16394 		CFLAGS="$CFLAGS -Wwrite-strings"
   16395 
   16396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16397 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16398 		cacheid=`$as_echo xorg_cv_cc_flag_-Wwrite-strings`
   16399 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16400   $as_echo_n "(cached) " >&6
   16401 else
   16402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16403 /* end confdefs.h.  */
   16404 int i;
   16405 int
   16406 main ()
   16407 {
   16408 
   16409   ;
   16410   return 0;
   16411 }
   16412 _ACEOF
   16413 if ac_fn_c_try_link "$LINENO"; then :
   16414   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16415 else
   16416   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16417 fi
   16418 rm -f core conftest.err conftest.$ac_objext \
   16419     conftest$ac_exeext conftest.$ac_ext
   16420 fi
   16421 
   16422 
   16423 		CFLAGS="$xorg_testset_save_CFLAGS"
   16424 
   16425 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16427 $as_echo "$supported" >&6; }
   16428 		if test "$supported" = "yes" ; then
   16429 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16430 			found="yes"
   16431 		fi
   16432 	fi
   16433 
   16434 
   16435 
   16436 
   16437 
   16438 
   16439 
   16440 
   16441 
   16442 
   16443 
   16444 
   16445 
   16446 xorg_testset_save_CFLAGS="$CFLAGS"
   16447 
   16448 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16449 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16451 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16452 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16453   $as_echo_n "(cached) " >&6
   16454 else
   16455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16456 /* end confdefs.h.  */
   16457 int i;
   16458 _ACEOF
   16459 if ac_fn_c_try_compile "$LINENO"; then :
   16460   xorg_cv_compiler_flag_unknown_warning_option=yes
   16461 else
   16462   xorg_cv_compiler_flag_unknown_warning_option=no
   16463 fi
   16464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16465 fi
   16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16467 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16468 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16469 	CFLAGS="$xorg_testset_save_CFLAGS"
   16470 fi
   16471 
   16472 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16473 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16475 	fi
   16476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16478 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16479 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16480   $as_echo_n "(cached) " >&6
   16481 else
   16482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16483 /* end confdefs.h.  */
   16484 int i;
   16485 _ACEOF
   16486 if ac_fn_c_try_compile "$LINENO"; then :
   16487   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16488 else
   16489   xorg_cv_compiler_flag_unused_command_line_argument=no
   16490 fi
   16491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16492 fi
   16493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16494 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16495 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16496 	CFLAGS="$xorg_testset_save_CFLAGS"
   16497 fi
   16498 
   16499 found="no"
   16500 
   16501 	if test $found = "no" ; then
   16502 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16504 		fi
   16505 
   16506 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16508 		fi
   16509 
   16510 		CFLAGS="$CFLAGS -Waddress"
   16511 
   16512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16513 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16514 		cacheid=`$as_echo xorg_cv_cc_flag_-Waddress`
   16515 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16516   $as_echo_n "(cached) " >&6
   16517 else
   16518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16519 /* end confdefs.h.  */
   16520 int i;
   16521 int
   16522 main ()
   16523 {
   16524 
   16525   ;
   16526   return 0;
   16527 }
   16528 _ACEOF
   16529 if ac_fn_c_try_link "$LINENO"; then :
   16530   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16531 else
   16532   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16533 fi
   16534 rm -f core conftest.err conftest.$ac_objext \
   16535     conftest$ac_exeext conftest.$ac_ext
   16536 fi
   16537 
   16538 
   16539 		CFLAGS="$xorg_testset_save_CFLAGS"
   16540 
   16541 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16543 $as_echo "$supported" >&6; }
   16544 		if test "$supported" = "yes" ; then
   16545 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16546 			found="yes"
   16547 		fi
   16548 	fi
   16549 
   16550 
   16551 
   16552 
   16553 
   16554 
   16555 
   16556 
   16557 
   16558 
   16559 
   16560 
   16561 
   16562 xorg_testset_save_CFLAGS="$CFLAGS"
   16563 
   16564 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16567 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16568 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16569   $as_echo_n "(cached) " >&6
   16570 else
   16571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16572 /* end confdefs.h.  */
   16573 int i;
   16574 _ACEOF
   16575 if ac_fn_c_try_compile "$LINENO"; then :
   16576   xorg_cv_compiler_flag_unknown_warning_option=yes
   16577 else
   16578   xorg_cv_compiler_flag_unknown_warning_option=no
   16579 fi
   16580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16581 fi
   16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16583 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16584 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16585 	CFLAGS="$xorg_testset_save_CFLAGS"
   16586 fi
   16587 
   16588 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16589 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16591 	fi
   16592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16594 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16595 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16596   $as_echo_n "(cached) " >&6
   16597 else
   16598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16599 /* end confdefs.h.  */
   16600 int i;
   16601 _ACEOF
   16602 if ac_fn_c_try_compile "$LINENO"; then :
   16603   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16604 else
   16605   xorg_cv_compiler_flag_unused_command_line_argument=no
   16606 fi
   16607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16608 fi
   16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16610 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16611 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16612 	CFLAGS="$xorg_testset_save_CFLAGS"
   16613 fi
   16614 
   16615 found="no"
   16616 
   16617 	if test $found = "no" ; then
   16618 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16620 		fi
   16621 
   16622 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16624 		fi
   16625 
   16626 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16627 
   16628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16629 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16630 		cacheid=`$as_echo xorg_cv_cc_flag_-Wint-to-pointer-cast`
   16631 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16632   $as_echo_n "(cached) " >&6
   16633 else
   16634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16635 /* end confdefs.h.  */
   16636 int i;
   16637 int
   16638 main ()
   16639 {
   16640 
   16641   ;
   16642   return 0;
   16643 }
   16644 _ACEOF
   16645 if ac_fn_c_try_link "$LINENO"; then :
   16646   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16647 else
   16648   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16649 fi
   16650 rm -f core conftest.err conftest.$ac_objext \
   16651     conftest$ac_exeext conftest.$ac_ext
   16652 fi
   16653 
   16654 
   16655 		CFLAGS="$xorg_testset_save_CFLAGS"
   16656 
   16657 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16659 $as_echo "$supported" >&6; }
   16660 		if test "$supported" = "yes" ; then
   16661 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16662 			found="yes"
   16663 		fi
   16664 	fi
   16665 
   16666 
   16667 
   16668 
   16669 
   16670 
   16671 
   16672 
   16673 
   16674 
   16675 
   16676 
   16677 
   16678 xorg_testset_save_CFLAGS="$CFLAGS"
   16679 
   16680 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16683 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16684 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16685   $as_echo_n "(cached) " >&6
   16686 else
   16687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16688 /* end confdefs.h.  */
   16689 int i;
   16690 _ACEOF
   16691 if ac_fn_c_try_compile "$LINENO"; then :
   16692   xorg_cv_compiler_flag_unknown_warning_option=yes
   16693 else
   16694   xorg_cv_compiler_flag_unknown_warning_option=no
   16695 fi
   16696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16697 fi
   16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16699 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16700 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16701 	CFLAGS="$xorg_testset_save_CFLAGS"
   16702 fi
   16703 
   16704 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16705 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16707 	fi
   16708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16710 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16711 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16712   $as_echo_n "(cached) " >&6
   16713 else
   16714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16715 /* end confdefs.h.  */
   16716 int i;
   16717 _ACEOF
   16718 if ac_fn_c_try_compile "$LINENO"; then :
   16719   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16720 else
   16721   xorg_cv_compiler_flag_unused_command_line_argument=no
   16722 fi
   16723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16724 fi
   16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16726 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16727 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16728 	CFLAGS="$xorg_testset_save_CFLAGS"
   16729 fi
   16730 
   16731 found="no"
   16732 
   16733 	if test $found = "no" ; then
   16734 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16736 		fi
   16737 
   16738 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16740 		fi
   16741 
   16742 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16743 
   16744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16745 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16746 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-to-int-cast`
   16747 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16748   $as_echo_n "(cached) " >&6
   16749 else
   16750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16751 /* end confdefs.h.  */
   16752 int i;
   16753 int
   16754 main ()
   16755 {
   16756 
   16757   ;
   16758   return 0;
   16759 }
   16760 _ACEOF
   16761 if ac_fn_c_try_link "$LINENO"; then :
   16762   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16763 else
   16764   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16765 fi
   16766 rm -f core conftest.err conftest.$ac_objext \
   16767     conftest$ac_exeext conftest.$ac_ext
   16768 fi
   16769 
   16770 
   16771 		CFLAGS="$xorg_testset_save_CFLAGS"
   16772 
   16773 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16775 $as_echo "$supported" >&6; }
   16776 		if test "$supported" = "yes" ; then
   16777 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16778 			found="yes"
   16779 		fi
   16780 	fi
   16781 
   16782 
   16783 fi
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 		CWARNFLAGS="$BASE_CFLAGS"
   16792 		if  test "x$GCC" = xyes ; then
   16793 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   16794 		fi
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 # Check whether --enable-strict-compilation was given.
   16804 if test "${enable_strict_compilation+set}" = set; then :
   16805   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   16806 else
   16807   STRICT_COMPILE=no
   16808 fi
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 STRICT_CFLAGS=""
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 
   16826 
   16827 xorg_testset_save_CFLAGS="$CFLAGS"
   16828 
   16829 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16832 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16833 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16834   $as_echo_n "(cached) " >&6
   16835 else
   16836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16837 /* end confdefs.h.  */
   16838 int i;
   16839 _ACEOF
   16840 if ac_fn_c_try_compile "$LINENO"; then :
   16841   xorg_cv_compiler_flag_unknown_warning_option=yes
   16842 else
   16843   xorg_cv_compiler_flag_unknown_warning_option=no
   16844 fi
   16845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16846 fi
   16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16848 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16849 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16850 	CFLAGS="$xorg_testset_save_CFLAGS"
   16851 fi
   16852 
   16853 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16854 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16856 	fi
   16857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16859 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16860 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16861   $as_echo_n "(cached) " >&6
   16862 else
   16863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16864 /* end confdefs.h.  */
   16865 int i;
   16866 _ACEOF
   16867 if ac_fn_c_try_compile "$LINENO"; then :
   16868   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16869 else
   16870   xorg_cv_compiler_flag_unused_command_line_argument=no
   16871 fi
   16872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16873 fi
   16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16875 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16876 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16877 	CFLAGS="$xorg_testset_save_CFLAGS"
   16878 fi
   16879 
   16880 found="no"
   16881 
   16882 	if test $found = "no" ; then
   16883 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16885 		fi
   16886 
   16887 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16889 		fi
   16890 
   16891 		CFLAGS="$CFLAGS -pedantic"
   16892 
   16893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   16894 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   16895 		cacheid=`$as_echo xorg_cv_cc_flag_-pedantic`
   16896 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16897   $as_echo_n "(cached) " >&6
   16898 else
   16899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16900 /* end confdefs.h.  */
   16901 int i;
   16902 int
   16903 main ()
   16904 {
   16905 
   16906   ;
   16907   return 0;
   16908 }
   16909 _ACEOF
   16910 if ac_fn_c_try_link "$LINENO"; then :
   16911   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16912 else
   16913   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16914 fi
   16915 rm -f core conftest.err conftest.$ac_objext \
   16916     conftest$ac_exeext conftest.$ac_ext
   16917 fi
   16918 
   16919 
   16920 		CFLAGS="$xorg_testset_save_CFLAGS"
   16921 
   16922 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16924 $as_echo "$supported" >&6; }
   16925 		if test "$supported" = "yes" ; then
   16926 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   16927 			found="yes"
   16928 		fi
   16929 	fi
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 
   16940 
   16941 
   16942 
   16943 xorg_testset_save_CFLAGS="$CFLAGS"
   16944 
   16945 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16948 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16949 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16950   $as_echo_n "(cached) " >&6
   16951 else
   16952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16953 /* end confdefs.h.  */
   16954 int i;
   16955 _ACEOF
   16956 if ac_fn_c_try_compile "$LINENO"; then :
   16957   xorg_cv_compiler_flag_unknown_warning_option=yes
   16958 else
   16959   xorg_cv_compiler_flag_unknown_warning_option=no
   16960 fi
   16961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16962 fi
   16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16964 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16965 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16966 	CFLAGS="$xorg_testset_save_CFLAGS"
   16967 fi
   16968 
   16969 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16970 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16972 	fi
   16973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16975 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16976 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16977   $as_echo_n "(cached) " >&6
   16978 else
   16979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16980 /* end confdefs.h.  */
   16981 int i;
   16982 _ACEOF
   16983 if ac_fn_c_try_compile "$LINENO"; then :
   16984   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16985 else
   16986   xorg_cv_compiler_flag_unused_command_line_argument=no
   16987 fi
   16988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16989 fi
   16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16991 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16992 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16993 	CFLAGS="$xorg_testset_save_CFLAGS"
   16994 fi
   16995 
   16996 found="no"
   16997 
   16998 	if test $found = "no" ; then
   16999 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17000 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17001 		fi
   17002 
   17003 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17004 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17005 		fi
   17006 
   17007 		CFLAGS="$CFLAGS -Werror"
   17008 
   17009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17010 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17011 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror`
   17012 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17013   $as_echo_n "(cached) " >&6
   17014 else
   17015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17016 /* end confdefs.h.  */
   17017 int i;
   17018 int
   17019 main ()
   17020 {
   17021 
   17022   ;
   17023   return 0;
   17024 }
   17025 _ACEOF
   17026 if ac_fn_c_try_link "$LINENO"; then :
   17027   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17028 else
   17029   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17030 fi
   17031 rm -f core conftest.err conftest.$ac_objext \
   17032     conftest$ac_exeext conftest.$ac_ext
   17033 fi
   17034 
   17035 
   17036 		CFLAGS="$xorg_testset_save_CFLAGS"
   17037 
   17038 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17040 $as_echo "$supported" >&6; }
   17041 		if test "$supported" = "yes" ; then
   17042 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17043 			found="yes"
   17044 		fi
   17045 	fi
   17046 
   17047 	if test $found = "no" ; then
   17048 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17049 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17050 		fi
   17051 
   17052 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17053 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17054 		fi
   17055 
   17056 		CFLAGS="$CFLAGS -errwarn"
   17057 
   17058 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17059 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17060 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn`
   17061 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17062   $as_echo_n "(cached) " >&6
   17063 else
   17064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17065 /* end confdefs.h.  */
   17066 int i;
   17067 int
   17068 main ()
   17069 {
   17070 
   17071   ;
   17072   return 0;
   17073 }
   17074 _ACEOF
   17075 if ac_fn_c_try_link "$LINENO"; then :
   17076   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17077 else
   17078   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17079 fi
   17080 rm -f core conftest.err conftest.$ac_objext \
   17081     conftest$ac_exeext conftest.$ac_ext
   17082 fi
   17083 
   17084 
   17085 		CFLAGS="$xorg_testset_save_CFLAGS"
   17086 
   17087 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17089 $as_echo "$supported" >&6; }
   17090 		if test "$supported" = "yes" ; then
   17091 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17092 			found="yes"
   17093 		fi
   17094 	fi
   17095 
   17096 
   17097 
   17098 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17099 # activate it with -Werror, so we add it here explicitly.
   17100 
   17101 
   17102 
   17103 
   17104 
   17105 
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 xorg_testset_save_CFLAGS="$CFLAGS"
   17112 
   17113 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   17114 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   17116 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   17117 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   17118   $as_echo_n "(cached) " >&6
   17119 else
   17120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17121 /* end confdefs.h.  */
   17122 int i;
   17123 _ACEOF
   17124 if ac_fn_c_try_compile "$LINENO"; then :
   17125   xorg_cv_compiler_flag_unknown_warning_option=yes
   17126 else
   17127   xorg_cv_compiler_flag_unknown_warning_option=no
   17128 fi
   17129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17130 fi
   17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   17132 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   17133 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   17134 	CFLAGS="$xorg_testset_save_CFLAGS"
   17135 fi
   17136 
   17137 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   17138 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17139 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17140 	fi
   17141 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17142 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   17143 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   17144 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   17145   $as_echo_n "(cached) " >&6
   17146 else
   17147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17148 /* end confdefs.h.  */
   17149 int i;
   17150 _ACEOF
   17151 if ac_fn_c_try_compile "$LINENO"; then :
   17152   xorg_cv_compiler_flag_unused_command_line_argument=yes
   17153 else
   17154   xorg_cv_compiler_flag_unused_command_line_argument=no
   17155 fi
   17156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17157 fi
   17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   17159 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   17160 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   17161 	CFLAGS="$xorg_testset_save_CFLAGS"
   17162 fi
   17163 
   17164 found="no"
   17165 
   17166 	if test $found = "no" ; then
   17167 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17168 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17169 		fi
   17170 
   17171 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17172 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17173 		fi
   17174 
   17175 		CFLAGS="$CFLAGS -Werror=attributes"
   17176 
   17177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17178 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17179 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=attributes`
   17180 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17181   $as_echo_n "(cached) " >&6
   17182 else
   17183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17184 /* end confdefs.h.  */
   17185 int i;
   17186 int
   17187 main ()
   17188 {
   17189 
   17190   ;
   17191   return 0;
   17192 }
   17193 _ACEOF
   17194 if ac_fn_c_try_link "$LINENO"; then :
   17195   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17196 else
   17197   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17198 fi
   17199 rm -f core conftest.err conftest.$ac_objext \
   17200     conftest$ac_exeext conftest.$ac_ext
   17201 fi
   17202 
   17203 
   17204 		CFLAGS="$xorg_testset_save_CFLAGS"
   17205 
   17206 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17208 $as_echo "$supported" >&6; }
   17209 		if test "$supported" = "yes" ; then
   17210 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17211 			found="yes"
   17212 		fi
   17213 	fi
   17214 
   17215 
   17216 
   17217 if test "x$STRICT_COMPILE" = "xyes"; then
   17218     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17219     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17220 fi
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 cat >>confdefs.h <<_ACEOF
   17228 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17229 _ACEOF
   17230 
   17231 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17232 	if test "x$PVM" = "x"; then
   17233 		PVM="0"
   17234 	fi
   17235 
   17236 cat >>confdefs.h <<_ACEOF
   17237 #define PACKAGE_VERSION_MINOR $PVM
   17238 _ACEOF
   17239 
   17240 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17241 	if test "x$PVP" = "x"; then
   17242 		PVP="0"
   17243 	fi
   17244 
   17245 cat >>confdefs.h <<_ACEOF
   17246 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17247 _ACEOF
   17248 
   17249 
   17250 
   17251 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17252 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17253 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17254 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17255 
   17256 
   17257 
   17258 
   17259 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17260 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17261 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17262 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17263 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17264 
   17265 
   17266 
   17267 
   17268 
   17269 
   17270 if test x$APP_MAN_SUFFIX = x    ; then
   17271     APP_MAN_SUFFIX=1
   17272 fi
   17273 if test x$APP_MAN_DIR = x    ; then
   17274     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17275 fi
   17276 
   17277 if test x$LIB_MAN_SUFFIX = x    ; then
   17278     LIB_MAN_SUFFIX=3
   17279 fi
   17280 if test x$LIB_MAN_DIR = x    ; then
   17281     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17282 fi
   17283 
   17284 if test x$FILE_MAN_SUFFIX = x    ; then
   17285     case $host_os in
   17286 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17287 	*)		FILE_MAN_SUFFIX=5  ;;
   17288     esac
   17289 fi
   17290 if test x$FILE_MAN_DIR = x    ; then
   17291     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17292 fi
   17293 
   17294 if test x$MISC_MAN_SUFFIX = x    ; then
   17295     case $host_os in
   17296 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17297 	*)		MISC_MAN_SUFFIX=7  ;;
   17298     esac
   17299 fi
   17300 if test x$MISC_MAN_DIR = x    ; then
   17301     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17302 fi
   17303 
   17304 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17305     case $host_os in
   17306 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17307 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17308     esac
   17309 fi
   17310 if test x$DRIVER_MAN_DIR = x    ; then
   17311     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17312 fi
   17313 
   17314 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17315     case $host_os in
   17316 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17317 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17318     esac
   17319 fi
   17320 if test x$ADMIN_MAN_DIR = x    ; then
   17321     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17322 fi
   17323 
   17324 
   17325 
   17326 
   17327 
   17328 
   17329 
   17330 
   17331 
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 
   17338 XORG_MAN_PAGE="X Version 11"
   17339 
   17340 MAN_SUBSTS="\
   17341 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17342 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17343 	-e 's|__xservername__|Xorg|g' \
   17344 	-e 's|__xconfigfile__|xorg.conf|g' \
   17345 	-e 's|__projectroot__|\$(prefix)|g' \
   17346 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17347 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17348 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17349 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17350 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17351 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17352 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17353 
   17354 
   17355 
   17356 # Check whether --enable-silent-rules was given.
   17357 if test "${enable_silent_rules+set}" = set; then :
   17358   enableval=$enable_silent_rules;
   17359 fi
   17360 
   17361 case $enable_silent_rules in
   17362 yes) AM_DEFAULT_VERBOSITY=0;;
   17363 no)  AM_DEFAULT_VERBOSITY=1;;
   17364 *)   AM_DEFAULT_VERBOSITY=0;;
   17365 esac
   17366 AM_BACKSLASH='\'
   17367 
   17368 
   17369 
   17370 # Checks for library functions.
   17371 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   17372 if test "x$ac_cv_func_strcasecmp" = xyes; then :
   17373 
   17374 else
   17375 
   17376 $as_echo "#define NEED_STRCASECMP 1" >>confdefs.h
   17377 
   17378 fi
   17379 
   17380 ac_fn_c_check_func "$LINENO" "getc_unlocked" "ac_cv_func_getc_unlocked"
   17381 if test "x$ac_cv_func_getc_unlocked" = xyes; then :
   17382 
   17383 $as_echo "#define HAVE_UNLOCKED_STDIO 1" >>confdefs.h
   17384 
   17385 fi
   17386 
   17387 
   17388 # Obtain compiler/linker options for depedencies
   17389 
   17390 pkg_failed=no
   17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKBFILE" >&5
   17392 $as_echo_n "checking for XKBFILE... " >&6; }
   17393 
   17394 if test -n "$XKBFILE_CFLAGS"; then
   17395     pkg_cv_XKBFILE_CFLAGS="$XKBFILE_CFLAGS"
   17396  elif test -n "$PKG_CONFIG"; then
   17397     if test -n "$PKG_CONFIG" && \
   17398     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 kbproto\""; } >&5
   17399   ($PKG_CONFIG --exists --print-errors "x11 kbproto") 2>&5
   17400   ac_status=$?
   17401   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17402   test $ac_status = 0; }; then
   17403   pkg_cv_XKBFILE_CFLAGS=`$PKG_CONFIG --cflags "x11 kbproto" 2>/dev/null`
   17404 else
   17405   pkg_failed=yes
   17406 fi
   17407  else
   17408     pkg_failed=untried
   17409 fi
   17410 if test -n "$XKBFILE_LIBS"; then
   17411     pkg_cv_XKBFILE_LIBS="$XKBFILE_LIBS"
   17412  elif test -n "$PKG_CONFIG"; then
   17413     if test -n "$PKG_CONFIG" && \
   17414     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 kbproto\""; } >&5
   17415   ($PKG_CONFIG --exists --print-errors "x11 kbproto") 2>&5
   17416   ac_status=$?
   17417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17418   test $ac_status = 0; }; then
   17419   pkg_cv_XKBFILE_LIBS=`$PKG_CONFIG --libs "x11 kbproto" 2>/dev/null`
   17420 else
   17421   pkg_failed=yes
   17422 fi
   17423  else
   17424     pkg_failed=untried
   17425 fi
   17426 
   17427 
   17428 
   17429 if test $pkg_failed = yes; then
   17430 
   17431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17432         _pkg_short_errors_supported=yes
   17433 else
   17434         _pkg_short_errors_supported=no
   17435 fi
   17436         if test $_pkg_short_errors_supported = yes; then
   17437 	        XKBFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 kbproto" 2>&1`
   17438         else
   17439 	        XKBFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 kbproto" 2>&1`
   17440         fi
   17441 	# Put the nasty error message in config.log where it belongs
   17442 	echo "$XKBFILE_PKG_ERRORS" >&5
   17443 
   17444 	as_fn_error $? "Package requirements (x11 kbproto) were not met:
   17445 
   17446 $XKBFILE_PKG_ERRORS
   17447 
   17448 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17449 installed software in a non-standard prefix.
   17450 
   17451 Alternatively, you may set the environment variables XKBFILE_CFLAGS
   17452 and XKBFILE_LIBS to avoid the need to call pkg-config.
   17453 See the pkg-config man page for more details.
   17454 " "$LINENO" 5
   17455 elif test $pkg_failed = untried; then
   17456 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17458 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17459 is in your PATH or set the PKG_CONFIG environment variable to the full
   17460 path to pkg-config.
   17461 
   17462 Alternatively, you may set the environment variables XKBFILE_CFLAGS
   17463 and XKBFILE_LIBS to avoid the need to call pkg-config.
   17464 See the pkg-config man page for more details.
   17465 
   17466 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17467 See \`config.log' for more details" "$LINENO" 5; }
   17468 else
   17469 	XKBFILE_CFLAGS=$pkg_cv_XKBFILE_CFLAGS
   17470 	XKBFILE_LIBS=$pkg_cv_XKBFILE_LIBS
   17471         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17472 $as_echo "yes" >&6; }
   17473 	:
   17474 fi
   17475 
   17476 ac_config_files="$ac_config_files Makefile src/Makefile xkbfile.pc"
   17477 
   17478 cat >confcache <<\_ACEOF
   17479 # This file is a shell script that caches the results of configure
   17480 # tests run on this system so they can be shared between configure
   17481 # scripts and configure runs, see configure's option --config-cache.
   17482 # It is not useful on other systems.  If it contains results you don't
   17483 # want to keep, you may remove or edit it.
   17484 #
   17485 # config.status only pays attention to the cache file if you give it
   17486 # the --recheck option to rerun configure.
   17487 #
   17488 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17489 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17490 # following values.
   17491 
   17492 _ACEOF
   17493 
   17494 # The following way of writing the cache mishandles newlines in values,
   17495 # but we know of no workaround that is simple, portable, and efficient.
   17496 # So, we kill variables containing newlines.
   17497 # Ultrix sh set writes to stderr and can't be redirected directly,
   17498 # and sets the high bit in the cache file unless we assign to the vars.
   17499 (
   17500   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17501     eval ac_val=\$$ac_var
   17502     case $ac_val in #(
   17503     *${as_nl}*)
   17504       case $ac_var in #(
   17505       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17506 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17507       esac
   17508       case $ac_var in #(
   17509       _ | IFS | as_nl) ;; #(
   17510       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17511       *) { eval $ac_var=; unset $ac_var;} ;;
   17512       esac ;;
   17513     esac
   17514   done
   17515 
   17516   (set) 2>&1 |
   17517     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17518     *${as_nl}ac_space=\ *)
   17519       # `set' does not quote correctly, so add quotes: double-quote
   17520       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17521       sed -n \
   17522 	"s/'/'\\\\''/g;
   17523 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17524       ;; #(
   17525     *)
   17526       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17527       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17528       ;;
   17529     esac |
   17530     sort
   17531 ) |
   17532   sed '
   17533      /^ac_cv_env_/b end
   17534      t clear
   17535      :clear
   17536      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17537      t end
   17538      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17539      :end' >>confcache
   17540 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17541   if test -w "$cache_file"; then
   17542     if test "x$cache_file" != "x/dev/null"; then
   17543       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17544 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17545       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17546 	cat confcache >"$cache_file"
   17547       else
   17548         case $cache_file in #(
   17549         */* | ?:*)
   17550 	  mv -f confcache "$cache_file"$$ &&
   17551 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17552         *)
   17553 	  mv -f confcache "$cache_file" ;;
   17554 	esac
   17555       fi
   17556     fi
   17557   else
   17558     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17559 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17560   fi
   17561 fi
   17562 rm -f confcache
   17563 
   17564 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17565 # Let make expand exec_prefix.
   17566 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17567 
   17568 DEFS=-DHAVE_CONFIG_H
   17569 
   17570 ac_libobjs=
   17571 ac_ltlibobjs=
   17572 U=
   17573 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17574   # 1. Remove the extension, and $U if already installed.
   17575   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17576   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17577   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17578   #    will be set to the directory where LIBOBJS objects are built.
   17579   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17580   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17581 done
   17582 LIBOBJS=$ac_libobjs
   17583 
   17584 LTLIBOBJS=$ac_ltlibobjs
   17585 
   17586 
   17587  if test -n "$EXEEXT"; then
   17588   am__EXEEXT_TRUE=
   17589   am__EXEEXT_FALSE='#'
   17590 else
   17591   am__EXEEXT_TRUE='#'
   17592   am__EXEEXT_FALSE=
   17593 fi
   17594 
   17595 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17596   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17598 fi
   17599 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17600   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17602 fi
   17603 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17604   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17606 fi
   17607 
   17608 : "${CONFIG_STATUS=./config.status}"
   17609 ac_write_fail=0
   17610 ac_clean_files_save=$ac_clean_files
   17611 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17612 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17613 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17614 as_write_fail=0
   17615 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17616 #! $SHELL
   17617 # Generated by $as_me.
   17618 # Run this file to recreate the current configuration.
   17619 # Compiler output produced by configure, useful for debugging
   17620 # configure, is in config.log if it exists.
   17621 
   17622 debug=false
   17623 ac_cs_recheck=false
   17624 ac_cs_silent=false
   17625 
   17626 SHELL=\${CONFIG_SHELL-$SHELL}
   17627 export SHELL
   17628 _ASEOF
   17629 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17630 ## -------------------- ##
   17631 ## M4sh Initialization. ##
   17632 ## -------------------- ##
   17633 
   17634 # Be more Bourne compatible
   17635 DUALCASE=1; export DUALCASE # for MKS sh
   17636 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17637   emulate sh
   17638   NULLCMD=:
   17639   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17640   # is contrary to our usage.  Disable this feature.
   17641   alias -g '${1+"$@"}'='"$@"'
   17642   setopt NO_GLOB_SUBST
   17643 else
   17644   case `(set -o) 2>/dev/null` in #(
   17645   *posix*) :
   17646     set -o posix ;; #(
   17647   *) :
   17648      ;;
   17649 esac
   17650 fi
   17651 
   17652 
   17653 as_nl='
   17654 '
   17655 export as_nl
   17656 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17657 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17658 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17659 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17660 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17661 # but without wasting forks for bash or zsh.
   17662 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17663     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17664   as_echo='print -r --'
   17665   as_echo_n='print -rn --'
   17666 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17667   as_echo='printf %s\n'
   17668   as_echo_n='printf %s'
   17669 else
   17670   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17671     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17672     as_echo_n='/usr/ucb/echo -n'
   17673   else
   17674     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17675     as_echo_n_body='eval
   17676       arg=$1;
   17677       case $arg in #(
   17678       *"$as_nl"*)
   17679 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17680 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17681       esac;
   17682       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17683     '
   17684     export as_echo_n_body
   17685     as_echo_n='sh -c $as_echo_n_body as_echo'
   17686   fi
   17687   export as_echo_body
   17688   as_echo='sh -c $as_echo_body as_echo'
   17689 fi
   17690 
   17691 # The user is always right.
   17692 if test "${PATH_SEPARATOR+set}" != set; then
   17693   PATH_SEPARATOR=:
   17694   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17695     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17696       PATH_SEPARATOR=';'
   17697   }
   17698 fi
   17699 
   17700 
   17701 # IFS
   17702 # We need space, tab and new line, in precisely that order.  Quoting is
   17703 # there to prevent editors from complaining about space-tab.
   17704 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17705 # splitting by setting IFS to empty value.)
   17706 IFS=" ""	$as_nl"
   17707 
   17708 # Find who we are.  Look in the path if we contain no directory separator.
   17709 as_myself=
   17710 case $0 in #((
   17711   *[\\/]* ) as_myself=$0 ;;
   17712   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17713 for as_dir in $PATH
   17714 do
   17715   IFS=$as_save_IFS
   17716   test -z "$as_dir" && as_dir=.
   17717     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17718   done
   17719 IFS=$as_save_IFS
   17720 
   17721      ;;
   17722 esac
   17723 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17724 # in which case we are not to be found in the path.
   17725 if test "x$as_myself" = x; then
   17726   as_myself=$0
   17727 fi
   17728 if test ! -f "$as_myself"; then
   17729   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17730   exit 1
   17731 fi
   17732 
   17733 # Unset variables that we do not need and which cause bugs (e.g. in
   17734 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17735 # suppresses any "Segmentation fault" message there.  '((' could
   17736 # trigger a bug in pdksh 5.2.14.
   17737 for as_var in BASH_ENV ENV MAIL MAILPATH
   17738 do eval test x\${$as_var+set} = xset \
   17739   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17740 done
   17741 PS1='$ '
   17742 PS2='> '
   17743 PS4='+ '
   17744 
   17745 # NLS nuisances.
   17746 LC_ALL=C
   17747 export LC_ALL
   17748 LANGUAGE=C
   17749 export LANGUAGE
   17750 
   17751 # CDPATH.
   17752 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17753 
   17754 
   17755 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17756 # ----------------------------------------
   17757 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17758 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17759 # script with STATUS, using 1 if that was 0.
   17760 as_fn_error ()
   17761 {
   17762   as_status=$1; test $as_status -eq 0 && as_status=1
   17763   if test "$4"; then
   17764     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17765     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17766   fi
   17767   $as_echo "$as_me: error: $2" >&2
   17768   as_fn_exit $as_status
   17769 } # as_fn_error
   17770 
   17771 
   17772 # as_fn_set_status STATUS
   17773 # -----------------------
   17774 # Set $? to STATUS, without forking.
   17775 as_fn_set_status ()
   17776 {
   17777   return $1
   17778 } # as_fn_set_status
   17779 
   17780 # as_fn_exit STATUS
   17781 # -----------------
   17782 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17783 as_fn_exit ()
   17784 {
   17785   set +e
   17786   as_fn_set_status $1
   17787   exit $1
   17788 } # as_fn_exit
   17789 
   17790 # as_fn_unset VAR
   17791 # ---------------
   17792 # Portably unset VAR.
   17793 as_fn_unset ()
   17794 {
   17795   { eval $1=; unset $1;}
   17796 }
   17797 as_unset=as_fn_unset
   17798 # as_fn_append VAR VALUE
   17799 # ----------------------
   17800 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17801 # advantage of any shell optimizations that allow amortized linear growth over
   17802 # repeated appends, instead of the typical quadratic growth present in naive
   17803 # implementations.
   17804 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17805   eval 'as_fn_append ()
   17806   {
   17807     eval $1+=\$2
   17808   }'
   17809 else
   17810   as_fn_append ()
   17811   {
   17812     eval $1=\$$1\$2
   17813   }
   17814 fi # as_fn_append
   17815 
   17816 # as_fn_arith ARG...
   17817 # ------------------
   17818 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17819 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17820 # must be portable across $(()) and expr.
   17821 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17822   eval 'as_fn_arith ()
   17823   {
   17824     as_val=$(( $* ))
   17825   }'
   17826 else
   17827   as_fn_arith ()
   17828   {
   17829     as_val=`expr "$@" || test $? -eq 1`
   17830   }
   17831 fi # as_fn_arith
   17832 
   17833 
   17834 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17835    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17836   as_expr=expr
   17837 else
   17838   as_expr=false
   17839 fi
   17840 
   17841 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17842   as_basename=basename
   17843 else
   17844   as_basename=false
   17845 fi
   17846 
   17847 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17848   as_dirname=dirname
   17849 else
   17850   as_dirname=false
   17851 fi
   17852 
   17853 as_me=`$as_basename -- "$0" ||
   17854 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17855 	 X"$0" : 'X\(//\)$' \| \
   17856 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17857 $as_echo X/"$0" |
   17858     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17859 	    s//\1/
   17860 	    q
   17861 	  }
   17862 	  /^X\/\(\/\/\)$/{
   17863 	    s//\1/
   17864 	    q
   17865 	  }
   17866 	  /^X\/\(\/\).*/{
   17867 	    s//\1/
   17868 	    q
   17869 	  }
   17870 	  s/.*/./; q'`
   17871 
   17872 # Avoid depending upon Character Ranges.
   17873 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17874 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17875 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17876 as_cr_digits='0123456789'
   17877 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17878 
   17879 ECHO_C= ECHO_N= ECHO_T=
   17880 case `echo -n x` in #(((((
   17881 -n*)
   17882   case `echo 'xy\c'` in
   17883   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   17884   xy)  ECHO_C='\c';;
   17885   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   17886        ECHO_T='	';;
   17887   esac;;
   17888 *)
   17889   ECHO_N='-n';;
   17890 esac
   17891 
   17892 rm -f conf$$ conf$$.exe conf$$.file
   17893 if test -d conf$$.dir; then
   17894   rm -f conf$$.dir/conf$$.file
   17895 else
   17896   rm -f conf$$.dir
   17897   mkdir conf$$.dir 2>/dev/null
   17898 fi
   17899 if (echo >conf$$.file) 2>/dev/null; then
   17900   if ln -s conf$$.file conf$$ 2>/dev/null; then
   17901     as_ln_s='ln -s'
   17902     # ... but there are two gotchas:
   17903     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   17904     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   17905     # In both cases, we have to default to `cp -p'.
   17906     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   17907       as_ln_s='cp -p'
   17908   elif ln conf$$.file conf$$ 2>/dev/null; then
   17909     as_ln_s=ln
   17910   else
   17911     as_ln_s='cp -p'
   17912   fi
   17913 else
   17914   as_ln_s='cp -p'
   17915 fi
   17916 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   17917 rmdir conf$$.dir 2>/dev/null
   17918 
   17919 
   17920 # as_fn_mkdir_p
   17921 # -------------
   17922 # Create "$as_dir" as a directory, including parents if necessary.
   17923 as_fn_mkdir_p ()
   17924 {
   17925 
   17926   case $as_dir in #(
   17927   -*) as_dir=./$as_dir;;
   17928   esac
   17929   test -d "$as_dir" || eval $as_mkdir_p || {
   17930     as_dirs=
   17931     while :; do
   17932       case $as_dir in #(
   17933       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   17934       *) as_qdir=$as_dir;;
   17935       esac
   17936       as_dirs="'$as_qdir' $as_dirs"
   17937       as_dir=`$as_dirname -- "$as_dir" ||
   17938 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17939 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17940 	 X"$as_dir" : 'X\(//\)$' \| \
   17941 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   17942 $as_echo X"$as_dir" |
   17943     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17944 	    s//\1/
   17945 	    q
   17946 	  }
   17947 	  /^X\(\/\/\)[^/].*/{
   17948 	    s//\1/
   17949 	    q
   17950 	  }
   17951 	  /^X\(\/\/\)$/{
   17952 	    s//\1/
   17953 	    q
   17954 	  }
   17955 	  /^X\(\/\).*/{
   17956 	    s//\1/
   17957 	    q
   17958 	  }
   17959 	  s/.*/./; q'`
   17960       test -d "$as_dir" && break
   17961     done
   17962     test -z "$as_dirs" || eval "mkdir $as_dirs"
   17963   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   17964 
   17965 
   17966 } # as_fn_mkdir_p
   17967 if mkdir -p . 2>/dev/null; then
   17968   as_mkdir_p='mkdir -p "$as_dir"'
   17969 else
   17970   test -d ./-p && rmdir ./-p
   17971   as_mkdir_p=false
   17972 fi
   17973 
   17974 if test -x / >/dev/null 2>&1; then
   17975   as_test_x='test -x'
   17976 else
   17977   if ls -dL / >/dev/null 2>&1; then
   17978     as_ls_L_option=L
   17979   else
   17980     as_ls_L_option=
   17981   fi
   17982   as_test_x='
   17983     eval sh -c '\''
   17984       if test -d "$1"; then
   17985 	test -d "$1/.";
   17986       else
   17987 	case $1 in #(
   17988 	-*)set "./$1";;
   17989 	esac;
   17990 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   17991 	???[sx]*):;;*)false;;esac;fi
   17992     '\'' sh
   17993   '
   17994 fi
   17995 as_executable_p=$as_test_x
   17996 
   17997 # Sed expression to map a string onto a valid CPP name.
   17998 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   17999 
   18000 # Sed expression to map a string onto a valid variable name.
   18001 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18002 
   18003 
   18004 exec 6>&1
   18005 ## ----------------------------------- ##
   18006 ## Main body of $CONFIG_STATUS script. ##
   18007 ## ----------------------------------- ##
   18008 _ASEOF
   18009 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18010 
   18011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18012 # Save the log message, to keep $0 and so on meaningful, and to
   18013 # report actual input values of CONFIG_FILES etc. instead of their
   18014 # values after options handling.
   18015 ac_log="
   18016 This file was extended by libxkbfile $as_me 1.0.8, which was
   18017 generated by GNU Autoconf 2.68.  Invocation command line was
   18018 
   18019   CONFIG_FILES    = $CONFIG_FILES
   18020   CONFIG_HEADERS  = $CONFIG_HEADERS
   18021   CONFIG_LINKS    = $CONFIG_LINKS
   18022   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18023   $ $0 $@
   18024 
   18025 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18026 "
   18027 
   18028 _ACEOF
   18029 
   18030 case $ac_config_files in *"
   18031 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18032 esac
   18033 
   18034 case $ac_config_headers in *"
   18035 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18036 esac
   18037 
   18038 
   18039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18040 # Files that config.status was made for.
   18041 config_files="$ac_config_files"
   18042 config_headers="$ac_config_headers"
   18043 config_commands="$ac_config_commands"
   18044 
   18045 _ACEOF
   18046 
   18047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18048 ac_cs_usage="\
   18049 \`$as_me' instantiates files and other configuration actions
   18050 from templates according to the current configuration.  Unless the files
   18051 and actions are specified as TAGs, all are instantiated by default.
   18052 
   18053 Usage: $0 [OPTION]... [TAG]...
   18054 
   18055   -h, --help       print this help, then exit
   18056   -V, --version    print version number and configuration settings, then exit
   18057       --config     print configuration, then exit
   18058   -q, --quiet, --silent
   18059                    do not print progress messages
   18060   -d, --debug      don't remove temporary files
   18061       --recheck    update $as_me by reconfiguring in the same conditions
   18062       --file=FILE[:TEMPLATE]
   18063                    instantiate the configuration file FILE
   18064       --header=FILE[:TEMPLATE]
   18065                    instantiate the configuration header FILE
   18066 
   18067 Configuration files:
   18068 $config_files
   18069 
   18070 Configuration headers:
   18071 $config_headers
   18072 
   18073 Configuration commands:
   18074 $config_commands
   18075 
   18076 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18077 
   18078 _ACEOF
   18079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18080 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18081 ac_cs_version="\\
   18082 libxkbfile config.status 1.0.8
   18083 configured by $0, generated by GNU Autoconf 2.68,
   18084   with options \\"\$ac_cs_config\\"
   18085 
   18086 Copyright (C) 2010 Free Software Foundation, Inc.
   18087 This config.status script is free software; the Free Software Foundation
   18088 gives unlimited permission to copy, distribute and modify it."
   18089 
   18090 ac_pwd='$ac_pwd'
   18091 srcdir='$srcdir'
   18092 INSTALL='$INSTALL'
   18093 MKDIR_P='$MKDIR_P'
   18094 AWK='$AWK'
   18095 test -n "\$AWK" || AWK=awk
   18096 _ACEOF
   18097 
   18098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18099 # The default lists apply if the user does not specify any file.
   18100 ac_need_defaults=:
   18101 while test $# != 0
   18102 do
   18103   case $1 in
   18104   --*=?*)
   18105     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18106     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18107     ac_shift=:
   18108     ;;
   18109   --*=)
   18110     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18111     ac_optarg=
   18112     ac_shift=:
   18113     ;;
   18114   *)
   18115     ac_option=$1
   18116     ac_optarg=$2
   18117     ac_shift=shift
   18118     ;;
   18119   esac
   18120 
   18121   case $ac_option in
   18122   # Handling of the options.
   18123   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18124     ac_cs_recheck=: ;;
   18125   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18126     $as_echo "$ac_cs_version"; exit ;;
   18127   --config | --confi | --conf | --con | --co | --c )
   18128     $as_echo "$ac_cs_config"; exit ;;
   18129   --debug | --debu | --deb | --de | --d | -d )
   18130     debug=: ;;
   18131   --file | --fil | --fi | --f )
   18132     $ac_shift
   18133     case $ac_optarg in
   18134     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18135     '') as_fn_error $? "missing file argument" ;;
   18136     esac
   18137     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18138     ac_need_defaults=false;;
   18139   --header | --heade | --head | --hea )
   18140     $ac_shift
   18141     case $ac_optarg in
   18142     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18143     esac
   18144     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18145     ac_need_defaults=false;;
   18146   --he | --h)
   18147     # Conflict between --help and --header
   18148     as_fn_error $? "ambiguous option: \`$1'
   18149 Try \`$0 --help' for more information.";;
   18150   --help | --hel | -h )
   18151     $as_echo "$ac_cs_usage"; exit ;;
   18152   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18153   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18154     ac_cs_silent=: ;;
   18155 
   18156   # This is an error.
   18157   -*) as_fn_error $? "unrecognized option: \`$1'
   18158 Try \`$0 --help' for more information." ;;
   18159 
   18160   *) as_fn_append ac_config_targets " $1"
   18161      ac_need_defaults=false ;;
   18162 
   18163   esac
   18164   shift
   18165 done
   18166 
   18167 ac_configure_extra_args=
   18168 
   18169 if $ac_cs_silent; then
   18170   exec 6>/dev/null
   18171   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18172 fi
   18173 
   18174 _ACEOF
   18175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18176 if \$ac_cs_recheck; then
   18177   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18178   shift
   18179   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18180   CONFIG_SHELL='$SHELL'
   18181   export CONFIG_SHELL
   18182   exec "\$@"
   18183 fi
   18184 
   18185 _ACEOF
   18186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18187 exec 5>>config.log
   18188 {
   18189   echo
   18190   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18191 ## Running $as_me. ##
   18192 _ASBOX
   18193   $as_echo "$ac_log"
   18194 } >&5
   18195 
   18196 _ACEOF
   18197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18198 #
   18199 # INIT-COMMANDS
   18200 #
   18201 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18202 
   18203 
   18204 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18205 # if CDPATH is set.
   18206 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18207 
   18208 sed_quote_subst='$sed_quote_subst'
   18209 double_quote_subst='$double_quote_subst'
   18210 delay_variable_subst='$delay_variable_subst'
   18211 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18212 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18213 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18214 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18215 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18216 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18217 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18218 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18219 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18220 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18221 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18222 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18223 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18224 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18225 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18226 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18227 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18228 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18229 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18230 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18231 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18232 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18233 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18234 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18235 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18236 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18237 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18238 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18239 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18240 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18241 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18242 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18243 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18244 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18245 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18246 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18247 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18248 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18249 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18250 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18251 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18252 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18253 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18254 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18255 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18256 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18257 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18258 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18259 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18260 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18261 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18262 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18263 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18264 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18265 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18266 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"`'
   18267 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18268 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18269 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18270 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18271 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18272 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18273 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18274 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18275 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18276 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18277 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18278 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18279 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18280 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18281 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18282 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18283 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18284 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18285 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18286 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18287 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18288 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18289 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18290 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18291 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18292 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18293 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18294 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18295 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18296 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18297 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18298 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18299 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18300 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18301 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   18302 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18303 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18304 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18305 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18306 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18307 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18308 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18309 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18310 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18311 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18312 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18313 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18314 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18315 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18316 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18317 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18318 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18319 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18320 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18321 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18322 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18323 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18324 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18325 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18326 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18327 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18328 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18329 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18330 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18331 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18332 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18333 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18334 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18335 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18336 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18337 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18338 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18339 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18340 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18341 
   18342 LTCC='$LTCC'
   18343 LTCFLAGS='$LTCFLAGS'
   18344 compiler='$compiler_DEFAULT'
   18345 
   18346 # A function that is used when there is no print builtin or printf.
   18347 func_fallback_echo ()
   18348 {
   18349   eval 'cat <<_LTECHO_EOF
   18350 \$1
   18351 _LTECHO_EOF'
   18352 }
   18353 
   18354 # Quote evaled strings.
   18355 for var in SHELL \
   18356 ECHO \
   18357 SED \
   18358 GREP \
   18359 EGREP \
   18360 FGREP \
   18361 LD \
   18362 NM \
   18363 LN_S \
   18364 lt_SP2NL \
   18365 lt_NL2SP \
   18366 reload_flag \
   18367 OBJDUMP \
   18368 deplibs_check_method \
   18369 file_magic_cmd \
   18370 file_magic_glob \
   18371 want_nocaseglob \
   18372 DLLTOOL \
   18373 sharedlib_from_linklib_cmd \
   18374 AR \
   18375 AR_FLAGS \
   18376 archiver_list_spec \
   18377 STRIP \
   18378 RANLIB \
   18379 CC \
   18380 CFLAGS \
   18381 compiler \
   18382 lt_cv_sys_global_symbol_pipe \
   18383 lt_cv_sys_global_symbol_to_cdecl \
   18384 lt_cv_sys_global_symbol_to_c_name_address \
   18385 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18386 nm_file_list_spec \
   18387 lt_prog_compiler_no_builtin_flag \
   18388 lt_prog_compiler_pic \
   18389 lt_prog_compiler_wl \
   18390 lt_prog_compiler_static \
   18391 lt_cv_prog_compiler_c_o \
   18392 need_locks \
   18393 MANIFEST_TOOL \
   18394 DSYMUTIL \
   18395 NMEDIT \
   18396 LIPO \
   18397 OTOOL \
   18398 OTOOL64 \
   18399 shrext_cmds \
   18400 export_dynamic_flag_spec \
   18401 whole_archive_flag_spec \
   18402 compiler_needs_object \
   18403 with_gnu_ld \
   18404 allow_undefined_flag \
   18405 no_undefined_flag \
   18406 hardcode_libdir_flag_spec \
   18407 hardcode_libdir_flag_spec_ld \
   18408 hardcode_libdir_separator \
   18409 exclude_expsyms \
   18410 include_expsyms \
   18411 file_list_spec \
   18412 variables_saved_for_relink \
   18413 libname_spec \
   18414 library_names_spec \
   18415 soname_spec \
   18416 install_override_mode \
   18417 finish_eval \
   18418 old_striplib \
   18419 striplib; do
   18420     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18421     *[\\\\\\\`\\"\\\$]*)
   18422       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18423       ;;
   18424     *)
   18425       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18426       ;;
   18427     esac
   18428 done
   18429 
   18430 # Double-quote double-evaled strings.
   18431 for var in reload_cmds \
   18432 old_postinstall_cmds \
   18433 old_postuninstall_cmds \
   18434 old_archive_cmds \
   18435 extract_expsyms_cmds \
   18436 old_archive_from_new_cmds \
   18437 old_archive_from_expsyms_cmds \
   18438 archive_cmds \
   18439 archive_expsym_cmds \
   18440 module_cmds \
   18441 module_expsym_cmds \
   18442 export_symbols_cmds \
   18443 prelink_cmds \
   18444 postlink_cmds \
   18445 postinstall_cmds \
   18446 postuninstall_cmds \
   18447 finish_cmds \
   18448 sys_lib_search_path_spec \
   18449 sys_lib_dlsearch_path_spec; do
   18450     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18451     *[\\\\\\\`\\"\\\$]*)
   18452       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18453       ;;
   18454     *)
   18455       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18456       ;;
   18457     esac
   18458 done
   18459 
   18460 ac_aux_dir='$ac_aux_dir'
   18461 xsi_shell='$xsi_shell'
   18462 lt_shell_append='$lt_shell_append'
   18463 
   18464 # See if we are running on zsh, and set the options which allow our
   18465 # commands through without removal of \ escapes INIT.
   18466 if test -n "\${ZSH_VERSION+set}" ; then
   18467    setopt NO_GLOB_SUBST
   18468 fi
   18469 
   18470 
   18471     PACKAGE='$PACKAGE'
   18472     VERSION='$VERSION'
   18473     TIMESTAMP='$TIMESTAMP'
   18474     RM='$RM'
   18475     ofile='$ofile'
   18476 
   18477 
   18478 
   18479 
   18480 _ACEOF
   18481 
   18482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18483 
   18484 # Handling of arguments.
   18485 for ac_config_target in $ac_config_targets
   18486 do
   18487   case $ac_config_target in
   18488     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18489     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18490     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18491     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18492     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18493     "xkbfile.pc") CONFIG_FILES="$CONFIG_FILES xkbfile.pc" ;;
   18494 
   18495   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18496   esac
   18497 done
   18498 
   18499 
   18500 # If the user did not use the arguments to specify the items to instantiate,
   18501 # then the envvar interface is used.  Set only those that are not.
   18502 # We use the long form for the default assignment because of an extremely
   18503 # bizarre bug on SunOS 4.1.3.
   18504 if $ac_need_defaults; then
   18505   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18506   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18507   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18508 fi
   18509 
   18510 # Have a temporary directory for convenience.  Make it in the build tree
   18511 # simply because there is no reason against having it here, and in addition,
   18512 # creating and moving files from /tmp can sometimes cause problems.
   18513 # Hook for its removal unless debugging.
   18514 # Note that there is a small window in which the directory will not be cleaned:
   18515 # after its creation but before its name has been assigned to `$tmp'.
   18516 $debug ||
   18517 {
   18518   tmp= ac_tmp=
   18519   trap 'exit_status=$?
   18520   : "${ac_tmp:=$tmp}"
   18521   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18522 ' 0
   18523   trap 'as_fn_exit 1' 1 2 13 15
   18524 }
   18525 # Create a (secure) tmp directory for tmp files.
   18526 
   18527 {
   18528   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18529   test -d "$tmp"
   18530 }  ||
   18531 {
   18532   tmp=./conf$$-$RANDOM
   18533   (umask 077 && mkdir "$tmp")
   18534 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18535 ac_tmp=$tmp
   18536 
   18537 # Set up the scripts for CONFIG_FILES section.
   18538 # No need to generate them if there are no CONFIG_FILES.
   18539 # This happens for instance with `./config.status config.h'.
   18540 if test -n "$CONFIG_FILES"; then
   18541 
   18542 
   18543 ac_cr=`echo X | tr X '\015'`
   18544 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18545 # But we know of no other shell where ac_cr would be empty at this
   18546 # point, so we can use a bashism as a fallback.
   18547 if test "x$ac_cr" = x; then
   18548   eval ac_cr=\$\'\\r\'
   18549 fi
   18550 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18551 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18552   ac_cs_awk_cr='\\r'
   18553 else
   18554   ac_cs_awk_cr=$ac_cr
   18555 fi
   18556 
   18557 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18558 _ACEOF
   18559 
   18560 
   18561 {
   18562   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18563   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18564   echo "_ACEOF"
   18565 } >conf$$subs.sh ||
   18566   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18567 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18568 ac_delim='%!_!# '
   18569 for ac_last_try in false false false false false :; do
   18570   . ./conf$$subs.sh ||
   18571     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18572 
   18573   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18574   if test $ac_delim_n = $ac_delim_num; then
   18575     break
   18576   elif $ac_last_try; then
   18577     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18578   else
   18579     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18580   fi
   18581 done
   18582 rm -f conf$$subs.sh
   18583 
   18584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18585 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18586 _ACEOF
   18587 sed -n '
   18588 h
   18589 s/^/S["/; s/!.*/"]=/
   18590 p
   18591 g
   18592 s/^[^!]*!//
   18593 :repl
   18594 t repl
   18595 s/'"$ac_delim"'$//
   18596 t delim
   18597 :nl
   18598 h
   18599 s/\(.\{148\}\)..*/\1/
   18600 t more1
   18601 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18602 p
   18603 n
   18604 b repl
   18605 :more1
   18606 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18607 p
   18608 g
   18609 s/.\{148\}//
   18610 t nl
   18611 :delim
   18612 h
   18613 s/\(.\{148\}\)..*/\1/
   18614 t more2
   18615 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18616 p
   18617 b
   18618 :more2
   18619 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18620 p
   18621 g
   18622 s/.\{148\}//
   18623 t delim
   18624 ' <conf$$subs.awk | sed '
   18625 /^[^""]/{
   18626   N
   18627   s/\n//
   18628 }
   18629 ' >>$CONFIG_STATUS || ac_write_fail=1
   18630 rm -f conf$$subs.awk
   18631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18632 _ACAWK
   18633 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18634   for (key in S) S_is_set[key] = 1
   18635   FS = ""
   18636 
   18637 }
   18638 {
   18639   line = $ 0
   18640   nfields = split(line, field, "@")
   18641   substed = 0
   18642   len = length(field[1])
   18643   for (i = 2; i < nfields; i++) {
   18644     key = field[i]
   18645     keylen = length(key)
   18646     if (S_is_set[key]) {
   18647       value = S[key]
   18648       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18649       len += length(value) + length(field[++i])
   18650       substed = 1
   18651     } else
   18652       len += 1 + keylen
   18653   }
   18654 
   18655   print line
   18656 }
   18657 
   18658 _ACAWK
   18659 _ACEOF
   18660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18661 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18662   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18663 else
   18664   cat
   18665 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18666   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18667 _ACEOF
   18668 
   18669 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18670 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18671 # trailing colons and then remove the whole line if VPATH becomes empty
   18672 # (actually we leave an empty line to preserve line numbers).
   18673 if test "x$srcdir" = x.; then
   18674   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18675 h
   18676 s///
   18677 s/^/:/
   18678 s/[	 ]*$/:/
   18679 s/:\$(srcdir):/:/g
   18680 s/:\${srcdir}:/:/g
   18681 s/:@srcdir@:/:/g
   18682 s/^:*//
   18683 s/:*$//
   18684 x
   18685 s/\(=[	 ]*\).*/\1/
   18686 G
   18687 s/\n//
   18688 s/^[^=]*=[	 ]*$//
   18689 }'
   18690 fi
   18691 
   18692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18693 fi # test -n "$CONFIG_FILES"
   18694 
   18695 # Set up the scripts for CONFIG_HEADERS section.
   18696 # No need to generate them if there are no CONFIG_HEADERS.
   18697 # This happens for instance with `./config.status Makefile'.
   18698 if test -n "$CONFIG_HEADERS"; then
   18699 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18700 BEGIN {
   18701 _ACEOF
   18702 
   18703 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18704 # here-document in config.status, that substitutes the proper values into
   18705 # config.h.in to produce config.h.
   18706 
   18707 # Create a delimiter string that does not exist in confdefs.h, to ease
   18708 # handling of long lines.
   18709 ac_delim='%!_!# '
   18710 for ac_last_try in false false :; do
   18711   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18712   if test -z "$ac_tt"; then
   18713     break
   18714   elif $ac_last_try; then
   18715     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18716   else
   18717     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18718   fi
   18719 done
   18720 
   18721 # For the awk script, D is an array of macro values keyed by name,
   18722 # likewise P contains macro parameters if any.  Preserve backslash
   18723 # newline sequences.
   18724 
   18725 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18726 sed -n '
   18727 s/.\{148\}/&'"$ac_delim"'/g
   18728 t rset
   18729 :rset
   18730 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18731 t def
   18732 d
   18733 :def
   18734 s/\\$//
   18735 t bsnl
   18736 s/["\\]/\\&/g
   18737 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18738 D["\1"]=" \3"/p
   18739 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18740 d
   18741 :bsnl
   18742 s/["\\]/\\&/g
   18743 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18744 D["\1"]=" \3\\\\\\n"\\/p
   18745 t cont
   18746 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18747 t cont
   18748 d
   18749 :cont
   18750 n
   18751 s/.\{148\}/&'"$ac_delim"'/g
   18752 t clear
   18753 :clear
   18754 s/\\$//
   18755 t bsnlc
   18756 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18757 d
   18758 :bsnlc
   18759 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18760 b cont
   18761 ' <confdefs.h | sed '
   18762 s/'"$ac_delim"'/"\\\
   18763 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18764 
   18765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18766   for (key in D) D_is_set[key] = 1
   18767   FS = ""
   18768 }
   18769 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18770   line = \$ 0
   18771   split(line, arg, " ")
   18772   if (arg[1] == "#") {
   18773     defundef = arg[2]
   18774     mac1 = arg[3]
   18775   } else {
   18776     defundef = substr(arg[1], 2)
   18777     mac1 = arg[2]
   18778   }
   18779   split(mac1, mac2, "(") #)
   18780   macro = mac2[1]
   18781   prefix = substr(line, 1, index(line, defundef) - 1)
   18782   if (D_is_set[macro]) {
   18783     # Preserve the white space surrounding the "#".
   18784     print prefix "define", macro P[macro] D[macro]
   18785     next
   18786   } else {
   18787     # Replace #undef with comments.  This is necessary, for example,
   18788     # in the case of _POSIX_SOURCE, which is predefined and required
   18789     # on some systems where configure will not decide to define it.
   18790     if (defundef == "undef") {
   18791       print "/*", prefix defundef, macro, "*/"
   18792       next
   18793     }
   18794   }
   18795 }
   18796 { print }
   18797 _ACAWK
   18798 _ACEOF
   18799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18800   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18801 fi # test -n "$CONFIG_HEADERS"
   18802 
   18803 
   18804 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18805 shift
   18806 for ac_tag
   18807 do
   18808   case $ac_tag in
   18809   :[FHLC]) ac_mode=$ac_tag; continue;;
   18810   esac
   18811   case $ac_mode$ac_tag in
   18812   :[FHL]*:*);;
   18813   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18814   :[FH]-) ac_tag=-:-;;
   18815   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18816   esac
   18817   ac_save_IFS=$IFS
   18818   IFS=:
   18819   set x $ac_tag
   18820   IFS=$ac_save_IFS
   18821   shift
   18822   ac_file=$1
   18823   shift
   18824 
   18825   case $ac_mode in
   18826   :L) ac_source=$1;;
   18827   :[FH])
   18828     ac_file_inputs=
   18829     for ac_f
   18830     do
   18831       case $ac_f in
   18832       -) ac_f="$ac_tmp/stdin";;
   18833       *) # Look for the file first in the build tree, then in the source tree
   18834 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18835 	 # because $ac_f cannot contain `:'.
   18836 	 test -f "$ac_f" ||
   18837 	   case $ac_f in
   18838 	   [\\/$]*) false;;
   18839 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18840 	   esac ||
   18841 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18842       esac
   18843       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18844       as_fn_append ac_file_inputs " '$ac_f'"
   18845     done
   18846 
   18847     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18848     # use $as_me), people would be surprised to read:
   18849     #    /* config.h.  Generated by config.status.  */
   18850     configure_input='Generated from '`
   18851 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18852 	`' by configure.'
   18853     if test x"$ac_file" != x-; then
   18854       configure_input="$ac_file.  $configure_input"
   18855       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18856 $as_echo "$as_me: creating $ac_file" >&6;}
   18857     fi
   18858     # Neutralize special characters interpreted by sed in replacement strings.
   18859     case $configure_input in #(
   18860     *\&* | *\|* | *\\* )
   18861        ac_sed_conf_input=`$as_echo "$configure_input" |
   18862        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18863     *) ac_sed_conf_input=$configure_input;;
   18864     esac
   18865 
   18866     case $ac_tag in
   18867     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18868       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18869     esac
   18870     ;;
   18871   esac
   18872 
   18873   ac_dir=`$as_dirname -- "$ac_file" ||
   18874 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18875 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18876 	 X"$ac_file" : 'X\(//\)$' \| \
   18877 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18878 $as_echo X"$ac_file" |
   18879     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18880 	    s//\1/
   18881 	    q
   18882 	  }
   18883 	  /^X\(\/\/\)[^/].*/{
   18884 	    s//\1/
   18885 	    q
   18886 	  }
   18887 	  /^X\(\/\/\)$/{
   18888 	    s//\1/
   18889 	    q
   18890 	  }
   18891 	  /^X\(\/\).*/{
   18892 	    s//\1/
   18893 	    q
   18894 	  }
   18895 	  s/.*/./; q'`
   18896   as_dir="$ac_dir"; as_fn_mkdir_p
   18897   ac_builddir=.
   18898 
   18899 case "$ac_dir" in
   18900 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18901 *)
   18902   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   18903   # A ".." for each directory in $ac_dir_suffix.
   18904   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   18905   case $ac_top_builddir_sub in
   18906   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18907   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   18908   esac ;;
   18909 esac
   18910 ac_abs_top_builddir=$ac_pwd
   18911 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   18912 # for backward compatibility:
   18913 ac_top_builddir=$ac_top_build_prefix
   18914 
   18915 case $srcdir in
   18916   .)  # We are building in place.
   18917     ac_srcdir=.
   18918     ac_top_srcdir=$ac_top_builddir_sub
   18919     ac_abs_top_srcdir=$ac_pwd ;;
   18920   [\\/]* | ?:[\\/]* )  # Absolute name.
   18921     ac_srcdir=$srcdir$ac_dir_suffix;
   18922     ac_top_srcdir=$srcdir
   18923     ac_abs_top_srcdir=$srcdir ;;
   18924   *) # Relative name.
   18925     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   18926     ac_top_srcdir=$ac_top_build_prefix$srcdir
   18927     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   18928 esac
   18929 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   18930 
   18931 
   18932   case $ac_mode in
   18933   :F)
   18934   #
   18935   # CONFIG_FILE
   18936   #
   18937 
   18938   case $INSTALL in
   18939   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   18940   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   18941   esac
   18942   ac_MKDIR_P=$MKDIR_P
   18943   case $MKDIR_P in
   18944   [\\/$]* | ?:[\\/]* ) ;;
   18945   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   18946   esac
   18947 _ACEOF
   18948 
   18949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18950 # If the template does not know about datarootdir, expand it.
   18951 # FIXME: This hack should be removed a few years after 2.60.
   18952 ac_datarootdir_hack=; ac_datarootdir_seen=
   18953 ac_sed_dataroot='
   18954 /datarootdir/ {
   18955   p
   18956   q
   18957 }
   18958 /@datadir@/p
   18959 /@docdir@/p
   18960 /@infodir@/p
   18961 /@localedir@/p
   18962 /@mandir@/p'
   18963 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   18964 *datarootdir*) ac_datarootdir_seen=yes;;
   18965 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   18966   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   18967 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   18968 _ACEOF
   18969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18970   ac_datarootdir_hack='
   18971   s&@datadir@&$datadir&g
   18972   s&@docdir@&$docdir&g
   18973   s&@infodir@&$infodir&g
   18974   s&@localedir@&$localedir&g
   18975   s&@mandir@&$mandir&g
   18976   s&\\\${datarootdir}&$datarootdir&g' ;;
   18977 esac
   18978 _ACEOF
   18979 
   18980 # Neutralize VPATH when `$srcdir' = `.'.
   18981 # Shell code in configure.ac might set extrasub.
   18982 # FIXME: do we really want to maintain this feature?
   18983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18984 ac_sed_extra="$ac_vpsub
   18985 $extrasub
   18986 _ACEOF
   18987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18988 :t
   18989 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   18990 s|@configure_input@|$ac_sed_conf_input|;t t
   18991 s&@top_builddir@&$ac_top_builddir_sub&;t t
   18992 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   18993 s&@srcdir@&$ac_srcdir&;t t
   18994 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   18995 s&@top_srcdir@&$ac_top_srcdir&;t t
   18996 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   18997 s&@builddir@&$ac_builddir&;t t
   18998 s&@abs_builddir@&$ac_abs_builddir&;t t
   18999 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19000 s&@INSTALL@&$ac_INSTALL&;t t
   19001 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19002 $ac_datarootdir_hack
   19003 "
   19004 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19005   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19006 
   19007 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19008   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19009   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19010       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19011   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19012 which seems to be undefined.  Please make sure it is defined" >&5
   19013 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19014 which seems to be undefined.  Please make sure it is defined" >&2;}
   19015 
   19016   rm -f "$ac_tmp/stdin"
   19017   case $ac_file in
   19018   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19019   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19020   esac \
   19021   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19022  ;;
   19023   :H)
   19024   #
   19025   # CONFIG_HEADER
   19026   #
   19027   if test x"$ac_file" != x-; then
   19028     {
   19029       $as_echo "/* $configure_input  */" \
   19030       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19031     } >"$ac_tmp/config.h" \
   19032       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19033     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19034       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19035 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19036     else
   19037       rm -f "$ac_file"
   19038       mv "$ac_tmp/config.h" "$ac_file" \
   19039 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19040     fi
   19041   else
   19042     $as_echo "/* $configure_input  */" \
   19043       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19044       || as_fn_error $? "could not create -" "$LINENO" 5
   19045   fi
   19046 # Compute "$ac_file"'s index in $config_headers.
   19047 _am_arg="$ac_file"
   19048 _am_stamp_count=1
   19049 for _am_header in $config_headers :; do
   19050   case $_am_header in
   19051     $_am_arg | $_am_arg:* )
   19052       break ;;
   19053     * )
   19054       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19055   esac
   19056 done
   19057 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19058 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19059 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19060 	 X"$_am_arg" : 'X\(//\)$' \| \
   19061 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19062 $as_echo X"$_am_arg" |
   19063     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19064 	    s//\1/
   19065 	    q
   19066 	  }
   19067 	  /^X\(\/\/\)[^/].*/{
   19068 	    s//\1/
   19069 	    q
   19070 	  }
   19071 	  /^X\(\/\/\)$/{
   19072 	    s//\1/
   19073 	    q
   19074 	  }
   19075 	  /^X\(\/\).*/{
   19076 	    s//\1/
   19077 	    q
   19078 	  }
   19079 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19080  ;;
   19081 
   19082   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19083 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19084  ;;
   19085   esac
   19086 
   19087 
   19088   case $ac_file$ac_mode in
   19089     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19090   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   19091   # are listed without --file.  Let's play safe and only enable the eval
   19092   # if we detect the quoting.
   19093   case $CONFIG_FILES in
   19094   *\'*) eval set x "$CONFIG_FILES" ;;
   19095   *)   set x $CONFIG_FILES ;;
   19096   esac
   19097   shift
   19098   for mf
   19099   do
   19100     # Strip MF so we end up with the name of the file.
   19101     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19102     # Check whether this is an Automake generated Makefile or not.
   19103     # We used to match only the files named `Makefile.in', but
   19104     # some people rename them; so instead we look at the file content.
   19105     # Grep'ing the first line is not enough: some people post-process
   19106     # each Makefile.in and add a new line on top of each file to say so.
   19107     # Grep'ing the whole file is not good either: AIX grep has a line
   19108     # limit of 2048, but all sed's we know have understand at least 4000.
   19109     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19110       dirpart=`$as_dirname -- "$mf" ||
   19111 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19112 	 X"$mf" : 'X\(//\)[^/]' \| \
   19113 	 X"$mf" : 'X\(//\)$' \| \
   19114 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19115 $as_echo X"$mf" |
   19116     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19117 	    s//\1/
   19118 	    q
   19119 	  }
   19120 	  /^X\(\/\/\)[^/].*/{
   19121 	    s//\1/
   19122 	    q
   19123 	  }
   19124 	  /^X\(\/\/\)$/{
   19125 	    s//\1/
   19126 	    q
   19127 	  }
   19128 	  /^X\(\/\).*/{
   19129 	    s//\1/
   19130 	    q
   19131 	  }
   19132 	  s/.*/./; q'`
   19133     else
   19134       continue
   19135     fi
   19136     # Extract the definition of DEPDIR, am__include, and am__quote
   19137     # from the Makefile without running `make'.
   19138     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19139     test -z "$DEPDIR" && continue
   19140     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19141     test -z "am__include" && continue
   19142     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19143     # When using ansi2knr, U may be empty or an underscore; expand it
   19144     U=`sed -n 's/^U = //p' < "$mf"`
   19145     # Find all dependency output files, they are included files with
   19146     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19147     # simplest approach to changing $(DEPDIR) to its actual value in the
   19148     # expansion.
   19149     for file in `sed -n "
   19150       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19151 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   19152       # Make sure the directory exists.
   19153       test -f "$dirpart/$file" && continue
   19154       fdir=`$as_dirname -- "$file" ||
   19155 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19156 	 X"$file" : 'X\(//\)[^/]' \| \
   19157 	 X"$file" : 'X\(//\)$' \| \
   19158 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19159 $as_echo X"$file" |
   19160     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19161 	    s//\1/
   19162 	    q
   19163 	  }
   19164 	  /^X\(\/\/\)[^/].*/{
   19165 	    s//\1/
   19166 	    q
   19167 	  }
   19168 	  /^X\(\/\/\)$/{
   19169 	    s//\1/
   19170 	    q
   19171 	  }
   19172 	  /^X\(\/\).*/{
   19173 	    s//\1/
   19174 	    q
   19175 	  }
   19176 	  s/.*/./; q'`
   19177       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19178       # echo "creating $dirpart/$file"
   19179       echo '# dummy' > "$dirpart/$file"
   19180     done
   19181   done
   19182 }
   19183  ;;
   19184     "libtool":C)
   19185 
   19186     # See if we are running on zsh, and set the options which allow our
   19187     # commands through without removal of \ escapes.
   19188     if test -n "${ZSH_VERSION+set}" ; then
   19189       setopt NO_GLOB_SUBST
   19190     fi
   19191 
   19192     cfgfile="${ofile}T"
   19193     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19194     $RM "$cfgfile"
   19195 
   19196     cat <<_LT_EOF >> "$cfgfile"
   19197 #! $SHELL
   19198 
   19199 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19200 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19201 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19202 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19203 #
   19204 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19205 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   19206 #                 Inc.
   19207 #   Written by Gordon Matzigkeit, 1996
   19208 #
   19209 #   This file is part of GNU Libtool.
   19210 #
   19211 # GNU Libtool is free software; you can redistribute it and/or
   19212 # modify it under the terms of the GNU General Public License as
   19213 # published by the Free Software Foundation; either version 2 of
   19214 # the License, or (at your option) any later version.
   19215 #
   19216 # As a special exception to the GNU General Public License,
   19217 # if you distribute this file as part of a program or library that
   19218 # is built using GNU Libtool, you may include this file under the
   19219 # same distribution terms that you use for the rest of that program.
   19220 #
   19221 # GNU Libtool is distributed in the hope that it will be useful,
   19222 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19223 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19224 # GNU General Public License for more details.
   19225 #
   19226 # You should have received a copy of the GNU General Public License
   19227 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19228 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19229 # obtained by writing to the Free Software Foundation, Inc.,
   19230 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19231 
   19232 
   19233 # The names of the tagged configurations supported by this script.
   19234 available_tags=""
   19235 
   19236 # ### BEGIN LIBTOOL CONFIG
   19237 
   19238 # Which release of libtool.m4 was used?
   19239 macro_version=$macro_version
   19240 macro_revision=$macro_revision
   19241 
   19242 # Whether or not to build shared libraries.
   19243 build_libtool_libs=$enable_shared
   19244 
   19245 # Whether or not to build static libraries.
   19246 build_old_libs=$enable_static
   19247 
   19248 # What type of objects to build.
   19249 pic_mode=$pic_mode
   19250 
   19251 # Whether or not to optimize for fast installation.
   19252 fast_install=$enable_fast_install
   19253 
   19254 # Shell to use when invoking shell scripts.
   19255 SHELL=$lt_SHELL
   19256 
   19257 # An echo program that protects backslashes.
   19258 ECHO=$lt_ECHO
   19259 
   19260 # The host system.
   19261 host_alias=$host_alias
   19262 host=$host
   19263 host_os=$host_os
   19264 
   19265 # The build system.
   19266 build_alias=$build_alias
   19267 build=$build
   19268 build_os=$build_os
   19269 
   19270 # A sed program that does not truncate output.
   19271 SED=$lt_SED
   19272 
   19273 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19274 Xsed="\$SED -e 1s/^X//"
   19275 
   19276 # A grep program that handles long lines.
   19277 GREP=$lt_GREP
   19278 
   19279 # An ERE matcher.
   19280 EGREP=$lt_EGREP
   19281 
   19282 # A literal string matcher.
   19283 FGREP=$lt_FGREP
   19284 
   19285 # A BSD- or MS-compatible name lister.
   19286 NM=$lt_NM
   19287 
   19288 # Whether we need soft or hard links.
   19289 LN_S=$lt_LN_S
   19290 
   19291 # What is the maximum length of a command?
   19292 max_cmd_len=$max_cmd_len
   19293 
   19294 # Object file suffix (normally "o").
   19295 objext=$ac_objext
   19296 
   19297 # Executable file suffix (normally "").
   19298 exeext=$exeext
   19299 
   19300 # whether the shell understands "unset".
   19301 lt_unset=$lt_unset
   19302 
   19303 # turn spaces into newlines.
   19304 SP2NL=$lt_lt_SP2NL
   19305 
   19306 # turn newlines into spaces.
   19307 NL2SP=$lt_lt_NL2SP
   19308 
   19309 # convert \$build file names to \$host format.
   19310 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19311 
   19312 # convert \$build files to toolchain format.
   19313 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19314 
   19315 # An object symbol dumper.
   19316 OBJDUMP=$lt_OBJDUMP
   19317 
   19318 # Method to check whether dependent libraries are shared objects.
   19319 deplibs_check_method=$lt_deplibs_check_method
   19320 
   19321 # Command to use when deplibs_check_method = "file_magic".
   19322 file_magic_cmd=$lt_file_magic_cmd
   19323 
   19324 # How to find potential files when deplibs_check_method = "file_magic".
   19325 file_magic_glob=$lt_file_magic_glob
   19326 
   19327 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19328 want_nocaseglob=$lt_want_nocaseglob
   19329 
   19330 # DLL creation program.
   19331 DLLTOOL=$lt_DLLTOOL
   19332 
   19333 # Command to associate shared and link libraries.
   19334 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19335 
   19336 # The archiver.
   19337 AR=$lt_AR
   19338 
   19339 # Flags to create an archive.
   19340 AR_FLAGS=$lt_AR_FLAGS
   19341 
   19342 # How to feed a file listing to the archiver.
   19343 archiver_list_spec=$lt_archiver_list_spec
   19344 
   19345 # A symbol stripping program.
   19346 STRIP=$lt_STRIP
   19347 
   19348 # Commands used to install an old-style archive.
   19349 RANLIB=$lt_RANLIB
   19350 old_postinstall_cmds=$lt_old_postinstall_cmds
   19351 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19352 
   19353 # Whether to use a lock for old archive extraction.
   19354 lock_old_archive_extraction=$lock_old_archive_extraction
   19355 
   19356 # A C compiler.
   19357 LTCC=$lt_CC
   19358 
   19359 # LTCC compiler flags.
   19360 LTCFLAGS=$lt_CFLAGS
   19361 
   19362 # Take the output of nm and produce a listing of raw symbols and C names.
   19363 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19364 
   19365 # Transform the output of nm in a proper C declaration.
   19366 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19367 
   19368 # Transform the output of nm in a C name address pair.
   19369 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19370 
   19371 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19372 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19373 
   19374 # Specify filename containing input files for \$NM.
   19375 nm_file_list_spec=$lt_nm_file_list_spec
   19376 
   19377 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19378 lt_sysroot=$lt_sysroot
   19379 
   19380 # The name of the directory that contains temporary libtool files.
   19381 objdir=$objdir
   19382 
   19383 # Used to examine libraries when file_magic_cmd begins with "file".
   19384 MAGIC_CMD=$MAGIC_CMD
   19385 
   19386 # Must we lock files when doing compilation?
   19387 need_locks=$lt_need_locks
   19388 
   19389 # Manifest tool.
   19390 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19391 
   19392 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19393 DSYMUTIL=$lt_DSYMUTIL
   19394 
   19395 # Tool to change global to local symbols on Mac OS X.
   19396 NMEDIT=$lt_NMEDIT
   19397 
   19398 # Tool to manipulate fat objects and archives on Mac OS X.
   19399 LIPO=$lt_LIPO
   19400 
   19401 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19402 OTOOL=$lt_OTOOL
   19403 
   19404 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19405 OTOOL64=$lt_OTOOL64
   19406 
   19407 # Old archive suffix (normally "a").
   19408 libext=$libext
   19409 
   19410 # Shared library suffix (normally ".so").
   19411 shrext_cmds=$lt_shrext_cmds
   19412 
   19413 # The commands to extract the exported symbol list from a shared archive.
   19414 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19415 
   19416 # Variables whose values should be saved in libtool wrapper scripts and
   19417 # restored at link time.
   19418 variables_saved_for_relink=$lt_variables_saved_for_relink
   19419 
   19420 # Do we need the "lib" prefix for modules?
   19421 need_lib_prefix=$need_lib_prefix
   19422 
   19423 # Do we need a version for libraries?
   19424 need_version=$need_version
   19425 
   19426 # Library versioning type.
   19427 version_type=$version_type
   19428 
   19429 # Shared library runtime path variable.
   19430 runpath_var=$runpath_var
   19431 
   19432 # Shared library path variable.
   19433 shlibpath_var=$shlibpath_var
   19434 
   19435 # Is shlibpath searched before the hard-coded library search path?
   19436 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19437 
   19438 # Format of library name prefix.
   19439 libname_spec=$lt_libname_spec
   19440 
   19441 # List of archive names.  First name is the real one, the rest are links.
   19442 # The last name is the one that the linker finds with -lNAME
   19443 library_names_spec=$lt_library_names_spec
   19444 
   19445 # The coded name of the library, if different from the real name.
   19446 soname_spec=$lt_soname_spec
   19447 
   19448 # Permission mode override for installation of shared libraries.
   19449 install_override_mode=$lt_install_override_mode
   19450 
   19451 # Command to use after installation of a shared archive.
   19452 postinstall_cmds=$lt_postinstall_cmds
   19453 
   19454 # Command to use after uninstallation of a shared archive.
   19455 postuninstall_cmds=$lt_postuninstall_cmds
   19456 
   19457 # Commands used to finish a libtool library installation in a directory.
   19458 finish_cmds=$lt_finish_cmds
   19459 
   19460 # As "finish_cmds", except a single script fragment to be evaled but
   19461 # not shown.
   19462 finish_eval=$lt_finish_eval
   19463 
   19464 # Whether we should hardcode library paths into libraries.
   19465 hardcode_into_libs=$hardcode_into_libs
   19466 
   19467 # Compile-time system search path for libraries.
   19468 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19469 
   19470 # Run-time system search path for libraries.
   19471 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19472 
   19473 # Whether dlopen is supported.
   19474 dlopen_support=$enable_dlopen
   19475 
   19476 # Whether dlopen of programs is supported.
   19477 dlopen_self=$enable_dlopen_self
   19478 
   19479 # Whether dlopen of statically linked programs is supported.
   19480 dlopen_self_static=$enable_dlopen_self_static
   19481 
   19482 # Commands to strip libraries.
   19483 old_striplib=$lt_old_striplib
   19484 striplib=$lt_striplib
   19485 
   19486 
   19487 # The linker used to build libraries.
   19488 LD=$lt_LD
   19489 
   19490 # How to create reloadable object files.
   19491 reload_flag=$lt_reload_flag
   19492 reload_cmds=$lt_reload_cmds
   19493 
   19494 # Commands used to build an old-style archive.
   19495 old_archive_cmds=$lt_old_archive_cmds
   19496 
   19497 # A language specific compiler.
   19498 CC=$lt_compiler
   19499 
   19500 # Is the compiler the GNU compiler?
   19501 with_gcc=$GCC
   19502 
   19503 # Compiler flag to turn off builtin functions.
   19504 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19505 
   19506 # Additional compiler flags for building library objects.
   19507 pic_flag=$lt_lt_prog_compiler_pic
   19508 
   19509 # How to pass a linker flag through the compiler.
   19510 wl=$lt_lt_prog_compiler_wl
   19511 
   19512 # Compiler flag to prevent dynamic linking.
   19513 link_static_flag=$lt_lt_prog_compiler_static
   19514 
   19515 # Does compiler simultaneously support -c and -o options?
   19516 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19517 
   19518 # Whether or not to add -lc for building shared libraries.
   19519 build_libtool_need_lc=$archive_cmds_need_lc
   19520 
   19521 # Whether or not to disallow shared libs when runtime libs are static.
   19522 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19523 
   19524 # Compiler flag to allow reflexive dlopens.
   19525 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19526 
   19527 # Compiler flag to generate shared objects directly from archives.
   19528 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19529 
   19530 # Whether the compiler copes with passing no objects directly.
   19531 compiler_needs_object=$lt_compiler_needs_object
   19532 
   19533 # Create an old-style archive from a shared archive.
   19534 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19535 
   19536 # Create a temporary old-style archive to link instead of a shared archive.
   19537 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19538 
   19539 # Commands used to build a shared archive.
   19540 archive_cmds=$lt_archive_cmds
   19541 archive_expsym_cmds=$lt_archive_expsym_cmds
   19542 
   19543 # Commands used to build a loadable module if different from building
   19544 # a shared archive.
   19545 module_cmds=$lt_module_cmds
   19546 module_expsym_cmds=$lt_module_expsym_cmds
   19547 
   19548 # Whether we are building with GNU ld or not.
   19549 with_gnu_ld=$lt_with_gnu_ld
   19550 
   19551 # Flag that allows shared libraries with undefined symbols to be built.
   19552 allow_undefined_flag=$lt_allow_undefined_flag
   19553 
   19554 # Flag that enforces no undefined symbols.
   19555 no_undefined_flag=$lt_no_undefined_flag
   19556 
   19557 # Flag to hardcode \$libdir into a binary during linking.
   19558 # This must work even if \$libdir does not exist
   19559 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19560 
   19561 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19562 # during linking.  This must work even if \$libdir does not exist.
   19563 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19564 
   19565 # Whether we need a single "-rpath" flag with a separated argument.
   19566 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19567 
   19568 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19569 # DIR into the resulting binary.
   19570 hardcode_direct=$hardcode_direct
   19571 
   19572 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19573 # DIR into the resulting binary and the resulting library dependency is
   19574 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19575 # library is relocated.
   19576 hardcode_direct_absolute=$hardcode_direct_absolute
   19577 
   19578 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19579 # into the resulting binary.
   19580 hardcode_minus_L=$hardcode_minus_L
   19581 
   19582 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19583 # into the resulting binary.
   19584 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19585 
   19586 # Set to "yes" if building a shared library automatically hardcodes DIR
   19587 # into the library and all subsequent libraries and executables linked
   19588 # against it.
   19589 hardcode_automatic=$hardcode_automatic
   19590 
   19591 # Set to yes if linker adds runtime paths of dependent libraries
   19592 # to runtime path list.
   19593 inherit_rpath=$inherit_rpath
   19594 
   19595 # Whether libtool must link a program against all its dependency libraries.
   19596 link_all_deplibs=$link_all_deplibs
   19597 
   19598 # Set to "yes" if exported symbols are required.
   19599 always_export_symbols=$always_export_symbols
   19600 
   19601 # The commands to list exported symbols.
   19602 export_symbols_cmds=$lt_export_symbols_cmds
   19603 
   19604 # Symbols that should not be listed in the preloaded symbols.
   19605 exclude_expsyms=$lt_exclude_expsyms
   19606 
   19607 # Symbols that must always be exported.
   19608 include_expsyms=$lt_include_expsyms
   19609 
   19610 # Commands necessary for linking programs (against libraries) with templates.
   19611 prelink_cmds=$lt_prelink_cmds
   19612 
   19613 # Commands necessary for finishing linking programs.
   19614 postlink_cmds=$lt_postlink_cmds
   19615 
   19616 # Specify filename containing input files.
   19617 file_list_spec=$lt_file_list_spec
   19618 
   19619 # How to hardcode a shared library path into an executable.
   19620 hardcode_action=$hardcode_action
   19621 
   19622 # ### END LIBTOOL CONFIG
   19623 
   19624 _LT_EOF
   19625 
   19626   case $host_os in
   19627   aix3*)
   19628     cat <<\_LT_EOF >> "$cfgfile"
   19629 # AIX sometimes has problems with the GCC collect2 program.  For some
   19630 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19631 # vanish in a puff of smoke.
   19632 if test "X${COLLECT_NAMES+set}" != Xset; then
   19633   COLLECT_NAMES=
   19634   export COLLECT_NAMES
   19635 fi
   19636 _LT_EOF
   19637     ;;
   19638   esac
   19639 
   19640 
   19641 ltmain="$ac_aux_dir/ltmain.sh"
   19642 
   19643 
   19644   # We use sed instead of cat because bash on DJGPP gets confused if
   19645   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19646   # text mode, it properly converts lines to CR/LF.  This bash problem
   19647   # is reportedly fixed, but why not run on old versions too?
   19648   sed '$q' "$ltmain" >> "$cfgfile" \
   19649      || (rm -f "$cfgfile"; exit 1)
   19650 
   19651   if test x"$xsi_shell" = xyes; then
   19652   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   19653 func_dirname ()\
   19654 {\
   19655 \    case ${1} in\
   19656 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19657 \      *  ) func_dirname_result="${3}" ;;\
   19658 \    esac\
   19659 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   19660   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19661     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19662 test 0 -eq $? || _lt_function_replace_fail=:
   19663 
   19664 
   19665   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   19666 func_basename ()\
   19667 {\
   19668 \    func_basename_result="${1##*/}"\
   19669 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19670   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19671     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19672 test 0 -eq $? || _lt_function_replace_fail=:
   19673 
   19674 
   19675   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   19676 func_dirname_and_basename ()\
   19677 {\
   19678 \    case ${1} in\
   19679 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19680 \      *  ) func_dirname_result="${3}" ;;\
   19681 \    esac\
   19682 \    func_basename_result="${1##*/}"\
   19683 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19684   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19685     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19686 test 0 -eq $? || _lt_function_replace_fail=:
   19687 
   19688 
   19689   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   19690 func_stripname ()\
   19691 {\
   19692 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   19693 \    # positional parameters, so assign one to ordinary parameter first.\
   19694 \    func_stripname_result=${3}\
   19695 \    func_stripname_result=${func_stripname_result#"${1}"}\
   19696 \    func_stripname_result=${func_stripname_result%"${2}"}\
   19697 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   19698   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19699     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19700 test 0 -eq $? || _lt_function_replace_fail=:
   19701 
   19702 
   19703   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   19704 func_split_long_opt ()\
   19705 {\
   19706 \    func_split_long_opt_name=${1%%=*}\
   19707 \    func_split_long_opt_arg=${1#*=}\
   19708 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19709   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19710     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19711 test 0 -eq $? || _lt_function_replace_fail=:
   19712 
   19713 
   19714   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   19715 func_split_short_opt ()\
   19716 {\
   19717 \    func_split_short_opt_arg=${1#??}\
   19718 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   19719 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19720   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19721     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19722 test 0 -eq $? || _lt_function_replace_fail=:
   19723 
   19724 
   19725   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   19726 func_lo2o ()\
   19727 {\
   19728 \    case ${1} in\
   19729 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   19730 \      *)    func_lo2o_result=${1} ;;\
   19731 \    esac\
   19732 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   19733   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19734     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19735 test 0 -eq $? || _lt_function_replace_fail=:
   19736 
   19737 
   19738   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   19739 func_xform ()\
   19740 {\
   19741     func_xform_result=${1%.*}.lo\
   19742 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   19743   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19744     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19745 test 0 -eq $? || _lt_function_replace_fail=:
   19746 
   19747 
   19748   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   19749 func_arith ()\
   19750 {\
   19751     func_arith_result=$(( $* ))\
   19752 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   19753   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19754     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19755 test 0 -eq $? || _lt_function_replace_fail=:
   19756 
   19757 
   19758   sed -e '/^func_len ()$/,/^} # func_len /c\
   19759 func_len ()\
   19760 {\
   19761     func_len_result=${#1}\
   19762 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   19763   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19764     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19765 test 0 -eq $? || _lt_function_replace_fail=:
   19766 
   19767 fi
   19768 
   19769 if test x"$lt_shell_append" = xyes; then
   19770   sed -e '/^func_append ()$/,/^} # func_append /c\
   19771 func_append ()\
   19772 {\
   19773     eval "${1}+=\\${2}"\
   19774 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   19775   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19776     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19777 test 0 -eq $? || _lt_function_replace_fail=:
   19778 
   19779 
   19780   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   19781 func_append_quoted ()\
   19782 {\
   19783 \    func_quote_for_eval "${2}"\
   19784 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   19785 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   19786   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19787     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19788 test 0 -eq $? || _lt_function_replace_fail=:
   19789 
   19790 
   19791   # Save a `func_append' function call where possible by direct use of '+='
   19792   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   19793     && mv -f "$cfgfile.tmp" "$cfgfile" \
   19794       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19795   test 0 -eq $? || _lt_function_replace_fail=:
   19796 else
   19797   # Save a `func_append' function call even when '+=' is not available
   19798   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   19799     && mv -f "$cfgfile.tmp" "$cfgfile" \
   19800       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19801   test 0 -eq $? || _lt_function_replace_fail=:
   19802 fi
   19803 
   19804 if test x"$_lt_function_replace_fail" = x":"; then
   19805   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   19806 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   19807 fi
   19808 
   19809 
   19810    mv -f "$cfgfile" "$ofile" ||
   19811     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19812   chmod +x "$ofile"
   19813 
   19814  ;;
   19815 
   19816   esac
   19817 done # for ac_tag
   19818 
   19819 
   19820 as_fn_exit 0
   19821 _ACEOF
   19822 ac_clean_files=$ac_clean_files_save
   19823 
   19824 test $ac_write_fail = 0 ||
   19825   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   19826 
   19827 
   19828 # configure is writing to config.log, and then calls config.status.
   19829 # config.status does its own redirection, appending to config.log.
   19830 # Unfortunately, on DOS this fails, as config.log is still kept open
   19831 # by configure, so config.status won't be able to write to it; its
   19832 # output is simply discarded.  So we exec the FD to /dev/null,
   19833 # effectively closing config.log, so it can be properly (re)opened and
   19834 # appended to by config.status.  When coming back to configure, we
   19835 # need to make the FD available again.
   19836 if test "$no_create" != yes; then
   19837   ac_cs_success=:
   19838   ac_config_status_args=
   19839   test "$silent" = yes &&
   19840     ac_config_status_args="$ac_config_status_args --quiet"
   19841   exec 5>/dev/null
   19842   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   19843   exec 5>>config.log
   19844   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   19845   # would make configure fail if this is the last instruction.
   19846   $ac_cs_success || as_fn_exit 1
   19847 fi
   19848 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   19849   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   19850 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   19851 fi
   19852 
   19853