Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXft 2.3.5.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXft/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://gitlab.freedesktop.org/xorg/lib/libXft/issues
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='libXft'
    593 PACKAGE_TARNAME='libXft'
    594 PACKAGE_VERSION='2.3.5'
    595 PACKAGE_STRING='libXft 2.3.5'
    596 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXft/issues'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 FONTCONFIG_LIBS
    641 FONTCONFIG_CFLAGS
    642 FREETYPE_LIBS
    643 FREETYPE_CFLAGS
    644 XRENDER_LIBS
    645 XRENDER_CFLAGS
    646 XFT_LT_VERSION
    647 MAN_SUBSTS
    648 XORG_MAN_PAGE
    649 ADMIN_MAN_DIR
    650 DRIVER_MAN_DIR
    651 MISC_MAN_DIR
    652 FILE_MAN_DIR
    653 LIB_MAN_DIR
    654 APP_MAN_DIR
    655 ADMIN_MAN_SUFFIX
    656 DRIVER_MAN_SUFFIX
    657 MISC_MAN_SUFFIX
    658 FILE_MAN_SUFFIX
    659 LIB_MAN_SUFFIX
    660 APP_MAN_SUFFIX
    661 INSTALL_CMD
    662 PKG_CONFIG_LIBDIR
    663 PKG_CONFIG_PATH
    664 PKG_CONFIG
    665 CHANGELOG_CMD
    666 STRICT_CFLAGS
    667 CWARNFLAGS
    668 BASE_CFLAGS
    669 CPP
    670 LT_SYS_LIBRARY_PATH
    671 OTOOL64
    672 OTOOL
    673 LIPO
    674 NMEDIT
    675 DSYMUTIL
    676 MANIFEST_TOOL
    677 RANLIB
    678 ac_ct_AR
    679 AR
    680 DLLTOOL
    681 OBJDUMP
    682 LN_S
    683 NM
    684 ac_ct_DUMPBIN
    685 DUMPBIN
    686 LD
    687 FGREP
    688 EGREP
    689 GREP
    690 SED
    691 am__fastdepCC_FALSE
    692 am__fastdepCC_TRUE
    693 CCDEPMODE
    694 am__nodep
    695 AMDEPBACKSLASH
    696 AMDEP_FALSE
    697 AMDEP_TRUE
    698 am__include
    699 DEPDIR
    700 OBJEXT
    701 EXEEXT
    702 ac_ct_CC
    703 CPPFLAGS
    704 LDFLAGS
    705 CFLAGS
    706 CC
    707 host_os
    708 host_vendor
    709 host_cpu
    710 host
    711 build_os
    712 build_vendor
    713 build_cpu
    714 build
    715 LIBTOOL
    716 AM_BACKSLASH
    717 AM_DEFAULT_VERBOSITY
    718 AM_DEFAULT_V
    719 AM_V
    720 am__untar
    721 am__tar
    722 AMTAR
    723 am__leading_dot
    724 SET_MAKE
    725 AWK
    726 mkdir_p
    727 MKDIR_P
    728 INSTALL_STRIP_PROGRAM
    729 STRIP
    730 install_sh
    731 MAKEINFO
    732 AUTOHEADER
    733 AUTOMAKE
    734 AUTOCONF
    735 ACLOCAL
    736 VERSION
    737 PACKAGE
    738 CYGPATH_W
    739 am__isrc
    740 INSTALL_DATA
    741 INSTALL_SCRIPT
    742 INSTALL_PROGRAM
    743 target_alias
    744 host_alias
    745 build_alias
    746 LIBS
    747 ECHO_T
    748 ECHO_N
    749 ECHO_C
    750 DEFS
    751 mandir
    752 localedir
    753 libdir
    754 psdir
    755 pdfdir
    756 dvidir
    757 htmldir
    758 infodir
    759 docdir
    760 oldincludedir
    761 includedir
    762 runstatedir
    763 localstatedir
    764 sharedstatedir
    765 sysconfdir
    766 datadir
    767 datarootdir
    768 libexecdir
    769 sbindir
    770 bindir
    771 program_transform_name
    772 prefix
    773 exec_prefix
    774 PACKAGE_URL
    775 PACKAGE_BUGREPORT
    776 PACKAGE_STRING
    777 PACKAGE_VERSION
    778 PACKAGE_TARNAME
    779 PACKAGE_NAME
    780 PATH_SEPARATOR
    781 SHELL
    782 am__quote'
    783 ac_subst_files=''
    784 ac_user_opts='
    785 enable_option_checking
    786 enable_silent_rules
    787 enable_shared
    788 enable_static
    789 with_pic
    790 enable_fast_install
    791 with_aix_soname
    792 enable_dependency_tracking
    793 with_gnu_ld
    794 with_sysroot
    795 enable_libtool_lock
    796 enable_selective_werror
    797 enable_strict_compilation
    798 '
    799       ac_precious_vars='build_alias
    800 host_alias
    801 target_alias
    802 CC
    803 CFLAGS
    804 LDFLAGS
    805 LIBS
    806 CPPFLAGS
    807 LT_SYS_LIBRARY_PATH
    808 CPP
    809 PKG_CONFIG
    810 PKG_CONFIG_PATH
    811 PKG_CONFIG_LIBDIR
    812 XRENDER_CFLAGS
    813 XRENDER_LIBS
    814 FREETYPE_CFLAGS
    815 FREETYPE_LIBS
    816 FONTCONFIG_CFLAGS
    817 FONTCONFIG_LIBS'
    818 
    819 
    820 # Initialize some variables set by options.
    821 ac_init_help=
    822 ac_init_version=false
    823 ac_unrecognized_opts=
    824 ac_unrecognized_sep=
    825 # The variables have the same names as the options, with
    826 # dashes changed to underlines.
    827 cache_file=/dev/null
    828 exec_prefix=NONE
    829 no_create=
    830 no_recursion=
    831 prefix=NONE
    832 program_prefix=NONE
    833 program_suffix=NONE
    834 program_transform_name=s,x,x,
    835 silent=
    836 site=
    837 srcdir=
    838 verbose=
    839 x_includes=NONE
    840 x_libraries=NONE
    841 
    842 # Installation directory options.
    843 # These are left unexpanded so users can "make install exec_prefix=/foo"
    844 # and all the variables that are supposed to be based on exec_prefix
    845 # by default will actually change.
    846 # Use braces instead of parens because sh, perl, etc. also accept them.
    847 # (The list follows the same order as the GNU Coding Standards.)
    848 bindir='${exec_prefix}/bin'
    849 sbindir='${exec_prefix}/sbin'
    850 libexecdir='${exec_prefix}/libexec'
    851 datarootdir='${prefix}/share'
    852 datadir='${datarootdir}'
    853 sysconfdir='${prefix}/etc'
    854 sharedstatedir='${prefix}/com'
    855 localstatedir='${prefix}/var'
    856 runstatedir='${localstatedir}/run'
    857 includedir='${prefix}/include'
    858 oldincludedir='/usr/include'
    859 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    860 infodir='${datarootdir}/info'
    861 htmldir='${docdir}'
    862 dvidir='${docdir}'
    863 pdfdir='${docdir}'
    864 psdir='${docdir}'
    865 libdir='${exec_prefix}/lib'
    866 localedir='${datarootdir}/locale'
    867 mandir='${datarootdir}/man'
    868 
    869 ac_prev=
    870 ac_dashdash=
    871 for ac_option
    872 do
    873   # If the previous option needs an argument, assign it.
    874   if test -n "$ac_prev"; then
    875     eval $ac_prev=\$ac_option
    876     ac_prev=
    877     continue
    878   fi
    879 
    880   case $ac_option in
    881   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    882   *=)   ac_optarg= ;;
    883   *)    ac_optarg=yes ;;
    884   esac
    885 
    886   # Accept the important Cygnus configure options, so we can diagnose typos.
    887 
    888   case $ac_dashdash$ac_option in
    889   --)
    890     ac_dashdash=yes ;;
    891 
    892   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    893     ac_prev=bindir ;;
    894   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    895     bindir=$ac_optarg ;;
    896 
    897   -build | --build | --buil | --bui | --bu)
    898     ac_prev=build_alias ;;
    899   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    900     build_alias=$ac_optarg ;;
    901 
    902   -cache-file | --cache-file | --cache-fil | --cache-fi \
    903   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    904     ac_prev=cache_file ;;
    905   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    906   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    907     cache_file=$ac_optarg ;;
    908 
    909   --config-cache | -C)
    910     cache_file=config.cache ;;
    911 
    912   -datadir | --datadir | --datadi | --datad)
    913     ac_prev=datadir ;;
    914   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    915     datadir=$ac_optarg ;;
    916 
    917   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    918   | --dataroo | --dataro | --datar)
    919     ac_prev=datarootdir ;;
    920   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    921   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    922     datarootdir=$ac_optarg ;;
    923 
    924   -disable-* | --disable-*)
    925     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    926     # Reject names that are not valid shell variable names.
    927     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    928       as_fn_error $? "invalid feature name: $ac_useropt"
    929     ac_useropt_orig=$ac_useropt
    930     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    931     case $ac_user_opts in
    932       *"
    933 "enable_$ac_useropt"
    934 "*) ;;
    935       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    936 	 ac_unrecognized_sep=', ';;
    937     esac
    938     eval enable_$ac_useropt=no ;;
    939 
    940   -docdir | --docdir | --docdi | --doc | --do)
    941     ac_prev=docdir ;;
    942   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    943     docdir=$ac_optarg ;;
    944 
    945   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    946     ac_prev=dvidir ;;
    947   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    948     dvidir=$ac_optarg ;;
    949 
    950   -enable-* | --enable-*)
    951     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    952     # Reject names that are not valid shell variable names.
    953     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    954       as_fn_error $? "invalid feature name: $ac_useropt"
    955     ac_useropt_orig=$ac_useropt
    956     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    957     case $ac_user_opts in
    958       *"
    959 "enable_$ac_useropt"
    960 "*) ;;
    961       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    962 	 ac_unrecognized_sep=', ';;
    963     esac
    964     eval enable_$ac_useropt=\$ac_optarg ;;
    965 
    966   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    967   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    968   | --exec | --exe | --ex)
    969     ac_prev=exec_prefix ;;
    970   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    971   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    972   | --exec=* | --exe=* | --ex=*)
    973     exec_prefix=$ac_optarg ;;
    974 
    975   -gas | --gas | --ga | --g)
    976     # Obsolete; use --with-gas.
    977     with_gas=yes ;;
    978 
    979   -help | --help | --hel | --he | -h)
    980     ac_init_help=long ;;
    981   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    982     ac_init_help=recursive ;;
    983   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    984     ac_init_help=short ;;
    985 
    986   -host | --host | --hos | --ho)
    987     ac_prev=host_alias ;;
    988   -host=* | --host=* | --hos=* | --ho=*)
    989     host_alias=$ac_optarg ;;
    990 
    991   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    992     ac_prev=htmldir ;;
    993   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    994   | --ht=*)
    995     htmldir=$ac_optarg ;;
    996 
    997   -includedir | --includedir | --includedi | --included | --include \
    998   | --includ | --inclu | --incl | --inc)
    999     ac_prev=includedir ;;
   1000   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1001   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1002     includedir=$ac_optarg ;;
   1003 
   1004   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1005     ac_prev=infodir ;;
   1006   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1007     infodir=$ac_optarg ;;
   1008 
   1009   -libdir | --libdir | --libdi | --libd)
   1010     ac_prev=libdir ;;
   1011   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1012     libdir=$ac_optarg ;;
   1013 
   1014   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1015   | --libexe | --libex | --libe)
   1016     ac_prev=libexecdir ;;
   1017   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1018   | --libexe=* | --libex=* | --libe=*)
   1019     libexecdir=$ac_optarg ;;
   1020 
   1021   -localedir | --localedir | --localedi | --localed | --locale)
   1022     ac_prev=localedir ;;
   1023   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1024     localedir=$ac_optarg ;;
   1025 
   1026   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1027   | --localstate | --localstat | --localsta | --localst | --locals)
   1028     ac_prev=localstatedir ;;
   1029   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1030   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1031     localstatedir=$ac_optarg ;;
   1032 
   1033   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1034     ac_prev=mandir ;;
   1035   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1036     mandir=$ac_optarg ;;
   1037 
   1038   -nfp | --nfp | --nf)
   1039     # Obsolete; use --without-fp.
   1040     with_fp=no ;;
   1041 
   1042   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1043   | --no-cr | --no-c | -n)
   1044     no_create=yes ;;
   1045 
   1046   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1047   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1048     no_recursion=yes ;;
   1049 
   1050   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1051   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1052   | --oldin | --oldi | --old | --ol | --o)
   1053     ac_prev=oldincludedir ;;
   1054   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1055   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1056   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1057     oldincludedir=$ac_optarg ;;
   1058 
   1059   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1060     ac_prev=prefix ;;
   1061   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1062     prefix=$ac_optarg ;;
   1063 
   1064   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1065   | --program-pre | --program-pr | --program-p)
   1066     ac_prev=program_prefix ;;
   1067   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1068   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1069     program_prefix=$ac_optarg ;;
   1070 
   1071   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1072   | --program-suf | --program-su | --program-s)
   1073     ac_prev=program_suffix ;;
   1074   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1075   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1076     program_suffix=$ac_optarg ;;
   1077 
   1078   -program-transform-name | --program-transform-name \
   1079   | --program-transform-nam | --program-transform-na \
   1080   | --program-transform-n | --program-transform- \
   1081   | --program-transform | --program-transfor \
   1082   | --program-transfo | --program-transf \
   1083   | --program-trans | --program-tran \
   1084   | --progr-tra | --program-tr | --program-t)
   1085     ac_prev=program_transform_name ;;
   1086   -program-transform-name=* | --program-transform-name=* \
   1087   | --program-transform-nam=* | --program-transform-na=* \
   1088   | --program-transform-n=* | --program-transform-=* \
   1089   | --program-transform=* | --program-transfor=* \
   1090   | --program-transfo=* | --program-transf=* \
   1091   | --program-trans=* | --program-tran=* \
   1092   | --progr-tra=* | --program-tr=* | --program-t=*)
   1093     program_transform_name=$ac_optarg ;;
   1094 
   1095   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1096     ac_prev=pdfdir ;;
   1097   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1098     pdfdir=$ac_optarg ;;
   1099 
   1100   -psdir | --psdir | --psdi | --psd | --ps)
   1101     ac_prev=psdir ;;
   1102   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1103     psdir=$ac_optarg ;;
   1104 
   1105   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1106   | -silent | --silent | --silen | --sile | --sil)
   1107     silent=yes ;;
   1108 
   1109   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1110   | --runstate | --runstat | --runsta | --runst | --runs \
   1111   | --run | --ru | --r)
   1112     ac_prev=runstatedir ;;
   1113   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1114   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1115   | --run=* | --ru=* | --r=*)
   1116     runstatedir=$ac_optarg ;;
   1117 
   1118   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1119     ac_prev=sbindir ;;
   1120   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1121   | --sbi=* | --sb=*)
   1122     sbindir=$ac_optarg ;;
   1123 
   1124   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1125   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1126   | --sharedst | --shareds | --shared | --share | --shar \
   1127   | --sha | --sh)
   1128     ac_prev=sharedstatedir ;;
   1129   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1130   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1131   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1132   | --sha=* | --sh=*)
   1133     sharedstatedir=$ac_optarg ;;
   1134 
   1135   -site | --site | --sit)
   1136     ac_prev=site ;;
   1137   -site=* | --site=* | --sit=*)
   1138     site=$ac_optarg ;;
   1139 
   1140   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1141     ac_prev=srcdir ;;
   1142   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1143     srcdir=$ac_optarg ;;
   1144 
   1145   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1146   | --syscon | --sysco | --sysc | --sys | --sy)
   1147     ac_prev=sysconfdir ;;
   1148   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1149   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1150     sysconfdir=$ac_optarg ;;
   1151 
   1152   -target | --target | --targe | --targ | --tar | --ta | --t)
   1153     ac_prev=target_alias ;;
   1154   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1155     target_alias=$ac_optarg ;;
   1156 
   1157   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1158     verbose=yes ;;
   1159 
   1160   -version | --version | --versio | --versi | --vers | -V)
   1161     ac_init_version=: ;;
   1162 
   1163   -with-* | --with-*)
   1164     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1165     # Reject names that are not valid shell variable names.
   1166     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1167       as_fn_error $? "invalid package name: $ac_useropt"
   1168     ac_useropt_orig=$ac_useropt
   1169     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1170     case $ac_user_opts in
   1171       *"
   1172 "with_$ac_useropt"
   1173 "*) ;;
   1174       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1175 	 ac_unrecognized_sep=', ';;
   1176     esac
   1177     eval with_$ac_useropt=\$ac_optarg ;;
   1178 
   1179   -without-* | --without-*)
   1180     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1181     # Reject names that are not valid shell variable names.
   1182     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1183       as_fn_error $? "invalid package name: $ac_useropt"
   1184     ac_useropt_orig=$ac_useropt
   1185     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1186     case $ac_user_opts in
   1187       *"
   1188 "with_$ac_useropt"
   1189 "*) ;;
   1190       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1191 	 ac_unrecognized_sep=', ';;
   1192     esac
   1193     eval with_$ac_useropt=no ;;
   1194 
   1195   --x)
   1196     # Obsolete; use --with-x.
   1197     with_x=yes ;;
   1198 
   1199   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1200   | --x-incl | --x-inc | --x-in | --x-i)
   1201     ac_prev=x_includes ;;
   1202   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1203   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1204     x_includes=$ac_optarg ;;
   1205 
   1206   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1207   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1208     ac_prev=x_libraries ;;
   1209   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1210   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1211     x_libraries=$ac_optarg ;;
   1212 
   1213   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1214 Try \`$0 --help' for more information"
   1215     ;;
   1216 
   1217   *=*)
   1218     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1219     # Reject names that are not valid shell variable names.
   1220     case $ac_envvar in #(
   1221       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1222       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1223     esac
   1224     eval $ac_envvar=\$ac_optarg
   1225     export $ac_envvar ;;
   1226 
   1227   *)
   1228     # FIXME: should be removed in autoconf 3.0.
   1229     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1230     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1231       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1232     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1233     ;;
   1234 
   1235   esac
   1236 done
   1237 
   1238 if test -n "$ac_prev"; then
   1239   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1240   as_fn_error $? "missing argument to $ac_option"
   1241 fi
   1242 
   1243 if test -n "$ac_unrecognized_opts"; then
   1244   case $enable_option_checking in
   1245     no) ;;
   1246     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1247     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1248   esac
   1249 fi
   1250 
   1251 # Check all directory arguments for consistency.
   1252 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1253 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1254 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1255 		libdir localedir mandir runstatedir
   1256 do
   1257   eval ac_val=\$$ac_var
   1258   # Remove trailing slashes.
   1259   case $ac_val in
   1260     */ )
   1261       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1262       eval $ac_var=\$ac_val;;
   1263   esac
   1264   # Be sure to have absolute directory names.
   1265   case $ac_val in
   1266     [\\/$]* | ?:[\\/]* )  continue;;
   1267     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1268   esac
   1269   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1270 done
   1271 
   1272 # There might be people who depend on the old broken behavior: `$host'
   1273 # used to hold the argument of --host etc.
   1274 # FIXME: To remove some day.
   1275 build=$build_alias
   1276 host=$host_alias
   1277 target=$target_alias
   1278 
   1279 # FIXME: To remove some day.
   1280 if test "x$host_alias" != x; then
   1281   if test "x$build_alias" = x; then
   1282     cross_compiling=maybe
   1283   elif test "x$build_alias" != "x$host_alias"; then
   1284     cross_compiling=yes
   1285   fi
   1286 fi
   1287 
   1288 ac_tool_prefix=
   1289 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1290 
   1291 test "$silent" = yes && exec 6>/dev/null
   1292 
   1293 
   1294 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1295 ac_ls_di=`ls -di .` &&
   1296 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1297   as_fn_error $? "working directory cannot be determined"
   1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1299   as_fn_error $? "pwd does not report name of working directory"
   1300 
   1301 
   1302 # Find the source files, if location was not specified.
   1303 if test -z "$srcdir"; then
   1304   ac_srcdir_defaulted=yes
   1305   # Try the directory containing this script, then the parent directory.
   1306   ac_confdir=`$as_dirname -- "$as_myself" ||
   1307 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1308 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1309 	 X"$as_myself" : 'X\(//\)$' \| \
   1310 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1311 $as_echo X"$as_myself" |
   1312     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1313 	    s//\1/
   1314 	    q
   1315 	  }
   1316 	  /^X\(\/\/\)[^/].*/{
   1317 	    s//\1/
   1318 	    q
   1319 	  }
   1320 	  /^X\(\/\/\)$/{
   1321 	    s//\1/
   1322 	    q
   1323 	  }
   1324 	  /^X\(\/\).*/{
   1325 	    s//\1/
   1326 	    q
   1327 	  }
   1328 	  s/.*/./; q'`
   1329   srcdir=$ac_confdir
   1330   if test ! -r "$srcdir/$ac_unique_file"; then
   1331     srcdir=..
   1332   fi
   1333 else
   1334   ac_srcdir_defaulted=no
   1335 fi
   1336 if test ! -r "$srcdir/$ac_unique_file"; then
   1337   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1338   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1339 fi
   1340 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1341 ac_abs_confdir=`(
   1342 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1343 	pwd)`
   1344 # When building in place, set srcdir=.
   1345 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1346   srcdir=.
   1347 fi
   1348 # Remove unnecessary trailing slashes from srcdir.
   1349 # Double slashes in file names in object file debugging info
   1350 # mess up M-x gdb in Emacs.
   1351 case $srcdir in
   1352 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1353 esac
   1354 for ac_var in $ac_precious_vars; do
   1355   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1356   eval ac_env_${ac_var}_value=\$${ac_var}
   1357   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1358   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1359 done
   1360 
   1361 #
   1362 # Report the --help message.
   1363 #
   1364 if test "$ac_init_help" = "long"; then
   1365   # Omit some internal or obsolete options to make the list less imposing.
   1366   # This message is too long to be a string in the A/UX 3.1 sh.
   1367   cat <<_ACEOF
   1368 \`configure' configures libXft 2.3.5 to adapt to many kinds of systems.
   1369 
   1370 Usage: $0 [OPTION]... [VAR=VALUE]...
   1371 
   1372 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1373 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1374 
   1375 Defaults for the options are specified in brackets.
   1376 
   1377 Configuration:
   1378   -h, --help              display this help and exit
   1379       --help=short        display options specific to this package
   1380       --help=recursive    display the short help of all the included packages
   1381   -V, --version           display version information and exit
   1382   -q, --quiet, --silent   do not print \`checking ...' messages
   1383       --cache-file=FILE   cache test results in FILE [disabled]
   1384   -C, --config-cache      alias for \`--cache-file=config.cache'
   1385   -n, --no-create         do not create output files
   1386       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1387 
   1388 Installation directories:
   1389   --prefix=PREFIX         install architecture-independent files in PREFIX
   1390                           [$ac_default_prefix]
   1391   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1392                           [PREFIX]
   1393 
   1394 By default, \`make install' will install all the files in
   1395 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1396 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1397 for instance \`--prefix=\$HOME'.
   1398 
   1399 For better control, use the options below.
   1400 
   1401 Fine tuning of the installation directories:
   1402   --bindir=DIR            user executables [EPREFIX/bin]
   1403   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1404   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1405   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1406   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1407   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1408   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1409   --libdir=DIR            object code libraries [EPREFIX/lib]
   1410   --includedir=DIR        C header files [PREFIX/include]
   1411   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1412   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1413   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1414   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1415   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1416   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1417   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXft]
   1418   --htmldir=DIR           html documentation [DOCDIR]
   1419   --dvidir=DIR            dvi documentation [DOCDIR]
   1420   --pdfdir=DIR            pdf documentation [DOCDIR]
   1421   --psdir=DIR             ps documentation [DOCDIR]
   1422 _ACEOF
   1423 
   1424   cat <<\_ACEOF
   1425 
   1426 Program names:
   1427   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1428   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1429   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1430 
   1431 System types:
   1432   --build=BUILD     configure for building on BUILD [guessed]
   1433   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1434 _ACEOF
   1435 fi
   1436 
   1437 if test -n "$ac_init_help"; then
   1438   case $ac_init_help in
   1439      short | recursive ) echo "Configuration of libXft 2.3.5:";;
   1440    esac
   1441   cat <<\_ACEOF
   1442 
   1443 Optional Features:
   1444   --disable-option-checking  ignore unrecognized --enable/--with options
   1445   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1446   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1447   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1448   --disable-silent-rules  verbose build output (undo: "make V=0")
   1449   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1450   --enable-static[=PKGS]  build static libraries [default=yes]
   1451   --enable-fast-install[=PKGS]
   1452                           optimize for fast installation [default=yes]
   1453   --enable-dependency-tracking
   1454                           do not reject slow dependency extractors
   1455   --disable-dependency-tracking
   1456                           speeds up one-time build
   1457   --disable-libtool-lock  avoid locking (might break parallel builds)
   1458   --disable-selective-werror
   1459                           Turn off selective compiler errors. (default:
   1460                           enabled)
   1461   --enable-strict-compilation
   1462                           Enable all warnings from compiler and make them
   1463                           errors (default: disabled)
   1464 
   1465 Optional Packages:
   1466   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1467   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1468   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1469                           both]
   1470   --with-aix-soname=aix|svr4|both
   1471                           shared library versioning (aka "SONAME") variant to
   1472                           provide on AIX, [default=aix].
   1473   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1474   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1475                           compiler's sysroot if not specified).
   1476 
   1477 Some influential environment variables:
   1478   CC          C compiler command
   1479   CFLAGS      C compiler flags
   1480   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1481               nonstandard directory <lib dir>
   1482   LIBS        libraries to pass to the linker, e.g. -l<library>
   1483   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1484               you have headers in a nonstandard directory <include dir>
   1485   LT_SYS_LIBRARY_PATH
   1486               User-defined run-time library search path.
   1487   CPP         C preprocessor
   1488   PKG_CONFIG  path to pkg-config utility
   1489   PKG_CONFIG_PATH
   1490               directories to add to pkg-config's search path
   1491   PKG_CONFIG_LIBDIR
   1492               path overriding pkg-config's built-in search path
   1493   XRENDER_CFLAGS
   1494               C compiler flags for XRENDER, overriding pkg-config
   1495   XRENDER_LIBS
   1496               linker flags for XRENDER, overriding pkg-config
   1497   FREETYPE_CFLAGS
   1498               C compiler flags for FREETYPE, overriding pkg-config
   1499   FREETYPE_LIBS
   1500               linker flags for FREETYPE, overriding pkg-config
   1501   FONTCONFIG_CFLAGS
   1502               C compiler flags for FONTCONFIG, overriding pkg-config
   1503   FONTCONFIG_LIBS
   1504               linker flags for FONTCONFIG, overriding pkg-config
   1505 
   1506 Use these variables to override the choices made by `configure' or to help
   1507 it to find libraries and programs with nonstandard names/locations.
   1508 
   1509 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXft/issues>.
   1510 _ACEOF
   1511 ac_status=$?
   1512 fi
   1513 
   1514 if test "$ac_init_help" = "recursive"; then
   1515   # If there are subdirs, report their specific --help.
   1516   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1517     test -d "$ac_dir" ||
   1518       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1519       continue
   1520     ac_builddir=.
   1521 
   1522 case "$ac_dir" in
   1523 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1524 *)
   1525   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1526   # A ".." for each directory in $ac_dir_suffix.
   1527   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1528   case $ac_top_builddir_sub in
   1529   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1530   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1531   esac ;;
   1532 esac
   1533 ac_abs_top_builddir=$ac_pwd
   1534 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1535 # for backward compatibility:
   1536 ac_top_builddir=$ac_top_build_prefix
   1537 
   1538 case $srcdir in
   1539   .)  # We are building in place.
   1540     ac_srcdir=.
   1541     ac_top_srcdir=$ac_top_builddir_sub
   1542     ac_abs_top_srcdir=$ac_pwd ;;
   1543   [\\/]* | ?:[\\/]* )  # Absolute name.
   1544     ac_srcdir=$srcdir$ac_dir_suffix;
   1545     ac_top_srcdir=$srcdir
   1546     ac_abs_top_srcdir=$srcdir ;;
   1547   *) # Relative name.
   1548     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1549     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1550     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1551 esac
   1552 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1553 
   1554     cd "$ac_dir" || { ac_status=$?; continue; }
   1555     # Check for guested configure.
   1556     if test -f "$ac_srcdir/configure.gnu"; then
   1557       echo &&
   1558       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1559     elif test -f "$ac_srcdir/configure"; then
   1560       echo &&
   1561       $SHELL "$ac_srcdir/configure" --help=recursive
   1562     else
   1563       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1564     fi || ac_status=$?
   1565     cd "$ac_pwd" || { ac_status=$?; break; }
   1566   done
   1567 fi
   1568 
   1569 test -n "$ac_init_help" && exit $ac_status
   1570 if $ac_init_version; then
   1571   cat <<\_ACEOF
   1572 libXft configure 2.3.5
   1573 generated by GNU Autoconf 2.69
   1574 
   1575 Copyright (C) 2012 Free Software Foundation, Inc.
   1576 This configure script is free software; the Free Software Foundation
   1577 gives unlimited permission to copy, distribute and modify it.
   1578 _ACEOF
   1579   exit
   1580 fi
   1581 
   1582 ## ------------------------ ##
   1583 ## Autoconf initialization. ##
   1584 ## ------------------------ ##
   1585 
   1586 # ac_fn_c_try_compile LINENO
   1587 # --------------------------
   1588 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1589 ac_fn_c_try_compile ()
   1590 {
   1591   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1592   rm -f conftest.$ac_objext
   1593   if { { ac_try="$ac_compile"
   1594 case "(($ac_try" in
   1595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1596   *) ac_try_echo=$ac_try;;
   1597 esac
   1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1599 $as_echo "$ac_try_echo"; } >&5
   1600   (eval "$ac_compile") 2>conftest.err
   1601   ac_status=$?
   1602   if test -s conftest.err; then
   1603     grep -v '^ *+' conftest.err >conftest.er1
   1604     cat conftest.er1 >&5
   1605     mv -f conftest.er1 conftest.err
   1606   fi
   1607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1608   test $ac_status = 0; } && {
   1609 	 test -z "$ac_c_werror_flag" ||
   1610 	 test ! -s conftest.err
   1611        } && test -s conftest.$ac_objext; then :
   1612   ac_retval=0
   1613 else
   1614   $as_echo "$as_me: failed program was:" >&5
   1615 sed 's/^/| /' conftest.$ac_ext >&5
   1616 
   1617 	ac_retval=1
   1618 fi
   1619   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1620   as_fn_set_status $ac_retval
   1621 
   1622 } # ac_fn_c_try_compile
   1623 
   1624 # ac_fn_c_try_link LINENO
   1625 # -----------------------
   1626 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1627 ac_fn_c_try_link ()
   1628 {
   1629   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1630   rm -f conftest.$ac_objext conftest$ac_exeext
   1631   if { { ac_try="$ac_link"
   1632 case "(($ac_try" in
   1633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1634   *) ac_try_echo=$ac_try;;
   1635 esac
   1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1637 $as_echo "$ac_try_echo"; } >&5
   1638   (eval "$ac_link") 2>conftest.err
   1639   ac_status=$?
   1640   if test -s conftest.err; then
   1641     grep -v '^ *+' conftest.err >conftest.er1
   1642     cat conftest.er1 >&5
   1643     mv -f conftest.er1 conftest.err
   1644   fi
   1645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1646   test $ac_status = 0; } && {
   1647 	 test -z "$ac_c_werror_flag" ||
   1648 	 test ! -s conftest.err
   1649        } && test -s conftest$ac_exeext && {
   1650 	 test "$cross_compiling" = yes ||
   1651 	 test -x conftest$ac_exeext
   1652        }; then :
   1653   ac_retval=0
   1654 else
   1655   $as_echo "$as_me: failed program was:" >&5
   1656 sed 's/^/| /' conftest.$ac_ext >&5
   1657 
   1658 	ac_retval=1
   1659 fi
   1660   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1661   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1662   # interfere with the next link command; also delete a directory that is
   1663   # left behind by Apple's compiler.  We do this before executing the actions.
   1664   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1665   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1666   as_fn_set_status $ac_retval
   1667 
   1668 } # ac_fn_c_try_link
   1669 
   1670 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1671 # -------------------------------------------------------
   1672 # Tests whether HEADER exists and can be compiled using the include files in
   1673 # INCLUDES, setting the cache variable VAR accordingly.
   1674 ac_fn_c_check_header_compile ()
   1675 {
   1676   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1678 $as_echo_n "checking for $2... " >&6; }
   1679 if eval \${$3+:} false; then :
   1680   $as_echo_n "(cached) " >&6
   1681 else
   1682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1683 /* end confdefs.h.  */
   1684 $4
   1685 #include <$2>
   1686 _ACEOF
   1687 if ac_fn_c_try_compile "$LINENO"; then :
   1688   eval "$3=yes"
   1689 else
   1690   eval "$3=no"
   1691 fi
   1692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1693 fi
   1694 eval ac_res=\$$3
   1695 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1696 $as_echo "$ac_res" >&6; }
   1697   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1698 
   1699 } # ac_fn_c_check_header_compile
   1700 
   1701 # ac_fn_c_try_cpp LINENO
   1702 # ----------------------
   1703 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1704 ac_fn_c_try_cpp ()
   1705 {
   1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1707   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1708 case "(($ac_try" in
   1709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1710   *) ac_try_echo=$ac_try;;
   1711 esac
   1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1713 $as_echo "$ac_try_echo"; } >&5
   1714   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1715   ac_status=$?
   1716   if test -s conftest.err; then
   1717     grep -v '^ *+' conftest.err >conftest.er1
   1718     cat conftest.er1 >&5
   1719     mv -f conftest.er1 conftest.err
   1720   fi
   1721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1722   test $ac_status = 0; } > conftest.i && {
   1723 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1724 	 test ! -s conftest.err
   1725        }; then :
   1726   ac_retval=0
   1727 else
   1728   $as_echo "$as_me: failed program was:" >&5
   1729 sed 's/^/| /' conftest.$ac_ext >&5
   1730 
   1731     ac_retval=1
   1732 fi
   1733   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1734   as_fn_set_status $ac_retval
   1735 
   1736 } # ac_fn_c_try_cpp
   1737 
   1738 # ac_fn_c_try_run LINENO
   1739 # ----------------------
   1740 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1741 # that executables *can* be run.
   1742 ac_fn_c_try_run ()
   1743 {
   1744   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1745   if { { ac_try="$ac_link"
   1746 case "(($ac_try" in
   1747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1748   *) ac_try_echo=$ac_try;;
   1749 esac
   1750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1751 $as_echo "$ac_try_echo"; } >&5
   1752   (eval "$ac_link") 2>&5
   1753   ac_status=$?
   1754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1755   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1756   { { case "(($ac_try" in
   1757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1758   *) ac_try_echo=$ac_try;;
   1759 esac
   1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1761 $as_echo "$ac_try_echo"; } >&5
   1762   (eval "$ac_try") 2>&5
   1763   ac_status=$?
   1764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1765   test $ac_status = 0; }; }; then :
   1766   ac_retval=0
   1767 else
   1768   $as_echo "$as_me: program exited with status $ac_status" >&5
   1769        $as_echo "$as_me: failed program was:" >&5
   1770 sed 's/^/| /' conftest.$ac_ext >&5
   1771 
   1772        ac_retval=$ac_status
   1773 fi
   1774   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1776   as_fn_set_status $ac_retval
   1777 
   1778 } # ac_fn_c_try_run
   1779 
   1780 # ac_fn_c_check_func LINENO FUNC VAR
   1781 # ----------------------------------
   1782 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1783 ac_fn_c_check_func ()
   1784 {
   1785   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1787 $as_echo_n "checking for $2... " >&6; }
   1788 if eval \${$3+:} false; then :
   1789   $as_echo_n "(cached) " >&6
   1790 else
   1791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1792 /* end confdefs.h.  */
   1793 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1794    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1795 #define $2 innocuous_$2
   1796 
   1797 /* System header to define __stub macros and hopefully few prototypes,
   1798     which can conflict with char $2 (); below.
   1799     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1800     <limits.h> exists even on freestanding compilers.  */
   1801 
   1802 #ifdef __STDC__
   1803 # include <limits.h>
   1804 #else
   1805 # include <assert.h>
   1806 #endif
   1807 
   1808 #undef $2
   1809 
   1810 /* Override any GCC internal prototype to avoid an error.
   1811    Use char because int might match the return type of a GCC
   1812    builtin and then its argument prototype would still apply.  */
   1813 #ifdef __cplusplus
   1814 extern "C"
   1815 #endif
   1816 char $2 ();
   1817 /* The GNU C library defines this for functions which it implements
   1818     to always fail with ENOSYS.  Some functions are actually named
   1819     something starting with __ and the normal name is an alias.  */
   1820 #if defined __stub_$2 || defined __stub___$2
   1821 choke me
   1822 #endif
   1823 
   1824 int
   1825 main ()
   1826 {
   1827 return $2 ();
   1828   ;
   1829   return 0;
   1830 }
   1831 _ACEOF
   1832 if ac_fn_c_try_link "$LINENO"; then :
   1833   eval "$3=yes"
   1834 else
   1835   eval "$3=no"
   1836 fi
   1837 rm -f core conftest.err conftest.$ac_objext \
   1838     conftest$ac_exeext conftest.$ac_ext
   1839 fi
   1840 eval ac_res=\$$3
   1841 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1842 $as_echo "$ac_res" >&6; }
   1843   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1844 
   1845 } # ac_fn_c_check_func
   1846 
   1847 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1848 # ---------------------------------------------
   1849 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1850 # accordingly.
   1851 ac_fn_c_check_decl ()
   1852 {
   1853   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1854   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1855   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1857 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1858 if eval \${$3+:} false; then :
   1859   $as_echo_n "(cached) " >&6
   1860 else
   1861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1862 /* end confdefs.h.  */
   1863 $4
   1864 int
   1865 main ()
   1866 {
   1867 #ifndef $as_decl_name
   1868 #ifdef __cplusplus
   1869   (void) $as_decl_use;
   1870 #else
   1871   (void) $as_decl_name;
   1872 #endif
   1873 #endif
   1874 
   1875   ;
   1876   return 0;
   1877 }
   1878 _ACEOF
   1879 if ac_fn_c_try_compile "$LINENO"; then :
   1880   eval "$3=yes"
   1881 else
   1882   eval "$3=no"
   1883 fi
   1884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1885 fi
   1886 eval ac_res=\$$3
   1887 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1888 $as_echo "$ac_res" >&6; }
   1889   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1890 
   1891 } # ac_fn_c_check_decl
   1892 cat >config.log <<_ACEOF
   1893 This file contains any messages produced by compilers while
   1894 running configure, to aid debugging if configure makes a mistake.
   1895 
   1896 It was created by libXft $as_me 2.3.5, which was
   1897 generated by GNU Autoconf 2.69.  Invocation command line was
   1898 
   1899   $ $0 $@
   1900 
   1901 _ACEOF
   1902 exec 5>>config.log
   1903 {
   1904 cat <<_ASUNAME
   1905 ## --------- ##
   1906 ## Platform. ##
   1907 ## --------- ##
   1908 
   1909 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1910 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1911 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1912 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1913 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1914 
   1915 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1916 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1917 
   1918 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1919 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1920 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1921 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1922 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1923 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1924 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1925 
   1926 _ASUNAME
   1927 
   1928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1929 for as_dir in $PATH
   1930 do
   1931   IFS=$as_save_IFS
   1932   test -z "$as_dir" && as_dir=.
   1933     $as_echo "PATH: $as_dir"
   1934   done
   1935 IFS=$as_save_IFS
   1936 
   1937 } >&5
   1938 
   1939 cat >&5 <<_ACEOF
   1940 
   1941 
   1942 ## ----------- ##
   1943 ## Core tests. ##
   1944 ## ----------- ##
   1945 
   1946 _ACEOF
   1947 
   1948 
   1949 # Keep a trace of the command line.
   1950 # Strip out --no-create and --no-recursion so they do not pile up.
   1951 # Strip out --silent because we don't want to record it for future runs.
   1952 # Also quote any args containing shell meta-characters.
   1953 # Make two passes to allow for proper duplicate-argument suppression.
   1954 ac_configure_args=
   1955 ac_configure_args0=
   1956 ac_configure_args1=
   1957 ac_must_keep_next=false
   1958 for ac_pass in 1 2
   1959 do
   1960   for ac_arg
   1961   do
   1962     case $ac_arg in
   1963     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1964     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1965     | -silent | --silent | --silen | --sile | --sil)
   1966       continue ;;
   1967     *\'*)
   1968       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1969     esac
   1970     case $ac_pass in
   1971     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1972     2)
   1973       as_fn_append ac_configure_args1 " '$ac_arg'"
   1974       if test $ac_must_keep_next = true; then
   1975 	ac_must_keep_next=false # Got value, back to normal.
   1976       else
   1977 	case $ac_arg in
   1978 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1979 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1980 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1981 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1982 	    case "$ac_configure_args0 " in
   1983 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1984 	    esac
   1985 	    ;;
   1986 	  -* ) ac_must_keep_next=true ;;
   1987 	esac
   1988       fi
   1989       as_fn_append ac_configure_args " '$ac_arg'"
   1990       ;;
   1991     esac
   1992   done
   1993 done
   1994 { ac_configure_args0=; unset ac_configure_args0;}
   1995 { ac_configure_args1=; unset ac_configure_args1;}
   1996 
   1997 # When interrupted or exit'd, cleanup temporary files, and complete
   1998 # config.log.  We remove comments because anyway the quotes in there
   1999 # would cause problems or look ugly.
   2000 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2001 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2002 trap 'exit_status=$?
   2003   # Save into config.log some information that might help in debugging.
   2004   {
   2005     echo
   2006 
   2007     $as_echo "## ---------------- ##
   2008 ## Cache variables. ##
   2009 ## ---------------- ##"
   2010     echo
   2011     # The following way of writing the cache mishandles newlines in values,
   2012 (
   2013   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2014     eval ac_val=\$$ac_var
   2015     case $ac_val in #(
   2016     *${as_nl}*)
   2017       case $ac_var in #(
   2018       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2019 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2020       esac
   2021       case $ac_var in #(
   2022       _ | IFS | as_nl) ;; #(
   2023       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2024       *) { eval $ac_var=; unset $ac_var;} ;;
   2025       esac ;;
   2026     esac
   2027   done
   2028   (set) 2>&1 |
   2029     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2030     *${as_nl}ac_space=\ *)
   2031       sed -n \
   2032 	"s/'\''/'\''\\\\'\'''\''/g;
   2033 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2034       ;; #(
   2035     *)
   2036       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2037       ;;
   2038     esac |
   2039     sort
   2040 )
   2041     echo
   2042 
   2043     $as_echo "## ----------------- ##
   2044 ## Output variables. ##
   2045 ## ----------------- ##"
   2046     echo
   2047     for ac_var in $ac_subst_vars
   2048     do
   2049       eval ac_val=\$$ac_var
   2050       case $ac_val in
   2051       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2052       esac
   2053       $as_echo "$ac_var='\''$ac_val'\''"
   2054     done | sort
   2055     echo
   2056 
   2057     if test -n "$ac_subst_files"; then
   2058       $as_echo "## ------------------- ##
   2059 ## File substitutions. ##
   2060 ## ------------------- ##"
   2061       echo
   2062       for ac_var in $ac_subst_files
   2063       do
   2064 	eval ac_val=\$$ac_var
   2065 	case $ac_val in
   2066 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2067 	esac
   2068 	$as_echo "$ac_var='\''$ac_val'\''"
   2069       done | sort
   2070       echo
   2071     fi
   2072 
   2073     if test -s confdefs.h; then
   2074       $as_echo "## ----------- ##
   2075 ## confdefs.h. ##
   2076 ## ----------- ##"
   2077       echo
   2078       cat confdefs.h
   2079       echo
   2080     fi
   2081     test "$ac_signal" != 0 &&
   2082       $as_echo "$as_me: caught signal $ac_signal"
   2083     $as_echo "$as_me: exit $exit_status"
   2084   } >&5
   2085   rm -f core *.core core.conftest.* &&
   2086     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2087     exit $exit_status
   2088 ' 0
   2089 for ac_signal in 1 2 13 15; do
   2090   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2091 done
   2092 ac_signal=0
   2093 
   2094 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2095 rm -f -r conftest* confdefs.h
   2096 
   2097 $as_echo "/* confdefs.h */" > confdefs.h
   2098 
   2099 # Predefined preprocessor variables.
   2100 
   2101 cat >>confdefs.h <<_ACEOF
   2102 #define PACKAGE_NAME "$PACKAGE_NAME"
   2103 _ACEOF
   2104 
   2105 cat >>confdefs.h <<_ACEOF
   2106 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2107 _ACEOF
   2108 
   2109 cat >>confdefs.h <<_ACEOF
   2110 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2111 _ACEOF
   2112 
   2113 cat >>confdefs.h <<_ACEOF
   2114 #define PACKAGE_STRING "$PACKAGE_STRING"
   2115 _ACEOF
   2116 
   2117 cat >>confdefs.h <<_ACEOF
   2118 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2119 _ACEOF
   2120 
   2121 cat >>confdefs.h <<_ACEOF
   2122 #define PACKAGE_URL "$PACKAGE_URL"
   2123 _ACEOF
   2124 
   2125 
   2126 # Let the site file select an alternate cache file if it wants to.
   2127 # Prefer an explicitly selected file to automatically selected ones.
   2128 ac_site_file1=NONE
   2129 ac_site_file2=NONE
   2130 if test -n "$CONFIG_SITE"; then
   2131   # We do not want a PATH search for config.site.
   2132   case $CONFIG_SITE in #((
   2133     -*)  ac_site_file1=./$CONFIG_SITE;;
   2134     */*) ac_site_file1=$CONFIG_SITE;;
   2135     *)   ac_site_file1=./$CONFIG_SITE;;
   2136   esac
   2137 elif test "x$prefix" != xNONE; then
   2138   ac_site_file1=$prefix/share/config.site
   2139   ac_site_file2=$prefix/etc/config.site
   2140 else
   2141   ac_site_file1=$ac_default_prefix/share/config.site
   2142   ac_site_file2=$ac_default_prefix/etc/config.site
   2143 fi
   2144 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2145 do
   2146   test "x$ac_site_file" = xNONE && continue
   2147   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2148     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2149 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2150     sed 's/^/| /' "$ac_site_file" >&5
   2151     . "$ac_site_file" \
   2152       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2154 as_fn_error $? "failed to load site script $ac_site_file
   2155 See \`config.log' for more details" "$LINENO" 5; }
   2156   fi
   2157 done
   2158 
   2159 if test -r "$cache_file"; then
   2160   # Some versions of bash will fail to source /dev/null (special files
   2161   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2162   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2163     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2164 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2165     case $cache_file in
   2166       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2167       *)                      . "./$cache_file";;
   2168     esac
   2169   fi
   2170 else
   2171   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2172 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2173   >$cache_file
   2174 fi
   2175 
   2176 # Check that the precious variables saved in the cache have kept the same
   2177 # value.
   2178 ac_cache_corrupted=false
   2179 for ac_var in $ac_precious_vars; do
   2180   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2181   eval ac_new_set=\$ac_env_${ac_var}_set
   2182   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2183   eval ac_new_val=\$ac_env_${ac_var}_value
   2184   case $ac_old_set,$ac_new_set in
   2185     set,)
   2186       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2187 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2188       ac_cache_corrupted=: ;;
   2189     ,set)
   2190       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2191 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2192       ac_cache_corrupted=: ;;
   2193     ,);;
   2194     *)
   2195       if test "x$ac_old_val" != "x$ac_new_val"; then
   2196 	# differences in whitespace do not lead to failure.
   2197 	ac_old_val_w=`echo x $ac_old_val`
   2198 	ac_new_val_w=`echo x $ac_new_val`
   2199 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2200 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2201 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2202 	  ac_cache_corrupted=:
   2203 	else
   2204 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2205 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2206 	  eval $ac_var=\$ac_old_val
   2207 	fi
   2208 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2209 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2210 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2211 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2212       fi;;
   2213   esac
   2214   # Pass precious variables to config.status.
   2215   if test "$ac_new_set" = set; then
   2216     case $ac_new_val in
   2217     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2218     *) ac_arg=$ac_var=$ac_new_val ;;
   2219     esac
   2220     case " $ac_configure_args " in
   2221       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2222       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2223     esac
   2224   fi
   2225 done
   2226 if $ac_cache_corrupted; then
   2227   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2229   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2230 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2231   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2232 fi
   2233 ## -------------------- ##
   2234 ## Main body of script. ##
   2235 ## -------------------- ##
   2236 
   2237 ac_ext=c
   2238 ac_cpp='$CPP $CPPFLAGS'
   2239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2242 
   2243 
   2244 
   2245 ac_config_headers="$ac_config_headers config.h"
   2246 
   2247 
   2248 # Initialize Automake
   2249 am__api_version='1.16'
   2250 
   2251 ac_aux_dir=
   2252 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2253   if test -f "$ac_dir/install-sh"; then
   2254     ac_aux_dir=$ac_dir
   2255     ac_install_sh="$ac_aux_dir/install-sh -c"
   2256     break
   2257   elif test -f "$ac_dir/install.sh"; then
   2258     ac_aux_dir=$ac_dir
   2259     ac_install_sh="$ac_aux_dir/install.sh -c"
   2260     break
   2261   elif test -f "$ac_dir/shtool"; then
   2262     ac_aux_dir=$ac_dir
   2263     ac_install_sh="$ac_aux_dir/shtool install -c"
   2264     break
   2265   fi
   2266 done
   2267 if test -z "$ac_aux_dir"; then
   2268   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2269 fi
   2270 
   2271 # These three variables are undocumented and unsupported,
   2272 # and are intended to be withdrawn in a future Autoconf release.
   2273 # They can cause serious problems if a builder's source tree is in a directory
   2274 # whose full name contains unusual characters.
   2275 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2276 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2277 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2278 
   2279 
   2280 # Find a good install program.  We prefer a C program (faster),
   2281 # so one script is as good as another.  But avoid the broken or
   2282 # incompatible versions:
   2283 # SysV /etc/install, /usr/sbin/install
   2284 # SunOS /usr/etc/install
   2285 # IRIX /sbin/install
   2286 # AIX /bin/install
   2287 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2288 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2289 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2290 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2291 # OS/2's system install, which has a completely different semantic
   2292 # ./install, which can be erroneously created by make from ./install.sh.
   2293 # Reject install programs that cannot install multiple files.
   2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2295 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2296 if test -z "$INSTALL"; then
   2297 if ${ac_cv_path_install+:} false; then :
   2298   $as_echo_n "(cached) " >&6
   2299 else
   2300   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2301 for as_dir in $PATH
   2302 do
   2303   IFS=$as_save_IFS
   2304   test -z "$as_dir" && as_dir=.
   2305     # Account for people who put trailing slashes in PATH elements.
   2306 case $as_dir/ in #((
   2307   ./ | .// | /[cC]/* | \
   2308   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2309   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2310   /usr/ucb/* ) ;;
   2311   *)
   2312     # OSF1 and SCO ODT 3.0 have their own names for install.
   2313     # Don't use installbsd from OSF since it installs stuff as root
   2314     # by default.
   2315     for ac_prog in ginstall scoinst install; do
   2316       for ac_exec_ext in '' $ac_executable_extensions; do
   2317 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2318 	  if test $ac_prog = install &&
   2319 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2320 	    # AIX install.  It has an incompatible calling convention.
   2321 	    :
   2322 	  elif test $ac_prog = install &&
   2323 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2324 	    # program-specific install script used by HP pwplus--don't use.
   2325 	    :
   2326 	  else
   2327 	    rm -rf conftest.one conftest.two conftest.dir
   2328 	    echo one > conftest.one
   2329 	    echo two > conftest.two
   2330 	    mkdir conftest.dir
   2331 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2332 	      test -s conftest.one && test -s conftest.two &&
   2333 	      test -s conftest.dir/conftest.one &&
   2334 	      test -s conftest.dir/conftest.two
   2335 	    then
   2336 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2337 	      break 3
   2338 	    fi
   2339 	  fi
   2340 	fi
   2341       done
   2342     done
   2343     ;;
   2344 esac
   2345 
   2346   done
   2347 IFS=$as_save_IFS
   2348 
   2349 rm -rf conftest.one conftest.two conftest.dir
   2350 
   2351 fi
   2352   if test "${ac_cv_path_install+set}" = set; then
   2353     INSTALL=$ac_cv_path_install
   2354   else
   2355     # As a last resort, use the slow shell script.  Don't cache a
   2356     # value for INSTALL within a source directory, because that will
   2357     # break other packages using the cache if that directory is
   2358     # removed, or if the value is a relative name.
   2359     INSTALL=$ac_install_sh
   2360   fi
   2361 fi
   2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2363 $as_echo "$INSTALL" >&6; }
   2364 
   2365 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2366 # It thinks the first close brace ends the variable substitution.
   2367 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2368 
   2369 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2370 
   2371 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2372 
   2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2374 $as_echo_n "checking whether build environment is sane... " >&6; }
   2375 # Reject unsafe characters in $srcdir or the absolute working directory
   2376 # name.  Accept space and tab only in the latter.
   2377 am_lf='
   2378 '
   2379 case `pwd` in
   2380   *[\\\"\#\$\&\'\`$am_lf]*)
   2381     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2382 esac
   2383 case $srcdir in
   2384   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2385     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2386 esac
   2387 
   2388 # Do 'set' in a subshell so we don't clobber the current shell's
   2389 # arguments.  Must try -L first in case configure is actually a
   2390 # symlink; some systems play weird games with the mod time of symlinks
   2391 # (eg FreeBSD returns the mod time of the symlink's containing
   2392 # directory).
   2393 if (
   2394    am_has_slept=no
   2395    for am_try in 1 2; do
   2396      echo "timestamp, slept: $am_has_slept" > conftest.file
   2397      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2398      if test "$*" = "X"; then
   2399 	# -L didn't work.
   2400 	set X `ls -t "$srcdir/configure" conftest.file`
   2401      fi
   2402      if test "$*" != "X $srcdir/configure conftest.file" \
   2403 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2404 
   2405 	# If neither matched, then we have a broken ls.  This can happen
   2406 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2407 	# broken ls alias from the environment.  This has actually
   2408 	# happened.  Such a system could not be considered "sane".
   2409 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2410   alias in your environment" "$LINENO" 5
   2411      fi
   2412      if test "$2" = conftest.file || test $am_try -eq 2; then
   2413        break
   2414      fi
   2415      # Just in case.
   2416      sleep 1
   2417      am_has_slept=yes
   2418    done
   2419    test "$2" = conftest.file
   2420    )
   2421 then
   2422    # Ok.
   2423    :
   2424 else
   2425    as_fn_error $? "newly created file is older than distributed files!
   2426 Check your system clock" "$LINENO" 5
   2427 fi
   2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2429 $as_echo "yes" >&6; }
   2430 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2431 # generated files are strictly newer.
   2432 am_sleep_pid=
   2433 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2434   ( sleep 1 ) &
   2435   am_sleep_pid=$!
   2436 fi
   2437 
   2438 rm -f conftest.file
   2439 
   2440 test "$program_prefix" != NONE &&
   2441   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2442 # Use a double $ so make ignores it.
   2443 test "$program_suffix" != NONE &&
   2444   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2445 # Double any \ or $.
   2446 # By default was `s,x,x', remove it if useless.
   2447 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2448 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2449 
   2450 # Expand $ac_aux_dir to an absolute path.
   2451 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2452 
   2453 if test x"${MISSING+set}" != xset; then
   2454   case $am_aux_dir in
   2455   *\ * | *\	*)
   2456     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2457   *)
   2458     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2459   esac
   2460 fi
   2461 # Use eval to expand $SHELL
   2462 if eval "$MISSING --is-lightweight"; then
   2463   am_missing_run="$MISSING "
   2464 else
   2465   am_missing_run=
   2466   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2467 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2468 fi
   2469 
   2470 if test x"${install_sh+set}" != xset; then
   2471   case $am_aux_dir in
   2472   *\ * | *\	*)
   2473     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2474   *)
   2475     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2476   esac
   2477 fi
   2478 
   2479 # Installed binaries are usually stripped using 'strip' when the user
   2480 # run "make install-strip".  However 'strip' might not be the right
   2481 # tool to use in cross-compilation environments, therefore Automake
   2482 # will honor the 'STRIP' environment variable to overrule this program.
   2483 if test "$cross_compiling" != no; then
   2484   if test -n "$ac_tool_prefix"; then
   2485   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2486 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2488 $as_echo_n "checking for $ac_word... " >&6; }
   2489 if ${ac_cv_prog_STRIP+:} false; then :
   2490   $as_echo_n "(cached) " >&6
   2491 else
   2492   if test -n "$STRIP"; then
   2493   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2494 else
   2495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2496 for as_dir in $PATH
   2497 do
   2498   IFS=$as_save_IFS
   2499   test -z "$as_dir" && as_dir=.
   2500     for ac_exec_ext in '' $ac_executable_extensions; do
   2501   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2502     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2504     break 2
   2505   fi
   2506 done
   2507   done
   2508 IFS=$as_save_IFS
   2509 
   2510 fi
   2511 fi
   2512 STRIP=$ac_cv_prog_STRIP
   2513 if test -n "$STRIP"; then
   2514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2515 $as_echo "$STRIP" >&6; }
   2516 else
   2517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2518 $as_echo "no" >&6; }
   2519 fi
   2520 
   2521 
   2522 fi
   2523 if test -z "$ac_cv_prog_STRIP"; then
   2524   ac_ct_STRIP=$STRIP
   2525   # Extract the first word of "strip", so it can be a program name with args.
   2526 set dummy strip; ac_word=$2
   2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2528 $as_echo_n "checking for $ac_word... " >&6; }
   2529 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2530   $as_echo_n "(cached) " >&6
   2531 else
   2532   if test -n "$ac_ct_STRIP"; then
   2533   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2534 else
   2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2536 for as_dir in $PATH
   2537 do
   2538   IFS=$as_save_IFS
   2539   test -z "$as_dir" && as_dir=.
   2540     for ac_exec_ext in '' $ac_executable_extensions; do
   2541   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2542     ac_cv_prog_ac_ct_STRIP="strip"
   2543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2544     break 2
   2545   fi
   2546 done
   2547   done
   2548 IFS=$as_save_IFS
   2549 
   2550 fi
   2551 fi
   2552 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2553 if test -n "$ac_ct_STRIP"; then
   2554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2555 $as_echo "$ac_ct_STRIP" >&6; }
   2556 else
   2557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2558 $as_echo "no" >&6; }
   2559 fi
   2560 
   2561   if test "x$ac_ct_STRIP" = x; then
   2562     STRIP=":"
   2563   else
   2564     case $cross_compiling:$ac_tool_warned in
   2565 yes:)
   2566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2568 ac_tool_warned=yes ;;
   2569 esac
   2570     STRIP=$ac_ct_STRIP
   2571   fi
   2572 else
   2573   STRIP="$ac_cv_prog_STRIP"
   2574 fi
   2575 
   2576 fi
   2577 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2578 
   2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2580 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2581 if test -z "$MKDIR_P"; then
   2582   if ${ac_cv_path_mkdir+:} false; then :
   2583   $as_echo_n "(cached) " >&6
   2584 else
   2585   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2586 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2587 do
   2588   IFS=$as_save_IFS
   2589   test -z "$as_dir" && as_dir=.
   2590     for ac_prog in mkdir gmkdir; do
   2591 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2592 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2593 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2594 	     'mkdir (GNU coreutils) '* | \
   2595 	     'mkdir (coreutils) '* | \
   2596 	     'mkdir (fileutils) '4.1*)
   2597 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2598 	       break 3;;
   2599 	   esac
   2600 	 done
   2601        done
   2602   done
   2603 IFS=$as_save_IFS
   2604 
   2605 fi
   2606 
   2607   test -d ./--version && rmdir ./--version
   2608   if test "${ac_cv_path_mkdir+set}" = set; then
   2609     MKDIR_P="$ac_cv_path_mkdir -p"
   2610   else
   2611     # As a last resort, use the slow shell script.  Don't cache a
   2612     # value for MKDIR_P within a source directory, because that will
   2613     # break other packages using the cache if that directory is
   2614     # removed, or if the value is a relative name.
   2615     MKDIR_P="$ac_install_sh -d"
   2616   fi
   2617 fi
   2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2619 $as_echo "$MKDIR_P" >&6; }
   2620 
   2621 for ac_prog in gawk mawk nawk awk
   2622 do
   2623   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2624 set dummy $ac_prog; ac_word=$2
   2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2626 $as_echo_n "checking for $ac_word... " >&6; }
   2627 if ${ac_cv_prog_AWK+:} false; then :
   2628   $as_echo_n "(cached) " >&6
   2629 else
   2630   if test -n "$AWK"; then
   2631   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2632 else
   2633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2634 for as_dir in $PATH
   2635 do
   2636   IFS=$as_save_IFS
   2637   test -z "$as_dir" && as_dir=.
   2638     for ac_exec_ext in '' $ac_executable_extensions; do
   2639   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2640     ac_cv_prog_AWK="$ac_prog"
   2641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2642     break 2
   2643   fi
   2644 done
   2645   done
   2646 IFS=$as_save_IFS
   2647 
   2648 fi
   2649 fi
   2650 AWK=$ac_cv_prog_AWK
   2651 if test -n "$AWK"; then
   2652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2653 $as_echo "$AWK" >&6; }
   2654 else
   2655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2656 $as_echo "no" >&6; }
   2657 fi
   2658 
   2659 
   2660   test -n "$AWK" && break
   2661 done
   2662 
   2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2664 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2665 set x ${MAKE-make}
   2666 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2667 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2668   $as_echo_n "(cached) " >&6
   2669 else
   2670   cat >conftest.make <<\_ACEOF
   2671 SHELL = /bin/sh
   2672 all:
   2673 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2674 _ACEOF
   2675 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2676 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2677   *@@@%%%=?*=@@@%%%*)
   2678     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2679   *)
   2680     eval ac_cv_prog_make_${ac_make}_set=no;;
   2681 esac
   2682 rm -f conftest.make
   2683 fi
   2684 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2686 $as_echo "yes" >&6; }
   2687   SET_MAKE=
   2688 else
   2689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2690 $as_echo "no" >&6; }
   2691   SET_MAKE="MAKE=${MAKE-make}"
   2692 fi
   2693 
   2694 rm -rf .tst 2>/dev/null
   2695 mkdir .tst 2>/dev/null
   2696 if test -d .tst; then
   2697   am__leading_dot=.
   2698 else
   2699   am__leading_dot=_
   2700 fi
   2701 rmdir .tst 2>/dev/null
   2702 
   2703 # Check whether --enable-silent-rules was given.
   2704 if test "${enable_silent_rules+set}" = set; then :
   2705   enableval=$enable_silent_rules;
   2706 fi
   2707 
   2708 case $enable_silent_rules in # (((
   2709   yes) AM_DEFAULT_VERBOSITY=0;;
   2710    no) AM_DEFAULT_VERBOSITY=1;;
   2711     *) AM_DEFAULT_VERBOSITY=1;;
   2712 esac
   2713 am_make=${MAKE-make}
   2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2715 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2716 if ${am_cv_make_support_nested_variables+:} false; then :
   2717   $as_echo_n "(cached) " >&6
   2718 else
   2719   if $as_echo 'TRUE=$(BAR$(V))
   2720 BAR0=false
   2721 BAR1=true
   2722 V=1
   2723 am__doit:
   2724 	@$(TRUE)
   2725 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2726   am_cv_make_support_nested_variables=yes
   2727 else
   2728   am_cv_make_support_nested_variables=no
   2729 fi
   2730 fi
   2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2732 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2733 if test $am_cv_make_support_nested_variables = yes; then
   2734     AM_V='$(V)'
   2735   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2736 else
   2737   AM_V=$AM_DEFAULT_VERBOSITY
   2738   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2739 fi
   2740 AM_BACKSLASH='\'
   2741 
   2742 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2743   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2744   # is not polluted with repeated "-I."
   2745   am__isrc=' -I$(srcdir)'
   2746   # test to see if srcdir already configured
   2747   if test -f $srcdir/config.status; then
   2748     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2749   fi
   2750 fi
   2751 
   2752 # test whether we have cygpath
   2753 if test -z "$CYGPATH_W"; then
   2754   if (cygpath --version) >/dev/null 2>/dev/null; then
   2755     CYGPATH_W='cygpath -w'
   2756   else
   2757     CYGPATH_W=echo
   2758   fi
   2759 fi
   2760 
   2761 
   2762 # Define the identity of the package.
   2763  PACKAGE='libXft'
   2764  VERSION='2.3.5'
   2765 
   2766 
   2767 cat >>confdefs.h <<_ACEOF
   2768 #define PACKAGE "$PACKAGE"
   2769 _ACEOF
   2770 
   2771 
   2772 cat >>confdefs.h <<_ACEOF
   2773 #define VERSION "$VERSION"
   2774 _ACEOF
   2775 
   2776 # Some tools Automake needs.
   2777 
   2778 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2779 
   2780 
   2781 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2782 
   2783 
   2784 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2785 
   2786 
   2787 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2788 
   2789 
   2790 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2791 
   2792 # For better backward compatibility.  To be removed once Automake 1.9.x
   2793 # dies out for good.  For more background, see:
   2794 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2795 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2796 mkdir_p='$(MKDIR_P)'
   2797 
   2798 # We need awk for the "check" target (and possibly the TAP driver).  The
   2799 # system "awk" is bad on some platforms.
   2800 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2801 # in the wild :-(  We should find a proper way to deprecate it ...
   2802 AMTAR='$${TAR-tar}'
   2803 
   2804 
   2805 # We'll loop over all known methods to create a tar archive until one works.
   2806 _am_tools='gnutar  pax cpio none'
   2807 
   2808 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2809 
   2810 
   2811 
   2812 
   2813 
   2814 
   2815 # POSIX will say in a future version that running "rm -f" with no argument
   2816 # is OK; and we want to be able to make that assumption in our Makefile
   2817 # recipes.  So use an aggressive probe to check that the usage we want is
   2818 # actually supported "in the wild" to an acceptable degree.
   2819 # See automake bug#10828.
   2820 # To make any issue more visible, cause the running configure to be aborted
   2821 # by default if the 'rm' program in use doesn't match our expectations; the
   2822 # user can still override this though.
   2823 if rm -f && rm -fr && rm -rf; then : OK; else
   2824   cat >&2 <<'END'
   2825 Oops!
   2826 
   2827 Your 'rm' program seems unable to run without file operands specified
   2828 on the command line, even when the '-f' option is present.  This is contrary
   2829 to the behaviour of most rm programs out there, and not conforming with
   2830 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2831 
   2832 Please tell bug-automake@gnu.org about your system, including the value
   2833 of your $PATH and any error possibly output before this message.  This
   2834 can help us improve future automake versions.
   2835 
   2836 END
   2837   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2838     echo 'Configuration will proceed anyway, since you have set the' >&2
   2839     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2840     echo >&2
   2841   else
   2842     cat >&2 <<'END'
   2843 Aborting the configuration process, to ensure you take notice of the issue.
   2844 
   2845 You can download and install GNU coreutils to get an 'rm' implementation
   2846 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   2847 
   2848 If you want to complete the configuration process using your problematic
   2849 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2850 to "yes", and re-run configure.
   2851 
   2852 END
   2853     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2854   fi
   2855 fi
   2856 
   2857 
   2858 # Initialize libtool
   2859 case `pwd` in
   2860   *\ * | *\	*)
   2861     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2862 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2863 esac
   2864 
   2865 
   2866 
   2867 macro_version='2.4.6'
   2868 macro_revision='2.4.6'
   2869 
   2870 
   2871 
   2872 
   2873 
   2874 
   2875 
   2876 
   2877 
   2878 
   2879 
   2880 
   2881 
   2882 ltmain=$ac_aux_dir/ltmain.sh
   2883 
   2884 # Make sure we can run config.sub.
   2885 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2886   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2887 
   2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2889 $as_echo_n "checking build system type... " >&6; }
   2890 if ${ac_cv_build+:} false; then :
   2891   $as_echo_n "(cached) " >&6
   2892 else
   2893   ac_build_alias=$build_alias
   2894 test "x$ac_build_alias" = x &&
   2895   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2896 test "x$ac_build_alias" = x &&
   2897   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2898 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2899   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2900 
   2901 fi
   2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2903 $as_echo "$ac_cv_build" >&6; }
   2904 case $ac_cv_build in
   2905 *-*-*) ;;
   2906 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2907 esac
   2908 build=$ac_cv_build
   2909 ac_save_IFS=$IFS; IFS='-'
   2910 set x $ac_cv_build
   2911 shift
   2912 build_cpu=$1
   2913 build_vendor=$2
   2914 shift; shift
   2915 # Remember, the first character of IFS is used to create $*,
   2916 # except with old shells:
   2917 build_os=$*
   2918 IFS=$ac_save_IFS
   2919 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2920 
   2921 
   2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2923 $as_echo_n "checking host system type... " >&6; }
   2924 if ${ac_cv_host+:} false; then :
   2925   $as_echo_n "(cached) " >&6
   2926 else
   2927   if test "x$host_alias" = x; then
   2928   ac_cv_host=$ac_cv_build
   2929 else
   2930   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2931     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2932 fi
   2933 
   2934 fi
   2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2936 $as_echo "$ac_cv_host" >&6; }
   2937 case $ac_cv_host in
   2938 *-*-*) ;;
   2939 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2940 esac
   2941 host=$ac_cv_host
   2942 ac_save_IFS=$IFS; IFS='-'
   2943 set x $ac_cv_host
   2944 shift
   2945 host_cpu=$1
   2946 host_vendor=$2
   2947 shift; shift
   2948 # Remember, the first character of IFS is used to create $*,
   2949 # except with old shells:
   2950 host_os=$*
   2951 IFS=$ac_save_IFS
   2952 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2953 
   2954 
   2955 # Backslashify metacharacters that are still active within
   2956 # double-quoted strings.
   2957 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2958 
   2959 # Same as above, but do not quote variable references.
   2960 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2961 
   2962 # Sed substitution to delay expansion of an escaped shell variable in a
   2963 # double_quote_subst'ed string.
   2964 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2965 
   2966 # Sed substitution to delay expansion of an escaped single quote.
   2967 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2968 
   2969 # Sed substitution to avoid accidental globbing in evaled expressions
   2970 no_glob_subst='s/\*/\\\*/g'
   2971 
   2972 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2973 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2974 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2975 
   2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2977 $as_echo_n "checking how to print strings... " >&6; }
   2978 # Test print first, because it will be a builtin if present.
   2979 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2980    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2981   ECHO='print -r --'
   2982 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2983   ECHO='printf %s\n'
   2984 else
   2985   # Use this function as a fallback that always works.
   2986   func_fallback_echo ()
   2987   {
   2988     eval 'cat <<_LTECHO_EOF
   2989 $1
   2990 _LTECHO_EOF'
   2991   }
   2992   ECHO='func_fallback_echo'
   2993 fi
   2994 
   2995 # func_echo_all arg...
   2996 # Invoke $ECHO with all args, space-separated.
   2997 func_echo_all ()
   2998 {
   2999     $ECHO ""
   3000 }
   3001 
   3002 case $ECHO in
   3003   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3004 $as_echo "printf" >&6; } ;;
   3005   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3006 $as_echo "print -r" >&6; } ;;
   3007   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3008 $as_echo "cat" >&6; } ;;
   3009 esac
   3010 
   3011 
   3012 
   3013 
   3014 
   3015 
   3016 
   3017 
   3018 
   3019 
   3020 
   3021 
   3022 
   3023 
   3024 DEPDIR="${am__leading_dot}deps"
   3025 
   3026 ac_config_commands="$ac_config_commands depfiles"
   3027 
   3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3029 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3030 cat > confinc.mk << 'END'
   3031 am__doit:
   3032 	@echo this is the am__doit target >confinc.out
   3033 .PHONY: am__doit
   3034 END
   3035 am__include="#"
   3036 am__quote=
   3037 # BSD make does it like this.
   3038 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3039 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3040 echo 'include confinc.mk # ignored' > confmf.GNU
   3041 _am_result=no
   3042 for s in GNU BSD; do
   3043   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3044    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3045    ac_status=$?
   3046    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3047    (exit $ac_status); }
   3048   case $?:`cat confinc.out 2>/dev/null` in #(
   3049   '0:this is the am__doit target') :
   3050     case $s in #(
   3051   BSD) :
   3052     am__include='.include' am__quote='"' ;; #(
   3053   *) :
   3054     am__include='include' am__quote='' ;;
   3055 esac ;; #(
   3056   *) :
   3057      ;;
   3058 esac
   3059   if test "$am__include" != "#"; then
   3060     _am_result="yes ($s style)"
   3061     break
   3062   fi
   3063 done
   3064 rm -f confinc.* confmf.*
   3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3066 $as_echo "${_am_result}" >&6; }
   3067 
   3068 # Check whether --enable-dependency-tracking was given.
   3069 if test "${enable_dependency_tracking+set}" = set; then :
   3070   enableval=$enable_dependency_tracking;
   3071 fi
   3072 
   3073 if test "x$enable_dependency_tracking" != xno; then
   3074   am_depcomp="$ac_aux_dir/depcomp"
   3075   AMDEPBACKSLASH='\'
   3076   am__nodep='_no'
   3077 fi
   3078  if test "x$enable_dependency_tracking" != xno; then
   3079   AMDEP_TRUE=
   3080   AMDEP_FALSE='#'
   3081 else
   3082   AMDEP_TRUE='#'
   3083   AMDEP_FALSE=
   3084 fi
   3085 
   3086 
   3087 ac_ext=c
   3088 ac_cpp='$CPP $CPPFLAGS'
   3089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3092 if test -n "$ac_tool_prefix"; then
   3093   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3094 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3096 $as_echo_n "checking for $ac_word... " >&6; }
   3097 if ${ac_cv_prog_CC+:} false; then :
   3098   $as_echo_n "(cached) " >&6
   3099 else
   3100   if test -n "$CC"; then
   3101   ac_cv_prog_CC="$CC" # Let the user override the test.
   3102 else
   3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3104 for as_dir in $PATH
   3105 do
   3106   IFS=$as_save_IFS
   3107   test -z "$as_dir" && as_dir=.
   3108     for ac_exec_ext in '' $ac_executable_extensions; do
   3109   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3110     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3112     break 2
   3113   fi
   3114 done
   3115   done
   3116 IFS=$as_save_IFS
   3117 
   3118 fi
   3119 fi
   3120 CC=$ac_cv_prog_CC
   3121 if test -n "$CC"; then
   3122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3123 $as_echo "$CC" >&6; }
   3124 else
   3125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3126 $as_echo "no" >&6; }
   3127 fi
   3128 
   3129 
   3130 fi
   3131 if test -z "$ac_cv_prog_CC"; then
   3132   ac_ct_CC=$CC
   3133   # Extract the first word of "gcc", so it can be a program name with args.
   3134 set dummy gcc; ac_word=$2
   3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3136 $as_echo_n "checking for $ac_word... " >&6; }
   3137 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3138   $as_echo_n "(cached) " >&6
   3139 else
   3140   if test -n "$ac_ct_CC"; then
   3141   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3142 else
   3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3144 for as_dir in $PATH
   3145 do
   3146   IFS=$as_save_IFS
   3147   test -z "$as_dir" && as_dir=.
   3148     for ac_exec_ext in '' $ac_executable_extensions; do
   3149   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3150     ac_cv_prog_ac_ct_CC="gcc"
   3151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3152     break 2
   3153   fi
   3154 done
   3155   done
   3156 IFS=$as_save_IFS
   3157 
   3158 fi
   3159 fi
   3160 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3161 if test -n "$ac_ct_CC"; then
   3162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3163 $as_echo "$ac_ct_CC" >&6; }
   3164 else
   3165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3166 $as_echo "no" >&6; }
   3167 fi
   3168 
   3169   if test "x$ac_ct_CC" = x; then
   3170     CC=""
   3171   else
   3172     case $cross_compiling:$ac_tool_warned in
   3173 yes:)
   3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3176 ac_tool_warned=yes ;;
   3177 esac
   3178     CC=$ac_ct_CC
   3179   fi
   3180 else
   3181   CC="$ac_cv_prog_CC"
   3182 fi
   3183 
   3184 if test -z "$CC"; then
   3185           if test -n "$ac_tool_prefix"; then
   3186     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3187 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3189 $as_echo_n "checking for $ac_word... " >&6; }
   3190 if ${ac_cv_prog_CC+:} false; then :
   3191   $as_echo_n "(cached) " >&6
   3192 else
   3193   if test -n "$CC"; then
   3194   ac_cv_prog_CC="$CC" # Let the user override the test.
   3195 else
   3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3197 for as_dir in $PATH
   3198 do
   3199   IFS=$as_save_IFS
   3200   test -z "$as_dir" && as_dir=.
   3201     for ac_exec_ext in '' $ac_executable_extensions; do
   3202   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3203     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3205     break 2
   3206   fi
   3207 done
   3208   done
   3209 IFS=$as_save_IFS
   3210 
   3211 fi
   3212 fi
   3213 CC=$ac_cv_prog_CC
   3214 if test -n "$CC"; then
   3215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3216 $as_echo "$CC" >&6; }
   3217 else
   3218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3219 $as_echo "no" >&6; }
   3220 fi
   3221 
   3222 
   3223   fi
   3224 fi
   3225 if test -z "$CC"; then
   3226   # Extract the first word of "cc", so it can be a program name with args.
   3227 set dummy cc; ac_word=$2
   3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3229 $as_echo_n "checking for $ac_word... " >&6; }
   3230 if ${ac_cv_prog_CC+:} false; then :
   3231   $as_echo_n "(cached) " >&6
   3232 else
   3233   if test -n "$CC"; then
   3234   ac_cv_prog_CC="$CC" # Let the user override the test.
   3235 else
   3236   ac_prog_rejected=no
   3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3238 for as_dir in $PATH
   3239 do
   3240   IFS=$as_save_IFS
   3241   test -z "$as_dir" && as_dir=.
   3242     for ac_exec_ext in '' $ac_executable_extensions; do
   3243   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3244     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3245        ac_prog_rejected=yes
   3246        continue
   3247      fi
   3248     ac_cv_prog_CC="cc"
   3249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3250     break 2
   3251   fi
   3252 done
   3253   done
   3254 IFS=$as_save_IFS
   3255 
   3256 if test $ac_prog_rejected = yes; then
   3257   # We found a bogon in the path, so make sure we never use it.
   3258   set dummy $ac_cv_prog_CC
   3259   shift
   3260   if test $# != 0; then
   3261     # We chose a different compiler from the bogus one.
   3262     # However, it has the same basename, so the bogon will be chosen
   3263     # first if we set CC to just the basename; use the full file name.
   3264     shift
   3265     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3266   fi
   3267 fi
   3268 fi
   3269 fi
   3270 CC=$ac_cv_prog_CC
   3271 if test -n "$CC"; then
   3272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3273 $as_echo "$CC" >&6; }
   3274 else
   3275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3276 $as_echo "no" >&6; }
   3277 fi
   3278 
   3279 
   3280 fi
   3281 if test -z "$CC"; then
   3282   if test -n "$ac_tool_prefix"; then
   3283   for ac_prog in cl.exe
   3284   do
   3285     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3288 $as_echo_n "checking for $ac_word... " >&6; }
   3289 if ${ac_cv_prog_CC+:} false; then :
   3290   $as_echo_n "(cached) " >&6
   3291 else
   3292   if test -n "$CC"; then
   3293   ac_cv_prog_CC="$CC" # Let the user override the test.
   3294 else
   3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3296 for as_dir in $PATH
   3297 do
   3298   IFS=$as_save_IFS
   3299   test -z "$as_dir" && as_dir=.
   3300     for ac_exec_ext in '' $ac_executable_extensions; do
   3301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3302     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3304     break 2
   3305   fi
   3306 done
   3307   done
   3308 IFS=$as_save_IFS
   3309 
   3310 fi
   3311 fi
   3312 CC=$ac_cv_prog_CC
   3313 if test -n "$CC"; then
   3314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3315 $as_echo "$CC" >&6; }
   3316 else
   3317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3318 $as_echo "no" >&6; }
   3319 fi
   3320 
   3321 
   3322     test -n "$CC" && break
   3323   done
   3324 fi
   3325 if test -z "$CC"; then
   3326   ac_ct_CC=$CC
   3327   for ac_prog in cl.exe
   3328 do
   3329   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3330 set dummy $ac_prog; ac_word=$2
   3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3332 $as_echo_n "checking for $ac_word... " >&6; }
   3333 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3334   $as_echo_n "(cached) " >&6
   3335 else
   3336   if test -n "$ac_ct_CC"; then
   3337   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3338 else
   3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3340 for as_dir in $PATH
   3341 do
   3342   IFS=$as_save_IFS
   3343   test -z "$as_dir" && as_dir=.
   3344     for ac_exec_ext in '' $ac_executable_extensions; do
   3345   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3346     ac_cv_prog_ac_ct_CC="$ac_prog"
   3347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3348     break 2
   3349   fi
   3350 done
   3351   done
   3352 IFS=$as_save_IFS
   3353 
   3354 fi
   3355 fi
   3356 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3357 if test -n "$ac_ct_CC"; then
   3358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3359 $as_echo "$ac_ct_CC" >&6; }
   3360 else
   3361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3362 $as_echo "no" >&6; }
   3363 fi
   3364 
   3365 
   3366   test -n "$ac_ct_CC" && break
   3367 done
   3368 
   3369   if test "x$ac_ct_CC" = x; then
   3370     CC=""
   3371   else
   3372     case $cross_compiling:$ac_tool_warned in
   3373 yes:)
   3374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3376 ac_tool_warned=yes ;;
   3377 esac
   3378     CC=$ac_ct_CC
   3379   fi
   3380 fi
   3381 
   3382 fi
   3383 
   3384 
   3385 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3387 as_fn_error $? "no acceptable C compiler found in \$PATH
   3388 See \`config.log' for more details" "$LINENO" 5; }
   3389 
   3390 # Provide some information about the compiler.
   3391 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3392 set X $ac_compile
   3393 ac_compiler=$2
   3394 for ac_option in --version -v -V -qversion; do
   3395   { { ac_try="$ac_compiler $ac_option >&5"
   3396 case "(($ac_try" in
   3397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3398   *) ac_try_echo=$ac_try;;
   3399 esac
   3400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3401 $as_echo "$ac_try_echo"; } >&5
   3402   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3403   ac_status=$?
   3404   if test -s conftest.err; then
   3405     sed '10a\
   3406 ... rest of stderr output deleted ...
   3407          10q' conftest.err >conftest.er1
   3408     cat conftest.er1 >&5
   3409   fi
   3410   rm -f conftest.er1 conftest.err
   3411   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3412   test $ac_status = 0; }
   3413 done
   3414 
   3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3416 /* end confdefs.h.  */
   3417 
   3418 int
   3419 main ()
   3420 {
   3421 
   3422   ;
   3423   return 0;
   3424 }
   3425 _ACEOF
   3426 ac_clean_files_save=$ac_clean_files
   3427 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3428 # Try to create an executable without -o first, disregard a.out.
   3429 # It will help us diagnose broken compilers, and finding out an intuition
   3430 # of exeext.
   3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3432 $as_echo_n "checking whether the C compiler works... " >&6; }
   3433 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3434 
   3435 # The possible output files:
   3436 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3437 
   3438 ac_rmfiles=
   3439 for ac_file in $ac_files
   3440 do
   3441   case $ac_file in
   3442     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3443     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3444   esac
   3445 done
   3446 rm -f $ac_rmfiles
   3447 
   3448 if { { ac_try="$ac_link_default"
   3449 case "(($ac_try" in
   3450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3451   *) ac_try_echo=$ac_try;;
   3452 esac
   3453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3454 $as_echo "$ac_try_echo"; } >&5
   3455   (eval "$ac_link_default") 2>&5
   3456   ac_status=$?
   3457   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3458   test $ac_status = 0; }; then :
   3459   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3460 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3461 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3462 # so that the user can short-circuit this test for compilers unknown to
   3463 # Autoconf.
   3464 for ac_file in $ac_files ''
   3465 do
   3466   test -f "$ac_file" || continue
   3467   case $ac_file in
   3468     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3469 	;;
   3470     [ab].out )
   3471 	# We found the default executable, but exeext='' is most
   3472 	# certainly right.
   3473 	break;;
   3474     *.* )
   3475 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3476 	then :; else
   3477 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3478 	fi
   3479 	# We set ac_cv_exeext here because the later test for it is not
   3480 	# safe: cross compilers may not add the suffix if given an `-o'
   3481 	# argument, so we may need to know it at that point already.
   3482 	# Even if this section looks crufty: it has the advantage of
   3483 	# actually working.
   3484 	break;;
   3485     * )
   3486 	break;;
   3487   esac
   3488 done
   3489 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3490 
   3491 else
   3492   ac_file=''
   3493 fi
   3494 if test -z "$ac_file"; then :
   3495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3496 $as_echo "no" >&6; }
   3497 $as_echo "$as_me: failed program was:" >&5
   3498 sed 's/^/| /' conftest.$ac_ext >&5
   3499 
   3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3502 as_fn_error 77 "C compiler cannot create executables
   3503 See \`config.log' for more details" "$LINENO" 5; }
   3504 else
   3505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3506 $as_echo "yes" >&6; }
   3507 fi
   3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3509 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3511 $as_echo "$ac_file" >&6; }
   3512 ac_exeext=$ac_cv_exeext
   3513 
   3514 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3515 ac_clean_files=$ac_clean_files_save
   3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3517 $as_echo_n "checking for suffix of executables... " >&6; }
   3518 if { { ac_try="$ac_link"
   3519 case "(($ac_try" in
   3520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3521   *) ac_try_echo=$ac_try;;
   3522 esac
   3523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3524 $as_echo "$ac_try_echo"; } >&5
   3525   (eval "$ac_link") 2>&5
   3526   ac_status=$?
   3527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3528   test $ac_status = 0; }; then :
   3529   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3530 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3531 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3532 # `rm'.
   3533 for ac_file in conftest.exe conftest conftest.*; do
   3534   test -f "$ac_file" || continue
   3535   case $ac_file in
   3536     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3537     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3538 	  break;;
   3539     * ) break;;
   3540   esac
   3541 done
   3542 else
   3543   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3545 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3546 See \`config.log' for more details" "$LINENO" 5; }
   3547 fi
   3548 rm -f conftest conftest$ac_cv_exeext
   3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3550 $as_echo "$ac_cv_exeext" >&6; }
   3551 
   3552 rm -f conftest.$ac_ext
   3553 EXEEXT=$ac_cv_exeext
   3554 ac_exeext=$EXEEXT
   3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3556 /* end confdefs.h.  */
   3557 #include <stdio.h>
   3558 int
   3559 main ()
   3560 {
   3561 FILE *f = fopen ("conftest.out", "w");
   3562  return ferror (f) || fclose (f) != 0;
   3563 
   3564   ;
   3565   return 0;
   3566 }
   3567 _ACEOF
   3568 ac_clean_files="$ac_clean_files conftest.out"
   3569 # Check that the compiler produces executables we can run.  If not, either
   3570 # the compiler is broken, or we cross compile.
   3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3572 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3573 if test "$cross_compiling" != yes; then
   3574   { { ac_try="$ac_link"
   3575 case "(($ac_try" in
   3576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3577   *) ac_try_echo=$ac_try;;
   3578 esac
   3579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3580 $as_echo "$ac_try_echo"; } >&5
   3581   (eval "$ac_link") 2>&5
   3582   ac_status=$?
   3583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3584   test $ac_status = 0; }
   3585   if { ac_try='./conftest$ac_cv_exeext'
   3586   { { case "(($ac_try" in
   3587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3588   *) ac_try_echo=$ac_try;;
   3589 esac
   3590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3591 $as_echo "$ac_try_echo"; } >&5
   3592   (eval "$ac_try") 2>&5
   3593   ac_status=$?
   3594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3595   test $ac_status = 0; }; }; then
   3596     cross_compiling=no
   3597   else
   3598     if test "$cross_compiling" = maybe; then
   3599 	cross_compiling=yes
   3600     else
   3601 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3603 as_fn_error $? "cannot run C compiled programs.
   3604 If you meant to cross compile, use \`--host'.
   3605 See \`config.log' for more details" "$LINENO" 5; }
   3606     fi
   3607   fi
   3608 fi
   3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3610 $as_echo "$cross_compiling" >&6; }
   3611 
   3612 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3613 ac_clean_files=$ac_clean_files_save
   3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3615 $as_echo_n "checking for suffix of object files... " >&6; }
   3616 if ${ac_cv_objext+:} false; then :
   3617   $as_echo_n "(cached) " >&6
   3618 else
   3619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3620 /* end confdefs.h.  */
   3621 
   3622 int
   3623 main ()
   3624 {
   3625 
   3626   ;
   3627   return 0;
   3628 }
   3629 _ACEOF
   3630 rm -f conftest.o conftest.obj
   3631 if { { ac_try="$ac_compile"
   3632 case "(($ac_try" in
   3633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3634   *) ac_try_echo=$ac_try;;
   3635 esac
   3636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3637 $as_echo "$ac_try_echo"; } >&5
   3638   (eval "$ac_compile") 2>&5
   3639   ac_status=$?
   3640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3641   test $ac_status = 0; }; then :
   3642   for ac_file in conftest.o conftest.obj conftest.*; do
   3643   test -f "$ac_file" || continue;
   3644   case $ac_file in
   3645     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3646     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3647        break;;
   3648   esac
   3649 done
   3650 else
   3651   $as_echo "$as_me: failed program was:" >&5
   3652 sed 's/^/| /' conftest.$ac_ext >&5
   3653 
   3654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3656 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3657 See \`config.log' for more details" "$LINENO" 5; }
   3658 fi
   3659 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3660 fi
   3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3662 $as_echo "$ac_cv_objext" >&6; }
   3663 OBJEXT=$ac_cv_objext
   3664 ac_objext=$OBJEXT
   3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3666 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3667 if ${ac_cv_c_compiler_gnu+:} false; then :
   3668   $as_echo_n "(cached) " >&6
   3669 else
   3670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3671 /* end confdefs.h.  */
   3672 
   3673 int
   3674 main ()
   3675 {
   3676 #ifndef __GNUC__
   3677        choke me
   3678 #endif
   3679 
   3680   ;
   3681   return 0;
   3682 }
   3683 _ACEOF
   3684 if ac_fn_c_try_compile "$LINENO"; then :
   3685   ac_compiler_gnu=yes
   3686 else
   3687   ac_compiler_gnu=no
   3688 fi
   3689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3690 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3691 
   3692 fi
   3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3694 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3695 if test $ac_compiler_gnu = yes; then
   3696   GCC=yes
   3697 else
   3698   GCC=
   3699 fi
   3700 ac_test_CFLAGS=${CFLAGS+set}
   3701 ac_save_CFLAGS=$CFLAGS
   3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3703 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3704 if ${ac_cv_prog_cc_g+:} false; then :
   3705   $as_echo_n "(cached) " >&6
   3706 else
   3707   ac_save_c_werror_flag=$ac_c_werror_flag
   3708    ac_c_werror_flag=yes
   3709    ac_cv_prog_cc_g=no
   3710    CFLAGS="-g"
   3711    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3712 /* end confdefs.h.  */
   3713 
   3714 int
   3715 main ()
   3716 {
   3717 
   3718   ;
   3719   return 0;
   3720 }
   3721 _ACEOF
   3722 if ac_fn_c_try_compile "$LINENO"; then :
   3723   ac_cv_prog_cc_g=yes
   3724 else
   3725   CFLAGS=""
   3726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3727 /* end confdefs.h.  */
   3728 
   3729 int
   3730 main ()
   3731 {
   3732 
   3733   ;
   3734   return 0;
   3735 }
   3736 _ACEOF
   3737 if ac_fn_c_try_compile "$LINENO"; then :
   3738 
   3739 else
   3740   ac_c_werror_flag=$ac_save_c_werror_flag
   3741 	 CFLAGS="-g"
   3742 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3743 /* end confdefs.h.  */
   3744 
   3745 int
   3746 main ()
   3747 {
   3748 
   3749   ;
   3750   return 0;
   3751 }
   3752 _ACEOF
   3753 if ac_fn_c_try_compile "$LINENO"; then :
   3754   ac_cv_prog_cc_g=yes
   3755 fi
   3756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3757 fi
   3758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3759 fi
   3760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3761    ac_c_werror_flag=$ac_save_c_werror_flag
   3762 fi
   3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3764 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3765 if test "$ac_test_CFLAGS" = set; then
   3766   CFLAGS=$ac_save_CFLAGS
   3767 elif test $ac_cv_prog_cc_g = yes; then
   3768   if test "$GCC" = yes; then
   3769     CFLAGS="-g -O2"
   3770   else
   3771     CFLAGS="-g"
   3772   fi
   3773 else
   3774   if test "$GCC" = yes; then
   3775     CFLAGS="-O2"
   3776   else
   3777     CFLAGS=
   3778   fi
   3779 fi
   3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3781 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3782 if ${ac_cv_prog_cc_c89+:} false; then :
   3783   $as_echo_n "(cached) " >&6
   3784 else
   3785   ac_cv_prog_cc_c89=no
   3786 ac_save_CC=$CC
   3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3788 /* end confdefs.h.  */
   3789 #include <stdarg.h>
   3790 #include <stdio.h>
   3791 struct stat;
   3792 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3793 struct buf { int x; };
   3794 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3795 static char *e (p, i)
   3796      char **p;
   3797      int i;
   3798 {
   3799   return p[i];
   3800 }
   3801 static char *f (char * (*g) (char **, int), char **p, ...)
   3802 {
   3803   char *s;
   3804   va_list v;
   3805   va_start (v,p);
   3806   s = g (p, va_arg (v,int));
   3807   va_end (v);
   3808   return s;
   3809 }
   3810 
   3811 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3812    function prototypes and stuff, but not '\xHH' hex character constants.
   3813    These don't provoke an error unfortunately, instead are silently treated
   3814    as 'x'.  The following induces an error, until -std is added to get
   3815    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3816    array size at least.  It's necessary to write '\x00'==0 to get something
   3817    that's true only with -std.  */
   3818 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3819 
   3820 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3821    inside strings and character constants.  */
   3822 #define FOO(x) 'x'
   3823 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3824 
   3825 int test (int i, double x);
   3826 struct s1 {int (*f) (int a);};
   3827 struct s2 {int (*f) (double a);};
   3828 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3829 int argc;
   3830 char **argv;
   3831 int
   3832 main ()
   3833 {
   3834 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3835   ;
   3836   return 0;
   3837 }
   3838 _ACEOF
   3839 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3840 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3841 do
   3842   CC="$ac_save_CC $ac_arg"
   3843   if ac_fn_c_try_compile "$LINENO"; then :
   3844   ac_cv_prog_cc_c89=$ac_arg
   3845 fi
   3846 rm -f core conftest.err conftest.$ac_objext
   3847   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3848 done
   3849 rm -f conftest.$ac_ext
   3850 CC=$ac_save_CC
   3851 
   3852 fi
   3853 # AC_CACHE_VAL
   3854 case "x$ac_cv_prog_cc_c89" in
   3855   x)
   3856     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3857 $as_echo "none needed" >&6; } ;;
   3858   xno)
   3859     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3860 $as_echo "unsupported" >&6; } ;;
   3861   *)
   3862     CC="$CC $ac_cv_prog_cc_c89"
   3863     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3864 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3865 esac
   3866 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3867 
   3868 fi
   3869 
   3870 ac_ext=c
   3871 ac_cpp='$CPP $CPPFLAGS'
   3872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3875 
   3876 ac_ext=c
   3877 ac_cpp='$CPP $CPPFLAGS'
   3878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3882 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3883 if ${am_cv_prog_cc_c_o+:} false; then :
   3884   $as_echo_n "(cached) " >&6
   3885 else
   3886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3887 /* end confdefs.h.  */
   3888 
   3889 int
   3890 main ()
   3891 {
   3892 
   3893   ;
   3894   return 0;
   3895 }
   3896 _ACEOF
   3897   # Make sure it works both with $CC and with simple cc.
   3898   # Following AC_PROG_CC_C_O, we do the test twice because some
   3899   # compilers refuse to overwrite an existing .o file with -o,
   3900   # though they will create one.
   3901   am_cv_prog_cc_c_o=yes
   3902   for am_i in 1 2; do
   3903     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3904    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3905    ac_status=$?
   3906    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3907    (exit $ac_status); } \
   3908          && test -f conftest2.$ac_objext; then
   3909       : OK
   3910     else
   3911       am_cv_prog_cc_c_o=no
   3912       break
   3913     fi
   3914   done
   3915   rm -f core conftest*
   3916   unset am_i
   3917 fi
   3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3919 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3920 if test "$am_cv_prog_cc_c_o" != yes; then
   3921    # Losing compiler, so override with the script.
   3922    # FIXME: It is wrong to rewrite CC.
   3923    # But if we don't then we get into trouble of one sort or another.
   3924    # A longer-term fix would be to have automake use am__CC in this case,
   3925    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3926    CC="$am_aux_dir/compile $CC"
   3927 fi
   3928 ac_ext=c
   3929 ac_cpp='$CPP $CPPFLAGS'
   3930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3933 
   3934 
   3935 depcc="$CC"   am_compiler_list=
   3936 
   3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3938 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3939 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3940   $as_echo_n "(cached) " >&6
   3941 else
   3942   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3943   # We make a subdir and do the tests there.  Otherwise we can end up
   3944   # making bogus files that we don't know about and never remove.  For
   3945   # instance it was reported that on HP-UX the gcc test will end up
   3946   # making a dummy file named 'D' -- because '-MD' means "put the output
   3947   # in D".
   3948   rm -rf conftest.dir
   3949   mkdir conftest.dir
   3950   # Copy depcomp to subdir because otherwise we won't find it if we're
   3951   # using a relative directory.
   3952   cp "$am_depcomp" conftest.dir
   3953   cd conftest.dir
   3954   # We will build objects and dependencies in a subdirectory because
   3955   # it helps to detect inapplicable dependency modes.  For instance
   3956   # both Tru64's cc and ICC support -MD to output dependencies as a
   3957   # side effect of compilation, but ICC will put the dependencies in
   3958   # the current directory while Tru64 will put them in the object
   3959   # directory.
   3960   mkdir sub
   3961 
   3962   am_cv_CC_dependencies_compiler_type=none
   3963   if test "$am_compiler_list" = ""; then
   3964      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3965   fi
   3966   am__universal=false
   3967   case " $depcc " in #(
   3968      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3969      esac
   3970 
   3971   for depmode in $am_compiler_list; do
   3972     # Setup a source with many dependencies, because some compilers
   3973     # like to wrap large dependency lists on column 80 (with \), and
   3974     # we should not choose a depcomp mode which is confused by this.
   3975     #
   3976     # We need to recreate these files for each test, as the compiler may
   3977     # overwrite some of them when testing with obscure command lines.
   3978     # This happens at least with the AIX C compiler.
   3979     : > sub/conftest.c
   3980     for i in 1 2 3 4 5 6; do
   3981       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3982       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3983       # Solaris 10 /bin/sh.
   3984       echo '/* dummy */' > sub/conftst$i.h
   3985     done
   3986     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3987 
   3988     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3989     # mode.  It turns out that the SunPro C++ compiler does not properly
   3990     # handle '-M -o', and we need to detect this.  Also, some Intel
   3991     # versions had trouble with output in subdirs.
   3992     am__obj=sub/conftest.${OBJEXT-o}
   3993     am__minus_obj="-o $am__obj"
   3994     case $depmode in
   3995     gcc)
   3996       # This depmode causes a compiler race in universal mode.
   3997       test "$am__universal" = false || continue
   3998       ;;
   3999     nosideeffect)
   4000       # After this tag, mechanisms are not by side-effect, so they'll
   4001       # only be used when explicitly requested.
   4002       if test "x$enable_dependency_tracking" = xyes; then
   4003 	continue
   4004       else
   4005 	break
   4006       fi
   4007       ;;
   4008     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4009       # This compiler won't grok '-c -o', but also, the minuso test has
   4010       # not run yet.  These depmodes are late enough in the game, and
   4011       # so weak that their functioning should not be impacted.
   4012       am__obj=conftest.${OBJEXT-o}
   4013       am__minus_obj=
   4014       ;;
   4015     none) break ;;
   4016     esac
   4017     if depmode=$depmode \
   4018        source=sub/conftest.c object=$am__obj \
   4019        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4020        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4021          >/dev/null 2>conftest.err &&
   4022        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4023        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4024        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4025        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4026       # icc doesn't choke on unknown options, it will just issue warnings
   4027       # or remarks (even with -Werror).  So we grep stderr for any message
   4028       # that says an option was ignored or not supported.
   4029       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4030       #   icc: Command line warning: ignoring option '-M'; no argument required
   4031       # The diagnosis changed in icc 8.0:
   4032       #   icc: Command line remark: option '-MP' not supported
   4033       if (grep 'ignoring option' conftest.err ||
   4034           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4035         am_cv_CC_dependencies_compiler_type=$depmode
   4036         break
   4037       fi
   4038     fi
   4039   done
   4040 
   4041   cd ..
   4042   rm -rf conftest.dir
   4043 else
   4044   am_cv_CC_dependencies_compiler_type=none
   4045 fi
   4046 
   4047 fi
   4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4049 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4050 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4051 
   4052  if
   4053   test "x$enable_dependency_tracking" != xno \
   4054   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4055   am__fastdepCC_TRUE=
   4056   am__fastdepCC_FALSE='#'
   4057 else
   4058   am__fastdepCC_TRUE='#'
   4059   am__fastdepCC_FALSE=
   4060 fi
   4061 
   4062 
   4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4064 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4065 if ${ac_cv_path_SED+:} false; then :
   4066   $as_echo_n "(cached) " >&6
   4067 else
   4068             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4069      for ac_i in 1 2 3 4 5 6 7; do
   4070        ac_script="$ac_script$as_nl$ac_script"
   4071      done
   4072      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4073      { ac_script=; unset ac_script;}
   4074      if test -z "$SED"; then
   4075   ac_path_SED_found=false
   4076   # Loop through the user's path and test for each of PROGNAME-LIST
   4077   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4078 for as_dir in $PATH
   4079 do
   4080   IFS=$as_save_IFS
   4081   test -z "$as_dir" && as_dir=.
   4082     for ac_prog in sed gsed; do
   4083     for ac_exec_ext in '' $ac_executable_extensions; do
   4084       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4085       as_fn_executable_p "$ac_path_SED" || continue
   4086 # Check for GNU ac_path_SED and select it if it is found.
   4087   # Check for GNU $ac_path_SED
   4088 case `"$ac_path_SED" --version 2>&1` in
   4089 *GNU*)
   4090   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4091 *)
   4092   ac_count=0
   4093   $as_echo_n 0123456789 >"conftest.in"
   4094   while :
   4095   do
   4096     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4097     mv "conftest.tmp" "conftest.in"
   4098     cp "conftest.in" "conftest.nl"
   4099     $as_echo '' >> "conftest.nl"
   4100     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4101     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4102     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4103     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4104       # Best one so far, save it but keep looking for a better one
   4105       ac_cv_path_SED="$ac_path_SED"
   4106       ac_path_SED_max=$ac_count
   4107     fi
   4108     # 10*(2^10) chars as input seems more than enough
   4109     test $ac_count -gt 10 && break
   4110   done
   4111   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4112 esac
   4113 
   4114       $ac_path_SED_found && break 3
   4115     done
   4116   done
   4117   done
   4118 IFS=$as_save_IFS
   4119   if test -z "$ac_cv_path_SED"; then
   4120     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4121   fi
   4122 else
   4123   ac_cv_path_SED=$SED
   4124 fi
   4125 
   4126 fi
   4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4128 $as_echo "$ac_cv_path_SED" >&6; }
   4129  SED="$ac_cv_path_SED"
   4130   rm -f conftest.sed
   4131 
   4132 test -z "$SED" && SED=sed
   4133 Xsed="$SED -e 1s/^X//"
   4134 
   4135 
   4136 
   4137 
   4138 
   4139 
   4140 
   4141 
   4142 
   4143 
   4144 
   4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4146 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4147 if ${ac_cv_path_GREP+:} false; then :
   4148   $as_echo_n "(cached) " >&6
   4149 else
   4150   if test -z "$GREP"; then
   4151   ac_path_GREP_found=false
   4152   # Loop through the user's path and test for each of PROGNAME-LIST
   4153   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4154 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4155 do
   4156   IFS=$as_save_IFS
   4157   test -z "$as_dir" && as_dir=.
   4158     for ac_prog in grep ggrep; do
   4159     for ac_exec_ext in '' $ac_executable_extensions; do
   4160       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4161       as_fn_executable_p "$ac_path_GREP" || continue
   4162 # Check for GNU ac_path_GREP and select it if it is found.
   4163   # Check for GNU $ac_path_GREP
   4164 case `"$ac_path_GREP" --version 2>&1` in
   4165 *GNU*)
   4166   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4167 *)
   4168   ac_count=0
   4169   $as_echo_n 0123456789 >"conftest.in"
   4170   while :
   4171   do
   4172     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4173     mv "conftest.tmp" "conftest.in"
   4174     cp "conftest.in" "conftest.nl"
   4175     $as_echo 'GREP' >> "conftest.nl"
   4176     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4177     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4178     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4179     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4180       # Best one so far, save it but keep looking for a better one
   4181       ac_cv_path_GREP="$ac_path_GREP"
   4182       ac_path_GREP_max=$ac_count
   4183     fi
   4184     # 10*(2^10) chars as input seems more than enough
   4185     test $ac_count -gt 10 && break
   4186   done
   4187   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4188 esac
   4189 
   4190       $ac_path_GREP_found && break 3
   4191     done
   4192   done
   4193   done
   4194 IFS=$as_save_IFS
   4195   if test -z "$ac_cv_path_GREP"; then
   4196     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4197   fi
   4198 else
   4199   ac_cv_path_GREP=$GREP
   4200 fi
   4201 
   4202 fi
   4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4204 $as_echo "$ac_cv_path_GREP" >&6; }
   4205  GREP="$ac_cv_path_GREP"
   4206 
   4207 
   4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4209 $as_echo_n "checking for egrep... " >&6; }
   4210 if ${ac_cv_path_EGREP+:} false; then :
   4211   $as_echo_n "(cached) " >&6
   4212 else
   4213   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4214    then ac_cv_path_EGREP="$GREP -E"
   4215    else
   4216      if test -z "$EGREP"; then
   4217   ac_path_EGREP_found=false
   4218   # Loop through the user's path and test for each of PROGNAME-LIST
   4219   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4220 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4221 do
   4222   IFS=$as_save_IFS
   4223   test -z "$as_dir" && as_dir=.
   4224     for ac_prog in egrep; do
   4225     for ac_exec_ext in '' $ac_executable_extensions; do
   4226       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4227       as_fn_executable_p "$ac_path_EGREP" || continue
   4228 # Check for GNU ac_path_EGREP and select it if it is found.
   4229   # Check for GNU $ac_path_EGREP
   4230 case `"$ac_path_EGREP" --version 2>&1` in
   4231 *GNU*)
   4232   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4233 *)
   4234   ac_count=0
   4235   $as_echo_n 0123456789 >"conftest.in"
   4236   while :
   4237   do
   4238     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4239     mv "conftest.tmp" "conftest.in"
   4240     cp "conftest.in" "conftest.nl"
   4241     $as_echo 'EGREP' >> "conftest.nl"
   4242     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4243     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4244     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4245     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4246       # Best one so far, save it but keep looking for a better one
   4247       ac_cv_path_EGREP="$ac_path_EGREP"
   4248       ac_path_EGREP_max=$ac_count
   4249     fi
   4250     # 10*(2^10) chars as input seems more than enough
   4251     test $ac_count -gt 10 && break
   4252   done
   4253   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4254 esac
   4255 
   4256       $ac_path_EGREP_found && break 3
   4257     done
   4258   done
   4259   done
   4260 IFS=$as_save_IFS
   4261   if test -z "$ac_cv_path_EGREP"; then
   4262     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4263   fi
   4264 else
   4265   ac_cv_path_EGREP=$EGREP
   4266 fi
   4267 
   4268    fi
   4269 fi
   4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4271 $as_echo "$ac_cv_path_EGREP" >&6; }
   4272  EGREP="$ac_cv_path_EGREP"
   4273 
   4274 
   4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4276 $as_echo_n "checking for fgrep... " >&6; }
   4277 if ${ac_cv_path_FGREP+:} false; then :
   4278   $as_echo_n "(cached) " >&6
   4279 else
   4280   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4281    then ac_cv_path_FGREP="$GREP -F"
   4282    else
   4283      if test -z "$FGREP"; then
   4284   ac_path_FGREP_found=false
   4285   # Loop through the user's path and test for each of PROGNAME-LIST
   4286   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4287 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4288 do
   4289   IFS=$as_save_IFS
   4290   test -z "$as_dir" && as_dir=.
   4291     for ac_prog in fgrep; do
   4292     for ac_exec_ext in '' $ac_executable_extensions; do
   4293       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4294       as_fn_executable_p "$ac_path_FGREP" || continue
   4295 # Check for GNU ac_path_FGREP and select it if it is found.
   4296   # Check for GNU $ac_path_FGREP
   4297 case `"$ac_path_FGREP" --version 2>&1` in
   4298 *GNU*)
   4299   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4300 *)
   4301   ac_count=0
   4302   $as_echo_n 0123456789 >"conftest.in"
   4303   while :
   4304   do
   4305     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4306     mv "conftest.tmp" "conftest.in"
   4307     cp "conftest.in" "conftest.nl"
   4308     $as_echo 'FGREP' >> "conftest.nl"
   4309     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4310     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4311     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4312     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4313       # Best one so far, save it but keep looking for a better one
   4314       ac_cv_path_FGREP="$ac_path_FGREP"
   4315       ac_path_FGREP_max=$ac_count
   4316     fi
   4317     # 10*(2^10) chars as input seems more than enough
   4318     test $ac_count -gt 10 && break
   4319   done
   4320   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4321 esac
   4322 
   4323       $ac_path_FGREP_found && break 3
   4324     done
   4325   done
   4326   done
   4327 IFS=$as_save_IFS
   4328   if test -z "$ac_cv_path_FGREP"; then
   4329     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4330   fi
   4331 else
   4332   ac_cv_path_FGREP=$FGREP
   4333 fi
   4334 
   4335    fi
   4336 fi
   4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4338 $as_echo "$ac_cv_path_FGREP" >&6; }
   4339  FGREP="$ac_cv_path_FGREP"
   4340 
   4341 
   4342 test -z "$GREP" && GREP=grep
   4343 
   4344 
   4345 
   4346 
   4347 
   4348 
   4349 
   4350 
   4351 
   4352 
   4353 
   4354 
   4355 
   4356 
   4357 
   4358 
   4359 
   4360 
   4361 
   4362 # Check whether --with-gnu-ld was given.
   4363 if test "${with_gnu_ld+set}" = set; then :
   4364   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4365 else
   4366   with_gnu_ld=no
   4367 fi
   4368 
   4369 ac_prog=ld
   4370 if test yes = "$GCC"; then
   4371   # Check if gcc -print-prog-name=ld gives a path.
   4372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4373 $as_echo_n "checking for ld used by $CC... " >&6; }
   4374   case $host in
   4375   *-*-mingw*)
   4376     # gcc leaves a trailing carriage return, which upsets mingw
   4377     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4378   *)
   4379     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4380   esac
   4381   case $ac_prog in
   4382     # Accept absolute paths.
   4383     [\\/]* | ?:[\\/]*)
   4384       re_direlt='/[^/][^/]*/\.\./'
   4385       # Canonicalize the pathname of ld
   4386       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4387       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4388 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4389       done
   4390       test -z "$LD" && LD=$ac_prog
   4391       ;;
   4392   "")
   4393     # If it fails, then pretend we aren't using GCC.
   4394     ac_prog=ld
   4395     ;;
   4396   *)
   4397     # If it is relative, then search for the first ld in PATH.
   4398     with_gnu_ld=unknown
   4399     ;;
   4400   esac
   4401 elif test yes = "$with_gnu_ld"; then
   4402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4403 $as_echo_n "checking for GNU ld... " >&6; }
   4404 else
   4405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4406 $as_echo_n "checking for non-GNU ld... " >&6; }
   4407 fi
   4408 if ${lt_cv_path_LD+:} false; then :
   4409   $as_echo_n "(cached) " >&6
   4410 else
   4411   if test -z "$LD"; then
   4412   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4413   for ac_dir in $PATH; do
   4414     IFS=$lt_save_ifs
   4415     test -z "$ac_dir" && ac_dir=.
   4416     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4417       lt_cv_path_LD=$ac_dir/$ac_prog
   4418       # Check to see if the program is GNU ld.  I'd rather use --version,
   4419       # but apparently some variants of GNU ld only accept -v.
   4420       # Break only if it was the GNU/non-GNU ld that we prefer.
   4421       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4422       *GNU* | *'with BFD'*)
   4423 	test no != "$with_gnu_ld" && break
   4424 	;;
   4425       *)
   4426 	test yes != "$with_gnu_ld" && break
   4427 	;;
   4428       esac
   4429     fi
   4430   done
   4431   IFS=$lt_save_ifs
   4432 else
   4433   lt_cv_path_LD=$LD # Let the user override the test with a path.
   4434 fi
   4435 fi
   4436 
   4437 LD=$lt_cv_path_LD
   4438 if test -n "$LD"; then
   4439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4440 $as_echo "$LD" >&6; }
   4441 else
   4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4443 $as_echo "no" >&6; }
   4444 fi
   4445 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4447 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4448 if ${lt_cv_prog_gnu_ld+:} false; then :
   4449   $as_echo_n "(cached) " >&6
   4450 else
   4451   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4452 case `$LD -v 2>&1 </dev/null` in
   4453 *GNU* | *'with BFD'*)
   4454   lt_cv_prog_gnu_ld=yes
   4455   ;;
   4456 *)
   4457   lt_cv_prog_gnu_ld=no
   4458   ;;
   4459 esac
   4460 fi
   4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4462 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4463 with_gnu_ld=$lt_cv_prog_gnu_ld
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 
   4470 
   4471 
   4472 
   4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4474 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4475 if ${lt_cv_path_NM+:} false; then :
   4476   $as_echo_n "(cached) " >&6
   4477 else
   4478   if test -n "$NM"; then
   4479   # Let the user override the test.
   4480   lt_cv_path_NM=$NM
   4481 else
   4482   lt_nm_to_check=${ac_tool_prefix}nm
   4483   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4484     lt_nm_to_check="$lt_nm_to_check nm"
   4485   fi
   4486   for lt_tmp_nm in $lt_nm_to_check; do
   4487     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4488     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4489       IFS=$lt_save_ifs
   4490       test -z "$ac_dir" && ac_dir=.
   4491       tmp_nm=$ac_dir/$lt_tmp_nm
   4492       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   4493 	# Check to see if the nm accepts a BSD-compat flag.
   4494 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   4495 	#   nm: unknown option "B" ignored
   4496 	# Tru64's nm complains that /dev/null is an invalid object file
   4497 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   4498 	case $build_os in
   4499 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   4500 	*) lt_bad_file=/dev/null ;;
   4501 	esac
   4502 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   4503 	*$lt_bad_file* | *'Invalid file or object type'*)
   4504 	  lt_cv_path_NM="$tmp_nm -B"
   4505 	  break 2
   4506 	  ;;
   4507 	*)
   4508 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4509 	  */dev/null*)
   4510 	    lt_cv_path_NM="$tmp_nm -p"
   4511 	    break 2
   4512 	    ;;
   4513 	  *)
   4514 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4515 	    continue # so that we can try to find one that supports BSD flags
   4516 	    ;;
   4517 	  esac
   4518 	  ;;
   4519 	esac
   4520       fi
   4521     done
   4522     IFS=$lt_save_ifs
   4523   done
   4524   : ${lt_cv_path_NM=no}
   4525 fi
   4526 fi
   4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4528 $as_echo "$lt_cv_path_NM" >&6; }
   4529 if test no != "$lt_cv_path_NM"; then
   4530   NM=$lt_cv_path_NM
   4531 else
   4532   # Didn't find any BSD compatible name lister, look for dumpbin.
   4533   if test -n "$DUMPBIN"; then :
   4534     # Let the user override the test.
   4535   else
   4536     if test -n "$ac_tool_prefix"; then
   4537   for ac_prog in dumpbin "link -dump"
   4538   do
   4539     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4542 $as_echo_n "checking for $ac_word... " >&6; }
   4543 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4544   $as_echo_n "(cached) " >&6
   4545 else
   4546   if test -n "$DUMPBIN"; then
   4547   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4548 else
   4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4550 for as_dir in $PATH
   4551 do
   4552   IFS=$as_save_IFS
   4553   test -z "$as_dir" && as_dir=.
   4554     for ac_exec_ext in '' $ac_executable_extensions; do
   4555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4556     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4558     break 2
   4559   fi
   4560 done
   4561   done
   4562 IFS=$as_save_IFS
   4563 
   4564 fi
   4565 fi
   4566 DUMPBIN=$ac_cv_prog_DUMPBIN
   4567 if test -n "$DUMPBIN"; then
   4568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4569 $as_echo "$DUMPBIN" >&6; }
   4570 else
   4571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4572 $as_echo "no" >&6; }
   4573 fi
   4574 
   4575 
   4576     test -n "$DUMPBIN" && break
   4577   done
   4578 fi
   4579 if test -z "$DUMPBIN"; then
   4580   ac_ct_DUMPBIN=$DUMPBIN
   4581   for ac_prog in dumpbin "link -dump"
   4582 do
   4583   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4584 set dummy $ac_prog; ac_word=$2
   4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4586 $as_echo_n "checking for $ac_word... " >&6; }
   4587 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4588   $as_echo_n "(cached) " >&6
   4589 else
   4590   if test -n "$ac_ct_DUMPBIN"; then
   4591   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4592 else
   4593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4594 for as_dir in $PATH
   4595 do
   4596   IFS=$as_save_IFS
   4597   test -z "$as_dir" && as_dir=.
   4598     for ac_exec_ext in '' $ac_executable_extensions; do
   4599   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4600     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4602     break 2
   4603   fi
   4604 done
   4605   done
   4606 IFS=$as_save_IFS
   4607 
   4608 fi
   4609 fi
   4610 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4611 if test -n "$ac_ct_DUMPBIN"; then
   4612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4613 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4614 else
   4615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4616 $as_echo "no" >&6; }
   4617 fi
   4618 
   4619 
   4620   test -n "$ac_ct_DUMPBIN" && break
   4621 done
   4622 
   4623   if test "x$ac_ct_DUMPBIN" = x; then
   4624     DUMPBIN=":"
   4625   else
   4626     case $cross_compiling:$ac_tool_warned in
   4627 yes:)
   4628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4630 ac_tool_warned=yes ;;
   4631 esac
   4632     DUMPBIN=$ac_ct_DUMPBIN
   4633   fi
   4634 fi
   4635 
   4636     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   4637     *COFF*)
   4638       DUMPBIN="$DUMPBIN -symbols -headers"
   4639       ;;
   4640     *)
   4641       DUMPBIN=:
   4642       ;;
   4643     esac
   4644   fi
   4645 
   4646   if test : != "$DUMPBIN"; then
   4647     NM=$DUMPBIN
   4648   fi
   4649 fi
   4650 test -z "$NM" && NM=nm
   4651 
   4652 
   4653 
   4654 
   4655 
   4656 
   4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4658 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4659 if ${lt_cv_nm_interface+:} false; then :
   4660   $as_echo_n "(cached) " >&6
   4661 else
   4662   lt_cv_nm_interface="BSD nm"
   4663   echo "int some_variable = 0;" > conftest.$ac_ext
   4664   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4665   (eval "$ac_compile" 2>conftest.err)
   4666   cat conftest.err >&5
   4667   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4668   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4669   cat conftest.err >&5
   4670   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4671   cat conftest.out >&5
   4672   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4673     lt_cv_nm_interface="MS dumpbin"
   4674   fi
   4675   rm -f conftest*
   4676 fi
   4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4678 $as_echo "$lt_cv_nm_interface" >&6; }
   4679 
   4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4681 $as_echo_n "checking whether ln -s works... " >&6; }
   4682 LN_S=$as_ln_s
   4683 if test "$LN_S" = "ln -s"; then
   4684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4685 $as_echo "yes" >&6; }
   4686 else
   4687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4688 $as_echo "no, using $LN_S" >&6; }
   4689 fi
   4690 
   4691 # find the maximum length of command line arguments
   4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4693 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4694 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4695   $as_echo_n "(cached) " >&6
   4696 else
   4697     i=0
   4698   teststring=ABCD
   4699 
   4700   case $build_os in
   4701   msdosdjgpp*)
   4702     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4703     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4704     # during glob expansion).  Even if it were fixed, the result of this
   4705     # check would be larger than it should be.
   4706     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4707     ;;
   4708 
   4709   gnu*)
   4710     # Under GNU Hurd, this test is not required because there is
   4711     # no limit to the length of command line arguments.
   4712     # Libtool will interpret -1 as no limit whatsoever
   4713     lt_cv_sys_max_cmd_len=-1;
   4714     ;;
   4715 
   4716   cygwin* | mingw* | cegcc*)
   4717     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4718     # about 5 minutes as the teststring grows exponentially.
   4719     # Worse, since 9x/ME are not pre-emptively multitasking,
   4720     # you end up with a "frozen" computer, even though with patience
   4721     # the test eventually succeeds (with a max line length of 256k).
   4722     # Instead, let's just punt: use the minimum linelength reported by
   4723     # all of the supported platforms: 8192 (on NT/2K/XP).
   4724     lt_cv_sys_max_cmd_len=8192;
   4725     ;;
   4726 
   4727   mint*)
   4728     # On MiNT this can take a long time and run out of memory.
   4729     lt_cv_sys_max_cmd_len=8192;
   4730     ;;
   4731 
   4732   amigaos*)
   4733     # On AmigaOS with pdksh, this test takes hours, literally.
   4734     # So we just punt and use a minimum line length of 8192.
   4735     lt_cv_sys_max_cmd_len=8192;
   4736     ;;
   4737 
   4738   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   4739     # This has been around since 386BSD, at least.  Likely further.
   4740     if test -x /sbin/sysctl; then
   4741       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4742     elif test -x /usr/sbin/sysctl; then
   4743       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4744     else
   4745       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4746     fi
   4747     # And add a safety zone
   4748     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4749     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4750     ;;
   4751 
   4752   interix*)
   4753     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4754     lt_cv_sys_max_cmd_len=196608
   4755     ;;
   4756 
   4757   os2*)
   4758     # The test takes a long time on OS/2.
   4759     lt_cv_sys_max_cmd_len=8192
   4760     ;;
   4761 
   4762   osf*)
   4763     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4764     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4765     # nice to cause kernel panics so lets avoid the loop below.
   4766     # First set a reasonable default.
   4767     lt_cv_sys_max_cmd_len=16384
   4768     #
   4769     if test -x /sbin/sysconfig; then
   4770       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4771         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4772       esac
   4773     fi
   4774     ;;
   4775   sco3.2v5*)
   4776     lt_cv_sys_max_cmd_len=102400
   4777     ;;
   4778   sysv5* | sco5v6* | sysv4.2uw2*)
   4779     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4780     if test -n "$kargmax"; then
   4781       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4782     else
   4783       lt_cv_sys_max_cmd_len=32768
   4784     fi
   4785     ;;
   4786   *)
   4787     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4788     if test -n "$lt_cv_sys_max_cmd_len" && \
   4789        test undefined != "$lt_cv_sys_max_cmd_len"; then
   4790       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4791       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4792     else
   4793       # Make teststring a little bigger before we do anything with it.
   4794       # a 1K string should be a reasonable start.
   4795       for i in 1 2 3 4 5 6 7 8; do
   4796         teststring=$teststring$teststring
   4797       done
   4798       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4799       # If test is not a shell built-in, we'll probably end up computing a
   4800       # maximum length that is only half of the actual maximum length, but
   4801       # we can't tell.
   4802       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   4803 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4804 	      test 17 != "$i" # 1/2 MB should be enough
   4805       do
   4806         i=`expr $i + 1`
   4807         teststring=$teststring$teststring
   4808       done
   4809       # Only check the string length outside the loop.
   4810       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4811       teststring=
   4812       # Add a significant safety factor because C++ compilers can tack on
   4813       # massive amounts of additional arguments before passing them to the
   4814       # linker.  It appears as though 1/2 is a usable value.
   4815       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4816     fi
   4817     ;;
   4818   esac
   4819 
   4820 fi
   4821 
   4822 if test -n "$lt_cv_sys_max_cmd_len"; then
   4823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4824 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4825 else
   4826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4827 $as_echo "none" >&6; }
   4828 fi
   4829 max_cmd_len=$lt_cv_sys_max_cmd_len
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 : ${CP="cp -f"}
   4837 : ${MV="mv -f"}
   4838 : ${RM="rm -f"}
   4839 
   4840 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4841   lt_unset=unset
   4842 else
   4843   lt_unset=false
   4844 fi
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 # test EBCDIC or ASCII
   4851 case `echo X|tr X '\101'` in
   4852  A) # ASCII based system
   4853     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4854   lt_SP2NL='tr \040 \012'
   4855   lt_NL2SP='tr \015\012 \040\040'
   4856   ;;
   4857  *) # EBCDIC based system
   4858   lt_SP2NL='tr \100 \n'
   4859   lt_NL2SP='tr \r\n \100\100'
   4860   ;;
   4861 esac
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4872 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4873 if ${lt_cv_to_host_file_cmd+:} false; then :
   4874   $as_echo_n "(cached) " >&6
   4875 else
   4876   case $host in
   4877   *-*-mingw* )
   4878     case $build in
   4879       *-*-mingw* ) # actually msys
   4880         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4881         ;;
   4882       *-*-cygwin* )
   4883         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4884         ;;
   4885       * ) # otherwise, assume *nix
   4886         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4887         ;;
   4888     esac
   4889     ;;
   4890   *-*-cygwin* )
   4891     case $build in
   4892       *-*-mingw* ) # actually msys
   4893         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4894         ;;
   4895       *-*-cygwin* )
   4896         lt_cv_to_host_file_cmd=func_convert_file_noop
   4897         ;;
   4898       * ) # otherwise, assume *nix
   4899         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4900         ;;
   4901     esac
   4902     ;;
   4903   * ) # unhandled hosts (and "normal" native builds)
   4904     lt_cv_to_host_file_cmd=func_convert_file_noop
   4905     ;;
   4906 esac
   4907 
   4908 fi
   4909 
   4910 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4912 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4913 
   4914 
   4915 
   4916 
   4917 
   4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4919 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4920 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4921   $as_echo_n "(cached) " >&6
   4922 else
   4923   #assume ordinary cross tools, or native build.
   4924 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4925 case $host in
   4926   *-*-mingw* )
   4927     case $build in
   4928       *-*-mingw* ) # actually msys
   4929         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4930         ;;
   4931     esac
   4932     ;;
   4933 esac
   4934 
   4935 fi
   4936 
   4937 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4939 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4946 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4947 if ${lt_cv_ld_reload_flag+:} false; then :
   4948   $as_echo_n "(cached) " >&6
   4949 else
   4950   lt_cv_ld_reload_flag='-r'
   4951 fi
   4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4953 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4954 reload_flag=$lt_cv_ld_reload_flag
   4955 case $reload_flag in
   4956 "" | " "*) ;;
   4957 *) reload_flag=" $reload_flag" ;;
   4958 esac
   4959 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4960 case $host_os in
   4961   cygwin* | mingw* | pw32* | cegcc*)
   4962     if test yes != "$GCC"; then
   4963       reload_cmds=false
   4964     fi
   4965     ;;
   4966   darwin*)
   4967     if test yes = "$GCC"; then
   4968       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   4969     else
   4970       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4971     fi
   4972     ;;
   4973 esac
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 if test -n "$ac_tool_prefix"; then
   4984   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4985 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4987 $as_echo_n "checking for $ac_word... " >&6; }
   4988 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4989   $as_echo_n "(cached) " >&6
   4990 else
   4991   if test -n "$OBJDUMP"; then
   4992   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4993 else
   4994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4995 for as_dir in $PATH
   4996 do
   4997   IFS=$as_save_IFS
   4998   test -z "$as_dir" && as_dir=.
   4999     for ac_exec_ext in '' $ac_executable_extensions; do
   5000   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5001     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5003     break 2
   5004   fi
   5005 done
   5006   done
   5007 IFS=$as_save_IFS
   5008 
   5009 fi
   5010 fi
   5011 OBJDUMP=$ac_cv_prog_OBJDUMP
   5012 if test -n "$OBJDUMP"; then
   5013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5014 $as_echo "$OBJDUMP" >&6; }
   5015 else
   5016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5017 $as_echo "no" >&6; }
   5018 fi
   5019 
   5020 
   5021 fi
   5022 if test -z "$ac_cv_prog_OBJDUMP"; then
   5023   ac_ct_OBJDUMP=$OBJDUMP
   5024   # Extract the first word of "objdump", so it can be a program name with args.
   5025 set dummy objdump; ac_word=$2
   5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5027 $as_echo_n "checking for $ac_word... " >&6; }
   5028 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5029   $as_echo_n "(cached) " >&6
   5030 else
   5031   if test -n "$ac_ct_OBJDUMP"; then
   5032   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5033 else
   5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5035 for as_dir in $PATH
   5036 do
   5037   IFS=$as_save_IFS
   5038   test -z "$as_dir" && as_dir=.
   5039     for ac_exec_ext in '' $ac_executable_extensions; do
   5040   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5041     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5043     break 2
   5044   fi
   5045 done
   5046   done
   5047 IFS=$as_save_IFS
   5048 
   5049 fi
   5050 fi
   5051 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5052 if test -n "$ac_ct_OBJDUMP"; then
   5053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5054 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5055 else
   5056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5057 $as_echo "no" >&6; }
   5058 fi
   5059 
   5060   if test "x$ac_ct_OBJDUMP" = x; then
   5061     OBJDUMP="false"
   5062   else
   5063     case $cross_compiling:$ac_tool_warned in
   5064 yes:)
   5065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5067 ac_tool_warned=yes ;;
   5068 esac
   5069     OBJDUMP=$ac_ct_OBJDUMP
   5070   fi
   5071 else
   5072   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5073 fi
   5074 
   5075 test -z "$OBJDUMP" && OBJDUMP=objdump
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5086 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5087 if ${lt_cv_deplibs_check_method+:} false; then :
   5088   $as_echo_n "(cached) " >&6
   5089 else
   5090   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5091 lt_cv_file_magic_test_file=
   5092 lt_cv_deplibs_check_method='unknown'
   5093 # Need to set the preceding variable on all platforms that support
   5094 # interlibrary dependencies.
   5095 # 'none' -- dependencies not supported.
   5096 # 'unknown' -- same as none, but documents that we really don't know.
   5097 # 'pass_all' -- all dependencies passed with no checks.
   5098 # 'test_compile' -- check by making test program.
   5099 # 'file_magic [[regex]]' -- check by looking for files in library path
   5100 # that responds to the $file_magic_cmd with a given extended regex.
   5101 # If you have 'file' or equivalent on your system and you're not sure
   5102 # whether 'pass_all' will *always* work, you probably want this one.
   5103 
   5104 case $host_os in
   5105 aix[4-9]*)
   5106   lt_cv_deplibs_check_method=pass_all
   5107   ;;
   5108 
   5109 beos*)
   5110   lt_cv_deplibs_check_method=pass_all
   5111   ;;
   5112 
   5113 bsdi[45]*)
   5114   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5115   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5116   lt_cv_file_magic_test_file=/shlib/libc.so
   5117   ;;
   5118 
   5119 cygwin*)
   5120   # func_win32_libid is a shell function defined in ltmain.sh
   5121   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5122   lt_cv_file_magic_cmd='func_win32_libid'
   5123   ;;
   5124 
   5125 mingw* | pw32*)
   5126   # Base MSYS/MinGW do not provide the 'file' command needed by
   5127   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5128   # unless we find 'file', for example because we are cross-compiling.
   5129   if ( file / ) >/dev/null 2>&1; then
   5130     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5131     lt_cv_file_magic_cmd='func_win32_libid'
   5132   else
   5133     # Keep this pattern in sync with the one in func_win32_libid.
   5134     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5135     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5136   fi
   5137   ;;
   5138 
   5139 cegcc*)
   5140   # use the weaker test based on 'objdump'. See mingw*.
   5141   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5142   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5143   ;;
   5144 
   5145 darwin* | rhapsody*)
   5146   lt_cv_deplibs_check_method=pass_all
   5147   ;;
   5148 
   5149 freebsd* | dragonfly*)
   5150   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5151     case $host_cpu in
   5152     i*86 )
   5153       # Not sure whether the presence of OpenBSD here was a mistake.
   5154       # Let's accept both of them until this is cleared up.
   5155       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5156       lt_cv_file_magic_cmd=/usr/bin/file
   5157       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5158       ;;
   5159     esac
   5160   else
   5161     lt_cv_deplibs_check_method=pass_all
   5162   fi
   5163   ;;
   5164 
   5165 haiku*)
   5166   lt_cv_deplibs_check_method=pass_all
   5167   ;;
   5168 
   5169 hpux10.20* | hpux11*)
   5170   lt_cv_file_magic_cmd=/usr/bin/file
   5171   case $host_cpu in
   5172   ia64*)
   5173     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5174     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5175     ;;
   5176   hppa*64*)
   5177     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]'
   5178     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5179     ;;
   5180   *)
   5181     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5182     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5183     ;;
   5184   esac
   5185   ;;
   5186 
   5187 interix[3-9]*)
   5188   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5189   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5190   ;;
   5191 
   5192 irix5* | irix6* | nonstopux*)
   5193   case $LD in
   5194   *-32|*"-32 ") libmagic=32-bit;;
   5195   *-n32|*"-n32 ") libmagic=N32;;
   5196   *-64|*"-64 ") libmagic=64-bit;;
   5197   *) libmagic=never-match;;
   5198   esac
   5199   lt_cv_deplibs_check_method=pass_all
   5200   ;;
   5201 
   5202 # This must be glibc/ELF.
   5203 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5204   lt_cv_deplibs_check_method=pass_all
   5205   ;;
   5206 
   5207 netbsd* | netbsdelf*-gnu)
   5208   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5209     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5210   else
   5211     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5212   fi
   5213   ;;
   5214 
   5215 newos6*)
   5216   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5217   lt_cv_file_magic_cmd=/usr/bin/file
   5218   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5219   ;;
   5220 
   5221 *nto* | *qnx*)
   5222   lt_cv_deplibs_check_method=pass_all
   5223   ;;
   5224 
   5225 openbsd* | bitrig*)
   5226   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5227     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5228   else
   5229     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5230   fi
   5231   ;;
   5232 
   5233 osf3* | osf4* | osf5*)
   5234   lt_cv_deplibs_check_method=pass_all
   5235   ;;
   5236 
   5237 rdos*)
   5238   lt_cv_deplibs_check_method=pass_all
   5239   ;;
   5240 
   5241 solaris*)
   5242   lt_cv_deplibs_check_method=pass_all
   5243   ;;
   5244 
   5245 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5246   lt_cv_deplibs_check_method=pass_all
   5247   ;;
   5248 
   5249 sysv4 | sysv4.3*)
   5250   case $host_vendor in
   5251   motorola)
   5252     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]'
   5253     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5254     ;;
   5255   ncr)
   5256     lt_cv_deplibs_check_method=pass_all
   5257     ;;
   5258   sequent)
   5259     lt_cv_file_magic_cmd='/bin/file'
   5260     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5261     ;;
   5262   sni)
   5263     lt_cv_file_magic_cmd='/bin/file'
   5264     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5265     lt_cv_file_magic_test_file=/lib/libc.so
   5266     ;;
   5267   siemens)
   5268     lt_cv_deplibs_check_method=pass_all
   5269     ;;
   5270   pc)
   5271     lt_cv_deplibs_check_method=pass_all
   5272     ;;
   5273   esac
   5274   ;;
   5275 
   5276 tpf*)
   5277   lt_cv_deplibs_check_method=pass_all
   5278   ;;
   5279 os2*)
   5280   lt_cv_deplibs_check_method=pass_all
   5281   ;;
   5282 esac
   5283 
   5284 fi
   5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5286 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5287 
   5288 file_magic_glob=
   5289 want_nocaseglob=no
   5290 if test "$build" = "$host"; then
   5291   case $host_os in
   5292   mingw* | pw32*)
   5293     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5294       want_nocaseglob=yes
   5295     else
   5296       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5297     fi
   5298     ;;
   5299   esac
   5300 fi
   5301 
   5302 file_magic_cmd=$lt_cv_file_magic_cmd
   5303 deplibs_check_method=$lt_cv_deplibs_check_method
   5304 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 if test -n "$ac_tool_prefix"; then
   5328   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5329 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5331 $as_echo_n "checking for $ac_word... " >&6; }
   5332 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5333   $as_echo_n "(cached) " >&6
   5334 else
   5335   if test -n "$DLLTOOL"; then
   5336   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5337 else
   5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5339 for as_dir in $PATH
   5340 do
   5341   IFS=$as_save_IFS
   5342   test -z "$as_dir" && as_dir=.
   5343     for ac_exec_ext in '' $ac_executable_extensions; do
   5344   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5345     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5347     break 2
   5348   fi
   5349 done
   5350   done
   5351 IFS=$as_save_IFS
   5352 
   5353 fi
   5354 fi
   5355 DLLTOOL=$ac_cv_prog_DLLTOOL
   5356 if test -n "$DLLTOOL"; then
   5357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5358 $as_echo "$DLLTOOL" >&6; }
   5359 else
   5360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5361 $as_echo "no" >&6; }
   5362 fi
   5363 
   5364 
   5365 fi
   5366 if test -z "$ac_cv_prog_DLLTOOL"; then
   5367   ac_ct_DLLTOOL=$DLLTOOL
   5368   # Extract the first word of "dlltool", so it can be a program name with args.
   5369 set dummy dlltool; ac_word=$2
   5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5371 $as_echo_n "checking for $ac_word... " >&6; }
   5372 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5373   $as_echo_n "(cached) " >&6
   5374 else
   5375   if test -n "$ac_ct_DLLTOOL"; then
   5376   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5377 else
   5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5379 for as_dir in $PATH
   5380 do
   5381   IFS=$as_save_IFS
   5382   test -z "$as_dir" && as_dir=.
   5383     for ac_exec_ext in '' $ac_executable_extensions; do
   5384   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5385     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5387     break 2
   5388   fi
   5389 done
   5390   done
   5391 IFS=$as_save_IFS
   5392 
   5393 fi
   5394 fi
   5395 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5396 if test -n "$ac_ct_DLLTOOL"; then
   5397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5398 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5399 else
   5400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5401 $as_echo "no" >&6; }
   5402 fi
   5403 
   5404   if test "x$ac_ct_DLLTOOL" = x; then
   5405     DLLTOOL="false"
   5406   else
   5407     case $cross_compiling:$ac_tool_warned in
   5408 yes:)
   5409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5411 ac_tool_warned=yes ;;
   5412 esac
   5413     DLLTOOL=$ac_ct_DLLTOOL
   5414   fi
   5415 else
   5416   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5417 fi
   5418 
   5419 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5431 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5432 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5433   $as_echo_n "(cached) " >&6
   5434 else
   5435   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5436 
   5437 case $host_os in
   5438 cygwin* | mingw* | pw32* | cegcc*)
   5439   # two different shell functions defined in ltmain.sh;
   5440   # decide which one to use based on capabilities of $DLLTOOL
   5441   case `$DLLTOOL --help 2>&1` in
   5442   *--identify-strict*)
   5443     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5444     ;;
   5445   *)
   5446     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5447     ;;
   5448   esac
   5449   ;;
   5450 *)
   5451   # fallback: assume linklib IS sharedlib
   5452   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   5453   ;;
   5454 esac
   5455 
   5456 fi
   5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5458 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5459 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5460 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 if test -n "$ac_tool_prefix"; then
   5470   for ac_prog in ar
   5471   do
   5472     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5473 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5475 $as_echo_n "checking for $ac_word... " >&6; }
   5476 if ${ac_cv_prog_AR+:} false; then :
   5477   $as_echo_n "(cached) " >&6
   5478 else
   5479   if test -n "$AR"; then
   5480   ac_cv_prog_AR="$AR" # Let the user override the test.
   5481 else
   5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5483 for as_dir in $PATH
   5484 do
   5485   IFS=$as_save_IFS
   5486   test -z "$as_dir" && as_dir=.
   5487     for ac_exec_ext in '' $ac_executable_extensions; do
   5488   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5489     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5491     break 2
   5492   fi
   5493 done
   5494   done
   5495 IFS=$as_save_IFS
   5496 
   5497 fi
   5498 fi
   5499 AR=$ac_cv_prog_AR
   5500 if test -n "$AR"; then
   5501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5502 $as_echo "$AR" >&6; }
   5503 else
   5504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5505 $as_echo "no" >&6; }
   5506 fi
   5507 
   5508 
   5509     test -n "$AR" && break
   5510   done
   5511 fi
   5512 if test -z "$AR"; then
   5513   ac_ct_AR=$AR
   5514   for ac_prog in ar
   5515 do
   5516   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5517 set dummy $ac_prog; ac_word=$2
   5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5519 $as_echo_n "checking for $ac_word... " >&6; }
   5520 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5521   $as_echo_n "(cached) " >&6
   5522 else
   5523   if test -n "$ac_ct_AR"; then
   5524   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5525 else
   5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5527 for as_dir in $PATH
   5528 do
   5529   IFS=$as_save_IFS
   5530   test -z "$as_dir" && as_dir=.
   5531     for ac_exec_ext in '' $ac_executable_extensions; do
   5532   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5533     ac_cv_prog_ac_ct_AR="$ac_prog"
   5534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5535     break 2
   5536   fi
   5537 done
   5538   done
   5539 IFS=$as_save_IFS
   5540 
   5541 fi
   5542 fi
   5543 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5544 if test -n "$ac_ct_AR"; then
   5545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5546 $as_echo "$ac_ct_AR" >&6; }
   5547 else
   5548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5549 $as_echo "no" >&6; }
   5550 fi
   5551 
   5552 
   5553   test -n "$ac_ct_AR" && break
   5554 done
   5555 
   5556   if test "x$ac_ct_AR" = x; then
   5557     AR="false"
   5558   else
   5559     case $cross_compiling:$ac_tool_warned in
   5560 yes:)
   5561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5563 ac_tool_warned=yes ;;
   5564 esac
   5565     AR=$ac_ct_AR
   5566   fi
   5567 fi
   5568 
   5569 : ${AR=ar}
   5570 : ${AR_FLAGS=cru}
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5583 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5584 if ${lt_cv_ar_at_file+:} false; then :
   5585   $as_echo_n "(cached) " >&6
   5586 else
   5587   lt_cv_ar_at_file=no
   5588    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5589 /* end confdefs.h.  */
   5590 
   5591 int
   5592 main ()
   5593 {
   5594 
   5595   ;
   5596   return 0;
   5597 }
   5598 _ACEOF
   5599 if ac_fn_c_try_compile "$LINENO"; then :
   5600   echo conftest.$ac_objext > conftest.lst
   5601       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5602       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5603   (eval $lt_ar_try) 2>&5
   5604   ac_status=$?
   5605   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5606   test $ac_status = 0; }
   5607       if test 0 -eq "$ac_status"; then
   5608 	# Ensure the archiver fails upon bogus file names.
   5609 	rm -f conftest.$ac_objext libconftest.a
   5610 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5611   (eval $lt_ar_try) 2>&5
   5612   ac_status=$?
   5613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5614   test $ac_status = 0; }
   5615 	if test 0 -ne "$ac_status"; then
   5616           lt_cv_ar_at_file=@
   5617         fi
   5618       fi
   5619       rm -f conftest.* libconftest.a
   5620 
   5621 fi
   5622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5623 
   5624 fi
   5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5626 $as_echo "$lt_cv_ar_at_file" >&6; }
   5627 
   5628 if test no = "$lt_cv_ar_at_file"; then
   5629   archiver_list_spec=
   5630 else
   5631   archiver_list_spec=$lt_cv_ar_at_file
   5632 fi
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 if test -n "$ac_tool_prefix"; then
   5641   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5642 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5644 $as_echo_n "checking for $ac_word... " >&6; }
   5645 if ${ac_cv_prog_STRIP+:} false; then :
   5646   $as_echo_n "(cached) " >&6
   5647 else
   5648   if test -n "$STRIP"; then
   5649   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5650 else
   5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5652 for as_dir in $PATH
   5653 do
   5654   IFS=$as_save_IFS
   5655   test -z "$as_dir" && as_dir=.
   5656     for ac_exec_ext in '' $ac_executable_extensions; do
   5657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5658     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5660     break 2
   5661   fi
   5662 done
   5663   done
   5664 IFS=$as_save_IFS
   5665 
   5666 fi
   5667 fi
   5668 STRIP=$ac_cv_prog_STRIP
   5669 if test -n "$STRIP"; then
   5670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5671 $as_echo "$STRIP" >&6; }
   5672 else
   5673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5674 $as_echo "no" >&6; }
   5675 fi
   5676 
   5677 
   5678 fi
   5679 if test -z "$ac_cv_prog_STRIP"; then
   5680   ac_ct_STRIP=$STRIP
   5681   # Extract the first word of "strip", so it can be a program name with args.
   5682 set dummy strip; ac_word=$2
   5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5684 $as_echo_n "checking for $ac_word... " >&6; }
   5685 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5686   $as_echo_n "(cached) " >&6
   5687 else
   5688   if test -n "$ac_ct_STRIP"; then
   5689   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5690 else
   5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5692 for as_dir in $PATH
   5693 do
   5694   IFS=$as_save_IFS
   5695   test -z "$as_dir" && as_dir=.
   5696     for ac_exec_ext in '' $ac_executable_extensions; do
   5697   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5698     ac_cv_prog_ac_ct_STRIP="strip"
   5699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5700     break 2
   5701   fi
   5702 done
   5703   done
   5704 IFS=$as_save_IFS
   5705 
   5706 fi
   5707 fi
   5708 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5709 if test -n "$ac_ct_STRIP"; then
   5710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5711 $as_echo "$ac_ct_STRIP" >&6; }
   5712 else
   5713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5714 $as_echo "no" >&6; }
   5715 fi
   5716 
   5717   if test "x$ac_ct_STRIP" = x; then
   5718     STRIP=":"
   5719   else
   5720     case $cross_compiling:$ac_tool_warned in
   5721 yes:)
   5722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5724 ac_tool_warned=yes ;;
   5725 esac
   5726     STRIP=$ac_ct_STRIP
   5727   fi
   5728 else
   5729   STRIP="$ac_cv_prog_STRIP"
   5730 fi
   5731 
   5732 test -z "$STRIP" && STRIP=:
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 if test -n "$ac_tool_prefix"; then
   5740   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5741 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5743 $as_echo_n "checking for $ac_word... " >&6; }
   5744 if ${ac_cv_prog_RANLIB+:} false; then :
   5745   $as_echo_n "(cached) " >&6
   5746 else
   5747   if test -n "$RANLIB"; then
   5748   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5749 else
   5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5751 for as_dir in $PATH
   5752 do
   5753   IFS=$as_save_IFS
   5754   test -z "$as_dir" && as_dir=.
   5755     for ac_exec_ext in '' $ac_executable_extensions; do
   5756   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5757     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5759     break 2
   5760   fi
   5761 done
   5762   done
   5763 IFS=$as_save_IFS
   5764 
   5765 fi
   5766 fi
   5767 RANLIB=$ac_cv_prog_RANLIB
   5768 if test -n "$RANLIB"; then
   5769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5770 $as_echo "$RANLIB" >&6; }
   5771 else
   5772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5773 $as_echo "no" >&6; }
   5774 fi
   5775 
   5776 
   5777 fi
   5778 if test -z "$ac_cv_prog_RANLIB"; then
   5779   ac_ct_RANLIB=$RANLIB
   5780   # Extract the first word of "ranlib", so it can be a program name with args.
   5781 set dummy ranlib; ac_word=$2
   5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5783 $as_echo_n "checking for $ac_word... " >&6; }
   5784 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5785   $as_echo_n "(cached) " >&6
   5786 else
   5787   if test -n "$ac_ct_RANLIB"; then
   5788   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5789 else
   5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5791 for as_dir in $PATH
   5792 do
   5793   IFS=$as_save_IFS
   5794   test -z "$as_dir" && as_dir=.
   5795     for ac_exec_ext in '' $ac_executable_extensions; do
   5796   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5797     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5799     break 2
   5800   fi
   5801 done
   5802   done
   5803 IFS=$as_save_IFS
   5804 
   5805 fi
   5806 fi
   5807 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5808 if test -n "$ac_ct_RANLIB"; then
   5809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5810 $as_echo "$ac_ct_RANLIB" >&6; }
   5811 else
   5812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5813 $as_echo "no" >&6; }
   5814 fi
   5815 
   5816   if test "x$ac_ct_RANLIB" = x; then
   5817     RANLIB=":"
   5818   else
   5819     case $cross_compiling:$ac_tool_warned in
   5820 yes:)
   5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5823 ac_tool_warned=yes ;;
   5824 esac
   5825     RANLIB=$ac_ct_RANLIB
   5826   fi
   5827 else
   5828   RANLIB="$ac_cv_prog_RANLIB"
   5829 fi
   5830 
   5831 test -z "$RANLIB" && RANLIB=:
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 # Determine commands to create old-style static archives.
   5839 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5840 old_postinstall_cmds='chmod 644 $oldlib'
   5841 old_postuninstall_cmds=
   5842 
   5843 if test -n "$RANLIB"; then
   5844   case $host_os in
   5845   bitrig* | openbsd*)
   5846     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5847     ;;
   5848   *)
   5849     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5850     ;;
   5851   esac
   5852   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5853 fi
   5854 
   5855 case $host_os in
   5856   darwin*)
   5857     lock_old_archive_extraction=yes ;;
   5858   *)
   5859     lock_old_archive_extraction=no ;;
   5860 esac
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 # If no C compiler was specified, use CC.
   5901 LTCC=${LTCC-"$CC"}
   5902 
   5903 # If no C compiler flags were specified, use CFLAGS.
   5904 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5905 
   5906 # Allow CC to be a program name with arguments.
   5907 compiler=$CC
   5908 
   5909 
   5910 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5912 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5913 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5914   $as_echo_n "(cached) " >&6
   5915 else
   5916 
   5917 # These are sane defaults that work on at least a few old systems.
   5918 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5919 
   5920 # Character class describing NM global symbol codes.
   5921 symcode='[BCDEGRST]'
   5922 
   5923 # Regexp to match symbols that can be accessed directly from C.
   5924 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5925 
   5926 # Define system-specific variables.
   5927 case $host_os in
   5928 aix*)
   5929   symcode='[BCDT]'
   5930   ;;
   5931 cygwin* | mingw* | pw32* | cegcc*)
   5932   symcode='[ABCDGISTW]'
   5933   ;;
   5934 hpux*)
   5935   if test ia64 = "$host_cpu"; then
   5936     symcode='[ABCDEGRST]'
   5937   fi
   5938   ;;
   5939 irix* | nonstopux*)
   5940   symcode='[BCDEGRST]'
   5941   ;;
   5942 osf*)
   5943   symcode='[BCDEGQRST]'
   5944   ;;
   5945 solaris*)
   5946   symcode='[BDRT]'
   5947   ;;
   5948 sco3.2v5*)
   5949   symcode='[DT]'
   5950   ;;
   5951 sysv4.2uw2*)
   5952   symcode='[DT]'
   5953   ;;
   5954 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5955   symcode='[ABDT]'
   5956   ;;
   5957 sysv4)
   5958   symcode='[DFNSTU]'
   5959   ;;
   5960 esac
   5961 
   5962 # If we're using GNU nm, then use its standard symbol codes.
   5963 case `$NM -V 2>&1` in
   5964 *GNU* | *'with BFD'*)
   5965   symcode='[ABCDGIRSTW]' ;;
   5966 esac
   5967 
   5968 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5969   # Gets list of data symbols to import.
   5970   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   5971   # Adjust the below global symbol transforms to fixup imported variables.
   5972   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   5973   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   5974   lt_c_name_lib_hook="\
   5975   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   5976   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   5977 else
   5978   # Disable hooks by default.
   5979   lt_cv_sys_global_symbol_to_import=
   5980   lt_cdecl_hook=
   5981   lt_c_name_hook=
   5982   lt_c_name_lib_hook=
   5983 fi
   5984 
   5985 # Transform an extracted symbol line into a proper C declaration.
   5986 # Some systems (esp. on ia64) link data and code symbols differently,
   5987 # so use this general approach.
   5988 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   5989 $lt_cdecl_hook\
   5990 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   5991 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   5992 
   5993 # Transform an extracted symbol line into symbol name and symbol address
   5994 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   5995 $lt_c_name_hook\
   5996 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   5997 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   5998 
   5999 # Transform an extracted symbol line into symbol name with lib prefix and
   6000 # symbol address.
   6001 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6002 $lt_c_name_lib_hook\
   6003 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6004 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6005 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6006 
   6007 # Handle CRLF in mingw tool chain
   6008 opt_cr=
   6009 case $build_os in
   6010 mingw*)
   6011   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6012   ;;
   6013 esac
   6014 
   6015 # Try without a prefix underscore, then with it.
   6016 for ac_symprfx in "" "_"; do
   6017 
   6018   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6019   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6020 
   6021   # Write the raw and C identifiers.
   6022   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6023     # Fake it for dumpbin and say T for any non-static function,
   6024     # D for any global variable and I for any imported variable.
   6025     # Also find C++ and __fastcall symbols from MSVC++,
   6026     # which start with @ or ?.
   6027     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6028 "     {last_section=section; section=\$ 3};"\
   6029 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6030 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6031 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6032 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6033 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6034 "     \$ 0!~/External *\|/{next};"\
   6035 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6036 "     {if(hide[section]) next};"\
   6037 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6038 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6039 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6040 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6041 "     ' prfx=^$ac_symprfx"
   6042   else
   6043     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6044   fi
   6045   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6046 
   6047   # Check to see that the pipe works correctly.
   6048   pipe_works=no
   6049 
   6050   rm -f conftest*
   6051   cat > conftest.$ac_ext <<_LT_EOF
   6052 #ifdef __cplusplus
   6053 extern "C" {
   6054 #endif
   6055 char nm_test_var;
   6056 void nm_test_func(void);
   6057 void nm_test_func(void){}
   6058 #ifdef __cplusplus
   6059 }
   6060 #endif
   6061 int main(){nm_test_var='a';nm_test_func();return(0);}
   6062 _LT_EOF
   6063 
   6064   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6065   (eval $ac_compile) 2>&5
   6066   ac_status=$?
   6067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6068   test $ac_status = 0; }; then
   6069     # Now try to grab the symbols.
   6070     nlist=conftest.nm
   6071     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   6072     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   6073       # Try sorting and uniquifying the output.
   6074       if sort "$nlist" | uniq > "$nlist"T; then
   6075 	mv -f "$nlist"T "$nlist"
   6076       else
   6077 	rm -f "$nlist"T
   6078       fi
   6079 
   6080       # Make sure that we snagged all the symbols we need.
   6081       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6082 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6083 	  cat <<_LT_EOF > conftest.$ac_ext
   6084 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6085 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6086 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6087    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6088 # define LT_DLSYM_CONST
   6089 #elif defined __osf__
   6090 /* This system does not cope well with relocations in const data.  */
   6091 # define LT_DLSYM_CONST
   6092 #else
   6093 # define LT_DLSYM_CONST const
   6094 #endif
   6095 
   6096 #ifdef __cplusplus
   6097 extern "C" {
   6098 #endif
   6099 
   6100 _LT_EOF
   6101 	  # Now generate the symbol file.
   6102 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6103 
   6104 	  cat <<_LT_EOF >> conftest.$ac_ext
   6105 
   6106 /* The mapping between symbol names and symbols.  */
   6107 LT_DLSYM_CONST struct {
   6108   const char *name;
   6109   void       *address;
   6110 }
   6111 lt__PROGRAM__LTX_preloaded_symbols[] =
   6112 {
   6113   { "@PROGRAM@", (void *) 0 },
   6114 _LT_EOF
   6115 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6116 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6117   {0, (void *) 0}
   6118 };
   6119 
   6120 /* This works around a problem in FreeBSD linker */
   6121 #ifdef FREEBSD_WORKAROUND
   6122 static const void *lt_preloaded_setup() {
   6123   return lt__PROGRAM__LTX_preloaded_symbols;
   6124 }
   6125 #endif
   6126 
   6127 #ifdef __cplusplus
   6128 }
   6129 #endif
   6130 _LT_EOF
   6131 	  # Now try linking the two files.
   6132 	  mv conftest.$ac_objext conftstm.$ac_objext
   6133 	  lt_globsym_save_LIBS=$LIBS
   6134 	  lt_globsym_save_CFLAGS=$CFLAGS
   6135 	  LIBS=conftstm.$ac_objext
   6136 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6137 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6138   (eval $ac_link) 2>&5
   6139   ac_status=$?
   6140   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6141   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6142 	    pipe_works=yes
   6143 	  fi
   6144 	  LIBS=$lt_globsym_save_LIBS
   6145 	  CFLAGS=$lt_globsym_save_CFLAGS
   6146 	else
   6147 	  echo "cannot find nm_test_func in $nlist" >&5
   6148 	fi
   6149       else
   6150 	echo "cannot find nm_test_var in $nlist" >&5
   6151       fi
   6152     else
   6153       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6154     fi
   6155   else
   6156     echo "$progname: failed program was:" >&5
   6157     cat conftest.$ac_ext >&5
   6158   fi
   6159   rm -rf conftest* conftst*
   6160 
   6161   # Do not use the global_symbol_pipe unless it works.
   6162   if test yes = "$pipe_works"; then
   6163     break
   6164   else
   6165     lt_cv_sys_global_symbol_pipe=
   6166   fi
   6167 done
   6168 
   6169 fi
   6170 
   6171 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6172   lt_cv_sys_global_symbol_to_cdecl=
   6173 fi
   6174 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6176 $as_echo "failed" >&6; }
   6177 else
   6178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6179 $as_echo "ok" >&6; }
   6180 fi
   6181 
   6182 # Response file support.
   6183 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6184   nm_file_list_spec='@'
   6185 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6186   nm_file_list_spec='@'
   6187 fi
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6226 $as_echo_n "checking for sysroot... " >&6; }
   6227 
   6228 # Check whether --with-sysroot was given.
   6229 if test "${with_sysroot+set}" = set; then :
   6230   withval=$with_sysroot;
   6231 else
   6232   with_sysroot=no
   6233 fi
   6234 
   6235 
   6236 lt_sysroot=
   6237 case $with_sysroot in #(
   6238  yes)
   6239    if test yes = "$GCC"; then
   6240      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6241    fi
   6242    ;; #(
   6243  /*)
   6244    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6245    ;; #(
   6246  no|'')
   6247    ;; #(
   6248  *)
   6249    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6250 $as_echo "$with_sysroot" >&6; }
   6251    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6252    ;;
   6253 esac
   6254 
   6255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6256 $as_echo "${lt_sysroot:-no}" >&6; }
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6263 $as_echo_n "checking for a working dd... " >&6; }
   6264 if ${ac_cv_path_lt_DD+:} false; then :
   6265   $as_echo_n "(cached) " >&6
   6266 else
   6267   printf 0123456789abcdef0123456789abcdef >conftest.i
   6268 cat conftest.i conftest.i >conftest2.i
   6269 : ${lt_DD:=$DD}
   6270 if test -z "$lt_DD"; then
   6271   ac_path_lt_DD_found=false
   6272   # Loop through the user's path and test for each of PROGNAME-LIST
   6273   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6274 for as_dir in $PATH
   6275 do
   6276   IFS=$as_save_IFS
   6277   test -z "$as_dir" && as_dir=.
   6278     for ac_prog in dd; do
   6279     for ac_exec_ext in '' $ac_executable_extensions; do
   6280       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6281       as_fn_executable_p "$ac_path_lt_DD" || continue
   6282 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6283   cmp -s conftest.i conftest.out \
   6284   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6285 fi
   6286       $ac_path_lt_DD_found && break 3
   6287     done
   6288   done
   6289   done
   6290 IFS=$as_save_IFS
   6291   if test -z "$ac_cv_path_lt_DD"; then
   6292     :
   6293   fi
   6294 else
   6295   ac_cv_path_lt_DD=$lt_DD
   6296 fi
   6297 
   6298 rm -f conftest.i conftest2.i conftest.out
   6299 fi
   6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6301 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6302 
   6303 
   6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6305 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6306 if ${lt_cv_truncate_bin+:} false; then :
   6307   $as_echo_n "(cached) " >&6
   6308 else
   6309   printf 0123456789abcdef0123456789abcdef >conftest.i
   6310 cat conftest.i conftest.i >conftest2.i
   6311 lt_cv_truncate_bin=
   6312 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6313   cmp -s conftest.i conftest.out \
   6314   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6315 fi
   6316 rm -f conftest.i conftest2.i conftest.out
   6317 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6318 fi
   6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6320 $as_echo "$lt_cv_truncate_bin" >&6; }
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6329 func_cc_basename ()
   6330 {
   6331     for cc_temp in $*""; do
   6332       case $cc_temp in
   6333         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6334         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6335         \-*) ;;
   6336         *) break;;
   6337       esac
   6338     done
   6339     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6340 }
   6341 
   6342 # Check whether --enable-libtool-lock was given.
   6343 if test "${enable_libtool_lock+set}" = set; then :
   6344   enableval=$enable_libtool_lock;
   6345 fi
   6346 
   6347 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   6348 
   6349 # Some flags need to be propagated to the compiler or linker for good
   6350 # libtool support.
   6351 case $host in
   6352 ia64-*-hpux*)
   6353   # Find out what ABI is being produced by ac_compile, and set mode
   6354   # options accordingly.
   6355   echo 'int i;' > conftest.$ac_ext
   6356   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6357   (eval $ac_compile) 2>&5
   6358   ac_status=$?
   6359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6360   test $ac_status = 0; }; then
   6361     case `/usr/bin/file conftest.$ac_objext` in
   6362       *ELF-32*)
   6363 	HPUX_IA64_MODE=32
   6364 	;;
   6365       *ELF-64*)
   6366 	HPUX_IA64_MODE=64
   6367 	;;
   6368     esac
   6369   fi
   6370   rm -rf conftest*
   6371   ;;
   6372 *-*-irix6*)
   6373   # Find out what ABI is being produced by ac_compile, and set linker
   6374   # options accordingly.
   6375   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6376   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6377   (eval $ac_compile) 2>&5
   6378   ac_status=$?
   6379   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6380   test $ac_status = 0; }; then
   6381     if test yes = "$lt_cv_prog_gnu_ld"; then
   6382       case `/usr/bin/file conftest.$ac_objext` in
   6383 	*32-bit*)
   6384 	  LD="${LD-ld} -melf32bsmip"
   6385 	  ;;
   6386 	*N32*)
   6387 	  LD="${LD-ld} -melf32bmipn32"
   6388 	  ;;
   6389 	*64-bit*)
   6390 	  LD="${LD-ld} -melf64bmip"
   6391 	;;
   6392       esac
   6393     else
   6394       case `/usr/bin/file conftest.$ac_objext` in
   6395 	*32-bit*)
   6396 	  LD="${LD-ld} -32"
   6397 	  ;;
   6398 	*N32*)
   6399 	  LD="${LD-ld} -n32"
   6400 	  ;;
   6401 	*64-bit*)
   6402 	  LD="${LD-ld} -64"
   6403 	  ;;
   6404       esac
   6405     fi
   6406   fi
   6407   rm -rf conftest*
   6408   ;;
   6409 
   6410 mips64*-*linux*)
   6411   # Find out what ABI is being produced by ac_compile, and set linker
   6412   # options accordingly.
   6413   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6414   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6415   (eval $ac_compile) 2>&5
   6416   ac_status=$?
   6417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6418   test $ac_status = 0; }; then
   6419     emul=elf
   6420     case `/usr/bin/file conftest.$ac_objext` in
   6421       *32-bit*)
   6422 	emul="${emul}32"
   6423 	;;
   6424       *64-bit*)
   6425 	emul="${emul}64"
   6426 	;;
   6427     esac
   6428     case `/usr/bin/file conftest.$ac_objext` in
   6429       *MSB*)
   6430 	emul="${emul}btsmip"
   6431 	;;
   6432       *LSB*)
   6433 	emul="${emul}ltsmip"
   6434 	;;
   6435     esac
   6436     case `/usr/bin/file conftest.$ac_objext` in
   6437       *N32*)
   6438 	emul="${emul}n32"
   6439 	;;
   6440     esac
   6441     LD="${LD-ld} -m $emul"
   6442   fi
   6443   rm -rf conftest*
   6444   ;;
   6445 
   6446 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6447 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6448   # Find out what ABI is being produced by ac_compile, and set linker
   6449   # options accordingly.  Note that the listed cases only cover the
   6450   # situations where additional linker options are needed (such as when
   6451   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   6452   # vice versa); the common cases where no linker options are needed do
   6453   # not appear in the list.
   6454   echo 'int i;' > conftest.$ac_ext
   6455   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6456   (eval $ac_compile) 2>&5
   6457   ac_status=$?
   6458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6459   test $ac_status = 0; }; then
   6460     case `/usr/bin/file conftest.o` in
   6461       *32-bit*)
   6462 	case $host in
   6463 	  x86_64-*kfreebsd*-gnu)
   6464 	    LD="${LD-ld} -m elf_i386_fbsd"
   6465 	    ;;
   6466 	  x86_64-*linux*)
   6467 	    case `/usr/bin/file conftest.o` in
   6468 	      *x86-64*)
   6469 		LD="${LD-ld} -m elf32_x86_64"
   6470 		;;
   6471 	      *)
   6472 		LD="${LD-ld} -m elf_i386"
   6473 		;;
   6474 	    esac
   6475 	    ;;
   6476 	  powerpc64le-*linux*)
   6477 	    LD="${LD-ld} -m elf32lppclinux"
   6478 	    ;;
   6479 	  powerpc64-*linux*)
   6480 	    LD="${LD-ld} -m elf32ppclinux"
   6481 	    ;;
   6482 	  s390x-*linux*)
   6483 	    LD="${LD-ld} -m elf_s390"
   6484 	    ;;
   6485 	  sparc64-*linux*)
   6486 	    LD="${LD-ld} -m elf32_sparc"
   6487 	    ;;
   6488 	esac
   6489 	;;
   6490       *64-bit*)
   6491 	case $host in
   6492 	  x86_64-*kfreebsd*-gnu)
   6493 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6494 	    ;;
   6495 	  x86_64-*linux*)
   6496 	    LD="${LD-ld} -m elf_x86_64"
   6497 	    ;;
   6498 	  powerpcle-*linux*)
   6499 	    LD="${LD-ld} -m elf64lppc"
   6500 	    ;;
   6501 	  powerpc-*linux*)
   6502 	    LD="${LD-ld} -m elf64ppc"
   6503 	    ;;
   6504 	  s390*-*linux*|s390*-*tpf*)
   6505 	    LD="${LD-ld} -m elf64_s390"
   6506 	    ;;
   6507 	  sparc*-*linux*)
   6508 	    LD="${LD-ld} -m elf64_sparc"
   6509 	    ;;
   6510 	esac
   6511 	;;
   6512     esac
   6513   fi
   6514   rm -rf conftest*
   6515   ;;
   6516 
   6517 *-*-sco3.2v5*)
   6518   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6519   SAVE_CFLAGS=$CFLAGS
   6520   CFLAGS="$CFLAGS -belf"
   6521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6522 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6523 if ${lt_cv_cc_needs_belf+:} false; then :
   6524   $as_echo_n "(cached) " >&6
   6525 else
   6526   ac_ext=c
   6527 ac_cpp='$CPP $CPPFLAGS'
   6528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6531 
   6532      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6533 /* end confdefs.h.  */
   6534 
   6535 int
   6536 main ()
   6537 {
   6538 
   6539   ;
   6540   return 0;
   6541 }
   6542 _ACEOF
   6543 if ac_fn_c_try_link "$LINENO"; then :
   6544   lt_cv_cc_needs_belf=yes
   6545 else
   6546   lt_cv_cc_needs_belf=no
   6547 fi
   6548 rm -f core conftest.err conftest.$ac_objext \
   6549     conftest$ac_exeext conftest.$ac_ext
   6550      ac_ext=c
   6551 ac_cpp='$CPP $CPPFLAGS'
   6552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6555 
   6556 fi
   6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6558 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6559   if test yes != "$lt_cv_cc_needs_belf"; then
   6560     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6561     CFLAGS=$SAVE_CFLAGS
   6562   fi
   6563   ;;
   6564 *-*solaris*)
   6565   # Find out what ABI is being produced by ac_compile, and set linker
   6566   # options accordingly.
   6567   echo 'int i;' > conftest.$ac_ext
   6568   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6569   (eval $ac_compile) 2>&5
   6570   ac_status=$?
   6571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6572   test $ac_status = 0; }; then
   6573     case `/usr/bin/file conftest.o` in
   6574     *64-bit*)
   6575       case $lt_cv_prog_gnu_ld in
   6576       yes*)
   6577         case $host in
   6578         i?86-*-solaris*|x86_64-*-solaris*)
   6579           LD="${LD-ld} -m elf_x86_64"
   6580           ;;
   6581         sparc*-*-solaris*)
   6582           LD="${LD-ld} -m elf64_sparc"
   6583           ;;
   6584         esac
   6585         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6586         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6587           LD=${LD-ld}_sol2
   6588         fi
   6589         ;;
   6590       *)
   6591 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6592 	  LD="${LD-ld} -64"
   6593 	fi
   6594 	;;
   6595       esac
   6596       ;;
   6597     esac
   6598   fi
   6599   rm -rf conftest*
   6600   ;;
   6601 esac
   6602 
   6603 need_locks=$enable_libtool_lock
   6604 
   6605 if test -n "$ac_tool_prefix"; then
   6606   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6607 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6609 $as_echo_n "checking for $ac_word... " >&6; }
   6610 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6611   $as_echo_n "(cached) " >&6
   6612 else
   6613   if test -n "$MANIFEST_TOOL"; then
   6614   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6615 else
   6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6617 for as_dir in $PATH
   6618 do
   6619   IFS=$as_save_IFS
   6620   test -z "$as_dir" && as_dir=.
   6621     for ac_exec_ext in '' $ac_executable_extensions; do
   6622   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6623     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6625     break 2
   6626   fi
   6627 done
   6628   done
   6629 IFS=$as_save_IFS
   6630 
   6631 fi
   6632 fi
   6633 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6634 if test -n "$MANIFEST_TOOL"; then
   6635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6636 $as_echo "$MANIFEST_TOOL" >&6; }
   6637 else
   6638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6639 $as_echo "no" >&6; }
   6640 fi
   6641 
   6642 
   6643 fi
   6644 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6645   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6646   # Extract the first word of "mt", so it can be a program name with args.
   6647 set dummy mt; ac_word=$2
   6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6649 $as_echo_n "checking for $ac_word... " >&6; }
   6650 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6651   $as_echo_n "(cached) " >&6
   6652 else
   6653   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6654   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6655 else
   6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6657 for as_dir in $PATH
   6658 do
   6659   IFS=$as_save_IFS
   6660   test -z "$as_dir" && as_dir=.
   6661     for ac_exec_ext in '' $ac_executable_extensions; do
   6662   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6663     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6665     break 2
   6666   fi
   6667 done
   6668   done
   6669 IFS=$as_save_IFS
   6670 
   6671 fi
   6672 fi
   6673 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6674 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6676 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6677 else
   6678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6679 $as_echo "no" >&6; }
   6680 fi
   6681 
   6682   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6683     MANIFEST_TOOL=":"
   6684   else
   6685     case $cross_compiling:$ac_tool_warned in
   6686 yes:)
   6687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6689 ac_tool_warned=yes ;;
   6690 esac
   6691     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6692   fi
   6693 else
   6694   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6695 fi
   6696 
   6697 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6699 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6700 if ${lt_cv_path_mainfest_tool+:} false; then :
   6701   $as_echo_n "(cached) " >&6
   6702 else
   6703   lt_cv_path_mainfest_tool=no
   6704   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6705   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6706   cat conftest.err >&5
   6707   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6708     lt_cv_path_mainfest_tool=yes
   6709   fi
   6710   rm -f conftest*
   6711 fi
   6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6713 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6714 if test yes != "$lt_cv_path_mainfest_tool"; then
   6715   MANIFEST_TOOL=:
   6716 fi
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723   case $host_os in
   6724     rhapsody* | darwin*)
   6725     if test -n "$ac_tool_prefix"; then
   6726   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6727 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6729 $as_echo_n "checking for $ac_word... " >&6; }
   6730 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6731   $as_echo_n "(cached) " >&6
   6732 else
   6733   if test -n "$DSYMUTIL"; then
   6734   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6735 else
   6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6737 for as_dir in $PATH
   6738 do
   6739   IFS=$as_save_IFS
   6740   test -z "$as_dir" && as_dir=.
   6741     for ac_exec_ext in '' $ac_executable_extensions; do
   6742   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6743     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6745     break 2
   6746   fi
   6747 done
   6748   done
   6749 IFS=$as_save_IFS
   6750 
   6751 fi
   6752 fi
   6753 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6754 if test -n "$DSYMUTIL"; then
   6755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6756 $as_echo "$DSYMUTIL" >&6; }
   6757 else
   6758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6759 $as_echo "no" >&6; }
   6760 fi
   6761 
   6762 
   6763 fi
   6764 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6765   ac_ct_DSYMUTIL=$DSYMUTIL
   6766   # Extract the first word of "dsymutil", so it can be a program name with args.
   6767 set dummy dsymutil; ac_word=$2
   6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6769 $as_echo_n "checking for $ac_word... " >&6; }
   6770 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6771   $as_echo_n "(cached) " >&6
   6772 else
   6773   if test -n "$ac_ct_DSYMUTIL"; then
   6774   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6775 else
   6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6777 for as_dir in $PATH
   6778 do
   6779   IFS=$as_save_IFS
   6780   test -z "$as_dir" && as_dir=.
   6781     for ac_exec_ext in '' $ac_executable_extensions; do
   6782   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6783     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6785     break 2
   6786   fi
   6787 done
   6788   done
   6789 IFS=$as_save_IFS
   6790 
   6791 fi
   6792 fi
   6793 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6794 if test -n "$ac_ct_DSYMUTIL"; then
   6795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6796 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6797 else
   6798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6799 $as_echo "no" >&6; }
   6800 fi
   6801 
   6802   if test "x$ac_ct_DSYMUTIL" = x; then
   6803     DSYMUTIL=":"
   6804   else
   6805     case $cross_compiling:$ac_tool_warned in
   6806 yes:)
   6807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6809 ac_tool_warned=yes ;;
   6810 esac
   6811     DSYMUTIL=$ac_ct_DSYMUTIL
   6812   fi
   6813 else
   6814   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6815 fi
   6816 
   6817     if test -n "$ac_tool_prefix"; then
   6818   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6819 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6821 $as_echo_n "checking for $ac_word... " >&6; }
   6822 if ${ac_cv_prog_NMEDIT+:} false; then :
   6823   $as_echo_n "(cached) " >&6
   6824 else
   6825   if test -n "$NMEDIT"; then
   6826   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6827 else
   6828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6829 for as_dir in $PATH
   6830 do
   6831   IFS=$as_save_IFS
   6832   test -z "$as_dir" && as_dir=.
   6833     for ac_exec_ext in '' $ac_executable_extensions; do
   6834   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6835     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6837     break 2
   6838   fi
   6839 done
   6840   done
   6841 IFS=$as_save_IFS
   6842 
   6843 fi
   6844 fi
   6845 NMEDIT=$ac_cv_prog_NMEDIT
   6846 if test -n "$NMEDIT"; then
   6847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6848 $as_echo "$NMEDIT" >&6; }
   6849 else
   6850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6851 $as_echo "no" >&6; }
   6852 fi
   6853 
   6854 
   6855 fi
   6856 if test -z "$ac_cv_prog_NMEDIT"; then
   6857   ac_ct_NMEDIT=$NMEDIT
   6858   # Extract the first word of "nmedit", so it can be a program name with args.
   6859 set dummy nmedit; ac_word=$2
   6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6861 $as_echo_n "checking for $ac_word... " >&6; }
   6862 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6863   $as_echo_n "(cached) " >&6
   6864 else
   6865   if test -n "$ac_ct_NMEDIT"; then
   6866   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6867 else
   6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6869 for as_dir in $PATH
   6870 do
   6871   IFS=$as_save_IFS
   6872   test -z "$as_dir" && as_dir=.
   6873     for ac_exec_ext in '' $ac_executable_extensions; do
   6874   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6875     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6877     break 2
   6878   fi
   6879 done
   6880   done
   6881 IFS=$as_save_IFS
   6882 
   6883 fi
   6884 fi
   6885 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6886 if test -n "$ac_ct_NMEDIT"; then
   6887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6888 $as_echo "$ac_ct_NMEDIT" >&6; }
   6889 else
   6890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6891 $as_echo "no" >&6; }
   6892 fi
   6893 
   6894   if test "x$ac_ct_NMEDIT" = x; then
   6895     NMEDIT=":"
   6896   else
   6897     case $cross_compiling:$ac_tool_warned in
   6898 yes:)
   6899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6901 ac_tool_warned=yes ;;
   6902 esac
   6903     NMEDIT=$ac_ct_NMEDIT
   6904   fi
   6905 else
   6906   NMEDIT="$ac_cv_prog_NMEDIT"
   6907 fi
   6908 
   6909     if test -n "$ac_tool_prefix"; then
   6910   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6911 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6913 $as_echo_n "checking for $ac_word... " >&6; }
   6914 if ${ac_cv_prog_LIPO+:} false; then :
   6915   $as_echo_n "(cached) " >&6
   6916 else
   6917   if test -n "$LIPO"; then
   6918   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6919 else
   6920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6921 for as_dir in $PATH
   6922 do
   6923   IFS=$as_save_IFS
   6924   test -z "$as_dir" && as_dir=.
   6925     for ac_exec_ext in '' $ac_executable_extensions; do
   6926   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6927     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6928     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6929     break 2
   6930   fi
   6931 done
   6932   done
   6933 IFS=$as_save_IFS
   6934 
   6935 fi
   6936 fi
   6937 LIPO=$ac_cv_prog_LIPO
   6938 if test -n "$LIPO"; then
   6939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6940 $as_echo "$LIPO" >&6; }
   6941 else
   6942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6943 $as_echo "no" >&6; }
   6944 fi
   6945 
   6946 
   6947 fi
   6948 if test -z "$ac_cv_prog_LIPO"; then
   6949   ac_ct_LIPO=$LIPO
   6950   # Extract the first word of "lipo", so it can be a program name with args.
   6951 set dummy lipo; ac_word=$2
   6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6953 $as_echo_n "checking for $ac_word... " >&6; }
   6954 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6955   $as_echo_n "(cached) " >&6
   6956 else
   6957   if test -n "$ac_ct_LIPO"; then
   6958   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6959 else
   6960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6961 for as_dir in $PATH
   6962 do
   6963   IFS=$as_save_IFS
   6964   test -z "$as_dir" && as_dir=.
   6965     for ac_exec_ext in '' $ac_executable_extensions; do
   6966   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6967     ac_cv_prog_ac_ct_LIPO="lipo"
   6968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6969     break 2
   6970   fi
   6971 done
   6972   done
   6973 IFS=$as_save_IFS
   6974 
   6975 fi
   6976 fi
   6977 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6978 if test -n "$ac_ct_LIPO"; then
   6979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6980 $as_echo "$ac_ct_LIPO" >&6; }
   6981 else
   6982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6983 $as_echo "no" >&6; }
   6984 fi
   6985 
   6986   if test "x$ac_ct_LIPO" = x; then
   6987     LIPO=":"
   6988   else
   6989     case $cross_compiling:$ac_tool_warned in
   6990 yes:)
   6991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6993 ac_tool_warned=yes ;;
   6994 esac
   6995     LIPO=$ac_ct_LIPO
   6996   fi
   6997 else
   6998   LIPO="$ac_cv_prog_LIPO"
   6999 fi
   7000 
   7001     if test -n "$ac_tool_prefix"; then
   7002   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7003 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7005 $as_echo_n "checking for $ac_word... " >&6; }
   7006 if ${ac_cv_prog_OTOOL+:} false; then :
   7007   $as_echo_n "(cached) " >&6
   7008 else
   7009   if test -n "$OTOOL"; then
   7010   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7011 else
   7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7013 for as_dir in $PATH
   7014 do
   7015   IFS=$as_save_IFS
   7016   test -z "$as_dir" && as_dir=.
   7017     for ac_exec_ext in '' $ac_executable_extensions; do
   7018   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7019     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7021     break 2
   7022   fi
   7023 done
   7024   done
   7025 IFS=$as_save_IFS
   7026 
   7027 fi
   7028 fi
   7029 OTOOL=$ac_cv_prog_OTOOL
   7030 if test -n "$OTOOL"; then
   7031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7032 $as_echo "$OTOOL" >&6; }
   7033 else
   7034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7035 $as_echo "no" >&6; }
   7036 fi
   7037 
   7038 
   7039 fi
   7040 if test -z "$ac_cv_prog_OTOOL"; then
   7041   ac_ct_OTOOL=$OTOOL
   7042   # Extract the first word of "otool", so it can be a program name with args.
   7043 set dummy otool; ac_word=$2
   7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7045 $as_echo_n "checking for $ac_word... " >&6; }
   7046 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7047   $as_echo_n "(cached) " >&6
   7048 else
   7049   if test -n "$ac_ct_OTOOL"; then
   7050   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7051 else
   7052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7053 for as_dir in $PATH
   7054 do
   7055   IFS=$as_save_IFS
   7056   test -z "$as_dir" && as_dir=.
   7057     for ac_exec_ext in '' $ac_executable_extensions; do
   7058   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7059     ac_cv_prog_ac_ct_OTOOL="otool"
   7060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7061     break 2
   7062   fi
   7063 done
   7064   done
   7065 IFS=$as_save_IFS
   7066 
   7067 fi
   7068 fi
   7069 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7070 if test -n "$ac_ct_OTOOL"; then
   7071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7072 $as_echo "$ac_ct_OTOOL" >&6; }
   7073 else
   7074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7075 $as_echo "no" >&6; }
   7076 fi
   7077 
   7078   if test "x$ac_ct_OTOOL" = x; then
   7079     OTOOL=":"
   7080   else
   7081     case $cross_compiling:$ac_tool_warned in
   7082 yes:)
   7083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7085 ac_tool_warned=yes ;;
   7086 esac
   7087     OTOOL=$ac_ct_OTOOL
   7088   fi
   7089 else
   7090   OTOOL="$ac_cv_prog_OTOOL"
   7091 fi
   7092 
   7093     if test -n "$ac_tool_prefix"; then
   7094   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7095 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7097 $as_echo_n "checking for $ac_word... " >&6; }
   7098 if ${ac_cv_prog_OTOOL64+:} false; then :
   7099   $as_echo_n "(cached) " >&6
   7100 else
   7101   if test -n "$OTOOL64"; then
   7102   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7103 else
   7104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7105 for as_dir in $PATH
   7106 do
   7107   IFS=$as_save_IFS
   7108   test -z "$as_dir" && as_dir=.
   7109     for ac_exec_ext in '' $ac_executable_extensions; do
   7110   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7111     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7113     break 2
   7114   fi
   7115 done
   7116   done
   7117 IFS=$as_save_IFS
   7118 
   7119 fi
   7120 fi
   7121 OTOOL64=$ac_cv_prog_OTOOL64
   7122 if test -n "$OTOOL64"; then
   7123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7124 $as_echo "$OTOOL64" >&6; }
   7125 else
   7126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7127 $as_echo "no" >&6; }
   7128 fi
   7129 
   7130 
   7131 fi
   7132 if test -z "$ac_cv_prog_OTOOL64"; then
   7133   ac_ct_OTOOL64=$OTOOL64
   7134   # Extract the first word of "otool64", so it can be a program name with args.
   7135 set dummy otool64; ac_word=$2
   7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7137 $as_echo_n "checking for $ac_word... " >&6; }
   7138 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7139   $as_echo_n "(cached) " >&6
   7140 else
   7141   if test -n "$ac_ct_OTOOL64"; then
   7142   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7143 else
   7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7145 for as_dir in $PATH
   7146 do
   7147   IFS=$as_save_IFS
   7148   test -z "$as_dir" && as_dir=.
   7149     for ac_exec_ext in '' $ac_executable_extensions; do
   7150   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7151     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7152     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7153     break 2
   7154   fi
   7155 done
   7156   done
   7157 IFS=$as_save_IFS
   7158 
   7159 fi
   7160 fi
   7161 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7162 if test -n "$ac_ct_OTOOL64"; then
   7163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7164 $as_echo "$ac_ct_OTOOL64" >&6; }
   7165 else
   7166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7167 $as_echo "no" >&6; }
   7168 fi
   7169 
   7170   if test "x$ac_ct_OTOOL64" = x; then
   7171     OTOOL64=":"
   7172   else
   7173     case $cross_compiling:$ac_tool_warned in
   7174 yes:)
   7175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7177 ac_tool_warned=yes ;;
   7178 esac
   7179     OTOOL64=$ac_ct_OTOOL64
   7180   fi
   7181 else
   7182   OTOOL64="$ac_cv_prog_OTOOL64"
   7183 fi
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7212 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7213 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7214   $as_echo_n "(cached) " >&6
   7215 else
   7216   lt_cv_apple_cc_single_mod=no
   7217       if test -z "$LT_MULTI_MODULE"; then
   7218 	# By default we will add the -single_module flag. You can override
   7219 	# by either setting the environment variable LT_MULTI_MODULE
   7220 	# non-empty at configure time, or by adding -multi_module to the
   7221 	# link flags.
   7222 	rm -rf libconftest.dylib*
   7223 	echo "int foo(void){return 1;}" > conftest.c
   7224 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7225 -dynamiclib -Wl,-single_module conftest.c" >&5
   7226 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7227 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7228         _lt_result=$?
   7229 	# If there is a non-empty error log, and "single_module"
   7230 	# appears in it, assume the flag caused a linker warning
   7231         if test -s conftest.err && $GREP single_module conftest.err; then
   7232 	  cat conftest.err >&5
   7233 	# Otherwise, if the output was created with a 0 exit code from
   7234 	# the compiler, it worked.
   7235 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7236 	  lt_cv_apple_cc_single_mod=yes
   7237 	else
   7238 	  cat conftest.err >&5
   7239 	fi
   7240 	rm -rf libconftest.dylib*
   7241 	rm -f conftest.*
   7242       fi
   7243 fi
   7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7245 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7246 
   7247     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7248 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7249 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7250   $as_echo_n "(cached) " >&6
   7251 else
   7252   lt_cv_ld_exported_symbols_list=no
   7253       save_LDFLAGS=$LDFLAGS
   7254       echo "_main" > conftest.sym
   7255       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7257 /* end confdefs.h.  */
   7258 
   7259 int
   7260 main ()
   7261 {
   7262 
   7263   ;
   7264   return 0;
   7265 }
   7266 _ACEOF
   7267 if ac_fn_c_try_link "$LINENO"; then :
   7268   lt_cv_ld_exported_symbols_list=yes
   7269 else
   7270   lt_cv_ld_exported_symbols_list=no
   7271 fi
   7272 rm -f core conftest.err conftest.$ac_objext \
   7273     conftest$ac_exeext conftest.$ac_ext
   7274 	LDFLAGS=$save_LDFLAGS
   7275 
   7276 fi
   7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7278 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7279 
   7280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7281 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7282 if ${lt_cv_ld_force_load+:} false; then :
   7283   $as_echo_n "(cached) " >&6
   7284 else
   7285   lt_cv_ld_force_load=no
   7286       cat > conftest.c << _LT_EOF
   7287 int forced_loaded() { return 2;}
   7288 _LT_EOF
   7289       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7290       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7291       echo "$AR cru libconftest.a conftest.o" >&5
   7292       $AR cru libconftest.a conftest.o 2>&5
   7293       echo "$RANLIB libconftest.a" >&5
   7294       $RANLIB libconftest.a 2>&5
   7295       cat > conftest.c << _LT_EOF
   7296 int main() { return 0;}
   7297 _LT_EOF
   7298       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7299       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7300       _lt_result=$?
   7301       if test -s conftest.err && $GREP force_load conftest.err; then
   7302 	cat conftest.err >&5
   7303       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7304 	lt_cv_ld_force_load=yes
   7305       else
   7306 	cat conftest.err >&5
   7307       fi
   7308         rm -f conftest.err libconftest.a conftest conftest.c
   7309         rm -rf conftest.dSYM
   7310 
   7311 fi
   7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7313 $as_echo "$lt_cv_ld_force_load" >&6; }
   7314     case $host_os in
   7315     rhapsody* | darwin1.[012])
   7316       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7317     darwin1.*)
   7318       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7319     darwin*) # darwin 5.x on
   7320       # if running on 10.5 or later, the deployment target defaults
   7321       # to the OS version, if on x86, and 10.4, the deployment
   7322       # target defaults to 10.4. Don't you love it?
   7323       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7324 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7325 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7326 	10.[012][,.]*)
   7327 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7328 	10.*)
   7329 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7330       esac
   7331     ;;
   7332   esac
   7333     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7334       _lt_dar_single_mod='$single_module'
   7335     fi
   7336     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7337       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7338     else
   7339       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7340     fi
   7341     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7342       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7343     else
   7344       _lt_dsymutil=
   7345     fi
   7346     ;;
   7347   esac
   7348 
   7349 # func_munge_path_list VARIABLE PATH
   7350 # -----------------------------------
   7351 # VARIABLE is name of variable containing _space_ separated list of
   7352 # directories to be munged by the contents of PATH, which is string
   7353 # having a format:
   7354 # "DIR[:DIR]:"
   7355 #       string "DIR[ DIR]" will be prepended to VARIABLE
   7356 # ":DIR[:DIR]"
   7357 #       string "DIR[ DIR]" will be appended to VARIABLE
   7358 # "DIRP[:DIRP]::[DIRA:]DIRA"
   7359 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   7360 #       "DIRA[ DIRA]" will be appended to VARIABLE
   7361 # "DIR[:DIR]"
   7362 #       VARIABLE will be replaced by "DIR[ DIR]"
   7363 func_munge_path_list ()
   7364 {
   7365     case x$2 in
   7366     x)
   7367         ;;
   7368     *:)
   7369         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   7370         ;;
   7371     x:*)
   7372         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   7373         ;;
   7374     *::*)
   7375         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   7376         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   7377         ;;
   7378     *)
   7379         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   7380         ;;
   7381     esac
   7382 }
   7383 
   7384 ac_ext=c
   7385 ac_cpp='$CPP $CPPFLAGS'
   7386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7390 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7391 # On Suns, sometimes $CPP names a directory.
   7392 if test -n "$CPP" && test -d "$CPP"; then
   7393   CPP=
   7394 fi
   7395 if test -z "$CPP"; then
   7396   if ${ac_cv_prog_CPP+:} false; then :
   7397   $as_echo_n "(cached) " >&6
   7398 else
   7399       # Double quotes because CPP needs to be expanded
   7400     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7401     do
   7402       ac_preproc_ok=false
   7403 for ac_c_preproc_warn_flag in '' yes
   7404 do
   7405   # Use a header file that comes with gcc, so configuring glibc
   7406   # with a fresh cross-compiler works.
   7407   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7408   # <limits.h> exists even on freestanding compilers.
   7409   # On the NeXT, cc -E runs the code through the compiler's parser,
   7410   # not just through cpp. "Syntax error" is here to catch this case.
   7411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7412 /* end confdefs.h.  */
   7413 #ifdef __STDC__
   7414 # include <limits.h>
   7415 #else
   7416 # include <assert.h>
   7417 #endif
   7418 		     Syntax error
   7419 _ACEOF
   7420 if ac_fn_c_try_cpp "$LINENO"; then :
   7421 
   7422 else
   7423   # Broken: fails on valid input.
   7424 continue
   7425 fi
   7426 rm -f conftest.err conftest.i conftest.$ac_ext
   7427 
   7428   # OK, works on sane cases.  Now check whether nonexistent headers
   7429   # can be detected and how.
   7430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7431 /* end confdefs.h.  */
   7432 #include <ac_nonexistent.h>
   7433 _ACEOF
   7434 if ac_fn_c_try_cpp "$LINENO"; then :
   7435   # Broken: success on invalid input.
   7436 continue
   7437 else
   7438   # Passes both tests.
   7439 ac_preproc_ok=:
   7440 break
   7441 fi
   7442 rm -f conftest.err conftest.i conftest.$ac_ext
   7443 
   7444 done
   7445 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7446 rm -f conftest.i conftest.err conftest.$ac_ext
   7447 if $ac_preproc_ok; then :
   7448   break
   7449 fi
   7450 
   7451     done
   7452     ac_cv_prog_CPP=$CPP
   7453 
   7454 fi
   7455   CPP=$ac_cv_prog_CPP
   7456 else
   7457   ac_cv_prog_CPP=$CPP
   7458 fi
   7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7460 $as_echo "$CPP" >&6; }
   7461 ac_preproc_ok=false
   7462 for ac_c_preproc_warn_flag in '' yes
   7463 do
   7464   # Use a header file that comes with gcc, so configuring glibc
   7465   # with a fresh cross-compiler works.
   7466   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7467   # <limits.h> exists even on freestanding compilers.
   7468   # On the NeXT, cc -E runs the code through the compiler's parser,
   7469   # not just through cpp. "Syntax error" is here to catch this case.
   7470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7471 /* end confdefs.h.  */
   7472 #ifdef __STDC__
   7473 # include <limits.h>
   7474 #else
   7475 # include <assert.h>
   7476 #endif
   7477 		     Syntax error
   7478 _ACEOF
   7479 if ac_fn_c_try_cpp "$LINENO"; then :
   7480 
   7481 else
   7482   # Broken: fails on valid input.
   7483 continue
   7484 fi
   7485 rm -f conftest.err conftest.i conftest.$ac_ext
   7486 
   7487   # OK, works on sane cases.  Now check whether nonexistent headers
   7488   # can be detected and how.
   7489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7490 /* end confdefs.h.  */
   7491 #include <ac_nonexistent.h>
   7492 _ACEOF
   7493 if ac_fn_c_try_cpp "$LINENO"; then :
   7494   # Broken: success on invalid input.
   7495 continue
   7496 else
   7497   # Passes both tests.
   7498 ac_preproc_ok=:
   7499 break
   7500 fi
   7501 rm -f conftest.err conftest.i conftest.$ac_ext
   7502 
   7503 done
   7504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7505 rm -f conftest.i conftest.err conftest.$ac_ext
   7506 if $ac_preproc_ok; then :
   7507 
   7508 else
   7509   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7511 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7512 See \`config.log' for more details" "$LINENO" 5; }
   7513 fi
   7514 
   7515 ac_ext=c
   7516 ac_cpp='$CPP $CPPFLAGS'
   7517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7520 
   7521 
   7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7523 $as_echo_n "checking for ANSI C header files... " >&6; }
   7524 if ${ac_cv_header_stdc+:} false; then :
   7525   $as_echo_n "(cached) " >&6
   7526 else
   7527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7528 /* end confdefs.h.  */
   7529 #include <stdlib.h>
   7530 #include <stdarg.h>
   7531 #include <string.h>
   7532 #include <float.h>
   7533 
   7534 int
   7535 main ()
   7536 {
   7537 
   7538   ;
   7539   return 0;
   7540 }
   7541 _ACEOF
   7542 if ac_fn_c_try_compile "$LINENO"; then :
   7543   ac_cv_header_stdc=yes
   7544 else
   7545   ac_cv_header_stdc=no
   7546 fi
   7547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7548 
   7549 if test $ac_cv_header_stdc = yes; then
   7550   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7552 /* end confdefs.h.  */
   7553 #include <string.h>
   7554 
   7555 _ACEOF
   7556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7557   $EGREP "memchr" >/dev/null 2>&1; then :
   7558 
   7559 else
   7560   ac_cv_header_stdc=no
   7561 fi
   7562 rm -f conftest*
   7563 
   7564 fi
   7565 
   7566 if test $ac_cv_header_stdc = yes; then
   7567   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7569 /* end confdefs.h.  */
   7570 #include <stdlib.h>
   7571 
   7572 _ACEOF
   7573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7574   $EGREP "free" >/dev/null 2>&1; then :
   7575 
   7576 else
   7577   ac_cv_header_stdc=no
   7578 fi
   7579 rm -f conftest*
   7580 
   7581 fi
   7582 
   7583 if test $ac_cv_header_stdc = yes; then
   7584   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7585   if test "$cross_compiling" = yes; then :
   7586   :
   7587 else
   7588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7589 /* end confdefs.h.  */
   7590 #include <ctype.h>
   7591 #include <stdlib.h>
   7592 #if ((' ' & 0x0FF) == 0x020)
   7593 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7594 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7595 #else
   7596 # define ISLOWER(c) \
   7597 		   (('a' <= (c) && (c) <= 'i') \
   7598 		     || ('j' <= (c) && (c) <= 'r') \
   7599 		     || ('s' <= (c) && (c) <= 'z'))
   7600 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7601 #endif
   7602 
   7603 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7604 int
   7605 main ()
   7606 {
   7607   int i;
   7608   for (i = 0; i < 256; i++)
   7609     if (XOR (islower (i), ISLOWER (i))
   7610 	|| toupper (i) != TOUPPER (i))
   7611       return 2;
   7612   return 0;
   7613 }
   7614 _ACEOF
   7615 if ac_fn_c_try_run "$LINENO"; then :
   7616 
   7617 else
   7618   ac_cv_header_stdc=no
   7619 fi
   7620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7621   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7622 fi
   7623 
   7624 fi
   7625 fi
   7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7627 $as_echo "$ac_cv_header_stdc" >&6; }
   7628 if test $ac_cv_header_stdc = yes; then
   7629 
   7630 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7631 
   7632 fi
   7633 
   7634 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7635 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7636 		  inttypes.h stdint.h unistd.h
   7637 do :
   7638   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7639 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7640 "
   7641 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7642   cat >>confdefs.h <<_ACEOF
   7643 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7644 _ACEOF
   7645 
   7646 fi
   7647 
   7648 done
   7649 
   7650 
   7651 for ac_header in dlfcn.h
   7652 do :
   7653   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7654 "
   7655 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7656   cat >>confdefs.h <<_ACEOF
   7657 #define HAVE_DLFCN_H 1
   7658 _ACEOF
   7659 
   7660 fi
   7661 
   7662 done
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 # Set options
   7669 
   7670 
   7671 
   7672         enable_dlopen=no
   7673 
   7674 
   7675   enable_win32_dll=no
   7676 
   7677 
   7678             # Check whether --enable-shared was given.
   7679 if test "${enable_shared+set}" = set; then :
   7680   enableval=$enable_shared; p=${PACKAGE-default}
   7681     case $enableval in
   7682     yes) enable_shared=yes ;;
   7683     no) enable_shared=no ;;
   7684     *)
   7685       enable_shared=no
   7686       # Look at the argument we got.  We use all the common list separators.
   7687       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7688       for pkg in $enableval; do
   7689 	IFS=$lt_save_ifs
   7690 	if test "X$pkg" = "X$p"; then
   7691 	  enable_shared=yes
   7692 	fi
   7693       done
   7694       IFS=$lt_save_ifs
   7695       ;;
   7696     esac
   7697 else
   7698   enable_shared=yes
   7699 fi
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709   # Check whether --enable-static was given.
   7710 if test "${enable_static+set}" = set; then :
   7711   enableval=$enable_static; p=${PACKAGE-default}
   7712     case $enableval in
   7713     yes) enable_static=yes ;;
   7714     no) enable_static=no ;;
   7715     *)
   7716      enable_static=no
   7717       # Look at the argument we got.  We use all the common list separators.
   7718       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7719       for pkg in $enableval; do
   7720 	IFS=$lt_save_ifs
   7721 	if test "X$pkg" = "X$p"; then
   7722 	  enable_static=yes
   7723 	fi
   7724       done
   7725       IFS=$lt_save_ifs
   7726       ;;
   7727     esac
   7728 else
   7729   enable_static=yes
   7730 fi
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 # Check whether --with-pic was given.
   7742 if test "${with_pic+set}" = set; then :
   7743   withval=$with_pic; lt_p=${PACKAGE-default}
   7744     case $withval in
   7745     yes|no) pic_mode=$withval ;;
   7746     *)
   7747       pic_mode=default
   7748       # Look at the argument we got.  We use all the common list separators.
   7749       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7750       for lt_pkg in $withval; do
   7751 	IFS=$lt_save_ifs
   7752 	if test "X$lt_pkg" = "X$lt_p"; then
   7753 	  pic_mode=yes
   7754 	fi
   7755       done
   7756       IFS=$lt_save_ifs
   7757       ;;
   7758     esac
   7759 else
   7760   pic_mode=default
   7761 fi
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770   # Check whether --enable-fast-install was given.
   7771 if test "${enable_fast_install+set}" = set; then :
   7772   enableval=$enable_fast_install; p=${PACKAGE-default}
   7773     case $enableval in
   7774     yes) enable_fast_install=yes ;;
   7775     no) enable_fast_install=no ;;
   7776     *)
   7777       enable_fast_install=no
   7778       # Look at the argument we got.  We use all the common list separators.
   7779       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7780       for pkg in $enableval; do
   7781 	IFS=$lt_save_ifs
   7782 	if test "X$pkg" = "X$p"; then
   7783 	  enable_fast_install=yes
   7784 	fi
   7785       done
   7786       IFS=$lt_save_ifs
   7787       ;;
   7788     esac
   7789 else
   7790   enable_fast_install=yes
   7791 fi
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800   shared_archive_member_spec=
   7801 case $host,$enable_shared in
   7802 power*-*-aix[5-9]*,yes)
   7803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   7804 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   7805 
   7806 # Check whether --with-aix-soname was given.
   7807 if test "${with_aix_soname+set}" = set; then :
   7808   withval=$with_aix_soname; case $withval in
   7809     aix|svr4|both)
   7810       ;;
   7811     *)
   7812       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   7813       ;;
   7814     esac
   7815     lt_cv_with_aix_soname=$with_aix_soname
   7816 else
   7817   if ${lt_cv_with_aix_soname+:} false; then :
   7818   $as_echo_n "(cached) " >&6
   7819 else
   7820   lt_cv_with_aix_soname=aix
   7821 fi
   7822 
   7823     with_aix_soname=$lt_cv_with_aix_soname
   7824 fi
   7825 
   7826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   7827 $as_echo "$with_aix_soname" >&6; }
   7828   if test aix != "$with_aix_soname"; then
   7829     # For the AIX way of multilib, we name the shared archive member
   7830     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   7831     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   7832     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   7833     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   7834     if test 64 = "${OBJECT_MODE-32}"; then
   7835       shared_archive_member_spec=shr_64
   7836     else
   7837       shared_archive_member_spec=shr
   7838     fi
   7839   fi
   7840   ;;
   7841 *)
   7842   with_aix_soname=aix
   7843   ;;
   7844 esac
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 # This can be used to rebuild libtool when needed
   7856 LIBTOOL_DEPS=$ltmain
   7857 
   7858 # Always use our own libtool.
   7859 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 test -z "$LN_S" && LN_S="ln -s"
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 if test -n "${ZSH_VERSION+set}"; then
   7906    setopt NO_GLOB_SUBST
   7907 fi
   7908 
   7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7910 $as_echo_n "checking for objdir... " >&6; }
   7911 if ${lt_cv_objdir+:} false; then :
   7912   $as_echo_n "(cached) " >&6
   7913 else
   7914   rm -f .libs 2>/dev/null
   7915 mkdir .libs 2>/dev/null
   7916 if test -d .libs; then
   7917   lt_cv_objdir=.libs
   7918 else
   7919   # MS-DOS does not allow filenames that begin with a dot.
   7920   lt_cv_objdir=_libs
   7921 fi
   7922 rmdir .libs 2>/dev/null
   7923 fi
   7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7925 $as_echo "$lt_cv_objdir" >&6; }
   7926 objdir=$lt_cv_objdir
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 cat >>confdefs.h <<_ACEOF
   7933 #define LT_OBJDIR "$lt_cv_objdir/"
   7934 _ACEOF
   7935 
   7936 
   7937 
   7938 
   7939 case $host_os in
   7940 aix3*)
   7941   # AIX sometimes has problems with the GCC collect2 program.  For some
   7942   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7943   # vanish in a puff of smoke.
   7944   if test set != "${COLLECT_NAMES+set}"; then
   7945     COLLECT_NAMES=
   7946     export COLLECT_NAMES
   7947   fi
   7948   ;;
   7949 esac
   7950 
   7951 # Global variables:
   7952 ofile=libtool
   7953 can_build_shared=yes
   7954 
   7955 # All known linkers require a '.a' archive for static linking (except MSVC,
   7956 # which needs '.lib').
   7957 libext=a
   7958 
   7959 with_gnu_ld=$lt_cv_prog_gnu_ld
   7960 
   7961 old_CC=$CC
   7962 old_CFLAGS=$CFLAGS
   7963 
   7964 # Set sane defaults for various variables
   7965 test -z "$CC" && CC=cc
   7966 test -z "$LTCC" && LTCC=$CC
   7967 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7968 test -z "$LD" && LD=ld
   7969 test -z "$ac_objext" && ac_objext=o
   7970 
   7971 func_cc_basename $compiler
   7972 cc_basename=$func_cc_basename_result
   7973 
   7974 
   7975 # Only perform the check for file, if the check method requires it
   7976 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7977 case $deplibs_check_method in
   7978 file_magic*)
   7979   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7980     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7981 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7982 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7983   $as_echo_n "(cached) " >&6
   7984 else
   7985   case $MAGIC_CMD in
   7986 [\\/*] |  ?:[\\/]*)
   7987   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   7988   ;;
   7989 *)
   7990   lt_save_MAGIC_CMD=$MAGIC_CMD
   7991   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   7992   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7993   for ac_dir in $ac_dummy; do
   7994     IFS=$lt_save_ifs
   7995     test -z "$ac_dir" && ac_dir=.
   7996     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   7997       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   7998       if test -n "$file_magic_test_file"; then
   7999 	case $deplibs_check_method in
   8000 	"file_magic "*)
   8001 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8002 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8003 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8004 	    $EGREP "$file_magic_regex" > /dev/null; then
   8005 	    :
   8006 	  else
   8007 	    cat <<_LT_EOF 1>&2
   8008 
   8009 *** Warning: the command libtool uses to detect shared libraries,
   8010 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8011 *** The result is that libtool may fail to recognize shared libraries
   8012 *** as such.  This will affect the creation of libtool libraries that
   8013 *** depend on shared libraries, but programs linked with such libtool
   8014 *** libraries will work regardless of this problem.  Nevertheless, you
   8015 *** may want to report the problem to your system manager and/or to
   8016 *** bug-libtool (at] gnu.org
   8017 
   8018 _LT_EOF
   8019 	  fi ;;
   8020 	esac
   8021       fi
   8022       break
   8023     fi
   8024   done
   8025   IFS=$lt_save_ifs
   8026   MAGIC_CMD=$lt_save_MAGIC_CMD
   8027   ;;
   8028 esac
   8029 fi
   8030 
   8031 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8032 if test -n "$MAGIC_CMD"; then
   8033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8034 $as_echo "$MAGIC_CMD" >&6; }
   8035 else
   8036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8037 $as_echo "no" >&6; }
   8038 fi
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8045   if test -n "$ac_tool_prefix"; then
   8046     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8047 $as_echo_n "checking for file... " >&6; }
   8048 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8049   $as_echo_n "(cached) " >&6
   8050 else
   8051   case $MAGIC_CMD in
   8052 [\\/*] |  ?:[\\/]*)
   8053   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8054   ;;
   8055 *)
   8056   lt_save_MAGIC_CMD=$MAGIC_CMD
   8057   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8058   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8059   for ac_dir in $ac_dummy; do
   8060     IFS=$lt_save_ifs
   8061     test -z "$ac_dir" && ac_dir=.
   8062     if test -f "$ac_dir/file"; then
   8063       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8064       if test -n "$file_magic_test_file"; then
   8065 	case $deplibs_check_method in
   8066 	"file_magic "*)
   8067 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8068 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8069 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8070 	    $EGREP "$file_magic_regex" > /dev/null; then
   8071 	    :
   8072 	  else
   8073 	    cat <<_LT_EOF 1>&2
   8074 
   8075 *** Warning: the command libtool uses to detect shared libraries,
   8076 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8077 *** The result is that libtool may fail to recognize shared libraries
   8078 *** as such.  This will affect the creation of libtool libraries that
   8079 *** depend on shared libraries, but programs linked with such libtool
   8080 *** libraries will work regardless of this problem.  Nevertheless, you
   8081 *** may want to report the problem to your system manager and/or to
   8082 *** bug-libtool (at] gnu.org
   8083 
   8084 _LT_EOF
   8085 	  fi ;;
   8086 	esac
   8087       fi
   8088       break
   8089     fi
   8090   done
   8091   IFS=$lt_save_ifs
   8092   MAGIC_CMD=$lt_save_MAGIC_CMD
   8093   ;;
   8094 esac
   8095 fi
   8096 
   8097 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8098 if test -n "$MAGIC_CMD"; then
   8099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8100 $as_echo "$MAGIC_CMD" >&6; }
   8101 else
   8102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8103 $as_echo "no" >&6; }
   8104 fi
   8105 
   8106 
   8107   else
   8108     MAGIC_CMD=:
   8109   fi
   8110 fi
   8111 
   8112   fi
   8113   ;;
   8114 esac
   8115 
   8116 # Use C for the default configuration in the libtool script
   8117 
   8118 lt_save_CC=$CC
   8119 ac_ext=c
   8120 ac_cpp='$CPP $CPPFLAGS'
   8121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8124 
   8125 
   8126 # Source file extension for C test sources.
   8127 ac_ext=c
   8128 
   8129 # Object file extension for compiled C test sources.
   8130 objext=o
   8131 objext=$objext
   8132 
   8133 # Code to be used in simple compile tests
   8134 lt_simple_compile_test_code="int some_variable = 0;"
   8135 
   8136 # Code to be used in simple link tests
   8137 lt_simple_link_test_code='int main(){return(0);}'
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 # If no C compiler was specified, use CC.
   8146 LTCC=${LTCC-"$CC"}
   8147 
   8148 # If no C compiler flags were specified, use CFLAGS.
   8149 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8150 
   8151 # Allow CC to be a program name with arguments.
   8152 compiler=$CC
   8153 
   8154 # Save the default compiler, since it gets overwritten when the other
   8155 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8156 compiler_DEFAULT=$CC
   8157 
   8158 # save warnings/boilerplate of simple test code
   8159 ac_outfile=conftest.$ac_objext
   8160 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8161 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8162 _lt_compiler_boilerplate=`cat conftest.err`
   8163 $RM conftest*
   8164 
   8165 ac_outfile=conftest.$ac_objext
   8166 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8167 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8168 _lt_linker_boilerplate=`cat conftest.err`
   8169 $RM -r conftest*
   8170 
   8171 
   8172 if test -n "$compiler"; then
   8173 
   8174 lt_prog_compiler_no_builtin_flag=
   8175 
   8176 if test yes = "$GCC"; then
   8177   case $cc_basename in
   8178   nvcc*)
   8179     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8180   *)
   8181     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8182   esac
   8183 
   8184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8185 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8186 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8187   $as_echo_n "(cached) " >&6
   8188 else
   8189   lt_cv_prog_compiler_rtti_exceptions=no
   8190    ac_outfile=conftest.$ac_objext
   8191    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8192    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8193    # Insert the option either (1) after the last *FLAGS variable, or
   8194    # (2) before a word containing "conftest.", or (3) at the end.
   8195    # Note that $ac_compile itself does not contain backslashes and begins
   8196    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8197    # The option is referenced via a variable to avoid confusing sed.
   8198    lt_compile=`echo "$ac_compile" | $SED \
   8199    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8200    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8201    -e 's:$: $lt_compiler_flag:'`
   8202    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8203    (eval "$lt_compile" 2>conftest.err)
   8204    ac_status=$?
   8205    cat conftest.err >&5
   8206    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8207    if (exit $ac_status) && test -s "$ac_outfile"; then
   8208      # The compiler can only warn and ignore the option if not recognized
   8209      # So say no if there are warnings other than the usual output.
   8210      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8211      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8212      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8213        lt_cv_prog_compiler_rtti_exceptions=yes
   8214      fi
   8215    fi
   8216    $RM conftest*
   8217 
   8218 fi
   8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8220 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8221 
   8222 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8223     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8224 else
   8225     :
   8226 fi
   8227 
   8228 fi
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235   lt_prog_compiler_wl=
   8236 lt_prog_compiler_pic=
   8237 lt_prog_compiler_static=
   8238 
   8239 
   8240   if test yes = "$GCC"; then
   8241     lt_prog_compiler_wl='-Wl,'
   8242     lt_prog_compiler_static='-static'
   8243 
   8244     case $host_os in
   8245       aix*)
   8246       # All AIX code is PIC.
   8247       if test ia64 = "$host_cpu"; then
   8248 	# AIX 5 now supports IA64 processor
   8249 	lt_prog_compiler_static='-Bstatic'
   8250       fi
   8251       lt_prog_compiler_pic='-fPIC'
   8252       ;;
   8253 
   8254     amigaos*)
   8255       case $host_cpu in
   8256       powerpc)
   8257             # see comment about AmigaOS4 .so support
   8258             lt_prog_compiler_pic='-fPIC'
   8259         ;;
   8260       m68k)
   8261             # FIXME: we need at least 68020 code to build shared libraries, but
   8262             # adding the '-m68020' flag to GCC prevents building anything better,
   8263             # like '-m68040'.
   8264             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8265         ;;
   8266       esac
   8267       ;;
   8268 
   8269     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8270       # PIC is the default for these OSes.
   8271       ;;
   8272 
   8273     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8274       # This hack is so that the source file can tell whether it is being
   8275       # built for inclusion in a dll (and should export symbols for example).
   8276       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8277       # (--disable-auto-import) libraries
   8278       lt_prog_compiler_pic='-DDLL_EXPORT'
   8279       case $host_os in
   8280       os2*)
   8281 	lt_prog_compiler_static='$wl-static'
   8282 	;;
   8283       esac
   8284       ;;
   8285 
   8286     darwin* | rhapsody*)
   8287       # PIC is the default on this platform
   8288       # Common symbols not allowed in MH_DYLIB files
   8289       lt_prog_compiler_pic='-fno-common'
   8290       ;;
   8291 
   8292     haiku*)
   8293       # PIC is the default for Haiku.
   8294       # The "-static" flag exists, but is broken.
   8295       lt_prog_compiler_static=
   8296       ;;
   8297 
   8298     hpux*)
   8299       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8300       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8301       # sets the default TLS model and affects inlining.
   8302       case $host_cpu in
   8303       hppa*64*)
   8304 	# +Z the default
   8305 	;;
   8306       *)
   8307 	lt_prog_compiler_pic='-fPIC'
   8308 	;;
   8309       esac
   8310       ;;
   8311 
   8312     interix[3-9]*)
   8313       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8314       # Instead, we relocate shared libraries at runtime.
   8315       ;;
   8316 
   8317     msdosdjgpp*)
   8318       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8319       # on systems that don't support them.
   8320       lt_prog_compiler_can_build_shared=no
   8321       enable_shared=no
   8322       ;;
   8323 
   8324     *nto* | *qnx*)
   8325       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8326       # it will coredump.
   8327       lt_prog_compiler_pic='-fPIC -shared'
   8328       ;;
   8329 
   8330     sysv4*MP*)
   8331       if test -d /usr/nec; then
   8332 	lt_prog_compiler_pic=-Kconform_pic
   8333       fi
   8334       ;;
   8335 
   8336     *)
   8337       lt_prog_compiler_pic='-fPIC'
   8338       ;;
   8339     esac
   8340 
   8341     case $cc_basename in
   8342     nvcc*) # Cuda Compiler Driver 2.2
   8343       lt_prog_compiler_wl='-Xlinker '
   8344       if test -n "$lt_prog_compiler_pic"; then
   8345         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8346       fi
   8347       ;;
   8348     esac
   8349   else
   8350     # PORTME Check for flag to pass linker flags through the system compiler.
   8351     case $host_os in
   8352     aix*)
   8353       lt_prog_compiler_wl='-Wl,'
   8354       if test ia64 = "$host_cpu"; then
   8355 	# AIX 5 now supports IA64 processor
   8356 	lt_prog_compiler_static='-Bstatic'
   8357       else
   8358 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8359       fi
   8360       ;;
   8361 
   8362     darwin* | rhapsody*)
   8363       # PIC is the default on this platform
   8364       # Common symbols not allowed in MH_DYLIB files
   8365       lt_prog_compiler_pic='-fno-common'
   8366       case $cc_basename in
   8367       nagfor*)
   8368         # NAG Fortran compiler
   8369         lt_prog_compiler_wl='-Wl,-Wl,,'
   8370         lt_prog_compiler_pic='-PIC'
   8371         lt_prog_compiler_static='-Bstatic'
   8372         ;;
   8373       esac
   8374       ;;
   8375 
   8376     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8377       # This hack is so that the source file can tell whether it is being
   8378       # built for inclusion in a dll (and should export symbols for example).
   8379       lt_prog_compiler_pic='-DDLL_EXPORT'
   8380       case $host_os in
   8381       os2*)
   8382 	lt_prog_compiler_static='$wl-static'
   8383 	;;
   8384       esac
   8385       ;;
   8386 
   8387     hpux9* | hpux10* | hpux11*)
   8388       lt_prog_compiler_wl='-Wl,'
   8389       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8390       # not for PA HP-UX.
   8391       case $host_cpu in
   8392       hppa*64*|ia64*)
   8393 	# +Z the default
   8394 	;;
   8395       *)
   8396 	lt_prog_compiler_pic='+Z'
   8397 	;;
   8398       esac
   8399       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8400       lt_prog_compiler_static='$wl-a ${wl}archive'
   8401       ;;
   8402 
   8403     irix5* | irix6* | nonstopux*)
   8404       lt_prog_compiler_wl='-Wl,'
   8405       # PIC (with -KPIC) is the default.
   8406       lt_prog_compiler_static='-non_shared'
   8407       ;;
   8408 
   8409     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8410       case $cc_basename in
   8411       # old Intel for x86_64, which still supported -KPIC.
   8412       ecc*)
   8413 	lt_prog_compiler_wl='-Wl,'
   8414 	lt_prog_compiler_pic='-KPIC'
   8415 	lt_prog_compiler_static='-static'
   8416         ;;
   8417       # icc used to be incompatible with GCC.
   8418       # ICC 10 doesn't accept -KPIC any more.
   8419       icc* | ifort*)
   8420 	lt_prog_compiler_wl='-Wl,'
   8421 	lt_prog_compiler_pic='-fPIC'
   8422 	lt_prog_compiler_static='-static'
   8423         ;;
   8424       # Lahey Fortran 8.1.
   8425       lf95*)
   8426 	lt_prog_compiler_wl='-Wl,'
   8427 	lt_prog_compiler_pic='--shared'
   8428 	lt_prog_compiler_static='--static'
   8429 	;;
   8430       nagfor*)
   8431 	# NAG Fortran compiler
   8432 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8433 	lt_prog_compiler_pic='-PIC'
   8434 	lt_prog_compiler_static='-Bstatic'
   8435 	;;
   8436       tcc*)
   8437 	# Fabrice Bellard et al's Tiny C Compiler
   8438 	lt_prog_compiler_wl='-Wl,'
   8439 	lt_prog_compiler_pic='-fPIC'
   8440 	lt_prog_compiler_static='-static'
   8441 	;;
   8442       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8443         # Portland Group compilers (*not* the Pentium gcc compiler,
   8444 	# which looks to be a dead project)
   8445 	lt_prog_compiler_wl='-Wl,'
   8446 	lt_prog_compiler_pic='-fpic'
   8447 	lt_prog_compiler_static='-Bstatic'
   8448         ;;
   8449       ccc*)
   8450         lt_prog_compiler_wl='-Wl,'
   8451         # All Alpha code is PIC.
   8452         lt_prog_compiler_static='-non_shared'
   8453         ;;
   8454       xl* | bgxl* | bgf* | mpixl*)
   8455 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8456 	lt_prog_compiler_wl='-Wl,'
   8457 	lt_prog_compiler_pic='-qpic'
   8458 	lt_prog_compiler_static='-qstaticlink'
   8459 	;;
   8460       *)
   8461 	case `$CC -V 2>&1 | sed 5q` in
   8462 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8463 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8464 	  lt_prog_compiler_pic='-KPIC'
   8465 	  lt_prog_compiler_static='-Bstatic'
   8466 	  lt_prog_compiler_wl=''
   8467 	  ;;
   8468 	*Sun\ F* | *Sun*Fortran*)
   8469 	  lt_prog_compiler_pic='-KPIC'
   8470 	  lt_prog_compiler_static='-Bstatic'
   8471 	  lt_prog_compiler_wl='-Qoption ld '
   8472 	  ;;
   8473 	*Sun\ C*)
   8474 	  # Sun C 5.9
   8475 	  lt_prog_compiler_pic='-KPIC'
   8476 	  lt_prog_compiler_static='-Bstatic'
   8477 	  lt_prog_compiler_wl='-Wl,'
   8478 	  ;;
   8479         *Intel*\ [CF]*Compiler*)
   8480 	  lt_prog_compiler_wl='-Wl,'
   8481 	  lt_prog_compiler_pic='-fPIC'
   8482 	  lt_prog_compiler_static='-static'
   8483 	  ;;
   8484 	*Portland\ Group*)
   8485 	  lt_prog_compiler_wl='-Wl,'
   8486 	  lt_prog_compiler_pic='-fpic'
   8487 	  lt_prog_compiler_static='-Bstatic'
   8488 	  ;;
   8489 	esac
   8490 	;;
   8491       esac
   8492       ;;
   8493 
   8494     newsos6)
   8495       lt_prog_compiler_pic='-KPIC'
   8496       lt_prog_compiler_static='-Bstatic'
   8497       ;;
   8498 
   8499     *nto* | *qnx*)
   8500       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8501       # it will coredump.
   8502       lt_prog_compiler_pic='-fPIC -shared'
   8503       ;;
   8504 
   8505     osf3* | osf4* | osf5*)
   8506       lt_prog_compiler_wl='-Wl,'
   8507       # All OSF/1 code is PIC.
   8508       lt_prog_compiler_static='-non_shared'
   8509       ;;
   8510 
   8511     rdos*)
   8512       lt_prog_compiler_static='-non_shared'
   8513       ;;
   8514 
   8515     solaris*)
   8516       lt_prog_compiler_pic='-KPIC'
   8517       lt_prog_compiler_static='-Bstatic'
   8518       case $cc_basename in
   8519       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8520 	lt_prog_compiler_wl='-Qoption ld ';;
   8521       *)
   8522 	lt_prog_compiler_wl='-Wl,';;
   8523       esac
   8524       ;;
   8525 
   8526     sunos4*)
   8527       lt_prog_compiler_wl='-Qoption ld '
   8528       lt_prog_compiler_pic='-PIC'
   8529       lt_prog_compiler_static='-Bstatic'
   8530       ;;
   8531 
   8532     sysv4 | sysv4.2uw2* | sysv4.3*)
   8533       lt_prog_compiler_wl='-Wl,'
   8534       lt_prog_compiler_pic='-KPIC'
   8535       lt_prog_compiler_static='-Bstatic'
   8536       ;;
   8537 
   8538     sysv4*MP*)
   8539       if test -d /usr/nec; then
   8540 	lt_prog_compiler_pic='-Kconform_pic'
   8541 	lt_prog_compiler_static='-Bstatic'
   8542       fi
   8543       ;;
   8544 
   8545     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8546       lt_prog_compiler_wl='-Wl,'
   8547       lt_prog_compiler_pic='-KPIC'
   8548       lt_prog_compiler_static='-Bstatic'
   8549       ;;
   8550 
   8551     unicos*)
   8552       lt_prog_compiler_wl='-Wl,'
   8553       lt_prog_compiler_can_build_shared=no
   8554       ;;
   8555 
   8556     uts4*)
   8557       lt_prog_compiler_pic='-pic'
   8558       lt_prog_compiler_static='-Bstatic'
   8559       ;;
   8560 
   8561     *)
   8562       lt_prog_compiler_can_build_shared=no
   8563       ;;
   8564     esac
   8565   fi
   8566 
   8567 case $host_os in
   8568   # For platforms that do not support PIC, -DPIC is meaningless:
   8569   *djgpp*)
   8570     lt_prog_compiler_pic=
   8571     ;;
   8572   *)
   8573     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8574     ;;
   8575 esac
   8576 
   8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8578 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8579 if ${lt_cv_prog_compiler_pic+:} false; then :
   8580   $as_echo_n "(cached) " >&6
   8581 else
   8582   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8583 fi
   8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8585 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8586 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8587 
   8588 #
   8589 # Check to make sure the PIC flag actually works.
   8590 #
   8591 if test -n "$lt_prog_compiler_pic"; then
   8592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8593 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8594 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8595   $as_echo_n "(cached) " >&6
   8596 else
   8597   lt_cv_prog_compiler_pic_works=no
   8598    ac_outfile=conftest.$ac_objext
   8599    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8600    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   8601    # Insert the option either (1) after the last *FLAGS variable, or
   8602    # (2) before a word containing "conftest.", or (3) at the end.
   8603    # Note that $ac_compile itself does not contain backslashes and begins
   8604    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8605    # The option is referenced via a variable to avoid confusing sed.
   8606    lt_compile=`echo "$ac_compile" | $SED \
   8607    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8608    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8609    -e 's:$: $lt_compiler_flag:'`
   8610    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8611    (eval "$lt_compile" 2>conftest.err)
   8612    ac_status=$?
   8613    cat conftest.err >&5
   8614    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8615    if (exit $ac_status) && test -s "$ac_outfile"; then
   8616      # The compiler can only warn and ignore the option if not recognized
   8617      # So say no if there are warnings other than the usual output.
   8618      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8619      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8620      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8621        lt_cv_prog_compiler_pic_works=yes
   8622      fi
   8623    fi
   8624    $RM conftest*
   8625 
   8626 fi
   8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8628 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8629 
   8630 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   8631     case $lt_prog_compiler_pic in
   8632      "" | " "*) ;;
   8633      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8634      esac
   8635 else
   8636     lt_prog_compiler_pic=
   8637      lt_prog_compiler_can_build_shared=no
   8638 fi
   8639 
   8640 fi
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 #
   8653 # Check to make sure the static flag actually works.
   8654 #
   8655 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8657 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8658 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8659   $as_echo_n "(cached) " >&6
   8660 else
   8661   lt_cv_prog_compiler_static_works=no
   8662    save_LDFLAGS=$LDFLAGS
   8663    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8664    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8665    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8666      # The linker can only warn and ignore the option if not recognized
   8667      # So say no if there are warnings
   8668      if test -s conftest.err; then
   8669        # Append any errors to the config.log.
   8670        cat conftest.err 1>&5
   8671        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8672        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8673        if diff conftest.exp conftest.er2 >/dev/null; then
   8674          lt_cv_prog_compiler_static_works=yes
   8675        fi
   8676      else
   8677        lt_cv_prog_compiler_static_works=yes
   8678      fi
   8679    fi
   8680    $RM -r conftest*
   8681    LDFLAGS=$save_LDFLAGS
   8682 
   8683 fi
   8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8685 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8686 
   8687 if test yes = "$lt_cv_prog_compiler_static_works"; then
   8688     :
   8689 else
   8690     lt_prog_compiler_static=
   8691 fi
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8700 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8701 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8702   $as_echo_n "(cached) " >&6
   8703 else
   8704   lt_cv_prog_compiler_c_o=no
   8705    $RM -r conftest 2>/dev/null
   8706    mkdir conftest
   8707    cd conftest
   8708    mkdir out
   8709    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8710 
   8711    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8712    # Insert the option either (1) after the last *FLAGS variable, or
   8713    # (2) before a word containing "conftest.", or (3) at the end.
   8714    # Note that $ac_compile itself does not contain backslashes and begins
   8715    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8716    lt_compile=`echo "$ac_compile" | $SED \
   8717    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8718    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8719    -e 's:$: $lt_compiler_flag:'`
   8720    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8721    (eval "$lt_compile" 2>out/conftest.err)
   8722    ac_status=$?
   8723    cat out/conftest.err >&5
   8724    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8725    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8726    then
   8727      # The compiler can only warn and ignore the option if not recognized
   8728      # So say no if there are warnings
   8729      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8730      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8731      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8732        lt_cv_prog_compiler_c_o=yes
   8733      fi
   8734    fi
   8735    chmod u+w . 2>&5
   8736    $RM conftest*
   8737    # SGI C++ compiler will create directory out/ii_files/ for
   8738    # template instantiation
   8739    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8740    $RM out/* && rmdir out
   8741    cd ..
   8742    $RM -r conftest
   8743    $RM conftest*
   8744 
   8745 fi
   8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8747 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 
   8754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8755 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8756 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8757   $as_echo_n "(cached) " >&6
   8758 else
   8759   lt_cv_prog_compiler_c_o=no
   8760    $RM -r conftest 2>/dev/null
   8761    mkdir conftest
   8762    cd conftest
   8763    mkdir out
   8764    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8765 
   8766    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8767    # Insert the option either (1) after the last *FLAGS variable, or
   8768    # (2) before a word containing "conftest.", or (3) at the end.
   8769    # Note that $ac_compile itself does not contain backslashes and begins
   8770    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8771    lt_compile=`echo "$ac_compile" | $SED \
   8772    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8773    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8774    -e 's:$: $lt_compiler_flag:'`
   8775    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8776    (eval "$lt_compile" 2>out/conftest.err)
   8777    ac_status=$?
   8778    cat out/conftest.err >&5
   8779    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8780    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8781    then
   8782      # The compiler can only warn and ignore the option if not recognized
   8783      # So say no if there are warnings
   8784      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8785      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8786      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8787        lt_cv_prog_compiler_c_o=yes
   8788      fi
   8789    fi
   8790    chmod u+w . 2>&5
   8791    $RM conftest*
   8792    # SGI C++ compiler will create directory out/ii_files/ for
   8793    # template instantiation
   8794    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8795    $RM out/* && rmdir out
   8796    cd ..
   8797    $RM -r conftest
   8798    $RM conftest*
   8799 
   8800 fi
   8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8802 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8803 
   8804 
   8805 
   8806 
   8807 hard_links=nottested
   8808 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   8809   # do not overwrite the value of need_locks provided by the user
   8810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8811 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8812   hard_links=yes
   8813   $RM conftest*
   8814   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8815   touch conftest.a
   8816   ln conftest.a conftest.b 2>&5 || hard_links=no
   8817   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8819 $as_echo "$hard_links" >&6; }
   8820   if test no = "$hard_links"; then
   8821     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   8822 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   8823     need_locks=warn
   8824   fi
   8825 else
   8826   need_locks=no
   8827 fi
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8835 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8836 
   8837   runpath_var=
   8838   allow_undefined_flag=
   8839   always_export_symbols=no
   8840   archive_cmds=
   8841   archive_expsym_cmds=
   8842   compiler_needs_object=no
   8843   enable_shared_with_static_runtimes=no
   8844   export_dynamic_flag_spec=
   8845   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8846   hardcode_automatic=no
   8847   hardcode_direct=no
   8848   hardcode_direct_absolute=no
   8849   hardcode_libdir_flag_spec=
   8850   hardcode_libdir_separator=
   8851   hardcode_minus_L=no
   8852   hardcode_shlibpath_var=unsupported
   8853   inherit_rpath=no
   8854   link_all_deplibs=unknown
   8855   module_cmds=
   8856   module_expsym_cmds=
   8857   old_archive_from_new_cmds=
   8858   old_archive_from_expsyms_cmds=
   8859   thread_safe_flag_spec=
   8860   whole_archive_flag_spec=
   8861   # include_expsyms should be a list of space-separated symbols to be *always*
   8862   # included in the symbol list
   8863   include_expsyms=
   8864   # exclude_expsyms can be an extended regexp of symbols to exclude
   8865   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   8866   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   8867   # as well as any symbol that contains 'd'.
   8868   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8869   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8870   # platforms (ab)use it in PIC code, but their linkers get confused if
   8871   # the symbol is explicitly referenced.  Since portable code cannot
   8872   # rely on this symbol name, it's probably fine to never include it in
   8873   # preloaded symbol tables.
   8874   # Exclude shared library initialization/finalization symbols.
   8875   extract_expsyms_cmds=
   8876 
   8877   case $host_os in
   8878   cygwin* | mingw* | pw32* | cegcc*)
   8879     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8880     # When not using gcc, we currently assume that we are using
   8881     # Microsoft Visual C++.
   8882     if test yes != "$GCC"; then
   8883       with_gnu_ld=no
   8884     fi
   8885     ;;
   8886   interix*)
   8887     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8888     with_gnu_ld=yes
   8889     ;;
   8890   openbsd* | bitrig*)
   8891     with_gnu_ld=no
   8892     ;;
   8893   linux* | k*bsd*-gnu | gnu*)
   8894     link_all_deplibs=no
   8895     ;;
   8896   esac
   8897 
   8898   ld_shlibs=yes
   8899 
   8900   # On some targets, GNU ld is compatible enough with the native linker
   8901   # that we're better off using the native interface for both.
   8902   lt_use_gnu_ld_interface=no
   8903   if test yes = "$with_gnu_ld"; then
   8904     case $host_os in
   8905       aix*)
   8906 	# The AIX port of GNU ld has always aspired to compatibility
   8907 	# with the native linker.  However, as the warning in the GNU ld
   8908 	# block says, versions before 2.19.5* couldn't really create working
   8909 	# shared libraries, regardless of the interface used.
   8910 	case `$LD -v 2>&1` in
   8911 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8912 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8913 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8914 	  *)
   8915 	    lt_use_gnu_ld_interface=yes
   8916 	    ;;
   8917 	esac
   8918 	;;
   8919       *)
   8920 	lt_use_gnu_ld_interface=yes
   8921 	;;
   8922     esac
   8923   fi
   8924 
   8925   if test yes = "$lt_use_gnu_ld_interface"; then
   8926     # If archive_cmds runs LD, not CC, wlarc should be empty
   8927     wlarc='$wl'
   8928 
   8929     # Set some defaults for GNU ld with shared library support. These
   8930     # are reset later if shared libraries are not supported. Putting them
   8931     # here allows them to be overridden if necessary.
   8932     runpath_var=LD_RUN_PATH
   8933     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   8934     export_dynamic_flag_spec='$wl--export-dynamic'
   8935     # ancient GNU ld didn't support --whole-archive et. al.
   8936     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8937       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   8938     else
   8939       whole_archive_flag_spec=
   8940     fi
   8941     supports_anon_versioning=no
   8942     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   8943       *GNU\ gold*) supports_anon_versioning=yes ;;
   8944       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8945       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8946       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8947       *\ 2.11.*) ;; # other 2.11 versions
   8948       *) supports_anon_versioning=yes ;;
   8949     esac
   8950 
   8951     # See if GNU ld supports shared libraries.
   8952     case $host_os in
   8953     aix[3-9]*)
   8954       # On AIX/PPC, the GNU linker is very broken
   8955       if test ia64 != "$host_cpu"; then
   8956 	ld_shlibs=no
   8957 	cat <<_LT_EOF 1>&2
   8958 
   8959 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8960 *** to be unable to reliably create shared libraries on AIX.
   8961 *** Therefore, libtool is disabling shared libraries support.  If you
   8962 *** really care for shared libraries, you may want to install binutils
   8963 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8964 *** You will then need to restart the configuration process.
   8965 
   8966 _LT_EOF
   8967       fi
   8968       ;;
   8969 
   8970     amigaos*)
   8971       case $host_cpu in
   8972       powerpc)
   8973             # see comment about AmigaOS4 .so support
   8974             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   8975             archive_expsym_cmds=''
   8976         ;;
   8977       m68k)
   8978             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)'
   8979             hardcode_libdir_flag_spec='-L$libdir'
   8980             hardcode_minus_L=yes
   8981         ;;
   8982       esac
   8983       ;;
   8984 
   8985     beos*)
   8986       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8987 	allow_undefined_flag=unsupported
   8988 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8989 	# support --undefined.  This deserves some investigation.  FIXME
   8990 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   8991       else
   8992 	ld_shlibs=no
   8993       fi
   8994       ;;
   8995 
   8996     cygwin* | mingw* | pw32* | cegcc*)
   8997       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8998       # as there is no search path for DLLs.
   8999       hardcode_libdir_flag_spec='-L$libdir'
   9000       export_dynamic_flag_spec='$wl--export-all-symbols'
   9001       allow_undefined_flag=unsupported
   9002       always_export_symbols=no
   9003       enable_shared_with_static_runtimes=yes
   9004       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'
   9005       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9006 
   9007       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9008         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9009 	# If the export-symbols file already is a .def file, use it as
   9010 	# is; otherwise, prepend EXPORTS...
   9011 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9012           cp $export_symbols $output_objdir/$soname.def;
   9013         else
   9014           echo EXPORTS > $output_objdir/$soname.def;
   9015           cat $export_symbols >> $output_objdir/$soname.def;
   9016         fi~
   9017         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9018       else
   9019 	ld_shlibs=no
   9020       fi
   9021       ;;
   9022 
   9023     haiku*)
   9024       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9025       link_all_deplibs=yes
   9026       ;;
   9027 
   9028     os2*)
   9029       hardcode_libdir_flag_spec='-L$libdir'
   9030       hardcode_minus_L=yes
   9031       allow_undefined_flag=unsupported
   9032       shrext_cmds=.dll
   9033       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9034 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9035 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9036 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9037 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9038 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9039 	emximp -o $lib $output_objdir/$libname.def'
   9040       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9041 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9042 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9043 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9044 	prefix_cmds="$SED"~
   9045 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9046 	  prefix_cmds="$prefix_cmds -e 1d";
   9047 	fi~
   9048 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9049 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9050 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9051 	emximp -o $lib $output_objdir/$libname.def'
   9052       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9053       enable_shared_with_static_runtimes=yes
   9054       ;;
   9055 
   9056     interix[3-9]*)
   9057       hardcode_direct=no
   9058       hardcode_shlibpath_var=no
   9059       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9060       export_dynamic_flag_spec='$wl-E'
   9061       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9062       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9063       # default) and relocated if they conflict, which is a slow very memory
   9064       # consuming and fragmenting process.  To avoid this, we pick a random,
   9065       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9066       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9067       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9068       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'
   9069       ;;
   9070 
   9071     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9072       tmp_diet=no
   9073       if test linux-dietlibc = "$host_os"; then
   9074 	case $cc_basename in
   9075 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9076 	esac
   9077       fi
   9078       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9079 	 && test no = "$tmp_diet"
   9080       then
   9081 	tmp_addflag=' $pic_flag'
   9082 	tmp_sharedflag='-shared'
   9083 	case $cc_basename,$host_cpu in
   9084         pgcc*)				# Portland Group C compiler
   9085 	  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'
   9086 	  tmp_addflag=' $pic_flag'
   9087 	  ;;
   9088 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9089 					# Portland Group f77 and f90 compilers
   9090 	  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'
   9091 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9092 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9093 	  tmp_addflag=' -i_dynamic' ;;
   9094 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9095 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9096 	ifc* | ifort*)			# Intel Fortran compiler
   9097 	  tmp_addflag=' -nofor_main' ;;
   9098 	lf95*)				# Lahey Fortran 8.1
   9099 	  whole_archive_flag_spec=
   9100 	  tmp_sharedflag='--shared' ;;
   9101         nagfor*)                        # NAGFOR 5.3
   9102           tmp_sharedflag='-Wl,-shared' ;;
   9103 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9104 	  tmp_sharedflag='-qmkshrobj'
   9105 	  tmp_addflag= ;;
   9106 	nvcc*)	# Cuda Compiler Driver 2.2
   9107 	  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'
   9108 	  compiler_needs_object=yes
   9109 	  ;;
   9110 	esac
   9111 	case `$CC -V 2>&1 | sed 5q` in
   9112 	*Sun\ C*)			# Sun C 5.9
   9113 	  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'
   9114 	  compiler_needs_object=yes
   9115 	  tmp_sharedflag='-G' ;;
   9116 	*Sun\ F*)			# Sun Fortran 8.3
   9117 	  tmp_sharedflag='-G' ;;
   9118 	esac
   9119 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9120 
   9121         if test yes = "$supports_anon_versioning"; then
   9122           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9123             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9124             echo "local: *; };" >> $output_objdir/$libname.ver~
   9125             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9126         fi
   9127 
   9128 	case $cc_basename in
   9129 	tcc*)
   9130 	  export_dynamic_flag_spec='-rdynamic'
   9131 	  ;;
   9132 	xlf* | bgf* | bgxlf* | mpixlf*)
   9133 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9134 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9135 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9136 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9137 	  if test yes = "$supports_anon_versioning"; then
   9138 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9139               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9140               echo "local: *; };" >> $output_objdir/$libname.ver~
   9141               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9142 	  fi
   9143 	  ;;
   9144 	esac
   9145       else
   9146         ld_shlibs=no
   9147       fi
   9148       ;;
   9149 
   9150     netbsd* | netbsdelf*-gnu)
   9151       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9152 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9153 	wlarc=
   9154       else
   9155 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9156 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9157       fi
   9158       ;;
   9159 
   9160     solaris*)
   9161       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9162 	ld_shlibs=no
   9163 	cat <<_LT_EOF 1>&2
   9164 
   9165 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9166 *** create shared libraries on Solaris systems.  Therefore, libtool
   9167 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9168 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9169 *** your PATH or compiler configuration so that the native linker is
   9170 *** used, and then restart.
   9171 
   9172 _LT_EOF
   9173       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9174 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9175 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9176       else
   9177 	ld_shlibs=no
   9178       fi
   9179       ;;
   9180 
   9181     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9182       case `$LD -v 2>&1` in
   9183         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9184 	ld_shlibs=no
   9185 	cat <<_LT_EOF 1>&2
   9186 
   9187 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9188 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9189 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9190 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9191 *** your PATH or compiler configuration so that the native linker is
   9192 *** used, and then restart.
   9193 
   9194 _LT_EOF
   9195 	;;
   9196 	*)
   9197 	  # For security reasons, it is highly recommended that you always
   9198 	  # use absolute paths for naming shared libraries, and exclude the
   9199 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9200 	  # requires that you compile everything twice, which is a pain.
   9201 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9202 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9203 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9204 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9205 	  else
   9206 	    ld_shlibs=no
   9207 	  fi
   9208 	;;
   9209       esac
   9210       ;;
   9211 
   9212     sunos4*)
   9213       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9214       wlarc=
   9215       hardcode_direct=yes
   9216       hardcode_shlibpath_var=no
   9217       ;;
   9218 
   9219     *)
   9220       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9221 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9222 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9223       else
   9224 	ld_shlibs=no
   9225       fi
   9226       ;;
   9227     esac
   9228 
   9229     if test no = "$ld_shlibs"; then
   9230       runpath_var=
   9231       hardcode_libdir_flag_spec=
   9232       export_dynamic_flag_spec=
   9233       whole_archive_flag_spec=
   9234     fi
   9235   else
   9236     # PORTME fill in a description of your system's linker (not GNU ld)
   9237     case $host_os in
   9238     aix3*)
   9239       allow_undefined_flag=unsupported
   9240       always_export_symbols=yes
   9241       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'
   9242       # Note: this linker hardcodes the directories in LIBPATH if there
   9243       # are no directories specified by -L.
   9244       hardcode_minus_L=yes
   9245       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9246 	# Neither direct hardcoding nor static linking is supported with a
   9247 	# broken collect2.
   9248 	hardcode_direct=unsupported
   9249       fi
   9250       ;;
   9251 
   9252     aix[4-9]*)
   9253       if test ia64 = "$host_cpu"; then
   9254 	# On IA64, the linker does run time linking by default, so we don't
   9255 	# have to do anything special.
   9256 	aix_use_runtimelinking=no
   9257 	exp_sym_flag='-Bexport'
   9258 	no_entry_flag=
   9259       else
   9260 	# If we're using GNU nm, then we don't want the "-C" option.
   9261 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9262 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9263 	# weak defined symbols like other global defined symbols, whereas
   9264 	# GNU nm marks them as "W".
   9265 	# While the 'weak' keyword is ignored in the Export File, we need
   9266 	# it in the Import File for the 'aix-soname' feature, so we have
   9267 	# to replace the "-B" option with "-P" for AIX nm.
   9268 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9269 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   9270 	else
   9271 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   9272 	fi
   9273 	aix_use_runtimelinking=no
   9274 
   9275 	# Test if we are trying to use run time linking or normal
   9276 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9277 	# have runtime linking enabled, and use it for executables.
   9278 	# For shared libraries, we enable/disable runtime linking
   9279 	# depending on the kind of the shared library created -
   9280 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9281 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9282 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9283 	#            lib.a           static archive
   9284 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9285 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9286 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9287 	#            lib.a(lib.so.V) shared, rtl:no
   9288 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9289 	#            lib.a           static archive
   9290 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9291 	  for ld_flag in $LDFLAGS; do
   9292 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9293 	    aix_use_runtimelinking=yes
   9294 	    break
   9295 	  fi
   9296 	  done
   9297 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9298 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9299 	    # so we don't have lib.a shared libs to link our executables.
   9300 	    # We have to force runtime linking in this case.
   9301 	    aix_use_runtimelinking=yes
   9302 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9303 	  fi
   9304 	  ;;
   9305 	esac
   9306 
   9307 	exp_sym_flag='-bexport'
   9308 	no_entry_flag='-bnoentry'
   9309       fi
   9310 
   9311       # When large executables or shared objects are built, AIX ld can
   9312       # have problems creating the table of contents.  If linking a library
   9313       # or program results in "error TOC overflow" add -mminimal-toc to
   9314       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9315       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9316 
   9317       archive_cmds=''
   9318       hardcode_direct=yes
   9319       hardcode_direct_absolute=yes
   9320       hardcode_libdir_separator=':'
   9321       link_all_deplibs=yes
   9322       file_list_spec='$wl-f,'
   9323       case $with_aix_soname,$aix_use_runtimelinking in
   9324       aix,*) ;; # traditional, no import file
   9325       svr4,* | *,yes) # use import file
   9326 	# The Import File defines what to hardcode.
   9327 	hardcode_direct=no
   9328 	hardcode_direct_absolute=no
   9329 	;;
   9330       esac
   9331 
   9332       if test yes = "$GCC"; then
   9333 	case $host_os in aix4.[012]|aix4.[012].*)
   9334 	# We only want to do this on AIX 4.2 and lower, the check
   9335 	# below for broken collect2 doesn't work under 4.3+
   9336 	  collect2name=`$CC -print-prog-name=collect2`
   9337 	  if test -f "$collect2name" &&
   9338 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9339 	  then
   9340 	  # We have reworked collect2
   9341 	  :
   9342 	  else
   9343 	  # We have old collect2
   9344 	  hardcode_direct=unsupported
   9345 	  # It fails to find uninstalled libraries when the uninstalled
   9346 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9347 	  # to unsupported forces relinking
   9348 	  hardcode_minus_L=yes
   9349 	  hardcode_libdir_flag_spec='-L$libdir'
   9350 	  hardcode_libdir_separator=
   9351 	  fi
   9352 	  ;;
   9353 	esac
   9354 	shared_flag='-shared'
   9355 	if test yes = "$aix_use_runtimelinking"; then
   9356 	  shared_flag="$shared_flag "'$wl-G'
   9357 	fi
   9358 	# Need to ensure runtime linking is disabled for the traditional
   9359 	# shared library, or the linker may eventually find shared libraries
   9360 	# /with/ Import File - we do not want to mix them.
   9361 	shared_flag_aix='-shared'
   9362 	shared_flag_svr4='-shared $wl-G'
   9363       else
   9364 	# not using gcc
   9365 	if test ia64 = "$host_cpu"; then
   9366 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9367 	# chokes on -Wl,-G. The following line is correct:
   9368 	  shared_flag='-G'
   9369 	else
   9370 	  if test yes = "$aix_use_runtimelinking"; then
   9371 	    shared_flag='$wl-G'
   9372 	  else
   9373 	    shared_flag='$wl-bM:SRE'
   9374 	  fi
   9375 	  shared_flag_aix='$wl-bM:SRE'
   9376 	  shared_flag_svr4='$wl-G'
   9377 	fi
   9378       fi
   9379 
   9380       export_dynamic_flag_spec='$wl-bexpall'
   9381       # It seems that -bexpall does not export symbols beginning with
   9382       # underscore (_), so it is better to generate a list of symbols to export.
   9383       always_export_symbols=yes
   9384       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9385 	# Warning - without using the other runtime loading flags (-brtl),
   9386 	# -berok will link without error, but may produce a broken library.
   9387 	allow_undefined_flag='-berok'
   9388         # Determine the default libpath from the value encoded in an
   9389         # empty executable.
   9390         if test set = "${lt_cv_aix_libpath+set}"; then
   9391   aix_libpath=$lt_cv_aix_libpath
   9392 else
   9393   if ${lt_cv_aix_libpath_+:} false; then :
   9394   $as_echo_n "(cached) " >&6
   9395 else
   9396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9397 /* end confdefs.h.  */
   9398 
   9399 int
   9400 main ()
   9401 {
   9402 
   9403   ;
   9404   return 0;
   9405 }
   9406 _ACEOF
   9407 if ac_fn_c_try_link "$LINENO"; then :
   9408 
   9409   lt_aix_libpath_sed='
   9410       /Import File Strings/,/^$/ {
   9411 	  /^0/ {
   9412 	      s/^0  *\([^ ]*\) *$/\1/
   9413 	      p
   9414 	  }
   9415       }'
   9416   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9417   # Check for a 64-bit object if we didn't find anything.
   9418   if test -z "$lt_cv_aix_libpath_"; then
   9419     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9420   fi
   9421 fi
   9422 rm -f core conftest.err conftest.$ac_objext \
   9423     conftest$ac_exeext conftest.$ac_ext
   9424   if test -z "$lt_cv_aix_libpath_"; then
   9425     lt_cv_aix_libpath_=/usr/lib:/lib
   9426   fi
   9427 
   9428 fi
   9429 
   9430   aix_libpath=$lt_cv_aix_libpath_
   9431 fi
   9432 
   9433         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9434         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   9435       else
   9436 	if test ia64 = "$host_cpu"; then
   9437 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9438 	  allow_undefined_flag="-z nodefs"
   9439 	  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"
   9440 	else
   9441 	 # Determine the default libpath from the value encoded in an
   9442 	 # empty executable.
   9443 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9444   aix_libpath=$lt_cv_aix_libpath
   9445 else
   9446   if ${lt_cv_aix_libpath_+:} false; then :
   9447   $as_echo_n "(cached) " >&6
   9448 else
   9449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9450 /* end confdefs.h.  */
   9451 
   9452 int
   9453 main ()
   9454 {
   9455 
   9456   ;
   9457   return 0;
   9458 }
   9459 _ACEOF
   9460 if ac_fn_c_try_link "$LINENO"; then :
   9461 
   9462   lt_aix_libpath_sed='
   9463       /Import File Strings/,/^$/ {
   9464 	  /^0/ {
   9465 	      s/^0  *\([^ ]*\) *$/\1/
   9466 	      p
   9467 	  }
   9468       }'
   9469   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9470   # Check for a 64-bit object if we didn't find anything.
   9471   if test -z "$lt_cv_aix_libpath_"; then
   9472     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9473   fi
   9474 fi
   9475 rm -f core conftest.err conftest.$ac_objext \
   9476     conftest$ac_exeext conftest.$ac_ext
   9477   if test -z "$lt_cv_aix_libpath_"; then
   9478     lt_cv_aix_libpath_=/usr/lib:/lib
   9479   fi
   9480 
   9481 fi
   9482 
   9483   aix_libpath=$lt_cv_aix_libpath_
   9484 fi
   9485 
   9486 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9487 	  # Warning - without using the other run time loading flags,
   9488 	  # -berok will link without error, but may produce a broken library.
   9489 	  no_undefined_flag=' $wl-bernotok'
   9490 	  allow_undefined_flag=' $wl-berok'
   9491 	  if test yes = "$with_gnu_ld"; then
   9492 	    # We only use this code for GNU lds that support --whole-archive.
   9493 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   9494 	  else
   9495 	    # Exported symbols can be pulled into shared objects from archives
   9496 	    whole_archive_flag_spec='$convenience'
   9497 	  fi
   9498 	  archive_cmds_need_lc=yes
   9499 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   9500 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   9501 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   9502 	  if test svr4 != "$with_aix_soname"; then
   9503 	    # This is similar to how AIX traditionally builds its shared libraries.
   9504 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   9505 	  fi
   9506 	  if test aix != "$with_aix_soname"; then
   9507 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   9508 	  else
   9509 	    # used by -dlpreopen to get the symbols
   9510 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   9511 	  fi
   9512 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   9513 	fi
   9514       fi
   9515       ;;
   9516 
   9517     amigaos*)
   9518       case $host_cpu in
   9519       powerpc)
   9520             # see comment about AmigaOS4 .so support
   9521             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9522             archive_expsym_cmds=''
   9523         ;;
   9524       m68k)
   9525             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)'
   9526             hardcode_libdir_flag_spec='-L$libdir'
   9527             hardcode_minus_L=yes
   9528         ;;
   9529       esac
   9530       ;;
   9531 
   9532     bsdi[45]*)
   9533       export_dynamic_flag_spec=-rdynamic
   9534       ;;
   9535 
   9536     cygwin* | mingw* | pw32* | cegcc*)
   9537       # When not using gcc, we currently assume that we are using
   9538       # Microsoft Visual C++.
   9539       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9540       # no search path for DLLs.
   9541       case $cc_basename in
   9542       cl*)
   9543 	# Native MSVC
   9544 	hardcode_libdir_flag_spec=' '
   9545 	allow_undefined_flag=unsupported
   9546 	always_export_symbols=yes
   9547 	file_list_spec='@'
   9548 	# Tell ltmain to make .lib files, not .a files.
   9549 	libext=lib
   9550 	# Tell ltmain to make .dll files, not .so files.
   9551 	shrext_cmds=.dll
   9552 	# FIXME: Setting linknames here is a bad hack.
   9553 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   9554 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9555             cp "$export_symbols" "$output_objdir/$soname.def";
   9556             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   9557           else
   9558             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   9559           fi~
   9560           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9561           linknames='
   9562 	# The linker will not automatically build a static lib if we build a DLL.
   9563 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9564 	enable_shared_with_static_runtimes=yes
   9565 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9566 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9567 	# Don't use ranlib
   9568 	old_postinstall_cmds='chmod 644 $oldlib'
   9569 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9570           lt_tool_outputfile="@TOOL_OUTPUT@"~
   9571           case $lt_outputfile in
   9572             *.exe|*.EXE) ;;
   9573             *)
   9574               lt_outputfile=$lt_outputfile.exe
   9575               lt_tool_outputfile=$lt_tool_outputfile.exe
   9576               ;;
   9577           esac~
   9578           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   9579             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9580             $RM "$lt_outputfile.manifest";
   9581           fi'
   9582 	;;
   9583       *)
   9584 	# Assume MSVC wrapper
   9585 	hardcode_libdir_flag_spec=' '
   9586 	allow_undefined_flag=unsupported
   9587 	# Tell ltmain to make .lib files, not .a files.
   9588 	libext=lib
   9589 	# Tell ltmain to make .dll files, not .so files.
   9590 	shrext_cmds=.dll
   9591 	# FIXME: Setting linknames here is a bad hack.
   9592 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9593 	# The linker will automatically build a .lib file if we build a DLL.
   9594 	old_archive_from_new_cmds='true'
   9595 	# FIXME: Should let the user specify the lib program.
   9596 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9597 	enable_shared_with_static_runtimes=yes
   9598 	;;
   9599       esac
   9600       ;;
   9601 
   9602     darwin* | rhapsody*)
   9603 
   9604 
   9605   archive_cmds_need_lc=no
   9606   hardcode_direct=no
   9607   hardcode_automatic=yes
   9608   hardcode_shlibpath_var=unsupported
   9609   if test yes = "$lt_cv_ld_force_load"; then
   9610     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\"`'
   9611 
   9612   else
   9613     whole_archive_flag_spec=''
   9614   fi
   9615   link_all_deplibs=yes
   9616   allow_undefined_flag=$_lt_dar_allow_undefined
   9617   case $cc_basename in
   9618      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   9619      *) _lt_dar_can_shared=$GCC ;;
   9620   esac
   9621   if test yes = "$_lt_dar_can_shared"; then
   9622     output_verbose_link_cmd=func_echo_all
   9623     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   9624     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   9625     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"
   9626     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"
   9627 
   9628   else
   9629   ld_shlibs=no
   9630   fi
   9631 
   9632       ;;
   9633 
   9634     dgux*)
   9635       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9636       hardcode_libdir_flag_spec='-L$libdir'
   9637       hardcode_shlibpath_var=no
   9638       ;;
   9639 
   9640     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9641     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9642     # does not break anything, and helps significantly (at the cost of a little
   9643     # extra space).
   9644     freebsd2.2*)
   9645       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9646       hardcode_libdir_flag_spec='-R$libdir'
   9647       hardcode_direct=yes
   9648       hardcode_shlibpath_var=no
   9649       ;;
   9650 
   9651     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9652     freebsd2.*)
   9653       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9654       hardcode_direct=yes
   9655       hardcode_minus_L=yes
   9656       hardcode_shlibpath_var=no
   9657       ;;
   9658 
   9659     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9660     freebsd* | dragonfly*)
   9661       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9662       hardcode_libdir_flag_spec='-R$libdir'
   9663       hardcode_direct=yes
   9664       hardcode_shlibpath_var=no
   9665       ;;
   9666 
   9667     hpux9*)
   9668       if test yes = "$GCC"; then
   9669 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9670       else
   9671 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9672       fi
   9673       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9674       hardcode_libdir_separator=:
   9675       hardcode_direct=yes
   9676 
   9677       # hardcode_minus_L: Not really in the search PATH,
   9678       # but as the default location of the library.
   9679       hardcode_minus_L=yes
   9680       export_dynamic_flag_spec='$wl-E'
   9681       ;;
   9682 
   9683     hpux10*)
   9684       if test yes,no = "$GCC,$with_gnu_ld"; then
   9685 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9686       else
   9687 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9688       fi
   9689       if test no = "$with_gnu_ld"; then
   9690 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9691 	hardcode_libdir_separator=:
   9692 	hardcode_direct=yes
   9693 	hardcode_direct_absolute=yes
   9694 	export_dynamic_flag_spec='$wl-E'
   9695 	# hardcode_minus_L: Not really in the search PATH,
   9696 	# but as the default location of the library.
   9697 	hardcode_minus_L=yes
   9698       fi
   9699       ;;
   9700 
   9701     hpux11*)
   9702       if test yes,no = "$GCC,$with_gnu_ld"; then
   9703 	case $host_cpu in
   9704 	hppa*64*)
   9705 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9706 	  ;;
   9707 	ia64*)
   9708 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9709 	  ;;
   9710 	*)
   9711 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9712 	  ;;
   9713 	esac
   9714       else
   9715 	case $host_cpu in
   9716 	hppa*64*)
   9717 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9718 	  ;;
   9719 	ia64*)
   9720 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9721 	  ;;
   9722 	*)
   9723 
   9724 	  # Older versions of the 11.00 compiler do not understand -b yet
   9725 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9726 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9727 $as_echo_n "checking if $CC understands -b... " >&6; }
   9728 if ${lt_cv_prog_compiler__b+:} false; then :
   9729   $as_echo_n "(cached) " >&6
   9730 else
   9731   lt_cv_prog_compiler__b=no
   9732    save_LDFLAGS=$LDFLAGS
   9733    LDFLAGS="$LDFLAGS -b"
   9734    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9735    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9736      # The linker can only warn and ignore the option if not recognized
   9737      # So say no if there are warnings
   9738      if test -s conftest.err; then
   9739        # Append any errors to the config.log.
   9740        cat conftest.err 1>&5
   9741        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9742        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9743        if diff conftest.exp conftest.er2 >/dev/null; then
   9744          lt_cv_prog_compiler__b=yes
   9745        fi
   9746      else
   9747        lt_cv_prog_compiler__b=yes
   9748      fi
   9749    fi
   9750    $RM -r conftest*
   9751    LDFLAGS=$save_LDFLAGS
   9752 
   9753 fi
   9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9755 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9756 
   9757 if test yes = "$lt_cv_prog_compiler__b"; then
   9758     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9759 else
   9760     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9761 fi
   9762 
   9763 	  ;;
   9764 	esac
   9765       fi
   9766       if test no = "$with_gnu_ld"; then
   9767 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9768 	hardcode_libdir_separator=:
   9769 
   9770 	case $host_cpu in
   9771 	hppa*64*|ia64*)
   9772 	  hardcode_direct=no
   9773 	  hardcode_shlibpath_var=no
   9774 	  ;;
   9775 	*)
   9776 	  hardcode_direct=yes
   9777 	  hardcode_direct_absolute=yes
   9778 	  export_dynamic_flag_spec='$wl-E'
   9779 
   9780 	  # hardcode_minus_L: Not really in the search PATH,
   9781 	  # but as the default location of the library.
   9782 	  hardcode_minus_L=yes
   9783 	  ;;
   9784 	esac
   9785       fi
   9786       ;;
   9787 
   9788     irix5* | irix6* | nonstopux*)
   9789       if test yes = "$GCC"; then
   9790 	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'
   9791 	# Try to use the -exported_symbol ld option, if it does not
   9792 	# work, assume that -exports_file does not work either and
   9793 	# implicitly export all symbols.
   9794 	# This should be the same for all languages, so no per-tag cache variable.
   9795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9796 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9797 if ${lt_cv_irix_exported_symbol+:} false; then :
   9798   $as_echo_n "(cached) " >&6
   9799 else
   9800   save_LDFLAGS=$LDFLAGS
   9801 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   9802 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9803 /* end confdefs.h.  */
   9804 int foo (void) { return 0; }
   9805 _ACEOF
   9806 if ac_fn_c_try_link "$LINENO"; then :
   9807   lt_cv_irix_exported_symbol=yes
   9808 else
   9809   lt_cv_irix_exported_symbol=no
   9810 fi
   9811 rm -f core conftest.err conftest.$ac_objext \
   9812     conftest$ac_exeext conftest.$ac_ext
   9813            LDFLAGS=$save_LDFLAGS
   9814 fi
   9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9816 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9817 	if test yes = "$lt_cv_irix_exported_symbol"; then
   9818           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'
   9819 	fi
   9820 	link_all_deplibs=no
   9821       else
   9822 	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'
   9823 	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'
   9824       fi
   9825       archive_cmds_need_lc='no'
   9826       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9827       hardcode_libdir_separator=:
   9828       inherit_rpath=yes
   9829       link_all_deplibs=yes
   9830       ;;
   9831 
   9832     linux*)
   9833       case $cc_basename in
   9834       tcc*)
   9835 	# Fabrice Bellard et al's Tiny C Compiler
   9836 	ld_shlibs=yes
   9837 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9838 	;;
   9839       esac
   9840       ;;
   9841 
   9842     netbsd* | netbsdelf*-gnu)
   9843       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9844 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9845       else
   9846 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9847       fi
   9848       hardcode_libdir_flag_spec='-R$libdir'
   9849       hardcode_direct=yes
   9850       hardcode_shlibpath_var=no
   9851       ;;
   9852 
   9853     newsos6)
   9854       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9855       hardcode_direct=yes
   9856       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9857       hardcode_libdir_separator=:
   9858       hardcode_shlibpath_var=no
   9859       ;;
   9860 
   9861     *nto* | *qnx*)
   9862       ;;
   9863 
   9864     openbsd* | bitrig*)
   9865       if test -f /usr/libexec/ld.so; then
   9866 	hardcode_direct=yes
   9867 	hardcode_shlibpath_var=no
   9868 	hardcode_direct_absolute=yes
   9869 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   9870 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9871 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   9872 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9873 	  export_dynamic_flag_spec='$wl-E'
   9874 	else
   9875 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9876 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9877 	fi
   9878       else
   9879 	ld_shlibs=no
   9880       fi
   9881       ;;
   9882 
   9883     os2*)
   9884       hardcode_libdir_flag_spec='-L$libdir'
   9885       hardcode_minus_L=yes
   9886       allow_undefined_flag=unsupported
   9887       shrext_cmds=.dll
   9888       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9889 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9890 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9891 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9892 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9893 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9894 	emximp -o $lib $output_objdir/$libname.def'
   9895       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9896 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9897 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9898 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9899 	prefix_cmds="$SED"~
   9900 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9901 	  prefix_cmds="$prefix_cmds -e 1d";
   9902 	fi~
   9903 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9904 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9905 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9906 	emximp -o $lib $output_objdir/$libname.def'
   9907       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9908       enable_shared_with_static_runtimes=yes
   9909       ;;
   9910 
   9911     osf3*)
   9912       if test yes = "$GCC"; then
   9913 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   9914 	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'
   9915       else
   9916 	allow_undefined_flag=' -expect_unresolved \*'
   9917 	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'
   9918       fi
   9919       archive_cmds_need_lc='no'
   9920       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9921       hardcode_libdir_separator=:
   9922       ;;
   9923 
   9924     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9925       if test yes = "$GCC"; then
   9926 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   9927 	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'
   9928 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9929       else
   9930 	allow_undefined_flag=' -expect_unresolved \*'
   9931 	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'
   9932 	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~
   9933           $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'
   9934 
   9935 	# Both c and cxx compiler support -rpath directly
   9936 	hardcode_libdir_flag_spec='-rpath $libdir'
   9937       fi
   9938       archive_cmds_need_lc='no'
   9939       hardcode_libdir_separator=:
   9940       ;;
   9941 
   9942     solaris*)
   9943       no_undefined_flag=' -z defs'
   9944       if test yes = "$GCC"; then
   9945 	wlarc='$wl'
   9946 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9947 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9948           $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'
   9949       else
   9950 	case `$CC -V 2>&1` in
   9951 	*"Compilers 5.0"*)
   9952 	  wlarc=''
   9953 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9954 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9955             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9956 	  ;;
   9957 	*)
   9958 	  wlarc='$wl'
   9959 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9960 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9961             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9962 	  ;;
   9963 	esac
   9964       fi
   9965       hardcode_libdir_flag_spec='-R$libdir'
   9966       hardcode_shlibpath_var=no
   9967       case $host_os in
   9968       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9969       *)
   9970 	# The compiler driver will combine and reorder linker options,
   9971 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   9972 	# but is careful enough not to reorder.
   9973 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9974 	if test yes = "$GCC"; then
   9975 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   9976 	else
   9977 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9978 	fi
   9979 	;;
   9980       esac
   9981       link_all_deplibs=yes
   9982       ;;
   9983 
   9984     sunos4*)
   9985       if test sequent = "$host_vendor"; then
   9986 	# Use $CC to link under sequent, because it throws in some extra .o
   9987 	# files that make .init and .fini sections work.
   9988 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9989       else
   9990 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9991       fi
   9992       hardcode_libdir_flag_spec='-L$libdir'
   9993       hardcode_direct=yes
   9994       hardcode_minus_L=yes
   9995       hardcode_shlibpath_var=no
   9996       ;;
   9997 
   9998     sysv4)
   9999       case $host_vendor in
   10000 	sni)
   10001 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10002 	  hardcode_direct=yes # is this really true???
   10003 	;;
   10004 	siemens)
   10005 	  ## LD is ld it makes a PLAMLIB
   10006 	  ## CC just makes a GrossModule.
   10007 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10008 	  reload_cmds='$CC -r -o $output$reload_objs'
   10009 	  hardcode_direct=no
   10010         ;;
   10011 	motorola)
   10012 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10013 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10014 	;;
   10015       esac
   10016       runpath_var='LD_RUN_PATH'
   10017       hardcode_shlibpath_var=no
   10018       ;;
   10019 
   10020     sysv4.3*)
   10021       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10022       hardcode_shlibpath_var=no
   10023       export_dynamic_flag_spec='-Bexport'
   10024       ;;
   10025 
   10026     sysv4*MP*)
   10027       if test -d /usr/nec; then
   10028 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10029 	hardcode_shlibpath_var=no
   10030 	runpath_var=LD_RUN_PATH
   10031 	hardcode_runpath_var=yes
   10032 	ld_shlibs=yes
   10033       fi
   10034       ;;
   10035 
   10036     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10037       no_undefined_flag='$wl-z,text'
   10038       archive_cmds_need_lc=no
   10039       hardcode_shlibpath_var=no
   10040       runpath_var='LD_RUN_PATH'
   10041 
   10042       if test yes = "$GCC"; then
   10043 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10044 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10045       else
   10046 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10047 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10048       fi
   10049       ;;
   10050 
   10051     sysv5* | sco3.2v5* | sco5v6*)
   10052       # Note: We CANNOT use -z defs as we might desire, because we do not
   10053       # link with -lc, and that would cause any symbols used from libc to
   10054       # always be unresolved, which means just about no library would
   10055       # ever link correctly.  If we're not using GNU ld we use -z text
   10056       # though, which does catch some bad symbols but isn't as heavy-handed
   10057       # as -z defs.
   10058       no_undefined_flag='$wl-z,text'
   10059       allow_undefined_flag='$wl-z,nodefs'
   10060       archive_cmds_need_lc=no
   10061       hardcode_shlibpath_var=no
   10062       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10063       hardcode_libdir_separator=':'
   10064       link_all_deplibs=yes
   10065       export_dynamic_flag_spec='$wl-Bexport'
   10066       runpath_var='LD_RUN_PATH'
   10067 
   10068       if test yes = "$GCC"; then
   10069 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10070 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10071       else
   10072 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10073 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10074       fi
   10075       ;;
   10076 
   10077     uts4*)
   10078       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10079       hardcode_libdir_flag_spec='-L$libdir'
   10080       hardcode_shlibpath_var=no
   10081       ;;
   10082 
   10083     *)
   10084       ld_shlibs=no
   10085       ;;
   10086     esac
   10087 
   10088     if test sni = "$host_vendor"; then
   10089       case $host in
   10090       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10091 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10092 	;;
   10093       esac
   10094     fi
   10095   fi
   10096 
   10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10098 $as_echo "$ld_shlibs" >&6; }
   10099 test no = "$ld_shlibs" && can_build_shared=no
   10100 
   10101 with_gnu_ld=$with_gnu_ld
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 #
   10118 # Do we need to explicitly link libc?
   10119 #
   10120 case "x$archive_cmds_need_lc" in
   10121 x|xyes)
   10122   # Assume -lc should be added
   10123   archive_cmds_need_lc=yes
   10124 
   10125   if test yes,yes = "$GCC,$enable_shared"; then
   10126     case $archive_cmds in
   10127     *'~'*)
   10128       # FIXME: we may have to deal with multi-command sequences.
   10129       ;;
   10130     '$CC '*)
   10131       # Test whether the compiler implicitly links with -lc since on some
   10132       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10133       # to ld, don't add -lc before -lgcc.
   10134       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10135 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10136 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10137   $as_echo_n "(cached) " >&6
   10138 else
   10139   $RM conftest*
   10140 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10141 
   10142 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10143   (eval $ac_compile) 2>&5
   10144   ac_status=$?
   10145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10146   test $ac_status = 0; } 2>conftest.err; then
   10147 	  soname=conftest
   10148 	  lib=conftest
   10149 	  libobjs=conftest.$ac_objext
   10150 	  deplibs=
   10151 	  wl=$lt_prog_compiler_wl
   10152 	  pic_flag=$lt_prog_compiler_pic
   10153 	  compiler_flags=-v
   10154 	  linker_flags=-v
   10155 	  verstring=
   10156 	  output_objdir=.
   10157 	  libname=conftest
   10158 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10159 	  allow_undefined_flag=
   10160 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10161   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10162   ac_status=$?
   10163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10164   test $ac_status = 0; }
   10165 	  then
   10166 	    lt_cv_archive_cmds_need_lc=no
   10167 	  else
   10168 	    lt_cv_archive_cmds_need_lc=yes
   10169 	  fi
   10170 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10171 	else
   10172 	  cat conftest.err 1>&5
   10173 	fi
   10174 	$RM conftest*
   10175 
   10176 fi
   10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10178 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10179       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10180       ;;
   10181     esac
   10182   fi
   10183   ;;
   10184 esac
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10338 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10339 
   10340 if test yes = "$GCC"; then
   10341   case $host_os in
   10342     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10343     *) lt_awk_arg='/^libraries:/' ;;
   10344   esac
   10345   case $host_os in
   10346     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10347     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10348   esac
   10349   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10350   case $lt_search_path_spec in
   10351   *\;*)
   10352     # if the path contains ";" then we assume it to be the separator
   10353     # otherwise default to the standard path separator (i.e. ":") - it is
   10354     # assumed that no part of a normal pathname contains ";" but that should
   10355     # okay in the real world where ";" in dirpaths is itself problematic.
   10356     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10357     ;;
   10358   *)
   10359     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10360     ;;
   10361   esac
   10362   # Ok, now we have the path, separated by spaces, we can step through it
   10363   # and add multilib dir if necessary...
   10364   lt_tmp_lt_search_path_spec=
   10365   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10366   # ...but if some path component already ends with the multilib dir we assume
   10367   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10368   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10369   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10370     lt_multi_os_dir=
   10371     ;;
   10372   esac
   10373   for lt_sys_path in $lt_search_path_spec; do
   10374     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10375       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10376     elif test -n "$lt_multi_os_dir"; then
   10377       test -d "$lt_sys_path" && \
   10378 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10379     fi
   10380   done
   10381   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10382 BEGIN {RS = " "; FS = "/|\n";} {
   10383   lt_foo = "";
   10384   lt_count = 0;
   10385   for (lt_i = NF; lt_i > 0; lt_i--) {
   10386     if ($lt_i != "" && $lt_i != ".") {
   10387       if ($lt_i == "..") {
   10388         lt_count++;
   10389       } else {
   10390         if (lt_count == 0) {
   10391           lt_foo = "/" $lt_i lt_foo;
   10392         } else {
   10393           lt_count--;
   10394         }
   10395       }
   10396     }
   10397   }
   10398   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10399   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10400 }'`
   10401   # AWK program above erroneously prepends '/' to C:/dos/paths
   10402   # for these hosts.
   10403   case $host_os in
   10404     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10405       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10406   esac
   10407   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10408 else
   10409   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10410 fi
   10411 library_names_spec=
   10412 libname_spec='lib$name'
   10413 soname_spec=
   10414 shrext_cmds=.so
   10415 postinstall_cmds=
   10416 postuninstall_cmds=
   10417 finish_cmds=
   10418 finish_eval=
   10419 shlibpath_var=
   10420 shlibpath_overrides_runpath=unknown
   10421 version_type=none
   10422 dynamic_linker="$host_os ld.so"
   10423 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10424 need_lib_prefix=unknown
   10425 hardcode_into_libs=no
   10426 
   10427 # when you set need_version to no, make sure it does not cause -set_version
   10428 # flags to be left without arguments
   10429 need_version=unknown
   10430 
   10431 
   10432 
   10433 case $host_os in
   10434 aix3*)
   10435   version_type=linux # correct to gnu/linux during the next big refactor
   10436   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10437   shlibpath_var=LIBPATH
   10438 
   10439   # AIX 3 has no versioning support, so we append a major version to the name.
   10440   soname_spec='$libname$release$shared_ext$major'
   10441   ;;
   10442 
   10443 aix[4-9]*)
   10444   version_type=linux # correct to gnu/linux during the next big refactor
   10445   need_lib_prefix=no
   10446   need_version=no
   10447   hardcode_into_libs=yes
   10448   if test ia64 = "$host_cpu"; then
   10449     # AIX 5 supports IA64
   10450     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10451     shlibpath_var=LD_LIBRARY_PATH
   10452   else
   10453     # With GCC up to 2.95.x, collect2 would create an import file
   10454     # for dependence libraries.  The import file would start with
   10455     # the line '#! .'.  This would cause the generated library to
   10456     # depend on '.', always an invalid library.  This was fixed in
   10457     # development snapshots of GCC prior to 3.0.
   10458     case $host_os in
   10459       aix4 | aix4.[01] | aix4.[01].*)
   10460       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10461 	   echo ' yes '
   10462 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   10463 	:
   10464       else
   10465 	can_build_shared=no
   10466       fi
   10467       ;;
   10468     esac
   10469     # Using Import Files as archive members, it is possible to support
   10470     # filename-based versioning of shared library archives on AIX. While
   10471     # this would work for both with and without runtime linking, it will
   10472     # prevent static linking of such archives. So we do filename-based
   10473     # shared library versioning with .so extension only, which is used
   10474     # when both runtime linking and shared linking is enabled.
   10475     # Unfortunately, runtime linking may impact performance, so we do
   10476     # not want this to be the default eventually. Also, we use the
   10477     # versioned .so libs for executables only if there is the -brtl
   10478     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   10479     # To allow for filename-based versioning support, we need to create
   10480     # libNAME.so.V as an archive file, containing:
   10481     # *) an Import File, referring to the versioned filename of the
   10482     #    archive as well as the shared archive member, telling the
   10483     #    bitwidth (32 or 64) of that shared object, and providing the
   10484     #    list of exported symbols of that shared object, eventually
   10485     #    decorated with the 'weak' keyword
   10486     # *) the shared object with the F_LOADONLY flag set, to really avoid
   10487     #    it being seen by the linker.
   10488     # At run time we better use the real file rather than another symlink,
   10489     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   10490 
   10491     case $with_aix_soname,$aix_use_runtimelinking in
   10492     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   10493     # soname into executable. Probably we can add versioning support to
   10494     # collect2, so additional links can be useful in future.
   10495     aix,yes) # traditional libtool
   10496       dynamic_linker='AIX unversionable lib.so'
   10497       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10498       # instead of lib<name>.a to let people know that these are not
   10499       # typical AIX shared libraries.
   10500       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10501       ;;
   10502     aix,no) # traditional AIX only
   10503       dynamic_linker='AIX lib.a(lib.so.V)'
   10504       # We preserve .a as extension for shared libraries through AIX4.2
   10505       # and later when we are not doing run time linking.
   10506       library_names_spec='$libname$release.a $libname.a'
   10507       soname_spec='$libname$release$shared_ext$major'
   10508       ;;
   10509     svr4,*) # full svr4 only
   10510       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   10511       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10512       # We do not specify a path in Import Files, so LIBPATH fires.
   10513       shlibpath_overrides_runpath=yes
   10514       ;;
   10515     *,yes) # both, prefer svr4
   10516       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   10517       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10518       # unpreferred sharedlib libNAME.a needs extra handling
   10519       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   10520       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   10521       # We do not specify a path in Import Files, so LIBPATH fires.
   10522       shlibpath_overrides_runpath=yes
   10523       ;;
   10524     *,no) # both, prefer aix
   10525       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   10526       library_names_spec='$libname$release.a $libname.a'
   10527       soname_spec='$libname$release$shared_ext$major'
   10528       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   10529       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   10530       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   10531       ;;
   10532     esac
   10533     shlibpath_var=LIBPATH
   10534   fi
   10535   ;;
   10536 
   10537 amigaos*)
   10538   case $host_cpu in
   10539   powerpc)
   10540     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10541     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10542     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10543     ;;
   10544   m68k)
   10545     library_names_spec='$libname.ixlibrary $libname.a'
   10546     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10547     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
   10548     ;;
   10549   esac
   10550   ;;
   10551 
   10552 beos*)
   10553   library_names_spec='$libname$shared_ext'
   10554   dynamic_linker="$host_os ld.so"
   10555   shlibpath_var=LIBRARY_PATH
   10556   ;;
   10557 
   10558 bsdi[45]*)
   10559   version_type=linux # correct to gnu/linux during the next big refactor
   10560   need_version=no
   10561   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10562   soname_spec='$libname$release$shared_ext$major'
   10563   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10564   shlibpath_var=LD_LIBRARY_PATH
   10565   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10566   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10567   # the default ld.so.conf also contains /usr/contrib/lib and
   10568   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10569   # libtool to hard-code these into programs
   10570   ;;
   10571 
   10572 cygwin* | mingw* | pw32* | cegcc*)
   10573   version_type=windows
   10574   shrext_cmds=.dll
   10575   need_version=no
   10576   need_lib_prefix=no
   10577 
   10578   case $GCC,$cc_basename in
   10579   yes,*)
   10580     # gcc
   10581     library_names_spec='$libname.dll.a'
   10582     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10583     postinstall_cmds='base_file=`basename \$file`~
   10584       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10585       dldir=$destdir/`dirname \$dlpath`~
   10586       test -d \$dldir || mkdir -p \$dldir~
   10587       $install_prog $dir/$dlname \$dldir/$dlname~
   10588       chmod a+x \$dldir/$dlname~
   10589       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10590         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10591       fi'
   10592     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10593       dlpath=$dir/\$dldll~
   10594        $RM \$dlpath'
   10595     shlibpath_overrides_runpath=yes
   10596 
   10597     case $host_os in
   10598     cygwin*)
   10599       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10600       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10601 
   10602       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10603       ;;
   10604     mingw* | cegcc*)
   10605       # MinGW DLLs use traditional 'lib' prefix
   10606       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10607       ;;
   10608     pw32*)
   10609       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10610       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10611       ;;
   10612     esac
   10613     dynamic_linker='Win32 ld.exe'
   10614     ;;
   10615 
   10616   *,cl*)
   10617     # Native MSVC
   10618     libname_spec='$name'
   10619     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10620     library_names_spec='$libname.dll.lib'
   10621 
   10622     case $build_os in
   10623     mingw*)
   10624       sys_lib_search_path_spec=
   10625       lt_save_ifs=$IFS
   10626       IFS=';'
   10627       for lt_path in $LIB
   10628       do
   10629         IFS=$lt_save_ifs
   10630         # Let DOS variable expansion print the short 8.3 style file name.
   10631         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10632         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10633       done
   10634       IFS=$lt_save_ifs
   10635       # Convert to MSYS style.
   10636       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10637       ;;
   10638     cygwin*)
   10639       # Convert to unix form, then to dos form, then back to unix form
   10640       # but this time dos style (no spaces!) so that the unix form looks
   10641       # like /cygdrive/c/PROGRA~1:/cygdr...
   10642       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10643       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10644       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10645       ;;
   10646     *)
   10647       sys_lib_search_path_spec=$LIB
   10648       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10649         # It is most probably a Windows format PATH.
   10650         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10651       else
   10652         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10653       fi
   10654       # FIXME: find the short name or the path components, as spaces are
   10655       # common. (e.g. "Program Files" -> "PROGRA~1")
   10656       ;;
   10657     esac
   10658 
   10659     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10660     postinstall_cmds='base_file=`basename \$file`~
   10661       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10662       dldir=$destdir/`dirname \$dlpath`~
   10663       test -d \$dldir || mkdir -p \$dldir~
   10664       $install_prog $dir/$dlname \$dldir/$dlname'
   10665     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10666       dlpath=$dir/\$dldll~
   10667        $RM \$dlpath'
   10668     shlibpath_overrides_runpath=yes
   10669     dynamic_linker='Win32 link.exe'
   10670     ;;
   10671 
   10672   *)
   10673     # Assume MSVC wrapper
   10674     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   10675     dynamic_linker='Win32 ld.exe'
   10676     ;;
   10677   esac
   10678   # FIXME: first we should search . and the directory the executable is in
   10679   shlibpath_var=PATH
   10680   ;;
   10681 
   10682 darwin* | rhapsody*)
   10683   dynamic_linker="$host_os dyld"
   10684   version_type=darwin
   10685   need_lib_prefix=no
   10686   need_version=no
   10687   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   10688   soname_spec='$libname$release$major$shared_ext'
   10689   shlibpath_overrides_runpath=yes
   10690   shlibpath_var=DYLD_LIBRARY_PATH
   10691   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10692 
   10693   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10694   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10695   ;;
   10696 
   10697 dgux*)
   10698   version_type=linux # correct to gnu/linux during the next big refactor
   10699   need_lib_prefix=no
   10700   need_version=no
   10701   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10702   soname_spec='$libname$release$shared_ext$major'
   10703   shlibpath_var=LD_LIBRARY_PATH
   10704   ;;
   10705 
   10706 freebsd* | dragonfly*)
   10707   # DragonFly does not have aout.  When/if they implement a new
   10708   # versioning mechanism, adjust this.
   10709   if test -x /usr/bin/objformat; then
   10710     objformat=`/usr/bin/objformat`
   10711   else
   10712     case $host_os in
   10713     freebsd[23].*) objformat=aout ;;
   10714     *) objformat=elf ;;
   10715     esac
   10716   fi
   10717   version_type=freebsd-$objformat
   10718   case $version_type in
   10719     freebsd-elf*)
   10720       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10721       soname_spec='$libname$release$shared_ext$major'
   10722       need_version=no
   10723       need_lib_prefix=no
   10724       ;;
   10725     freebsd-*)
   10726       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10727       need_version=yes
   10728       ;;
   10729   esac
   10730   shlibpath_var=LD_LIBRARY_PATH
   10731   case $host_os in
   10732   freebsd2.*)
   10733     shlibpath_overrides_runpath=yes
   10734     ;;
   10735   freebsd3.[01]* | freebsdelf3.[01]*)
   10736     shlibpath_overrides_runpath=yes
   10737     hardcode_into_libs=yes
   10738     ;;
   10739   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10740   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10741     shlibpath_overrides_runpath=no
   10742     hardcode_into_libs=yes
   10743     ;;
   10744   *) # from 4.6 on, and DragonFly
   10745     shlibpath_overrides_runpath=yes
   10746     hardcode_into_libs=yes
   10747     ;;
   10748   esac
   10749   ;;
   10750 
   10751 haiku*)
   10752   version_type=linux # correct to gnu/linux during the next big refactor
   10753   need_lib_prefix=no
   10754   need_version=no
   10755   dynamic_linker="$host_os runtime_loader"
   10756   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10757   soname_spec='$libname$release$shared_ext$major'
   10758   shlibpath_var=LIBRARY_PATH
   10759   shlibpath_overrides_runpath=no
   10760   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10761   hardcode_into_libs=yes
   10762   ;;
   10763 
   10764 hpux9* | hpux10* | hpux11*)
   10765   # Give a soname corresponding to the major version so that dld.sl refuses to
   10766   # link against other versions.
   10767   version_type=sunos
   10768   need_lib_prefix=no
   10769   need_version=no
   10770   case $host_cpu in
   10771   ia64*)
   10772     shrext_cmds='.so'
   10773     hardcode_into_libs=yes
   10774     dynamic_linker="$host_os dld.so"
   10775     shlibpath_var=LD_LIBRARY_PATH
   10776     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10777     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10778     soname_spec='$libname$release$shared_ext$major'
   10779     if test 32 = "$HPUX_IA64_MODE"; then
   10780       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10781       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   10782     else
   10783       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10784       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   10785     fi
   10786     ;;
   10787   hppa*64*)
   10788     shrext_cmds='.sl'
   10789     hardcode_into_libs=yes
   10790     dynamic_linker="$host_os dld.sl"
   10791     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10792     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10793     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10794     soname_spec='$libname$release$shared_ext$major'
   10795     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10796     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10797     ;;
   10798   *)
   10799     shrext_cmds='.sl'
   10800     dynamic_linker="$host_os dld.sl"
   10801     shlibpath_var=SHLIB_PATH
   10802     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10803     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10804     soname_spec='$libname$release$shared_ext$major'
   10805     ;;
   10806   esac
   10807   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10808   postinstall_cmds='chmod 555 $lib'
   10809   # or fails outright, so override atomically:
   10810   install_override_mode=555
   10811   ;;
   10812 
   10813 interix[3-9]*)
   10814   version_type=linux # correct to gnu/linux during the next big refactor
   10815   need_lib_prefix=no
   10816   need_version=no
   10817   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10818   soname_spec='$libname$release$shared_ext$major'
   10819   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10820   shlibpath_var=LD_LIBRARY_PATH
   10821   shlibpath_overrides_runpath=no
   10822   hardcode_into_libs=yes
   10823   ;;
   10824 
   10825 irix5* | irix6* | nonstopux*)
   10826   case $host_os in
   10827     nonstopux*) version_type=nonstopux ;;
   10828     *)
   10829 	if test yes = "$lt_cv_prog_gnu_ld"; then
   10830 		version_type=linux # correct to gnu/linux during the next big refactor
   10831 	else
   10832 		version_type=irix
   10833 	fi ;;
   10834   esac
   10835   need_lib_prefix=no
   10836   need_version=no
   10837   soname_spec='$libname$release$shared_ext$major'
   10838   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   10839   case $host_os in
   10840   irix5* | nonstopux*)
   10841     libsuff= shlibsuff=
   10842     ;;
   10843   *)
   10844     case $LD in # libtool.m4 will add one of these switches to LD
   10845     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10846       libsuff= shlibsuff= libmagic=32-bit;;
   10847     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10848       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10849     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10850       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10851     *) libsuff= shlibsuff= libmagic=never-match;;
   10852     esac
   10853     ;;
   10854   esac
   10855   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10856   shlibpath_overrides_runpath=no
   10857   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   10858   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   10859   hardcode_into_libs=yes
   10860   ;;
   10861 
   10862 # No shared lib support for Linux oldld, aout, or coff.
   10863 linux*oldld* | linux*aout* | linux*coff*)
   10864   dynamic_linker=no
   10865   ;;
   10866 
   10867 linux*android*)
   10868   version_type=none # Android doesn't support versioned libraries.
   10869   need_lib_prefix=no
   10870   need_version=no
   10871   library_names_spec='$libname$release$shared_ext'
   10872   soname_spec='$libname$release$shared_ext'
   10873   finish_cmds=
   10874   shlibpath_var=LD_LIBRARY_PATH
   10875   shlibpath_overrides_runpath=yes
   10876 
   10877   # This implies no fast_install, which is unacceptable.
   10878   # Some rework will be needed to allow for fast_install
   10879   # before this can be enabled.
   10880   hardcode_into_libs=yes
   10881 
   10882   dynamic_linker='Android linker'
   10883   # Don't embed -rpath directories since the linker doesn't support them.
   10884   hardcode_libdir_flag_spec='-L$libdir'
   10885   ;;
   10886 
   10887 # This must be glibc/ELF.
   10888 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10889   version_type=linux # correct to gnu/linux during the next big refactor
   10890   need_lib_prefix=no
   10891   need_version=no
   10892   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10893   soname_spec='$libname$release$shared_ext$major'
   10894   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10895   shlibpath_var=LD_LIBRARY_PATH
   10896   shlibpath_overrides_runpath=no
   10897 
   10898   # Some binutils ld are patched to set DT_RUNPATH
   10899   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10900   $as_echo_n "(cached) " >&6
   10901 else
   10902   lt_cv_shlibpath_overrides_runpath=no
   10903     save_LDFLAGS=$LDFLAGS
   10904     save_libdir=$libdir
   10905     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10906 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10907     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10908 /* end confdefs.h.  */
   10909 
   10910 int
   10911 main ()
   10912 {
   10913 
   10914   ;
   10915   return 0;
   10916 }
   10917 _ACEOF
   10918 if ac_fn_c_try_link "$LINENO"; then :
   10919   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10920   lt_cv_shlibpath_overrides_runpath=yes
   10921 fi
   10922 fi
   10923 rm -f core conftest.err conftest.$ac_objext \
   10924     conftest$ac_exeext conftest.$ac_ext
   10925     LDFLAGS=$save_LDFLAGS
   10926     libdir=$save_libdir
   10927 
   10928 fi
   10929 
   10930   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10931 
   10932   # This implies no fast_install, which is unacceptable.
   10933   # Some rework will be needed to allow for fast_install
   10934   # before this can be enabled.
   10935   hardcode_into_libs=yes
   10936 
   10937   # Ideally, we could use ldconfig to report *all* directores which are
   10938   # searched for libraries, however this is still not possible.  Aside from not
   10939   # being certain /sbin/ldconfig is available, command
   10940   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   10941   # even though it is searched at run-time.  Try to do the best guess by
   10942   # appending ld.so.conf contents (and includes) to the search path.
   10943   if test -f /etc/ld.so.conf; then
   10944     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' ' '`
   10945     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10946   fi
   10947 
   10948   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10949   # powerpc, because MkLinux only supported shared libraries with the
   10950   # GNU dynamic linker.  Since this was broken with cross compilers,
   10951   # most powerpc-linux boxes support dynamic linking these days and
   10952   # people can always --disable-shared, the test was removed, and we
   10953   # assume the GNU/Linux dynamic linker is in use.
   10954   dynamic_linker='GNU/Linux ld.so'
   10955   ;;
   10956 
   10957 netbsdelf*-gnu)
   10958   version_type=linux
   10959   need_lib_prefix=no
   10960   need_version=no
   10961   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10962   soname_spec='${libname}${release}${shared_ext}$major'
   10963   shlibpath_var=LD_LIBRARY_PATH
   10964   shlibpath_overrides_runpath=no
   10965   hardcode_into_libs=yes
   10966   dynamic_linker='NetBSD ld.elf_so'
   10967   ;;
   10968 
   10969 netbsd*)
   10970   version_type=sunos
   10971   need_lib_prefix=no
   10972   need_version=no
   10973   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10974     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10975     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10976     dynamic_linker='NetBSD (a.out) ld.so'
   10977   else
   10978     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10979     soname_spec='$libname$release$shared_ext$major'
   10980     dynamic_linker='NetBSD ld.elf_so'
   10981   fi
   10982   shlibpath_var=LD_LIBRARY_PATH
   10983   shlibpath_overrides_runpath=yes
   10984   hardcode_into_libs=yes
   10985   ;;
   10986 
   10987 newsos6)
   10988   version_type=linux # correct to gnu/linux during the next big refactor
   10989   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10990   shlibpath_var=LD_LIBRARY_PATH
   10991   shlibpath_overrides_runpath=yes
   10992   ;;
   10993 
   10994 *nto* | *qnx*)
   10995   version_type=qnx
   10996   need_lib_prefix=no
   10997   need_version=no
   10998   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10999   soname_spec='$libname$release$shared_ext$major'
   11000   shlibpath_var=LD_LIBRARY_PATH
   11001   shlibpath_overrides_runpath=no
   11002   hardcode_into_libs=yes
   11003   dynamic_linker='ldqnx.so'
   11004   ;;
   11005 
   11006 openbsd* | bitrig*)
   11007   version_type=sunos
   11008   sys_lib_dlsearch_path_spec=/usr/lib
   11009   need_lib_prefix=no
   11010   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11011     need_version=no
   11012   else
   11013     need_version=yes
   11014   fi
   11015   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11016   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11017   shlibpath_var=LD_LIBRARY_PATH
   11018   shlibpath_overrides_runpath=yes
   11019   ;;
   11020 
   11021 os2*)
   11022   libname_spec='$name'
   11023   version_type=windows
   11024   shrext_cmds=.dll
   11025   need_version=no
   11026   need_lib_prefix=no
   11027   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11028   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11029     v=$($ECHO $release$versuffix | tr -d .-);
   11030     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11031     $ECHO $n$v`$shared_ext'
   11032   library_names_spec='${libname}_dll.$libext'
   11033   dynamic_linker='OS/2 ld.exe'
   11034   shlibpath_var=BEGINLIBPATH
   11035   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11036   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11037   postinstall_cmds='base_file=`basename \$file`~
   11038     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11039     dldir=$destdir/`dirname \$dlpath`~
   11040     test -d \$dldir || mkdir -p \$dldir~
   11041     $install_prog $dir/$dlname \$dldir/$dlname~
   11042     chmod a+x \$dldir/$dlname~
   11043     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11044       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11045     fi'
   11046   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11047     dlpath=$dir/\$dldll~
   11048     $RM \$dlpath'
   11049   ;;
   11050 
   11051 osf3* | osf4* | osf5*)
   11052   version_type=osf
   11053   need_lib_prefix=no
   11054   need_version=no
   11055   soname_spec='$libname$release$shared_ext$major'
   11056   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11057   shlibpath_var=LD_LIBRARY_PATH
   11058   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11059   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11060   ;;
   11061 
   11062 rdos*)
   11063   dynamic_linker=no
   11064   ;;
   11065 
   11066 solaris*)
   11067   version_type=linux # correct to gnu/linux during the next big refactor
   11068   need_lib_prefix=no
   11069   need_version=no
   11070   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11071   soname_spec='$libname$release$shared_ext$major'
   11072   shlibpath_var=LD_LIBRARY_PATH
   11073   shlibpath_overrides_runpath=yes
   11074   hardcode_into_libs=yes
   11075   # ldd complains unless libraries are executable
   11076   postinstall_cmds='chmod +x $lib'
   11077   ;;
   11078 
   11079 sunos4*)
   11080   version_type=sunos
   11081   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11082   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11083   shlibpath_var=LD_LIBRARY_PATH
   11084   shlibpath_overrides_runpath=yes
   11085   if test yes = "$with_gnu_ld"; then
   11086     need_lib_prefix=no
   11087   fi
   11088   need_version=yes
   11089   ;;
   11090 
   11091 sysv4 | sysv4.3*)
   11092   version_type=linux # correct to gnu/linux during the next big refactor
   11093   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11094   soname_spec='$libname$release$shared_ext$major'
   11095   shlibpath_var=LD_LIBRARY_PATH
   11096   case $host_vendor in
   11097     sni)
   11098       shlibpath_overrides_runpath=no
   11099       need_lib_prefix=no
   11100       runpath_var=LD_RUN_PATH
   11101       ;;
   11102     siemens)
   11103       need_lib_prefix=no
   11104       ;;
   11105     motorola)
   11106       need_lib_prefix=no
   11107       need_version=no
   11108       shlibpath_overrides_runpath=no
   11109       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11110       ;;
   11111   esac
   11112   ;;
   11113 
   11114 sysv4*MP*)
   11115   if test -d /usr/nec; then
   11116     version_type=linux # correct to gnu/linux during the next big refactor
   11117     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11118     soname_spec='$libname$shared_ext.$major'
   11119     shlibpath_var=LD_LIBRARY_PATH
   11120   fi
   11121   ;;
   11122 
   11123 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11124   version_type=sco
   11125   need_lib_prefix=no
   11126   need_version=no
   11127   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11128   soname_spec='$libname$release$shared_ext$major'
   11129   shlibpath_var=LD_LIBRARY_PATH
   11130   shlibpath_overrides_runpath=yes
   11131   hardcode_into_libs=yes
   11132   if test yes = "$with_gnu_ld"; then
   11133     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11134   else
   11135     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11136     case $host_os in
   11137       sco3.2v5*)
   11138         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11139 	;;
   11140     esac
   11141   fi
   11142   sys_lib_dlsearch_path_spec='/usr/lib'
   11143   ;;
   11144 
   11145 tpf*)
   11146   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11147   version_type=linux # correct to gnu/linux during the next big refactor
   11148   need_lib_prefix=no
   11149   need_version=no
   11150   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11151   shlibpath_var=LD_LIBRARY_PATH
   11152   shlibpath_overrides_runpath=no
   11153   hardcode_into_libs=yes
   11154   ;;
   11155 
   11156 uts4*)
   11157   version_type=linux # correct to gnu/linux during the next big refactor
   11158   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11159   soname_spec='$libname$release$shared_ext$major'
   11160   shlibpath_var=LD_LIBRARY_PATH
   11161   ;;
   11162 
   11163 *)
   11164   dynamic_linker=no
   11165   ;;
   11166 esac
   11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11168 $as_echo "$dynamic_linker" >&6; }
   11169 test no = "$dynamic_linker" && can_build_shared=no
   11170 
   11171 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11172 if test yes = "$GCC"; then
   11173   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11174 fi
   11175 
   11176 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11177   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11178 fi
   11179 
   11180 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11181   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11182 fi
   11183 
   11184 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11185 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11186 
   11187 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11188 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11189 
   11190 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11191 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11290 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11291 hardcode_action=
   11292 if test -n "$hardcode_libdir_flag_spec" ||
   11293    test -n "$runpath_var" ||
   11294    test yes = "$hardcode_automatic"; then
   11295 
   11296   # We can hardcode non-existent directories.
   11297   if test no != "$hardcode_direct" &&
   11298      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11299      # have to relink, otherwise we might link with an installed library
   11300      # when we should be linking with a yet-to-be-installed one
   11301      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11302      test no != "$hardcode_minus_L"; then
   11303     # Linking always hardcodes the temporary library directory.
   11304     hardcode_action=relink
   11305   else
   11306     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11307     hardcode_action=immediate
   11308   fi
   11309 else
   11310   # We cannot hardcode anything, or else we can only hardcode existing
   11311   # directories.
   11312   hardcode_action=unsupported
   11313 fi
   11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11315 $as_echo "$hardcode_action" >&6; }
   11316 
   11317 if test relink = "$hardcode_action" ||
   11318    test yes = "$inherit_rpath"; then
   11319   # Fast installation is not supported
   11320   enable_fast_install=no
   11321 elif test yes = "$shlibpath_overrides_runpath" ||
   11322      test no = "$enable_shared"; then
   11323   # Fast installation is not necessary
   11324   enable_fast_install=needless
   11325 fi
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332   if test yes != "$enable_dlopen"; then
   11333   enable_dlopen=unknown
   11334   enable_dlopen_self=unknown
   11335   enable_dlopen_self_static=unknown
   11336 else
   11337   lt_cv_dlopen=no
   11338   lt_cv_dlopen_libs=
   11339 
   11340   case $host_os in
   11341   beos*)
   11342     lt_cv_dlopen=load_add_on
   11343     lt_cv_dlopen_libs=
   11344     lt_cv_dlopen_self=yes
   11345     ;;
   11346 
   11347   mingw* | pw32* | cegcc*)
   11348     lt_cv_dlopen=LoadLibrary
   11349     lt_cv_dlopen_libs=
   11350     ;;
   11351 
   11352   cygwin*)
   11353     lt_cv_dlopen=dlopen
   11354     lt_cv_dlopen_libs=
   11355     ;;
   11356 
   11357   darwin*)
   11358     # if libdl is installed we need to link against it
   11359     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11360 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11361 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11362   $as_echo_n "(cached) " >&6
   11363 else
   11364   ac_check_lib_save_LIBS=$LIBS
   11365 LIBS="-ldl  $LIBS"
   11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11367 /* end confdefs.h.  */
   11368 
   11369 /* Override any GCC internal prototype to avoid an error.
   11370    Use char because int might match the return type of a GCC
   11371    builtin and then its argument prototype would still apply.  */
   11372 #ifdef __cplusplus
   11373 extern "C"
   11374 #endif
   11375 char dlopen ();
   11376 int
   11377 main ()
   11378 {
   11379 return dlopen ();
   11380   ;
   11381   return 0;
   11382 }
   11383 _ACEOF
   11384 if ac_fn_c_try_link "$LINENO"; then :
   11385   ac_cv_lib_dl_dlopen=yes
   11386 else
   11387   ac_cv_lib_dl_dlopen=no
   11388 fi
   11389 rm -f core conftest.err conftest.$ac_objext \
   11390     conftest$ac_exeext conftest.$ac_ext
   11391 LIBS=$ac_check_lib_save_LIBS
   11392 fi
   11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11395 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11396   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11397 else
   11398 
   11399     lt_cv_dlopen=dyld
   11400     lt_cv_dlopen_libs=
   11401     lt_cv_dlopen_self=yes
   11402 
   11403 fi
   11404 
   11405     ;;
   11406 
   11407   tpf*)
   11408     # Don't try to run any link tests for TPF.  We know it's impossible
   11409     # because TPF is a cross-compiler, and we know how we open DSOs.
   11410     lt_cv_dlopen=dlopen
   11411     lt_cv_dlopen_libs=
   11412     lt_cv_dlopen_self=no
   11413     ;;
   11414 
   11415   *)
   11416     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11417 if test "x$ac_cv_func_shl_load" = xyes; then :
   11418   lt_cv_dlopen=shl_load
   11419 else
   11420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11421 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11422 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11423   $as_echo_n "(cached) " >&6
   11424 else
   11425   ac_check_lib_save_LIBS=$LIBS
   11426 LIBS="-ldld  $LIBS"
   11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11428 /* end confdefs.h.  */
   11429 
   11430 /* Override any GCC internal prototype to avoid an error.
   11431    Use char because int might match the return type of a GCC
   11432    builtin and then its argument prototype would still apply.  */
   11433 #ifdef __cplusplus
   11434 extern "C"
   11435 #endif
   11436 char shl_load ();
   11437 int
   11438 main ()
   11439 {
   11440 return shl_load ();
   11441   ;
   11442   return 0;
   11443 }
   11444 _ACEOF
   11445 if ac_fn_c_try_link "$LINENO"; then :
   11446   ac_cv_lib_dld_shl_load=yes
   11447 else
   11448   ac_cv_lib_dld_shl_load=no
   11449 fi
   11450 rm -f core conftest.err conftest.$ac_objext \
   11451     conftest$ac_exeext conftest.$ac_ext
   11452 LIBS=$ac_check_lib_save_LIBS
   11453 fi
   11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11455 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11456 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11457   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11458 else
   11459   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11460 if test "x$ac_cv_func_dlopen" = xyes; then :
   11461   lt_cv_dlopen=dlopen
   11462 else
   11463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11464 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11465 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11466   $as_echo_n "(cached) " >&6
   11467 else
   11468   ac_check_lib_save_LIBS=$LIBS
   11469 LIBS="-ldl  $LIBS"
   11470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11471 /* end confdefs.h.  */
   11472 
   11473 /* Override any GCC internal prototype to avoid an error.
   11474    Use char because int might match the return type of a GCC
   11475    builtin and then its argument prototype would still apply.  */
   11476 #ifdef __cplusplus
   11477 extern "C"
   11478 #endif
   11479 char dlopen ();
   11480 int
   11481 main ()
   11482 {
   11483 return dlopen ();
   11484   ;
   11485   return 0;
   11486 }
   11487 _ACEOF
   11488 if ac_fn_c_try_link "$LINENO"; then :
   11489   ac_cv_lib_dl_dlopen=yes
   11490 else
   11491   ac_cv_lib_dl_dlopen=no
   11492 fi
   11493 rm -f core conftest.err conftest.$ac_objext \
   11494     conftest$ac_exeext conftest.$ac_ext
   11495 LIBS=$ac_check_lib_save_LIBS
   11496 fi
   11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11498 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11499 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11500   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11501 else
   11502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11503 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11504 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11505   $as_echo_n "(cached) " >&6
   11506 else
   11507   ac_check_lib_save_LIBS=$LIBS
   11508 LIBS="-lsvld  $LIBS"
   11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11510 /* end confdefs.h.  */
   11511 
   11512 /* Override any GCC internal prototype to avoid an error.
   11513    Use char because int might match the return type of a GCC
   11514    builtin and then its argument prototype would still apply.  */
   11515 #ifdef __cplusplus
   11516 extern "C"
   11517 #endif
   11518 char dlopen ();
   11519 int
   11520 main ()
   11521 {
   11522 return dlopen ();
   11523   ;
   11524   return 0;
   11525 }
   11526 _ACEOF
   11527 if ac_fn_c_try_link "$LINENO"; then :
   11528   ac_cv_lib_svld_dlopen=yes
   11529 else
   11530   ac_cv_lib_svld_dlopen=no
   11531 fi
   11532 rm -f core conftest.err conftest.$ac_objext \
   11533     conftest$ac_exeext conftest.$ac_ext
   11534 LIBS=$ac_check_lib_save_LIBS
   11535 fi
   11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11537 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11538 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11539   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   11540 else
   11541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11542 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11543 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11544   $as_echo_n "(cached) " >&6
   11545 else
   11546   ac_check_lib_save_LIBS=$LIBS
   11547 LIBS="-ldld  $LIBS"
   11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11549 /* end confdefs.h.  */
   11550 
   11551 /* Override any GCC internal prototype to avoid an error.
   11552    Use char because int might match the return type of a GCC
   11553    builtin and then its argument prototype would still apply.  */
   11554 #ifdef __cplusplus
   11555 extern "C"
   11556 #endif
   11557 char dld_link ();
   11558 int
   11559 main ()
   11560 {
   11561 return dld_link ();
   11562   ;
   11563   return 0;
   11564 }
   11565 _ACEOF
   11566 if ac_fn_c_try_link "$LINENO"; then :
   11567   ac_cv_lib_dld_dld_link=yes
   11568 else
   11569   ac_cv_lib_dld_dld_link=no
   11570 fi
   11571 rm -f core conftest.err conftest.$ac_objext \
   11572     conftest$ac_exeext conftest.$ac_ext
   11573 LIBS=$ac_check_lib_save_LIBS
   11574 fi
   11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11576 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11577 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11578   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   11579 fi
   11580 
   11581 
   11582 fi
   11583 
   11584 
   11585 fi
   11586 
   11587 
   11588 fi
   11589 
   11590 
   11591 fi
   11592 
   11593 
   11594 fi
   11595 
   11596     ;;
   11597   esac
   11598 
   11599   if test no = "$lt_cv_dlopen"; then
   11600     enable_dlopen=no
   11601   else
   11602     enable_dlopen=yes
   11603   fi
   11604 
   11605   case $lt_cv_dlopen in
   11606   dlopen)
   11607     save_CPPFLAGS=$CPPFLAGS
   11608     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11609 
   11610     save_LDFLAGS=$LDFLAGS
   11611     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11612 
   11613     save_LIBS=$LIBS
   11614     LIBS="$lt_cv_dlopen_libs $LIBS"
   11615 
   11616     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11617 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11618 if ${lt_cv_dlopen_self+:} false; then :
   11619   $as_echo_n "(cached) " >&6
   11620 else
   11621   	  if test yes = "$cross_compiling"; then :
   11622   lt_cv_dlopen_self=cross
   11623 else
   11624   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11625   lt_status=$lt_dlunknown
   11626   cat > conftest.$ac_ext <<_LT_EOF
   11627 #line $LINENO "configure"
   11628 #include "confdefs.h"
   11629 
   11630 #if HAVE_DLFCN_H
   11631 #include <dlfcn.h>
   11632 #endif
   11633 
   11634 #include <stdio.h>
   11635 
   11636 #ifdef RTLD_GLOBAL
   11637 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11638 #else
   11639 #  ifdef DL_GLOBAL
   11640 #    define LT_DLGLOBAL		DL_GLOBAL
   11641 #  else
   11642 #    define LT_DLGLOBAL		0
   11643 #  endif
   11644 #endif
   11645 
   11646 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11647    find out it does not work in some platform. */
   11648 #ifndef LT_DLLAZY_OR_NOW
   11649 #  ifdef RTLD_LAZY
   11650 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11651 #  else
   11652 #    ifdef DL_LAZY
   11653 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11654 #    else
   11655 #      ifdef RTLD_NOW
   11656 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11657 #      else
   11658 #        ifdef DL_NOW
   11659 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11660 #        else
   11661 #          define LT_DLLAZY_OR_NOW	0
   11662 #        endif
   11663 #      endif
   11664 #    endif
   11665 #  endif
   11666 #endif
   11667 
   11668 /* When -fvisibility=hidden is used, assume the code has been annotated
   11669    correspondingly for the symbols needed.  */
   11670 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11671 int fnord () __attribute__((visibility("default")));
   11672 #endif
   11673 
   11674 int fnord () { return 42; }
   11675 int main ()
   11676 {
   11677   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11678   int status = $lt_dlunknown;
   11679 
   11680   if (self)
   11681     {
   11682       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11683       else
   11684         {
   11685 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11686           else puts (dlerror ());
   11687 	}
   11688       /* dlclose (self); */
   11689     }
   11690   else
   11691     puts (dlerror ());
   11692 
   11693   return status;
   11694 }
   11695 _LT_EOF
   11696   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11697   (eval $ac_link) 2>&5
   11698   ac_status=$?
   11699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11700   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11701     (./conftest; exit; ) >&5 2>/dev/null
   11702     lt_status=$?
   11703     case x$lt_status in
   11704       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11705       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11706       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11707     esac
   11708   else :
   11709     # compilation failed
   11710     lt_cv_dlopen_self=no
   11711   fi
   11712 fi
   11713 rm -fr conftest*
   11714 
   11715 
   11716 fi
   11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11718 $as_echo "$lt_cv_dlopen_self" >&6; }
   11719 
   11720     if test yes = "$lt_cv_dlopen_self"; then
   11721       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11722       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11723 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11724 if ${lt_cv_dlopen_self_static+:} false; then :
   11725   $as_echo_n "(cached) " >&6
   11726 else
   11727   	  if test yes = "$cross_compiling"; then :
   11728   lt_cv_dlopen_self_static=cross
   11729 else
   11730   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11731   lt_status=$lt_dlunknown
   11732   cat > conftest.$ac_ext <<_LT_EOF
   11733 #line $LINENO "configure"
   11734 #include "confdefs.h"
   11735 
   11736 #if HAVE_DLFCN_H
   11737 #include <dlfcn.h>
   11738 #endif
   11739 
   11740 #include <stdio.h>
   11741 
   11742 #ifdef RTLD_GLOBAL
   11743 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11744 #else
   11745 #  ifdef DL_GLOBAL
   11746 #    define LT_DLGLOBAL		DL_GLOBAL
   11747 #  else
   11748 #    define LT_DLGLOBAL		0
   11749 #  endif
   11750 #endif
   11751 
   11752 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11753    find out it does not work in some platform. */
   11754 #ifndef LT_DLLAZY_OR_NOW
   11755 #  ifdef RTLD_LAZY
   11756 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11757 #  else
   11758 #    ifdef DL_LAZY
   11759 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11760 #    else
   11761 #      ifdef RTLD_NOW
   11762 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11763 #      else
   11764 #        ifdef DL_NOW
   11765 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11766 #        else
   11767 #          define LT_DLLAZY_OR_NOW	0
   11768 #        endif
   11769 #      endif
   11770 #    endif
   11771 #  endif
   11772 #endif
   11773 
   11774 /* When -fvisibility=hidden is used, assume the code has been annotated
   11775    correspondingly for the symbols needed.  */
   11776 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11777 int fnord () __attribute__((visibility("default")));
   11778 #endif
   11779 
   11780 int fnord () { return 42; }
   11781 int main ()
   11782 {
   11783   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11784   int status = $lt_dlunknown;
   11785 
   11786   if (self)
   11787     {
   11788       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11789       else
   11790         {
   11791 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11792           else puts (dlerror ());
   11793 	}
   11794       /* dlclose (self); */
   11795     }
   11796   else
   11797     puts (dlerror ());
   11798 
   11799   return status;
   11800 }
   11801 _LT_EOF
   11802   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11803   (eval $ac_link) 2>&5
   11804   ac_status=$?
   11805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11806   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11807     (./conftest; exit; ) >&5 2>/dev/null
   11808     lt_status=$?
   11809     case x$lt_status in
   11810       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11811       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11812       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11813     esac
   11814   else :
   11815     # compilation failed
   11816     lt_cv_dlopen_self_static=no
   11817   fi
   11818 fi
   11819 rm -fr conftest*
   11820 
   11821 
   11822 fi
   11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11824 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11825     fi
   11826 
   11827     CPPFLAGS=$save_CPPFLAGS
   11828     LDFLAGS=$save_LDFLAGS
   11829     LIBS=$save_LIBS
   11830     ;;
   11831   esac
   11832 
   11833   case $lt_cv_dlopen_self in
   11834   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11835   *) enable_dlopen_self=unknown ;;
   11836   esac
   11837 
   11838   case $lt_cv_dlopen_self_static in
   11839   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11840   *) enable_dlopen_self_static=unknown ;;
   11841   esac
   11842 fi
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 striplib=
   11861 old_striplib=
   11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11863 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11864 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11865   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11866   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11868 $as_echo "yes" >&6; }
   11869 else
   11870 # FIXME - insert some real tests, host_os isn't really good enough
   11871   case $host_os in
   11872   darwin*)
   11873     if test -n "$STRIP"; then
   11874       striplib="$STRIP -x"
   11875       old_striplib="$STRIP -S"
   11876       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11877 $as_echo "yes" >&6; }
   11878     else
   11879       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11880 $as_echo "no" >&6; }
   11881     fi
   11882     ;;
   11883   *)
   11884     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11885 $as_echo "no" >&6; }
   11886     ;;
   11887   esac
   11888 fi
   11889 
   11890 
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901   # Report what library types will actually be built
   11902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11903 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11905 $as_echo "$can_build_shared" >&6; }
   11906 
   11907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11908 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11909   test no = "$can_build_shared" && enable_shared=no
   11910 
   11911   # On AIX, shared libraries and static libraries use the same namespace, and
   11912   # are all built from PIC.
   11913   case $host_os in
   11914   aix3*)
   11915     test yes = "$enable_shared" && enable_static=no
   11916     if test -n "$RANLIB"; then
   11917       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11918       postinstall_cmds='$RANLIB $lib'
   11919     fi
   11920     ;;
   11921 
   11922   aix[4-9]*)
   11923     if test ia64 != "$host_cpu"; then
   11924       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   11925       yes,aix,yes) ;;			# shared object as lib.so file only
   11926       yes,svr4,*) ;;			# shared object as lib.so archive member only
   11927       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   11928       esac
   11929     fi
   11930     ;;
   11931   esac
   11932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11933 $as_echo "$enable_shared" >&6; }
   11934 
   11935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11936 $as_echo_n "checking whether to build static libraries... " >&6; }
   11937   # Make sure either enable_shared or enable_static is yes.
   11938   test yes = "$enable_shared" || enable_static=yes
   11939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11940 $as_echo "$enable_static" >&6; }
   11941 
   11942 
   11943 
   11944 
   11945 fi
   11946 ac_ext=c
   11947 ac_cpp='$CPP $CPPFLAGS'
   11948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11951 
   11952 CC=$lt_save_CC
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968         ac_config_commands="$ac_config_commands libtool"
   11969 
   11970 
   11971 
   11972 
   11973 # Only expand once:
   11974 
   11975 
   11976 
   11977 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11990 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11991 if ${ac_cv_prog_cc_c99+:} false; then :
   11992   $as_echo_n "(cached) " >&6
   11993 else
   11994   ac_cv_prog_cc_c99=no
   11995 ac_save_CC=$CC
   11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11997 /* end confdefs.h.  */
   11998 #include <stdarg.h>
   11999 #include <stdbool.h>
   12000 #include <stdlib.h>
   12001 #include <wchar.h>
   12002 #include <stdio.h>
   12003 
   12004 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12005 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12006 #define showlist(...) puts (#__VA_ARGS__)
   12007 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12008 static void
   12009 test_varargs_macros (void)
   12010 {
   12011   int x = 1234;
   12012   int y = 5678;
   12013   debug ("Flag");
   12014   debug ("X = %d\n", x);
   12015   showlist (The first, second, and third items.);
   12016   report (x>y, "x is %d but y is %d", x, y);
   12017 }
   12018 
   12019 // Check long long types.
   12020 #define BIG64 18446744073709551615ull
   12021 #define BIG32 4294967295ul
   12022 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12023 #if !BIG_OK
   12024   your preprocessor is broken;
   12025 #endif
   12026 #if BIG_OK
   12027 #else
   12028   your preprocessor is broken;
   12029 #endif
   12030 static long long int bignum = -9223372036854775807LL;
   12031 static unsigned long long int ubignum = BIG64;
   12032 
   12033 struct incomplete_array
   12034 {
   12035   int datasize;
   12036   double data[];
   12037 };
   12038 
   12039 struct named_init {
   12040   int number;
   12041   const wchar_t *name;
   12042   double average;
   12043 };
   12044 
   12045 typedef const char *ccp;
   12046 
   12047 static inline int
   12048 test_restrict (ccp restrict text)
   12049 {
   12050   // See if C++-style comments work.
   12051   // Iterate through items via the restricted pointer.
   12052   // Also check for declarations in for loops.
   12053   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12054     continue;
   12055   return 0;
   12056 }
   12057 
   12058 // Check varargs and va_copy.
   12059 static void
   12060 test_varargs (const char *format, ...)
   12061 {
   12062   va_list args;
   12063   va_start (args, format);
   12064   va_list args_copy;
   12065   va_copy (args_copy, args);
   12066 
   12067   const char *str;
   12068   int number;
   12069   float fnumber;
   12070 
   12071   while (*format)
   12072     {
   12073       switch (*format++)
   12074 	{
   12075 	case 's': // string
   12076 	  str = va_arg (args_copy, const char *);
   12077 	  break;
   12078 	case 'd': // int
   12079 	  number = va_arg (args_copy, int);
   12080 	  break;
   12081 	case 'f': // float
   12082 	  fnumber = va_arg (args_copy, double);
   12083 	  break;
   12084 	default:
   12085 	  break;
   12086 	}
   12087     }
   12088   va_end (args_copy);
   12089   va_end (args);
   12090 }
   12091 
   12092 int
   12093 main ()
   12094 {
   12095 
   12096   // Check bool.
   12097   _Bool success = false;
   12098 
   12099   // Check restrict.
   12100   if (test_restrict ("String literal") == 0)
   12101     success = true;
   12102   char *restrict newvar = "Another string";
   12103 
   12104   // Check varargs.
   12105   test_varargs ("s, d' f .", "string", 65, 34.234);
   12106   test_varargs_macros ();
   12107 
   12108   // Check flexible array members.
   12109   struct incomplete_array *ia =
   12110     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12111   ia->datasize = 10;
   12112   for (int i = 0; i < ia->datasize; ++i)
   12113     ia->data[i] = i * 1.234;
   12114 
   12115   // Check named initializers.
   12116   struct named_init ni = {
   12117     .number = 34,
   12118     .name = L"Test wide string",
   12119     .average = 543.34343,
   12120   };
   12121 
   12122   ni.number = 58;
   12123 
   12124   int dynamic_array[ni.number];
   12125   dynamic_array[ni.number - 1] = 543;
   12126 
   12127   // work around unused variable warnings
   12128   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12129 	  || dynamic_array[ni.number - 1] != 543);
   12130 
   12131   ;
   12132   return 0;
   12133 }
   12134 _ACEOF
   12135 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12136 do
   12137   CC="$ac_save_CC $ac_arg"
   12138   if ac_fn_c_try_compile "$LINENO"; then :
   12139   ac_cv_prog_cc_c99=$ac_arg
   12140 fi
   12141 rm -f core conftest.err conftest.$ac_objext
   12142   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12143 done
   12144 rm -f conftest.$ac_ext
   12145 CC=$ac_save_CC
   12146 
   12147 fi
   12148 # AC_CACHE_VAL
   12149 case "x$ac_cv_prog_cc_c99" in
   12150   x)
   12151     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12152 $as_echo "none needed" >&6; } ;;
   12153   xno)
   12154     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12155 $as_echo "unsupported" >&6; } ;;
   12156   *)
   12157     CC="$CC $ac_cv_prog_cc_c99"
   12158     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12159 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12160 esac
   12161 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12162 
   12163 fi
   12164 
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12171 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12172   CLANGCC="yes"
   12173 else
   12174   CLANGCC="no"
   12175 fi
   12176 
   12177 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12178 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12179   INTELCC="yes"
   12180 else
   12181   INTELCC="no"
   12182 fi
   12183 
   12184 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12185 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12186   SUNCC="yes"
   12187 else
   12188   SUNCC="no"
   12189 fi
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12200 	if test -n "$ac_tool_prefix"; then
   12201   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12202 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12204 $as_echo_n "checking for $ac_word... " >&6; }
   12205 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12206   $as_echo_n "(cached) " >&6
   12207 else
   12208   case $PKG_CONFIG in
   12209   [\\/]* | ?:[\\/]*)
   12210   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12211   ;;
   12212   *)
   12213   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12214 for as_dir in $PATH
   12215 do
   12216   IFS=$as_save_IFS
   12217   test -z "$as_dir" && as_dir=.
   12218     for ac_exec_ext in '' $ac_executable_extensions; do
   12219   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12220     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12222     break 2
   12223   fi
   12224 done
   12225   done
   12226 IFS=$as_save_IFS
   12227 
   12228   ;;
   12229 esac
   12230 fi
   12231 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12232 if test -n "$PKG_CONFIG"; then
   12233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12234 $as_echo "$PKG_CONFIG" >&6; }
   12235 else
   12236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12237 $as_echo "no" >&6; }
   12238 fi
   12239 
   12240 
   12241 fi
   12242 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12243   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12244   # Extract the first word of "pkg-config", so it can be a program name with args.
   12245 set dummy pkg-config; ac_word=$2
   12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12247 $as_echo_n "checking for $ac_word... " >&6; }
   12248 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12249   $as_echo_n "(cached) " >&6
   12250 else
   12251   case $ac_pt_PKG_CONFIG in
   12252   [\\/]* | ?:[\\/]*)
   12253   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12254   ;;
   12255   *)
   12256   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12257 for as_dir in $PATH
   12258 do
   12259   IFS=$as_save_IFS
   12260   test -z "$as_dir" && as_dir=.
   12261     for ac_exec_ext in '' $ac_executable_extensions; do
   12262   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12263     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12265     break 2
   12266   fi
   12267 done
   12268   done
   12269 IFS=$as_save_IFS
   12270 
   12271   ;;
   12272 esac
   12273 fi
   12274 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12275 if test -n "$ac_pt_PKG_CONFIG"; then
   12276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12277 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12278 else
   12279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12280 $as_echo "no" >&6; }
   12281 fi
   12282 
   12283   if test "x$ac_pt_PKG_CONFIG" = x; then
   12284     PKG_CONFIG=""
   12285   else
   12286     case $cross_compiling:$ac_tool_warned in
   12287 yes:)
   12288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12290 ac_tool_warned=yes ;;
   12291 esac
   12292     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12293   fi
   12294 else
   12295   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12296 fi
   12297 
   12298 fi
   12299 if test -n "$PKG_CONFIG"; then
   12300 	_pkg_min_version=0.9.0
   12301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12302 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12303 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12305 $as_echo "yes" >&6; }
   12306 	else
   12307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12308 $as_echo "no" >&6; }
   12309 		PKG_CONFIG=""
   12310 	fi
   12311 fi
   12312 
   12313 
   12314 
   12315 
   12316 
   12317 # Check whether --enable-selective-werror was given.
   12318 if test "${enable_selective_werror+set}" = set; then :
   12319   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12320 else
   12321   SELECTIVE_WERROR=yes
   12322 fi
   12323 
   12324 
   12325 
   12326 
   12327 
   12328 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12329 if test "x$SUNCC" = "xyes"; then
   12330     BASE_CFLAGS="-v"
   12331 else
   12332     BASE_CFLAGS=""
   12333 fi
   12334 
   12335 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12336 
   12337 
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 xorg_testset_save_CFLAGS="$CFLAGS"
   12350 
   12351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12354 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12355 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12356   $as_echo_n "(cached) " >&6
   12357 else
   12358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12359 /* end confdefs.h.  */
   12360 int i;
   12361 _ACEOF
   12362 if ac_fn_c_try_compile "$LINENO"; then :
   12363   xorg_cv_cc_flag_unknown_warning_option=yes
   12364 else
   12365   xorg_cv_cc_flag_unknown_warning_option=no
   12366 fi
   12367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12368 fi
   12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12370 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12371 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12372 	CFLAGS="$xorg_testset_save_CFLAGS"
   12373 fi
   12374 
   12375 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12376 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12377 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12378 	fi
   12379 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12380 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12381 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12382 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12383   $as_echo_n "(cached) " >&6
   12384 else
   12385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12386 /* end confdefs.h.  */
   12387 int i;
   12388 _ACEOF
   12389 if ac_fn_c_try_compile "$LINENO"; then :
   12390   xorg_cv_cc_flag_unused_command_line_argument=yes
   12391 else
   12392   xorg_cv_cc_flag_unused_command_line_argument=no
   12393 fi
   12394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12395 fi
   12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12397 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12398 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12399 	CFLAGS="$xorg_testset_save_CFLAGS"
   12400 fi
   12401 
   12402 found="no"
   12403 
   12404 	if test $found = "no" ; then
   12405 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12406 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12407 		fi
   12408 
   12409 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12410 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12411 		fi
   12412 
   12413 		CFLAGS="$CFLAGS -Wall"
   12414 
   12415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12416 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12417 		cacheid=xorg_cv_cc_flag__Wall
   12418 		if eval \${$cacheid+:} false; then :
   12419   $as_echo_n "(cached) " >&6
   12420 else
   12421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12422 /* end confdefs.h.  */
   12423 int i;
   12424 int
   12425 main ()
   12426 {
   12427 
   12428   ;
   12429   return 0;
   12430 }
   12431 _ACEOF
   12432 if ac_fn_c_try_link "$LINENO"; then :
   12433   eval $cacheid=yes
   12434 else
   12435   eval $cacheid=no
   12436 fi
   12437 rm -f core conftest.err conftest.$ac_objext \
   12438     conftest$ac_exeext conftest.$ac_ext
   12439 fi
   12440 
   12441 
   12442 		CFLAGS="$xorg_testset_save_CFLAGS"
   12443 
   12444 		eval supported=\$$cacheid
   12445 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12446 $as_echo "$supported" >&6; }
   12447 		if test "$supported" = "yes" ; then
   12448 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12449 			found="yes"
   12450 		fi
   12451 	fi
   12452 
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 xorg_testset_save_CFLAGS="$CFLAGS"
   12468 
   12469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12472 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12473 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12474   $as_echo_n "(cached) " >&6
   12475 else
   12476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12477 /* end confdefs.h.  */
   12478 int i;
   12479 _ACEOF
   12480 if ac_fn_c_try_compile "$LINENO"; then :
   12481   xorg_cv_cc_flag_unknown_warning_option=yes
   12482 else
   12483   xorg_cv_cc_flag_unknown_warning_option=no
   12484 fi
   12485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12486 fi
   12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12488 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12489 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12490 	CFLAGS="$xorg_testset_save_CFLAGS"
   12491 fi
   12492 
   12493 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12494 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12495 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12496 	fi
   12497 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12499 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12500 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12501   $as_echo_n "(cached) " >&6
   12502 else
   12503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12504 /* end confdefs.h.  */
   12505 int i;
   12506 _ACEOF
   12507 if ac_fn_c_try_compile "$LINENO"; then :
   12508   xorg_cv_cc_flag_unused_command_line_argument=yes
   12509 else
   12510   xorg_cv_cc_flag_unused_command_line_argument=no
   12511 fi
   12512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12513 fi
   12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12515 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12516 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12517 	CFLAGS="$xorg_testset_save_CFLAGS"
   12518 fi
   12519 
   12520 found="no"
   12521 
   12522 	if test $found = "no" ; then
   12523 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12525 		fi
   12526 
   12527 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12529 		fi
   12530 
   12531 		CFLAGS="$CFLAGS -Wpointer-arith"
   12532 
   12533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12534 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12535 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12536 		if eval \${$cacheid+:} false; then :
   12537   $as_echo_n "(cached) " >&6
   12538 else
   12539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12540 /* end confdefs.h.  */
   12541 int i;
   12542 int
   12543 main ()
   12544 {
   12545 
   12546   ;
   12547   return 0;
   12548 }
   12549 _ACEOF
   12550 if ac_fn_c_try_link "$LINENO"; then :
   12551   eval $cacheid=yes
   12552 else
   12553   eval $cacheid=no
   12554 fi
   12555 rm -f core conftest.err conftest.$ac_objext \
   12556     conftest$ac_exeext conftest.$ac_ext
   12557 fi
   12558 
   12559 
   12560 		CFLAGS="$xorg_testset_save_CFLAGS"
   12561 
   12562 		eval supported=\$$cacheid
   12563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12564 $as_echo "$supported" >&6; }
   12565 		if test "$supported" = "yes" ; then
   12566 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12567 			found="yes"
   12568 		fi
   12569 	fi
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 xorg_testset_save_CFLAGS="$CFLAGS"
   12586 
   12587 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12588 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12590 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12591 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12592   $as_echo_n "(cached) " >&6
   12593 else
   12594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12595 /* end confdefs.h.  */
   12596 int i;
   12597 _ACEOF
   12598 if ac_fn_c_try_compile "$LINENO"; then :
   12599   xorg_cv_cc_flag_unknown_warning_option=yes
   12600 else
   12601   xorg_cv_cc_flag_unknown_warning_option=no
   12602 fi
   12603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12604 fi
   12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12606 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12607 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12608 	CFLAGS="$xorg_testset_save_CFLAGS"
   12609 fi
   12610 
   12611 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12612 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12613 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12614 	fi
   12615 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12617 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12618 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12619   $as_echo_n "(cached) " >&6
   12620 else
   12621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12622 /* end confdefs.h.  */
   12623 int i;
   12624 _ACEOF
   12625 if ac_fn_c_try_compile "$LINENO"; then :
   12626   xorg_cv_cc_flag_unused_command_line_argument=yes
   12627 else
   12628   xorg_cv_cc_flag_unused_command_line_argument=no
   12629 fi
   12630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12631 fi
   12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12633 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12635 	CFLAGS="$xorg_testset_save_CFLAGS"
   12636 fi
   12637 
   12638 found="no"
   12639 
   12640 	if test $found = "no" ; then
   12641 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12643 		fi
   12644 
   12645 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12647 		fi
   12648 
   12649 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12650 
   12651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12652 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12653 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12654 		if eval \${$cacheid+:} false; then :
   12655   $as_echo_n "(cached) " >&6
   12656 else
   12657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12658 /* end confdefs.h.  */
   12659 int i;
   12660 int
   12661 main ()
   12662 {
   12663 
   12664   ;
   12665   return 0;
   12666 }
   12667 _ACEOF
   12668 if ac_fn_c_try_link "$LINENO"; then :
   12669   eval $cacheid=yes
   12670 else
   12671   eval $cacheid=no
   12672 fi
   12673 rm -f core conftest.err conftest.$ac_objext \
   12674     conftest$ac_exeext conftest.$ac_ext
   12675 fi
   12676 
   12677 
   12678 		CFLAGS="$xorg_testset_save_CFLAGS"
   12679 
   12680 		eval supported=\$$cacheid
   12681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12682 $as_echo "$supported" >&6; }
   12683 		if test "$supported" = "yes" ; then
   12684 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12685 			found="yes"
   12686 		fi
   12687 	fi
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 xorg_testset_save_CFLAGS="$CFLAGS"
   12704 
   12705 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12706 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12708 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12709 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12710   $as_echo_n "(cached) " >&6
   12711 else
   12712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12713 /* end confdefs.h.  */
   12714 int i;
   12715 _ACEOF
   12716 if ac_fn_c_try_compile "$LINENO"; then :
   12717   xorg_cv_cc_flag_unknown_warning_option=yes
   12718 else
   12719   xorg_cv_cc_flag_unknown_warning_option=no
   12720 fi
   12721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12722 fi
   12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12724 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12726 	CFLAGS="$xorg_testset_save_CFLAGS"
   12727 fi
   12728 
   12729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12732 	fi
   12733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12735 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12736 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12737   $as_echo_n "(cached) " >&6
   12738 else
   12739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12740 /* end confdefs.h.  */
   12741 int i;
   12742 _ACEOF
   12743 if ac_fn_c_try_compile "$LINENO"; then :
   12744   xorg_cv_cc_flag_unused_command_line_argument=yes
   12745 else
   12746   xorg_cv_cc_flag_unused_command_line_argument=no
   12747 fi
   12748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12749 fi
   12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12751 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12753 	CFLAGS="$xorg_testset_save_CFLAGS"
   12754 fi
   12755 
   12756 found="no"
   12757 
   12758 	if test $found = "no" ; then
   12759 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12761 		fi
   12762 
   12763 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12765 		fi
   12766 
   12767 		CFLAGS="$CFLAGS -Wformat=2"
   12768 
   12769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12770 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12771 		cacheid=xorg_cv_cc_flag__Wformat_2
   12772 		if eval \${$cacheid+:} false; then :
   12773   $as_echo_n "(cached) " >&6
   12774 else
   12775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12776 /* end confdefs.h.  */
   12777 int i;
   12778 int
   12779 main ()
   12780 {
   12781 
   12782   ;
   12783   return 0;
   12784 }
   12785 _ACEOF
   12786 if ac_fn_c_try_link "$LINENO"; then :
   12787   eval $cacheid=yes
   12788 else
   12789   eval $cacheid=no
   12790 fi
   12791 rm -f core conftest.err conftest.$ac_objext \
   12792     conftest$ac_exeext conftest.$ac_ext
   12793 fi
   12794 
   12795 
   12796 		CFLAGS="$xorg_testset_save_CFLAGS"
   12797 
   12798 		eval supported=\$$cacheid
   12799 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12800 $as_echo "$supported" >&6; }
   12801 		if test "$supported" = "yes" ; then
   12802 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12803 			found="yes"
   12804 		fi
   12805 	fi
   12806 
   12807 	if test $found = "no" ; then
   12808 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12809 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12810 		fi
   12811 
   12812 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12813 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12814 		fi
   12815 
   12816 		CFLAGS="$CFLAGS -Wformat"
   12817 
   12818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12819 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12820 		cacheid=xorg_cv_cc_flag__Wformat
   12821 		if eval \${$cacheid+:} false; then :
   12822   $as_echo_n "(cached) " >&6
   12823 else
   12824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12825 /* end confdefs.h.  */
   12826 int i;
   12827 int
   12828 main ()
   12829 {
   12830 
   12831   ;
   12832   return 0;
   12833 }
   12834 _ACEOF
   12835 if ac_fn_c_try_link "$LINENO"; then :
   12836   eval $cacheid=yes
   12837 else
   12838   eval $cacheid=no
   12839 fi
   12840 rm -f core conftest.err conftest.$ac_objext \
   12841     conftest$ac_exeext conftest.$ac_ext
   12842 fi
   12843 
   12844 
   12845 		CFLAGS="$xorg_testset_save_CFLAGS"
   12846 
   12847 		eval supported=\$$cacheid
   12848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12849 $as_echo "$supported" >&6; }
   12850 		if test "$supported" = "yes" ; then
   12851 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12852 			found="yes"
   12853 		fi
   12854 	fi
   12855 
   12856 
   12857 
   12858 
   12859 
   12860 
   12861 
   12862 
   12863 
   12864 
   12865 
   12866 
   12867 
   12868 
   12869 
   12870 
   12871 
   12872 xorg_testset_save_CFLAGS="$CFLAGS"
   12873 
   12874 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12875 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12877 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12878 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12879   $as_echo_n "(cached) " >&6
   12880 else
   12881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12882 /* end confdefs.h.  */
   12883 int i;
   12884 _ACEOF
   12885 if ac_fn_c_try_compile "$LINENO"; then :
   12886   xorg_cv_cc_flag_unknown_warning_option=yes
   12887 else
   12888   xorg_cv_cc_flag_unknown_warning_option=no
   12889 fi
   12890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12891 fi
   12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12893 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12895 	CFLAGS="$xorg_testset_save_CFLAGS"
   12896 fi
   12897 
   12898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12901 	fi
   12902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12904 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12905 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12906   $as_echo_n "(cached) " >&6
   12907 else
   12908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12909 /* end confdefs.h.  */
   12910 int i;
   12911 _ACEOF
   12912 if ac_fn_c_try_compile "$LINENO"; then :
   12913   xorg_cv_cc_flag_unused_command_line_argument=yes
   12914 else
   12915   xorg_cv_cc_flag_unused_command_line_argument=no
   12916 fi
   12917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12918 fi
   12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12920 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12921 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12922 	CFLAGS="$xorg_testset_save_CFLAGS"
   12923 fi
   12924 
   12925 found="no"
   12926 
   12927 	if test $found = "no" ; then
   12928 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12929 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12930 		fi
   12931 
   12932 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12933 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12934 		fi
   12935 
   12936 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12937 
   12938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12939 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12940 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12941 		if eval \${$cacheid+:} false; then :
   12942   $as_echo_n "(cached) " >&6
   12943 else
   12944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12945 /* end confdefs.h.  */
   12946 int i;
   12947 int
   12948 main ()
   12949 {
   12950 
   12951   ;
   12952   return 0;
   12953 }
   12954 _ACEOF
   12955 if ac_fn_c_try_link "$LINENO"; then :
   12956   eval $cacheid=yes
   12957 else
   12958   eval $cacheid=no
   12959 fi
   12960 rm -f core conftest.err conftest.$ac_objext \
   12961     conftest$ac_exeext conftest.$ac_ext
   12962 fi
   12963 
   12964 
   12965 		CFLAGS="$xorg_testset_save_CFLAGS"
   12966 
   12967 		eval supported=\$$cacheid
   12968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12969 $as_echo "$supported" >&6; }
   12970 		if test "$supported" = "yes" ; then
   12971 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12972 			found="yes"
   12973 		fi
   12974 	fi
   12975 
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 xorg_testset_save_CFLAGS="$CFLAGS"
   12991 
   12992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12995 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12996 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12997   $as_echo_n "(cached) " >&6
   12998 else
   12999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13000 /* end confdefs.h.  */
   13001 int i;
   13002 _ACEOF
   13003 if ac_fn_c_try_compile "$LINENO"; then :
   13004   xorg_cv_cc_flag_unknown_warning_option=yes
   13005 else
   13006   xorg_cv_cc_flag_unknown_warning_option=no
   13007 fi
   13008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13009 fi
   13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13011 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13012 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13013 	CFLAGS="$xorg_testset_save_CFLAGS"
   13014 fi
   13015 
   13016 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13017 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13018 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13019 	fi
   13020 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13021 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13022 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13023 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13024   $as_echo_n "(cached) " >&6
   13025 else
   13026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13027 /* end confdefs.h.  */
   13028 int i;
   13029 _ACEOF
   13030 if ac_fn_c_try_compile "$LINENO"; then :
   13031   xorg_cv_cc_flag_unused_command_line_argument=yes
   13032 else
   13033   xorg_cv_cc_flag_unused_command_line_argument=no
   13034 fi
   13035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13036 fi
   13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13038 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13039 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13040 	CFLAGS="$xorg_testset_save_CFLAGS"
   13041 fi
   13042 
   13043 found="no"
   13044 
   13045 	if test $found = "no" ; then
   13046 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13047 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13048 		fi
   13049 
   13050 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13051 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13052 		fi
   13053 
   13054 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13055 
   13056 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13057 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13058 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13059 		if eval \${$cacheid+:} false; then :
   13060   $as_echo_n "(cached) " >&6
   13061 else
   13062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13063 /* end confdefs.h.  */
   13064 int i;
   13065 int
   13066 main ()
   13067 {
   13068 
   13069   ;
   13070   return 0;
   13071 }
   13072 _ACEOF
   13073 if ac_fn_c_try_link "$LINENO"; then :
   13074   eval $cacheid=yes
   13075 else
   13076   eval $cacheid=no
   13077 fi
   13078 rm -f core conftest.err conftest.$ac_objext \
   13079     conftest$ac_exeext conftest.$ac_ext
   13080 fi
   13081 
   13082 
   13083 		CFLAGS="$xorg_testset_save_CFLAGS"
   13084 
   13085 		eval supported=\$$cacheid
   13086 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13087 $as_echo "$supported" >&6; }
   13088 		if test "$supported" = "yes" ; then
   13089 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13090 			found="yes"
   13091 		fi
   13092 	fi
   13093 
   13094 
   13095 
   13096 
   13097 
   13098 
   13099 
   13100 
   13101 
   13102 
   13103 
   13104 
   13105 
   13106 
   13107 
   13108 xorg_testset_save_CFLAGS="$CFLAGS"
   13109 
   13110 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13111 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13113 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13114 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13115   $as_echo_n "(cached) " >&6
   13116 else
   13117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13118 /* end confdefs.h.  */
   13119 int i;
   13120 _ACEOF
   13121 if ac_fn_c_try_compile "$LINENO"; then :
   13122   xorg_cv_cc_flag_unknown_warning_option=yes
   13123 else
   13124   xorg_cv_cc_flag_unknown_warning_option=no
   13125 fi
   13126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13127 fi
   13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13129 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13130 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13131 	CFLAGS="$xorg_testset_save_CFLAGS"
   13132 fi
   13133 
   13134 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13135 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13136 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13137 	fi
   13138 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13139 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13140 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13141 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13142   $as_echo_n "(cached) " >&6
   13143 else
   13144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13145 /* end confdefs.h.  */
   13146 int i;
   13147 _ACEOF
   13148 if ac_fn_c_try_compile "$LINENO"; then :
   13149   xorg_cv_cc_flag_unused_command_line_argument=yes
   13150 else
   13151   xorg_cv_cc_flag_unused_command_line_argument=no
   13152 fi
   13153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13154 fi
   13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13156 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13157 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13158 	CFLAGS="$xorg_testset_save_CFLAGS"
   13159 fi
   13160 
   13161 found="no"
   13162 
   13163 	if test $found = "no" ; then
   13164 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13166 		fi
   13167 
   13168 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13170 		fi
   13171 
   13172 		CFLAGS="$CFLAGS -Wnested-externs"
   13173 
   13174 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13175 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13176 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13177 		if eval \${$cacheid+:} false; then :
   13178   $as_echo_n "(cached) " >&6
   13179 else
   13180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13181 /* end confdefs.h.  */
   13182 int i;
   13183 int
   13184 main ()
   13185 {
   13186 
   13187   ;
   13188   return 0;
   13189 }
   13190 _ACEOF
   13191 if ac_fn_c_try_link "$LINENO"; then :
   13192   eval $cacheid=yes
   13193 else
   13194   eval $cacheid=no
   13195 fi
   13196 rm -f core conftest.err conftest.$ac_objext \
   13197     conftest$ac_exeext conftest.$ac_ext
   13198 fi
   13199 
   13200 
   13201 		CFLAGS="$xorg_testset_save_CFLAGS"
   13202 
   13203 		eval supported=\$$cacheid
   13204 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13205 $as_echo "$supported" >&6; }
   13206 		if test "$supported" = "yes" ; then
   13207 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13208 			found="yes"
   13209 		fi
   13210 	fi
   13211 
   13212 
   13213 
   13214 
   13215 
   13216 
   13217 
   13218 
   13219 
   13220 
   13221 
   13222 
   13223 
   13224 
   13225 
   13226 xorg_testset_save_CFLAGS="$CFLAGS"
   13227 
   13228 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13229 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13231 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13232 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13233   $as_echo_n "(cached) " >&6
   13234 else
   13235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13236 /* end confdefs.h.  */
   13237 int i;
   13238 _ACEOF
   13239 if ac_fn_c_try_compile "$LINENO"; then :
   13240   xorg_cv_cc_flag_unknown_warning_option=yes
   13241 else
   13242   xorg_cv_cc_flag_unknown_warning_option=no
   13243 fi
   13244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13245 fi
   13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13247 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13248 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13249 	CFLAGS="$xorg_testset_save_CFLAGS"
   13250 fi
   13251 
   13252 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13253 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13254 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13255 	fi
   13256 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13257 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13258 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13259 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13260   $as_echo_n "(cached) " >&6
   13261 else
   13262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13263 /* end confdefs.h.  */
   13264 int i;
   13265 _ACEOF
   13266 if ac_fn_c_try_compile "$LINENO"; then :
   13267   xorg_cv_cc_flag_unused_command_line_argument=yes
   13268 else
   13269   xorg_cv_cc_flag_unused_command_line_argument=no
   13270 fi
   13271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13272 fi
   13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13274 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13275 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13276 	CFLAGS="$xorg_testset_save_CFLAGS"
   13277 fi
   13278 
   13279 found="no"
   13280 
   13281 	if test $found = "no" ; then
   13282 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13283 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13284 		fi
   13285 
   13286 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13287 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13288 		fi
   13289 
   13290 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13291 
   13292 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13293 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13294 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13295 		if eval \${$cacheid+:} false; then :
   13296   $as_echo_n "(cached) " >&6
   13297 else
   13298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13299 /* end confdefs.h.  */
   13300 int i;
   13301 int
   13302 main ()
   13303 {
   13304 
   13305   ;
   13306   return 0;
   13307 }
   13308 _ACEOF
   13309 if ac_fn_c_try_link "$LINENO"; then :
   13310   eval $cacheid=yes
   13311 else
   13312   eval $cacheid=no
   13313 fi
   13314 rm -f core conftest.err conftest.$ac_objext \
   13315     conftest$ac_exeext conftest.$ac_ext
   13316 fi
   13317 
   13318 
   13319 		CFLAGS="$xorg_testset_save_CFLAGS"
   13320 
   13321 		eval supported=\$$cacheid
   13322 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13323 $as_echo "$supported" >&6; }
   13324 		if test "$supported" = "yes" ; then
   13325 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13326 			found="yes"
   13327 		fi
   13328 	fi
   13329 
   13330 
   13331 
   13332 
   13333 
   13334 
   13335 
   13336 
   13337 
   13338 
   13339 
   13340 
   13341 
   13342 
   13343 
   13344 xorg_testset_save_CFLAGS="$CFLAGS"
   13345 
   13346 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13347 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13349 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13350 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13351   $as_echo_n "(cached) " >&6
   13352 else
   13353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13354 /* end confdefs.h.  */
   13355 int i;
   13356 _ACEOF
   13357 if ac_fn_c_try_compile "$LINENO"; then :
   13358   xorg_cv_cc_flag_unknown_warning_option=yes
   13359 else
   13360   xorg_cv_cc_flag_unknown_warning_option=no
   13361 fi
   13362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13363 fi
   13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13365 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13366 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13367 	CFLAGS="$xorg_testset_save_CFLAGS"
   13368 fi
   13369 
   13370 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13371 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13372 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13373 	fi
   13374 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13375 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13376 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13377 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13378   $as_echo_n "(cached) " >&6
   13379 else
   13380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13381 /* end confdefs.h.  */
   13382 int i;
   13383 _ACEOF
   13384 if ac_fn_c_try_compile "$LINENO"; then :
   13385   xorg_cv_cc_flag_unused_command_line_argument=yes
   13386 else
   13387   xorg_cv_cc_flag_unused_command_line_argument=no
   13388 fi
   13389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13390 fi
   13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13392 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13393 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13394 	CFLAGS="$xorg_testset_save_CFLAGS"
   13395 fi
   13396 
   13397 found="no"
   13398 
   13399 	if test $found = "no" ; then
   13400 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13401 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13402 		fi
   13403 
   13404 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13405 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13406 		fi
   13407 
   13408 		CFLAGS="$CFLAGS -Wold-style-definition"
   13409 
   13410 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13411 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13412 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13413 		if eval \${$cacheid+:} false; then :
   13414   $as_echo_n "(cached) " >&6
   13415 else
   13416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13417 /* end confdefs.h.  */
   13418 int i;
   13419 int
   13420 main ()
   13421 {
   13422 
   13423   ;
   13424   return 0;
   13425 }
   13426 _ACEOF
   13427 if ac_fn_c_try_link "$LINENO"; then :
   13428   eval $cacheid=yes
   13429 else
   13430   eval $cacheid=no
   13431 fi
   13432 rm -f core conftest.err conftest.$ac_objext \
   13433     conftest$ac_exeext conftest.$ac_ext
   13434 fi
   13435 
   13436 
   13437 		CFLAGS="$xorg_testset_save_CFLAGS"
   13438 
   13439 		eval supported=\$$cacheid
   13440 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13441 $as_echo "$supported" >&6; }
   13442 		if test "$supported" = "yes" ; then
   13443 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13444 			found="yes"
   13445 		fi
   13446 	fi
   13447 
   13448 	if test $found = "no" ; then
   13449 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13451 		fi
   13452 
   13453 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13455 		fi
   13456 
   13457 		CFLAGS="$CFLAGS -fd"
   13458 
   13459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13460 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13461 		cacheid=xorg_cv_cc_flag__fd
   13462 		if eval \${$cacheid+:} false; then :
   13463   $as_echo_n "(cached) " >&6
   13464 else
   13465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13466 /* end confdefs.h.  */
   13467 int i;
   13468 int
   13469 main ()
   13470 {
   13471 
   13472   ;
   13473   return 0;
   13474 }
   13475 _ACEOF
   13476 if ac_fn_c_try_link "$LINENO"; then :
   13477   eval $cacheid=yes
   13478 else
   13479   eval $cacheid=no
   13480 fi
   13481 rm -f core conftest.err conftest.$ac_objext \
   13482     conftest$ac_exeext conftest.$ac_ext
   13483 fi
   13484 
   13485 
   13486 		CFLAGS="$xorg_testset_save_CFLAGS"
   13487 
   13488 		eval supported=\$$cacheid
   13489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13490 $as_echo "$supported" >&6; }
   13491 		if test "$supported" = "yes" ; then
   13492 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13493 			found="yes"
   13494 		fi
   13495 	fi
   13496 
   13497 
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 xorg_testset_save_CFLAGS="$CFLAGS"
   13512 
   13513 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13514 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13516 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13517 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13518   $as_echo_n "(cached) " >&6
   13519 else
   13520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13521 /* end confdefs.h.  */
   13522 int i;
   13523 _ACEOF
   13524 if ac_fn_c_try_compile "$LINENO"; then :
   13525   xorg_cv_cc_flag_unknown_warning_option=yes
   13526 else
   13527   xorg_cv_cc_flag_unknown_warning_option=no
   13528 fi
   13529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13530 fi
   13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13532 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13533 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13534 	CFLAGS="$xorg_testset_save_CFLAGS"
   13535 fi
   13536 
   13537 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13538 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13539 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13540 	fi
   13541 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13543 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13544 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13545   $as_echo_n "(cached) " >&6
   13546 else
   13547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13548 /* end confdefs.h.  */
   13549 int i;
   13550 _ACEOF
   13551 if ac_fn_c_try_compile "$LINENO"; then :
   13552   xorg_cv_cc_flag_unused_command_line_argument=yes
   13553 else
   13554   xorg_cv_cc_flag_unused_command_line_argument=no
   13555 fi
   13556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13557 fi
   13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13559 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13560 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13561 	CFLAGS="$xorg_testset_save_CFLAGS"
   13562 fi
   13563 
   13564 found="no"
   13565 
   13566 	if test $found = "no" ; then
   13567 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13568 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13569 		fi
   13570 
   13571 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13572 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13573 		fi
   13574 
   13575 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13576 
   13577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13578 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13579 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13580 		if eval \${$cacheid+:} false; then :
   13581   $as_echo_n "(cached) " >&6
   13582 else
   13583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13584 /* end confdefs.h.  */
   13585 int i;
   13586 int
   13587 main ()
   13588 {
   13589 
   13590   ;
   13591   return 0;
   13592 }
   13593 _ACEOF
   13594 if ac_fn_c_try_link "$LINENO"; then :
   13595   eval $cacheid=yes
   13596 else
   13597   eval $cacheid=no
   13598 fi
   13599 rm -f core conftest.err conftest.$ac_objext \
   13600     conftest$ac_exeext conftest.$ac_ext
   13601 fi
   13602 
   13603 
   13604 		CFLAGS="$xorg_testset_save_CFLAGS"
   13605 
   13606 		eval supported=\$$cacheid
   13607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13608 $as_echo "$supported" >&6; }
   13609 		if test "$supported" = "yes" ; then
   13610 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13611 			found="yes"
   13612 		fi
   13613 	fi
   13614 
   13615 
   13616 
   13617 
   13618 
   13619 # This chunk adds additional warnings that could catch undesired effects.
   13620 
   13621 
   13622 
   13623 
   13624 
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 xorg_testset_save_CFLAGS="$CFLAGS"
   13634 
   13635 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13636 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13638 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13639 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13640   $as_echo_n "(cached) " >&6
   13641 else
   13642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13643 /* end confdefs.h.  */
   13644 int i;
   13645 _ACEOF
   13646 if ac_fn_c_try_compile "$LINENO"; then :
   13647   xorg_cv_cc_flag_unknown_warning_option=yes
   13648 else
   13649   xorg_cv_cc_flag_unknown_warning_option=no
   13650 fi
   13651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13652 fi
   13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13654 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13655 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13656 	CFLAGS="$xorg_testset_save_CFLAGS"
   13657 fi
   13658 
   13659 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13660 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13661 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13662 	fi
   13663 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13664 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13665 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13666 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13667   $as_echo_n "(cached) " >&6
   13668 else
   13669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13670 /* end confdefs.h.  */
   13671 int i;
   13672 _ACEOF
   13673 if ac_fn_c_try_compile "$LINENO"; then :
   13674   xorg_cv_cc_flag_unused_command_line_argument=yes
   13675 else
   13676   xorg_cv_cc_flag_unused_command_line_argument=no
   13677 fi
   13678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13679 fi
   13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13681 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13682 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13683 	CFLAGS="$xorg_testset_save_CFLAGS"
   13684 fi
   13685 
   13686 found="no"
   13687 
   13688 	if test $found = "no" ; then
   13689 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13690 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13691 		fi
   13692 
   13693 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13694 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13695 		fi
   13696 
   13697 		CFLAGS="$CFLAGS -Wunused"
   13698 
   13699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13700 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13701 		cacheid=xorg_cv_cc_flag__Wunused
   13702 		if eval \${$cacheid+:} false; then :
   13703   $as_echo_n "(cached) " >&6
   13704 else
   13705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13706 /* end confdefs.h.  */
   13707 int i;
   13708 int
   13709 main ()
   13710 {
   13711 
   13712   ;
   13713   return 0;
   13714 }
   13715 _ACEOF
   13716 if ac_fn_c_try_link "$LINENO"; then :
   13717   eval $cacheid=yes
   13718 else
   13719   eval $cacheid=no
   13720 fi
   13721 rm -f core conftest.err conftest.$ac_objext \
   13722     conftest$ac_exeext conftest.$ac_ext
   13723 fi
   13724 
   13725 
   13726 		CFLAGS="$xorg_testset_save_CFLAGS"
   13727 
   13728 		eval supported=\$$cacheid
   13729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13730 $as_echo "$supported" >&6; }
   13731 		if test "$supported" = "yes" ; then
   13732 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13733 			found="yes"
   13734 		fi
   13735 	fi
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 xorg_testset_save_CFLAGS="$CFLAGS"
   13752 
   13753 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13754 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13755 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13756 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13757 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13758   $as_echo_n "(cached) " >&6
   13759 else
   13760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13761 /* end confdefs.h.  */
   13762 int i;
   13763 _ACEOF
   13764 if ac_fn_c_try_compile "$LINENO"; then :
   13765   xorg_cv_cc_flag_unknown_warning_option=yes
   13766 else
   13767   xorg_cv_cc_flag_unknown_warning_option=no
   13768 fi
   13769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13770 fi
   13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13772 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13774 	CFLAGS="$xorg_testset_save_CFLAGS"
   13775 fi
   13776 
   13777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13780 	fi
   13781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13782 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13783 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13784 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13785   $as_echo_n "(cached) " >&6
   13786 else
   13787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13788 /* end confdefs.h.  */
   13789 int i;
   13790 _ACEOF
   13791 if ac_fn_c_try_compile "$LINENO"; then :
   13792   xorg_cv_cc_flag_unused_command_line_argument=yes
   13793 else
   13794   xorg_cv_cc_flag_unused_command_line_argument=no
   13795 fi
   13796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13797 fi
   13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13799 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13801 	CFLAGS="$xorg_testset_save_CFLAGS"
   13802 fi
   13803 
   13804 found="no"
   13805 
   13806 	if test $found = "no" ; then
   13807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13809 		fi
   13810 
   13811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13813 		fi
   13814 
   13815 		CFLAGS="$CFLAGS -Wuninitialized"
   13816 
   13817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13818 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13819 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13820 		if eval \${$cacheid+:} false; then :
   13821   $as_echo_n "(cached) " >&6
   13822 else
   13823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13824 /* end confdefs.h.  */
   13825 int i;
   13826 int
   13827 main ()
   13828 {
   13829 
   13830   ;
   13831   return 0;
   13832 }
   13833 _ACEOF
   13834 if ac_fn_c_try_link "$LINENO"; then :
   13835   eval $cacheid=yes
   13836 else
   13837   eval $cacheid=no
   13838 fi
   13839 rm -f core conftest.err conftest.$ac_objext \
   13840     conftest$ac_exeext conftest.$ac_ext
   13841 fi
   13842 
   13843 
   13844 		CFLAGS="$xorg_testset_save_CFLAGS"
   13845 
   13846 		eval supported=\$$cacheid
   13847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13848 $as_echo "$supported" >&6; }
   13849 		if test "$supported" = "yes" ; then
   13850 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13851 			found="yes"
   13852 		fi
   13853 	fi
   13854 
   13855 
   13856 
   13857 
   13858 
   13859 
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 
   13869 xorg_testset_save_CFLAGS="$CFLAGS"
   13870 
   13871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13873 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13874 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13875 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13876   $as_echo_n "(cached) " >&6
   13877 else
   13878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13879 /* end confdefs.h.  */
   13880 int i;
   13881 _ACEOF
   13882 if ac_fn_c_try_compile "$LINENO"; then :
   13883   xorg_cv_cc_flag_unknown_warning_option=yes
   13884 else
   13885   xorg_cv_cc_flag_unknown_warning_option=no
   13886 fi
   13887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13888 fi
   13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13890 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13891 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13892 	CFLAGS="$xorg_testset_save_CFLAGS"
   13893 fi
   13894 
   13895 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13896 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13897 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13898 	fi
   13899 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13900 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13901 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13902 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13903   $as_echo_n "(cached) " >&6
   13904 else
   13905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13906 /* end confdefs.h.  */
   13907 int i;
   13908 _ACEOF
   13909 if ac_fn_c_try_compile "$LINENO"; then :
   13910   xorg_cv_cc_flag_unused_command_line_argument=yes
   13911 else
   13912   xorg_cv_cc_flag_unused_command_line_argument=no
   13913 fi
   13914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13915 fi
   13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13917 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13918 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13919 	CFLAGS="$xorg_testset_save_CFLAGS"
   13920 fi
   13921 
   13922 found="no"
   13923 
   13924 	if test $found = "no" ; then
   13925 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13927 		fi
   13928 
   13929 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13931 		fi
   13932 
   13933 		CFLAGS="$CFLAGS -Wshadow"
   13934 
   13935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13936 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13937 		cacheid=xorg_cv_cc_flag__Wshadow
   13938 		if eval \${$cacheid+:} false; then :
   13939   $as_echo_n "(cached) " >&6
   13940 else
   13941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13942 /* end confdefs.h.  */
   13943 int i;
   13944 int
   13945 main ()
   13946 {
   13947 
   13948   ;
   13949   return 0;
   13950 }
   13951 _ACEOF
   13952 if ac_fn_c_try_link "$LINENO"; then :
   13953   eval $cacheid=yes
   13954 else
   13955   eval $cacheid=no
   13956 fi
   13957 rm -f core conftest.err conftest.$ac_objext \
   13958     conftest$ac_exeext conftest.$ac_ext
   13959 fi
   13960 
   13961 
   13962 		CFLAGS="$xorg_testset_save_CFLAGS"
   13963 
   13964 		eval supported=\$$cacheid
   13965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13966 $as_echo "$supported" >&6; }
   13967 		if test "$supported" = "yes" ; then
   13968 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13969 			found="yes"
   13970 		fi
   13971 	fi
   13972 
   13973 
   13974 
   13975 
   13976 
   13977 
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 xorg_testset_save_CFLAGS="$CFLAGS"
   13988 
   13989 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13990 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13991 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13992 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13993 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13994   $as_echo_n "(cached) " >&6
   13995 else
   13996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13997 /* end confdefs.h.  */
   13998 int i;
   13999 _ACEOF
   14000 if ac_fn_c_try_compile "$LINENO"; then :
   14001   xorg_cv_cc_flag_unknown_warning_option=yes
   14002 else
   14003   xorg_cv_cc_flag_unknown_warning_option=no
   14004 fi
   14005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14006 fi
   14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14008 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14009 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14010 	CFLAGS="$xorg_testset_save_CFLAGS"
   14011 fi
   14012 
   14013 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14014 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14015 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14016 	fi
   14017 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14018 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14019 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14020 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14021   $as_echo_n "(cached) " >&6
   14022 else
   14023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14024 /* end confdefs.h.  */
   14025 int i;
   14026 _ACEOF
   14027 if ac_fn_c_try_compile "$LINENO"; then :
   14028   xorg_cv_cc_flag_unused_command_line_argument=yes
   14029 else
   14030   xorg_cv_cc_flag_unused_command_line_argument=no
   14031 fi
   14032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14033 fi
   14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14035 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14036 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14037 	CFLAGS="$xorg_testset_save_CFLAGS"
   14038 fi
   14039 
   14040 found="no"
   14041 
   14042 	if test $found = "no" ; then
   14043 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14044 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14045 		fi
   14046 
   14047 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14048 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14049 		fi
   14050 
   14051 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14052 
   14053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14054 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14055 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14056 		if eval \${$cacheid+:} false; then :
   14057   $as_echo_n "(cached) " >&6
   14058 else
   14059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14060 /* end confdefs.h.  */
   14061 int i;
   14062 int
   14063 main ()
   14064 {
   14065 
   14066   ;
   14067   return 0;
   14068 }
   14069 _ACEOF
   14070 if ac_fn_c_try_link "$LINENO"; then :
   14071   eval $cacheid=yes
   14072 else
   14073   eval $cacheid=no
   14074 fi
   14075 rm -f core conftest.err conftest.$ac_objext \
   14076     conftest$ac_exeext conftest.$ac_ext
   14077 fi
   14078 
   14079 
   14080 		CFLAGS="$xorg_testset_save_CFLAGS"
   14081 
   14082 		eval supported=\$$cacheid
   14083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14084 $as_echo "$supported" >&6; }
   14085 		if test "$supported" = "yes" ; then
   14086 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14087 			found="yes"
   14088 		fi
   14089 	fi
   14090 
   14091 
   14092 
   14093 
   14094 
   14095 
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 
   14104 
   14105 xorg_testset_save_CFLAGS="$CFLAGS"
   14106 
   14107 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14108 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14109 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14110 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14111 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14112   $as_echo_n "(cached) " >&6
   14113 else
   14114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14115 /* end confdefs.h.  */
   14116 int i;
   14117 _ACEOF
   14118 if ac_fn_c_try_compile "$LINENO"; then :
   14119   xorg_cv_cc_flag_unknown_warning_option=yes
   14120 else
   14121   xorg_cv_cc_flag_unknown_warning_option=no
   14122 fi
   14123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14124 fi
   14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14126 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14127 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14128 	CFLAGS="$xorg_testset_save_CFLAGS"
   14129 fi
   14130 
   14131 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14132 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14133 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14134 	fi
   14135 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14136 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14137 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14138 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14139   $as_echo_n "(cached) " >&6
   14140 else
   14141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14142 /* end confdefs.h.  */
   14143 int i;
   14144 _ACEOF
   14145 if ac_fn_c_try_compile "$LINENO"; then :
   14146   xorg_cv_cc_flag_unused_command_line_argument=yes
   14147 else
   14148   xorg_cv_cc_flag_unused_command_line_argument=no
   14149 fi
   14150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14151 fi
   14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14153 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14155 	CFLAGS="$xorg_testset_save_CFLAGS"
   14156 fi
   14157 
   14158 found="no"
   14159 
   14160 	if test $found = "no" ; then
   14161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14163 		fi
   14164 
   14165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14167 		fi
   14168 
   14169 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14170 
   14171 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14172 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14173 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14174 		if eval \${$cacheid+:} 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 int
   14181 main ()
   14182 {
   14183 
   14184   ;
   14185   return 0;
   14186 }
   14187 _ACEOF
   14188 if ac_fn_c_try_link "$LINENO"; then :
   14189   eval $cacheid=yes
   14190 else
   14191   eval $cacheid=no
   14192 fi
   14193 rm -f core conftest.err conftest.$ac_objext \
   14194     conftest$ac_exeext conftest.$ac_ext
   14195 fi
   14196 
   14197 
   14198 		CFLAGS="$xorg_testset_save_CFLAGS"
   14199 
   14200 		eval supported=\$$cacheid
   14201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14202 $as_echo "$supported" >&6; }
   14203 		if test "$supported" = "yes" ; then
   14204 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14205 			found="yes"
   14206 		fi
   14207 	fi
   14208 
   14209 
   14210 
   14211 
   14212 
   14213 
   14214 
   14215 
   14216 
   14217 
   14218 
   14219 
   14220 
   14221 
   14222 
   14223 xorg_testset_save_CFLAGS="$CFLAGS"
   14224 
   14225 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14226 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14227 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14228 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14229 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14230   $as_echo_n "(cached) " >&6
   14231 else
   14232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14233 /* end confdefs.h.  */
   14234 int i;
   14235 _ACEOF
   14236 if ac_fn_c_try_compile "$LINENO"; then :
   14237   xorg_cv_cc_flag_unknown_warning_option=yes
   14238 else
   14239   xorg_cv_cc_flag_unknown_warning_option=no
   14240 fi
   14241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14242 fi
   14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14244 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14246 	CFLAGS="$xorg_testset_save_CFLAGS"
   14247 fi
   14248 
   14249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14252 	fi
   14253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14254 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14255 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14256 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14257   $as_echo_n "(cached) " >&6
   14258 else
   14259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14260 /* end confdefs.h.  */
   14261 int i;
   14262 _ACEOF
   14263 if ac_fn_c_try_compile "$LINENO"; then :
   14264   xorg_cv_cc_flag_unused_command_line_argument=yes
   14265 else
   14266   xorg_cv_cc_flag_unused_command_line_argument=no
   14267 fi
   14268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14269 fi
   14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14271 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14272 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14273 	CFLAGS="$xorg_testset_save_CFLAGS"
   14274 fi
   14275 
   14276 found="no"
   14277 
   14278 	if test $found = "no" ; then
   14279 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14280 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14281 		fi
   14282 
   14283 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14284 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14285 		fi
   14286 
   14287 		CFLAGS="$CFLAGS -Wredundant-decls"
   14288 
   14289 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14290 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14291 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14292 		if eval \${$cacheid+:} false; then :
   14293   $as_echo_n "(cached) " >&6
   14294 else
   14295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14296 /* end confdefs.h.  */
   14297 int i;
   14298 int
   14299 main ()
   14300 {
   14301 
   14302   ;
   14303   return 0;
   14304 }
   14305 _ACEOF
   14306 if ac_fn_c_try_link "$LINENO"; then :
   14307   eval $cacheid=yes
   14308 else
   14309   eval $cacheid=no
   14310 fi
   14311 rm -f core conftest.err conftest.$ac_objext \
   14312     conftest$ac_exeext conftest.$ac_ext
   14313 fi
   14314 
   14315 
   14316 		CFLAGS="$xorg_testset_save_CFLAGS"
   14317 
   14318 		eval supported=\$$cacheid
   14319 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14320 $as_echo "$supported" >&6; }
   14321 		if test "$supported" = "yes" ; then
   14322 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14323 			found="yes"
   14324 		fi
   14325 	fi
   14326 
   14327 
   14328 
   14329 
   14330 
   14331 
   14332 
   14333 
   14334 
   14335 
   14336 
   14337 
   14338 
   14339 
   14340 
   14341 xorg_testset_save_CFLAGS="$CFLAGS"
   14342 
   14343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14344 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14345 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14346 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14347 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14348   $as_echo_n "(cached) " >&6
   14349 else
   14350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14351 /* end confdefs.h.  */
   14352 int i;
   14353 _ACEOF
   14354 if ac_fn_c_try_compile "$LINENO"; then :
   14355   xorg_cv_cc_flag_unknown_warning_option=yes
   14356 else
   14357   xorg_cv_cc_flag_unknown_warning_option=no
   14358 fi
   14359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14360 fi
   14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14362 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14363 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14364 	CFLAGS="$xorg_testset_save_CFLAGS"
   14365 fi
   14366 
   14367 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14368 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14369 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14370 	fi
   14371 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14372 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14373 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14374 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14375   $as_echo_n "(cached) " >&6
   14376 else
   14377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14378 /* end confdefs.h.  */
   14379 int i;
   14380 _ACEOF
   14381 if ac_fn_c_try_compile "$LINENO"; then :
   14382   xorg_cv_cc_flag_unused_command_line_argument=yes
   14383 else
   14384   xorg_cv_cc_flag_unused_command_line_argument=no
   14385 fi
   14386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14387 fi
   14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14389 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14390 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14391 	CFLAGS="$xorg_testset_save_CFLAGS"
   14392 fi
   14393 
   14394 found="no"
   14395 
   14396 	if test $found = "no" ; then
   14397 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14398 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14399 		fi
   14400 
   14401 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14402 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14403 		fi
   14404 
   14405 		CFLAGS="$CFLAGS -Wlogical-op"
   14406 
   14407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14408 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14409 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14410 		if eval \${$cacheid+:} false; then :
   14411   $as_echo_n "(cached) " >&6
   14412 else
   14413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14414 /* end confdefs.h.  */
   14415 int i;
   14416 int
   14417 main ()
   14418 {
   14419 
   14420   ;
   14421   return 0;
   14422 }
   14423 _ACEOF
   14424 if ac_fn_c_try_link "$LINENO"; then :
   14425   eval $cacheid=yes
   14426 else
   14427   eval $cacheid=no
   14428 fi
   14429 rm -f core conftest.err conftest.$ac_objext \
   14430     conftest$ac_exeext conftest.$ac_ext
   14431 fi
   14432 
   14433 
   14434 		CFLAGS="$xorg_testset_save_CFLAGS"
   14435 
   14436 		eval supported=\$$cacheid
   14437 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14438 $as_echo "$supported" >&6; }
   14439 		if test "$supported" = "yes" ; then
   14440 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14441 			found="yes"
   14442 		fi
   14443 	fi
   14444 
   14445 
   14446 
   14447 # These are currently disabled because they are noisy.  They will be enabled
   14448 # in the future once the codebase is sufficiently modernized to silence
   14449 # them.  For now, I don't want them to drown out the other warnings.
   14450 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14451 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14452 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14453 
   14454 # Turn some warnings into errors, so we don't accidently get successful builds
   14455 # when there are problems that should be fixed.
   14456 
   14457 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14458 
   14459 
   14460 
   14461 
   14462 
   14463 
   14464 
   14465 
   14466 
   14467 
   14468 
   14469 
   14470 
   14471 xorg_testset_save_CFLAGS="$CFLAGS"
   14472 
   14473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14476 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14477 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14478   $as_echo_n "(cached) " >&6
   14479 else
   14480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14481 /* end confdefs.h.  */
   14482 int i;
   14483 _ACEOF
   14484 if ac_fn_c_try_compile "$LINENO"; then :
   14485   xorg_cv_cc_flag_unknown_warning_option=yes
   14486 else
   14487   xorg_cv_cc_flag_unknown_warning_option=no
   14488 fi
   14489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14490 fi
   14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14492 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14493 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14494 	CFLAGS="$xorg_testset_save_CFLAGS"
   14495 fi
   14496 
   14497 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14498 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14499 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14500 	fi
   14501 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14503 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14504 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14505   $as_echo_n "(cached) " >&6
   14506 else
   14507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14508 /* end confdefs.h.  */
   14509 int i;
   14510 _ACEOF
   14511 if ac_fn_c_try_compile "$LINENO"; then :
   14512   xorg_cv_cc_flag_unused_command_line_argument=yes
   14513 else
   14514   xorg_cv_cc_flag_unused_command_line_argument=no
   14515 fi
   14516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14517 fi
   14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14519 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14520 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14521 	CFLAGS="$xorg_testset_save_CFLAGS"
   14522 fi
   14523 
   14524 found="no"
   14525 
   14526 	if test $found = "no" ; then
   14527 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14528 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14529 		fi
   14530 
   14531 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14532 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14533 		fi
   14534 
   14535 		CFLAGS="$CFLAGS -Werror=implicit"
   14536 
   14537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14538 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14539 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14540 		if eval \${$cacheid+:} false; then :
   14541   $as_echo_n "(cached) " >&6
   14542 else
   14543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14544 /* end confdefs.h.  */
   14545 int i;
   14546 int
   14547 main ()
   14548 {
   14549 
   14550   ;
   14551   return 0;
   14552 }
   14553 _ACEOF
   14554 if ac_fn_c_try_link "$LINENO"; then :
   14555   eval $cacheid=yes
   14556 else
   14557   eval $cacheid=no
   14558 fi
   14559 rm -f core conftest.err conftest.$ac_objext \
   14560     conftest$ac_exeext conftest.$ac_ext
   14561 fi
   14562 
   14563 
   14564 		CFLAGS="$xorg_testset_save_CFLAGS"
   14565 
   14566 		eval supported=\$$cacheid
   14567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14568 $as_echo "$supported" >&6; }
   14569 		if test "$supported" = "yes" ; then
   14570 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14571 			found="yes"
   14572 		fi
   14573 	fi
   14574 
   14575 	if test $found = "no" ; then
   14576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14578 		fi
   14579 
   14580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14582 		fi
   14583 
   14584 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14585 
   14586 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14587 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14588 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14589 		if eval \${$cacheid+:} false; then :
   14590   $as_echo_n "(cached) " >&6
   14591 else
   14592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14593 /* end confdefs.h.  */
   14594 int i;
   14595 int
   14596 main ()
   14597 {
   14598 
   14599   ;
   14600   return 0;
   14601 }
   14602 _ACEOF
   14603 if ac_fn_c_try_link "$LINENO"; then :
   14604   eval $cacheid=yes
   14605 else
   14606   eval $cacheid=no
   14607 fi
   14608 rm -f core conftest.err conftest.$ac_objext \
   14609     conftest$ac_exeext conftest.$ac_ext
   14610 fi
   14611 
   14612 
   14613 		CFLAGS="$xorg_testset_save_CFLAGS"
   14614 
   14615 		eval supported=\$$cacheid
   14616 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14617 $as_echo "$supported" >&6; }
   14618 		if test "$supported" = "yes" ; then
   14619 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14620 			found="yes"
   14621 		fi
   14622 	fi
   14623 
   14624 
   14625 
   14626 
   14627 
   14628 
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 
   14636 
   14637 
   14638 xorg_testset_save_CFLAGS="$CFLAGS"
   14639 
   14640 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14641 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14643 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14644 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14645   $as_echo_n "(cached) " >&6
   14646 else
   14647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14648 /* end confdefs.h.  */
   14649 int i;
   14650 _ACEOF
   14651 if ac_fn_c_try_compile "$LINENO"; then :
   14652   xorg_cv_cc_flag_unknown_warning_option=yes
   14653 else
   14654   xorg_cv_cc_flag_unknown_warning_option=no
   14655 fi
   14656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14657 fi
   14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14659 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14660 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14661 	CFLAGS="$xorg_testset_save_CFLAGS"
   14662 fi
   14663 
   14664 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14665 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14666 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14667 	fi
   14668 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14670 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14671 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14672   $as_echo_n "(cached) " >&6
   14673 else
   14674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14675 /* end confdefs.h.  */
   14676 int i;
   14677 _ACEOF
   14678 if ac_fn_c_try_compile "$LINENO"; then :
   14679   xorg_cv_cc_flag_unused_command_line_argument=yes
   14680 else
   14681   xorg_cv_cc_flag_unused_command_line_argument=no
   14682 fi
   14683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14684 fi
   14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14686 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14687 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14688 	CFLAGS="$xorg_testset_save_CFLAGS"
   14689 fi
   14690 
   14691 found="no"
   14692 
   14693 	if test $found = "no" ; then
   14694 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14695 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14696 		fi
   14697 
   14698 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14699 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14700 		fi
   14701 
   14702 		CFLAGS="$CFLAGS -Werror=nonnull"
   14703 
   14704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14705 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14706 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14707 		if eval \${$cacheid+:} false; then :
   14708   $as_echo_n "(cached) " >&6
   14709 else
   14710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14711 /* end confdefs.h.  */
   14712 int i;
   14713 int
   14714 main ()
   14715 {
   14716 
   14717   ;
   14718   return 0;
   14719 }
   14720 _ACEOF
   14721 if ac_fn_c_try_link "$LINENO"; then :
   14722   eval $cacheid=yes
   14723 else
   14724   eval $cacheid=no
   14725 fi
   14726 rm -f core conftest.err conftest.$ac_objext \
   14727     conftest$ac_exeext conftest.$ac_ext
   14728 fi
   14729 
   14730 
   14731 		CFLAGS="$xorg_testset_save_CFLAGS"
   14732 
   14733 		eval supported=\$$cacheid
   14734 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14735 $as_echo "$supported" >&6; }
   14736 		if test "$supported" = "yes" ; then
   14737 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14738 			found="yes"
   14739 		fi
   14740 	fi
   14741 
   14742 
   14743 
   14744 
   14745 
   14746 
   14747 
   14748 
   14749 
   14750 
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 xorg_testset_save_CFLAGS="$CFLAGS"
   14757 
   14758 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14759 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14760 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14761 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14762 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14763   $as_echo_n "(cached) " >&6
   14764 else
   14765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14766 /* end confdefs.h.  */
   14767 int i;
   14768 _ACEOF
   14769 if ac_fn_c_try_compile "$LINENO"; then :
   14770   xorg_cv_cc_flag_unknown_warning_option=yes
   14771 else
   14772   xorg_cv_cc_flag_unknown_warning_option=no
   14773 fi
   14774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14775 fi
   14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14777 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14778 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14779 	CFLAGS="$xorg_testset_save_CFLAGS"
   14780 fi
   14781 
   14782 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14783 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14784 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14785 	fi
   14786 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14788 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14789 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14790   $as_echo_n "(cached) " >&6
   14791 else
   14792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14793 /* end confdefs.h.  */
   14794 int i;
   14795 _ACEOF
   14796 if ac_fn_c_try_compile "$LINENO"; then :
   14797   xorg_cv_cc_flag_unused_command_line_argument=yes
   14798 else
   14799   xorg_cv_cc_flag_unused_command_line_argument=no
   14800 fi
   14801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14802 fi
   14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14804 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14805 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14806 	CFLAGS="$xorg_testset_save_CFLAGS"
   14807 fi
   14808 
   14809 found="no"
   14810 
   14811 	if test $found = "no" ; then
   14812 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14814 		fi
   14815 
   14816 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14818 		fi
   14819 
   14820 		CFLAGS="$CFLAGS -Werror=init-self"
   14821 
   14822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14823 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14824 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14825 		if eval \${$cacheid+:} false; then :
   14826   $as_echo_n "(cached) " >&6
   14827 else
   14828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14829 /* end confdefs.h.  */
   14830 int i;
   14831 int
   14832 main ()
   14833 {
   14834 
   14835   ;
   14836   return 0;
   14837 }
   14838 _ACEOF
   14839 if ac_fn_c_try_link "$LINENO"; then :
   14840   eval $cacheid=yes
   14841 else
   14842   eval $cacheid=no
   14843 fi
   14844 rm -f core conftest.err conftest.$ac_objext \
   14845     conftest$ac_exeext conftest.$ac_ext
   14846 fi
   14847 
   14848 
   14849 		CFLAGS="$xorg_testset_save_CFLAGS"
   14850 
   14851 		eval supported=\$$cacheid
   14852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14853 $as_echo "$supported" >&6; }
   14854 		if test "$supported" = "yes" ; then
   14855 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14856 			found="yes"
   14857 		fi
   14858 	fi
   14859 
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 
   14866 
   14867 
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 xorg_testset_save_CFLAGS="$CFLAGS"
   14875 
   14876 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14877 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14878 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14879 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14880 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14881   $as_echo_n "(cached) " >&6
   14882 else
   14883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14884 /* end confdefs.h.  */
   14885 int i;
   14886 _ACEOF
   14887 if ac_fn_c_try_compile "$LINENO"; then :
   14888   xorg_cv_cc_flag_unknown_warning_option=yes
   14889 else
   14890   xorg_cv_cc_flag_unknown_warning_option=no
   14891 fi
   14892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14893 fi
   14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14895 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14896 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14897 	CFLAGS="$xorg_testset_save_CFLAGS"
   14898 fi
   14899 
   14900 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14901 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14902 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14903 	fi
   14904 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14906 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14907 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14908   $as_echo_n "(cached) " >&6
   14909 else
   14910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14911 /* end confdefs.h.  */
   14912 int i;
   14913 _ACEOF
   14914 if ac_fn_c_try_compile "$LINENO"; then :
   14915   xorg_cv_cc_flag_unused_command_line_argument=yes
   14916 else
   14917   xorg_cv_cc_flag_unused_command_line_argument=no
   14918 fi
   14919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14920 fi
   14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14922 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14923 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14924 	CFLAGS="$xorg_testset_save_CFLAGS"
   14925 fi
   14926 
   14927 found="no"
   14928 
   14929 	if test $found = "no" ; then
   14930 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14931 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14932 		fi
   14933 
   14934 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14935 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14936 		fi
   14937 
   14938 		CFLAGS="$CFLAGS -Werror=main"
   14939 
   14940 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14941 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14942 		cacheid=xorg_cv_cc_flag__Werror_main
   14943 		if eval \${$cacheid+:} false; then :
   14944   $as_echo_n "(cached) " >&6
   14945 else
   14946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14947 /* end confdefs.h.  */
   14948 int i;
   14949 int
   14950 main ()
   14951 {
   14952 
   14953   ;
   14954   return 0;
   14955 }
   14956 _ACEOF
   14957 if ac_fn_c_try_link "$LINENO"; then :
   14958   eval $cacheid=yes
   14959 else
   14960   eval $cacheid=no
   14961 fi
   14962 rm -f core conftest.err conftest.$ac_objext \
   14963     conftest$ac_exeext conftest.$ac_ext
   14964 fi
   14965 
   14966 
   14967 		CFLAGS="$xorg_testset_save_CFLAGS"
   14968 
   14969 		eval supported=\$$cacheid
   14970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14971 $as_echo "$supported" >&6; }
   14972 		if test "$supported" = "yes" ; then
   14973 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14974 			found="yes"
   14975 		fi
   14976 	fi
   14977 
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 xorg_testset_save_CFLAGS="$CFLAGS"
   14993 
   14994 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14995 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14996 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14997 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14998 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14999   $as_echo_n "(cached) " >&6
   15000 else
   15001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15002 /* end confdefs.h.  */
   15003 int i;
   15004 _ACEOF
   15005 if ac_fn_c_try_compile "$LINENO"; then :
   15006   xorg_cv_cc_flag_unknown_warning_option=yes
   15007 else
   15008   xorg_cv_cc_flag_unknown_warning_option=no
   15009 fi
   15010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15011 fi
   15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15013 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15015 	CFLAGS="$xorg_testset_save_CFLAGS"
   15016 fi
   15017 
   15018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15021 	fi
   15022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15024 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15025 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15026   $as_echo_n "(cached) " >&6
   15027 else
   15028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15029 /* end confdefs.h.  */
   15030 int i;
   15031 _ACEOF
   15032 if ac_fn_c_try_compile "$LINENO"; then :
   15033   xorg_cv_cc_flag_unused_command_line_argument=yes
   15034 else
   15035   xorg_cv_cc_flag_unused_command_line_argument=no
   15036 fi
   15037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15038 fi
   15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15040 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15041 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15042 	CFLAGS="$xorg_testset_save_CFLAGS"
   15043 fi
   15044 
   15045 found="no"
   15046 
   15047 	if test $found = "no" ; then
   15048 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15049 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15050 		fi
   15051 
   15052 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15053 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15054 		fi
   15055 
   15056 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15057 
   15058 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15059 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15060 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15061 		if eval \${$cacheid+:} false; then :
   15062   $as_echo_n "(cached) " >&6
   15063 else
   15064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15065 /* end confdefs.h.  */
   15066 int i;
   15067 int
   15068 main ()
   15069 {
   15070 
   15071   ;
   15072   return 0;
   15073 }
   15074 _ACEOF
   15075 if ac_fn_c_try_link "$LINENO"; then :
   15076   eval $cacheid=yes
   15077 else
   15078   eval $cacheid=no
   15079 fi
   15080 rm -f core conftest.err conftest.$ac_objext \
   15081     conftest$ac_exeext conftest.$ac_ext
   15082 fi
   15083 
   15084 
   15085 		CFLAGS="$xorg_testset_save_CFLAGS"
   15086 
   15087 		eval supported=\$$cacheid
   15088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15089 $as_echo "$supported" >&6; }
   15090 		if test "$supported" = "yes" ; then
   15091 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15092 			found="yes"
   15093 		fi
   15094 	fi
   15095 
   15096 
   15097 
   15098 
   15099 
   15100 
   15101 
   15102 
   15103 
   15104 
   15105 
   15106 
   15107 
   15108 
   15109 
   15110 xorg_testset_save_CFLAGS="$CFLAGS"
   15111 
   15112 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15113 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15115 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15116 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15117   $as_echo_n "(cached) " >&6
   15118 else
   15119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15120 /* end confdefs.h.  */
   15121 int i;
   15122 _ACEOF
   15123 if ac_fn_c_try_compile "$LINENO"; then :
   15124   xorg_cv_cc_flag_unknown_warning_option=yes
   15125 else
   15126   xorg_cv_cc_flag_unknown_warning_option=no
   15127 fi
   15128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15129 fi
   15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15131 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15133 	CFLAGS="$xorg_testset_save_CFLAGS"
   15134 fi
   15135 
   15136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15139 	fi
   15140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15142 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15143 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15144   $as_echo_n "(cached) " >&6
   15145 else
   15146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15147 /* end confdefs.h.  */
   15148 int i;
   15149 _ACEOF
   15150 if ac_fn_c_try_compile "$LINENO"; then :
   15151   xorg_cv_cc_flag_unused_command_line_argument=yes
   15152 else
   15153   xorg_cv_cc_flag_unused_command_line_argument=no
   15154 fi
   15155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15156 fi
   15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15158 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15159 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15160 	CFLAGS="$xorg_testset_save_CFLAGS"
   15161 fi
   15162 
   15163 found="no"
   15164 
   15165 	if test $found = "no" ; then
   15166 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15167 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15168 		fi
   15169 
   15170 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15171 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15172 		fi
   15173 
   15174 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15175 
   15176 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15177 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15178 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15179 		if eval \${$cacheid+:} false; then :
   15180   $as_echo_n "(cached) " >&6
   15181 else
   15182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15183 /* end confdefs.h.  */
   15184 int i;
   15185 int
   15186 main ()
   15187 {
   15188 
   15189   ;
   15190   return 0;
   15191 }
   15192 _ACEOF
   15193 if ac_fn_c_try_link "$LINENO"; then :
   15194   eval $cacheid=yes
   15195 else
   15196   eval $cacheid=no
   15197 fi
   15198 rm -f core conftest.err conftest.$ac_objext \
   15199     conftest$ac_exeext conftest.$ac_ext
   15200 fi
   15201 
   15202 
   15203 		CFLAGS="$xorg_testset_save_CFLAGS"
   15204 
   15205 		eval supported=\$$cacheid
   15206 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15207 $as_echo "$supported" >&6; }
   15208 		if test "$supported" = "yes" ; then
   15209 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15210 			found="yes"
   15211 		fi
   15212 	fi
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 
   15221 
   15222 
   15223 
   15224 
   15225 
   15226 
   15227 
   15228 xorg_testset_save_CFLAGS="$CFLAGS"
   15229 
   15230 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15231 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15232 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15233 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15234 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15235   $as_echo_n "(cached) " >&6
   15236 else
   15237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15238 /* end confdefs.h.  */
   15239 int i;
   15240 _ACEOF
   15241 if ac_fn_c_try_compile "$LINENO"; then :
   15242   xorg_cv_cc_flag_unknown_warning_option=yes
   15243 else
   15244   xorg_cv_cc_flag_unknown_warning_option=no
   15245 fi
   15246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15247 fi
   15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15249 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15250 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15251 	CFLAGS="$xorg_testset_save_CFLAGS"
   15252 fi
   15253 
   15254 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15255 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15256 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15257 	fi
   15258 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15259 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15260 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15261 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15262   $as_echo_n "(cached) " >&6
   15263 else
   15264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15265 /* end confdefs.h.  */
   15266 int i;
   15267 _ACEOF
   15268 if ac_fn_c_try_compile "$LINENO"; then :
   15269   xorg_cv_cc_flag_unused_command_line_argument=yes
   15270 else
   15271   xorg_cv_cc_flag_unused_command_line_argument=no
   15272 fi
   15273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15274 fi
   15275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15276 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15277 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15278 	CFLAGS="$xorg_testset_save_CFLAGS"
   15279 fi
   15280 
   15281 found="no"
   15282 
   15283 	if test $found = "no" ; then
   15284 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15285 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15286 		fi
   15287 
   15288 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15289 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15290 		fi
   15291 
   15292 		CFLAGS="$CFLAGS -Werror=return-type"
   15293 
   15294 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15295 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15296 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15297 		if eval \${$cacheid+:} false; then :
   15298   $as_echo_n "(cached) " >&6
   15299 else
   15300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15301 /* end confdefs.h.  */
   15302 int i;
   15303 int
   15304 main ()
   15305 {
   15306 
   15307   ;
   15308   return 0;
   15309 }
   15310 _ACEOF
   15311 if ac_fn_c_try_link "$LINENO"; then :
   15312   eval $cacheid=yes
   15313 else
   15314   eval $cacheid=no
   15315 fi
   15316 rm -f core conftest.err conftest.$ac_objext \
   15317     conftest$ac_exeext conftest.$ac_ext
   15318 fi
   15319 
   15320 
   15321 		CFLAGS="$xorg_testset_save_CFLAGS"
   15322 
   15323 		eval supported=\$$cacheid
   15324 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15325 $as_echo "$supported" >&6; }
   15326 		if test "$supported" = "yes" ; then
   15327 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15328 			found="yes"
   15329 		fi
   15330 	fi
   15331 
   15332 	if test $found = "no" ; then
   15333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15335 		fi
   15336 
   15337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15339 		fi
   15340 
   15341 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15342 
   15343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15344 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15345 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15346 		if eval \${$cacheid+:} false; then :
   15347   $as_echo_n "(cached) " >&6
   15348 else
   15349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15350 /* end confdefs.h.  */
   15351 int i;
   15352 int
   15353 main ()
   15354 {
   15355 
   15356   ;
   15357   return 0;
   15358 }
   15359 _ACEOF
   15360 if ac_fn_c_try_link "$LINENO"; then :
   15361   eval $cacheid=yes
   15362 else
   15363   eval $cacheid=no
   15364 fi
   15365 rm -f core conftest.err conftest.$ac_objext \
   15366     conftest$ac_exeext conftest.$ac_ext
   15367 fi
   15368 
   15369 
   15370 		CFLAGS="$xorg_testset_save_CFLAGS"
   15371 
   15372 		eval supported=\$$cacheid
   15373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15374 $as_echo "$supported" >&6; }
   15375 		if test "$supported" = "yes" ; then
   15376 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15377 			found="yes"
   15378 		fi
   15379 	fi
   15380 
   15381 
   15382 
   15383 
   15384 
   15385 
   15386 
   15387 
   15388 
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 
   15395 xorg_testset_save_CFLAGS="$CFLAGS"
   15396 
   15397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15400 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15401 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15402   $as_echo_n "(cached) " >&6
   15403 else
   15404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15405 /* end confdefs.h.  */
   15406 int i;
   15407 _ACEOF
   15408 if ac_fn_c_try_compile "$LINENO"; then :
   15409   xorg_cv_cc_flag_unknown_warning_option=yes
   15410 else
   15411   xorg_cv_cc_flag_unknown_warning_option=no
   15412 fi
   15413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15414 fi
   15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15416 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15418 	CFLAGS="$xorg_testset_save_CFLAGS"
   15419 fi
   15420 
   15421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15424 	fi
   15425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15427 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15428 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15429   $as_echo_n "(cached) " >&6
   15430 else
   15431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15432 /* end confdefs.h.  */
   15433 int i;
   15434 _ACEOF
   15435 if ac_fn_c_try_compile "$LINENO"; then :
   15436   xorg_cv_cc_flag_unused_command_line_argument=yes
   15437 else
   15438   xorg_cv_cc_flag_unused_command_line_argument=no
   15439 fi
   15440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15441 fi
   15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15443 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15445 	CFLAGS="$xorg_testset_save_CFLAGS"
   15446 fi
   15447 
   15448 found="no"
   15449 
   15450 	if test $found = "no" ; then
   15451 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15453 		fi
   15454 
   15455 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15457 		fi
   15458 
   15459 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15460 
   15461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15462 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15463 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15464 		if eval \${$cacheid+:} false; then :
   15465   $as_echo_n "(cached) " >&6
   15466 else
   15467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15468 /* end confdefs.h.  */
   15469 int i;
   15470 int
   15471 main ()
   15472 {
   15473 
   15474   ;
   15475   return 0;
   15476 }
   15477 _ACEOF
   15478 if ac_fn_c_try_link "$LINENO"; then :
   15479   eval $cacheid=yes
   15480 else
   15481   eval $cacheid=no
   15482 fi
   15483 rm -f core conftest.err conftest.$ac_objext \
   15484     conftest$ac_exeext conftest.$ac_ext
   15485 fi
   15486 
   15487 
   15488 		CFLAGS="$xorg_testset_save_CFLAGS"
   15489 
   15490 		eval supported=\$$cacheid
   15491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15492 $as_echo "$supported" >&6; }
   15493 		if test "$supported" = "yes" ; then
   15494 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15495 			found="yes"
   15496 		fi
   15497 	fi
   15498 
   15499 
   15500 
   15501 
   15502 
   15503 
   15504 
   15505 
   15506 
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 
   15513 xorg_testset_save_CFLAGS="$CFLAGS"
   15514 
   15515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15517 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15518 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15519 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15520   $as_echo_n "(cached) " >&6
   15521 else
   15522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15523 /* end confdefs.h.  */
   15524 int i;
   15525 _ACEOF
   15526 if ac_fn_c_try_compile "$LINENO"; then :
   15527   xorg_cv_cc_flag_unknown_warning_option=yes
   15528 else
   15529   xorg_cv_cc_flag_unknown_warning_option=no
   15530 fi
   15531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15532 fi
   15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15534 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15535 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15536 	CFLAGS="$xorg_testset_save_CFLAGS"
   15537 fi
   15538 
   15539 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15540 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15541 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15542 	fi
   15543 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15545 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15546 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15547   $as_echo_n "(cached) " >&6
   15548 else
   15549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15550 /* end confdefs.h.  */
   15551 int i;
   15552 _ACEOF
   15553 if ac_fn_c_try_compile "$LINENO"; then :
   15554   xorg_cv_cc_flag_unused_command_line_argument=yes
   15555 else
   15556   xorg_cv_cc_flag_unused_command_line_argument=no
   15557 fi
   15558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15559 fi
   15560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15561 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15562 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15563 	CFLAGS="$xorg_testset_save_CFLAGS"
   15564 fi
   15565 
   15566 found="no"
   15567 
   15568 	if test $found = "no" ; then
   15569 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15570 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15571 		fi
   15572 
   15573 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15574 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15575 		fi
   15576 
   15577 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15578 
   15579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15580 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15581 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15582 		if eval \${$cacheid+:} false; then :
   15583   $as_echo_n "(cached) " >&6
   15584 else
   15585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15586 /* end confdefs.h.  */
   15587 int i;
   15588 int
   15589 main ()
   15590 {
   15591 
   15592   ;
   15593   return 0;
   15594 }
   15595 _ACEOF
   15596 if ac_fn_c_try_link "$LINENO"; then :
   15597   eval $cacheid=yes
   15598 else
   15599   eval $cacheid=no
   15600 fi
   15601 rm -f core conftest.err conftest.$ac_objext \
   15602     conftest$ac_exeext conftest.$ac_ext
   15603 fi
   15604 
   15605 
   15606 		CFLAGS="$xorg_testset_save_CFLAGS"
   15607 
   15608 		eval supported=\$$cacheid
   15609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15610 $as_echo "$supported" >&6; }
   15611 		if test "$supported" = "yes" ; then
   15612 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15613 			found="yes"
   15614 		fi
   15615 	fi
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 
   15630 
   15631 xorg_testset_save_CFLAGS="$CFLAGS"
   15632 
   15633 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15634 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15636 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15637 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15638   $as_echo_n "(cached) " >&6
   15639 else
   15640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15641 /* end confdefs.h.  */
   15642 int i;
   15643 _ACEOF
   15644 if ac_fn_c_try_compile "$LINENO"; then :
   15645   xorg_cv_cc_flag_unknown_warning_option=yes
   15646 else
   15647   xorg_cv_cc_flag_unknown_warning_option=no
   15648 fi
   15649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15650 fi
   15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15652 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15654 	CFLAGS="$xorg_testset_save_CFLAGS"
   15655 fi
   15656 
   15657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15660 	fi
   15661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15662 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15663 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15664 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15665   $as_echo_n "(cached) " >&6
   15666 else
   15667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15668 /* end confdefs.h.  */
   15669 int i;
   15670 _ACEOF
   15671 if ac_fn_c_try_compile "$LINENO"; then :
   15672   xorg_cv_cc_flag_unused_command_line_argument=yes
   15673 else
   15674   xorg_cv_cc_flag_unused_command_line_argument=no
   15675 fi
   15676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15677 fi
   15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15679 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15681 	CFLAGS="$xorg_testset_save_CFLAGS"
   15682 fi
   15683 
   15684 found="no"
   15685 
   15686 	if test $found = "no" ; then
   15687 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15689 		fi
   15690 
   15691 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15693 		fi
   15694 
   15695 		CFLAGS="$CFLAGS -Werror=write-strings"
   15696 
   15697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15698 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15699 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15700 		if eval \${$cacheid+:} false; then :
   15701   $as_echo_n "(cached) " >&6
   15702 else
   15703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15704 /* end confdefs.h.  */
   15705 int i;
   15706 int
   15707 main ()
   15708 {
   15709 
   15710   ;
   15711   return 0;
   15712 }
   15713 _ACEOF
   15714 if ac_fn_c_try_link "$LINENO"; then :
   15715   eval $cacheid=yes
   15716 else
   15717   eval $cacheid=no
   15718 fi
   15719 rm -f core conftest.err conftest.$ac_objext \
   15720     conftest$ac_exeext conftest.$ac_ext
   15721 fi
   15722 
   15723 
   15724 		CFLAGS="$xorg_testset_save_CFLAGS"
   15725 
   15726 		eval supported=\$$cacheid
   15727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15728 $as_echo "$supported" >&6; }
   15729 		if test "$supported" = "yes" ; then
   15730 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15731 			found="yes"
   15732 		fi
   15733 	fi
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 xorg_testset_save_CFLAGS="$CFLAGS"
   15750 
   15751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15754 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15755 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15756   $as_echo_n "(cached) " >&6
   15757 else
   15758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15759 /* end confdefs.h.  */
   15760 int i;
   15761 _ACEOF
   15762 if ac_fn_c_try_compile "$LINENO"; then :
   15763   xorg_cv_cc_flag_unknown_warning_option=yes
   15764 else
   15765   xorg_cv_cc_flag_unknown_warning_option=no
   15766 fi
   15767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15768 fi
   15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15770 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15771 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15772 	CFLAGS="$xorg_testset_save_CFLAGS"
   15773 fi
   15774 
   15775 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15776 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15777 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15778 	fi
   15779 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15781 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15782 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15783   $as_echo_n "(cached) " >&6
   15784 else
   15785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15786 /* end confdefs.h.  */
   15787 int i;
   15788 _ACEOF
   15789 if ac_fn_c_try_compile "$LINENO"; then :
   15790   xorg_cv_cc_flag_unused_command_line_argument=yes
   15791 else
   15792   xorg_cv_cc_flag_unused_command_line_argument=no
   15793 fi
   15794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15795 fi
   15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15797 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15799 	CFLAGS="$xorg_testset_save_CFLAGS"
   15800 fi
   15801 
   15802 found="no"
   15803 
   15804 	if test $found = "no" ; then
   15805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15807 		fi
   15808 
   15809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15811 		fi
   15812 
   15813 		CFLAGS="$CFLAGS -Werror=address"
   15814 
   15815 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15816 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15817 		cacheid=xorg_cv_cc_flag__Werror_address
   15818 		if eval \${$cacheid+:} false; then :
   15819   $as_echo_n "(cached) " >&6
   15820 else
   15821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15822 /* end confdefs.h.  */
   15823 int i;
   15824 int
   15825 main ()
   15826 {
   15827 
   15828   ;
   15829   return 0;
   15830 }
   15831 _ACEOF
   15832 if ac_fn_c_try_link "$LINENO"; then :
   15833   eval $cacheid=yes
   15834 else
   15835   eval $cacheid=no
   15836 fi
   15837 rm -f core conftest.err conftest.$ac_objext \
   15838     conftest$ac_exeext conftest.$ac_ext
   15839 fi
   15840 
   15841 
   15842 		CFLAGS="$xorg_testset_save_CFLAGS"
   15843 
   15844 		eval supported=\$$cacheid
   15845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15846 $as_echo "$supported" >&6; }
   15847 		if test "$supported" = "yes" ; then
   15848 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15849 			found="yes"
   15850 		fi
   15851 	fi
   15852 
   15853 
   15854 
   15855 
   15856 
   15857 
   15858 
   15859 
   15860 
   15861 
   15862 
   15863 
   15864 
   15865 
   15866 
   15867 xorg_testset_save_CFLAGS="$CFLAGS"
   15868 
   15869 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15870 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15871 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15872 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15873 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15874   $as_echo_n "(cached) " >&6
   15875 else
   15876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15877 /* end confdefs.h.  */
   15878 int i;
   15879 _ACEOF
   15880 if ac_fn_c_try_compile "$LINENO"; then :
   15881   xorg_cv_cc_flag_unknown_warning_option=yes
   15882 else
   15883   xorg_cv_cc_flag_unknown_warning_option=no
   15884 fi
   15885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15886 fi
   15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15888 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15890 	CFLAGS="$xorg_testset_save_CFLAGS"
   15891 fi
   15892 
   15893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15896 	fi
   15897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15899 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15900 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15901   $as_echo_n "(cached) " >&6
   15902 else
   15903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15904 /* end confdefs.h.  */
   15905 int i;
   15906 _ACEOF
   15907 if ac_fn_c_try_compile "$LINENO"; then :
   15908   xorg_cv_cc_flag_unused_command_line_argument=yes
   15909 else
   15910   xorg_cv_cc_flag_unused_command_line_argument=no
   15911 fi
   15912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15913 fi
   15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15915 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15916 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15917 	CFLAGS="$xorg_testset_save_CFLAGS"
   15918 fi
   15919 
   15920 found="no"
   15921 
   15922 	if test $found = "no" ; then
   15923 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15924 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15925 		fi
   15926 
   15927 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15928 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15929 		fi
   15930 
   15931 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15932 
   15933 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15934 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15935 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15936 		if eval \${$cacheid+:} false; then :
   15937   $as_echo_n "(cached) " >&6
   15938 else
   15939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15940 /* end confdefs.h.  */
   15941 int i;
   15942 int
   15943 main ()
   15944 {
   15945 
   15946   ;
   15947   return 0;
   15948 }
   15949 _ACEOF
   15950 if ac_fn_c_try_link "$LINENO"; then :
   15951   eval $cacheid=yes
   15952 else
   15953   eval $cacheid=no
   15954 fi
   15955 rm -f core conftest.err conftest.$ac_objext \
   15956     conftest$ac_exeext conftest.$ac_ext
   15957 fi
   15958 
   15959 
   15960 		CFLAGS="$xorg_testset_save_CFLAGS"
   15961 
   15962 		eval supported=\$$cacheid
   15963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15964 $as_echo "$supported" >&6; }
   15965 		if test "$supported" = "yes" ; then
   15966 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15967 			found="yes"
   15968 		fi
   15969 	fi
   15970 
   15971 	if test $found = "no" ; then
   15972 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15974 		fi
   15975 
   15976 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15978 		fi
   15979 
   15980 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15981 
   15982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15983 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15984 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15985 		if eval \${$cacheid+:} false; then :
   15986   $as_echo_n "(cached) " >&6
   15987 else
   15988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15989 /* end confdefs.h.  */
   15990 int i;
   15991 int
   15992 main ()
   15993 {
   15994 
   15995   ;
   15996   return 0;
   15997 }
   15998 _ACEOF
   15999 if ac_fn_c_try_link "$LINENO"; then :
   16000   eval $cacheid=yes
   16001 else
   16002   eval $cacheid=no
   16003 fi
   16004 rm -f core conftest.err conftest.$ac_objext \
   16005     conftest$ac_exeext conftest.$ac_ext
   16006 fi
   16007 
   16008 
   16009 		CFLAGS="$xorg_testset_save_CFLAGS"
   16010 
   16011 		eval supported=\$$cacheid
   16012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16013 $as_echo "$supported" >&6; }
   16014 		if test "$supported" = "yes" ; then
   16015 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16016 			found="yes"
   16017 		fi
   16018 	fi
   16019 
   16020 
   16021 
   16022 
   16023 
   16024 
   16025 
   16026 
   16027 
   16028 
   16029 
   16030 
   16031 
   16032 
   16033 
   16034 xorg_testset_save_CFLAGS="$CFLAGS"
   16035 
   16036 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16039 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16040 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16041   $as_echo_n "(cached) " >&6
   16042 else
   16043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16044 /* end confdefs.h.  */
   16045 int i;
   16046 _ACEOF
   16047 if ac_fn_c_try_compile "$LINENO"; then :
   16048   xorg_cv_cc_flag_unknown_warning_option=yes
   16049 else
   16050   xorg_cv_cc_flag_unknown_warning_option=no
   16051 fi
   16052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16053 fi
   16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16055 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16056 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16057 	CFLAGS="$xorg_testset_save_CFLAGS"
   16058 fi
   16059 
   16060 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16061 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16062 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16063 	fi
   16064 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16066 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16067 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16068   $as_echo_n "(cached) " >&6
   16069 else
   16070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16071 /* end confdefs.h.  */
   16072 int i;
   16073 _ACEOF
   16074 if ac_fn_c_try_compile "$LINENO"; then :
   16075   xorg_cv_cc_flag_unused_command_line_argument=yes
   16076 else
   16077   xorg_cv_cc_flag_unused_command_line_argument=no
   16078 fi
   16079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16080 fi
   16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16082 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16084 	CFLAGS="$xorg_testset_save_CFLAGS"
   16085 fi
   16086 
   16087 found="no"
   16088 
   16089 	if test $found = "no" ; then
   16090 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16092 		fi
   16093 
   16094 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16096 		fi
   16097 
   16098 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16099 
   16100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16101 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16102 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16103 		if eval \${$cacheid+:} false; then :
   16104   $as_echo_n "(cached) " >&6
   16105 else
   16106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16107 /* end confdefs.h.  */
   16108 int i;
   16109 int
   16110 main ()
   16111 {
   16112 
   16113   ;
   16114   return 0;
   16115 }
   16116 _ACEOF
   16117 if ac_fn_c_try_link "$LINENO"; then :
   16118   eval $cacheid=yes
   16119 else
   16120   eval $cacheid=no
   16121 fi
   16122 rm -f core conftest.err conftest.$ac_objext \
   16123     conftest$ac_exeext conftest.$ac_ext
   16124 fi
   16125 
   16126 
   16127 		CFLAGS="$xorg_testset_save_CFLAGS"
   16128 
   16129 		eval supported=\$$cacheid
   16130 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16131 $as_echo "$supported" >&6; }
   16132 		if test "$supported" = "yes" ; then
   16133 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16134 			found="yes"
   16135 		fi
   16136 	fi
   16137 
   16138  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16139 else
   16140 { $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
   16141 $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;}
   16142 
   16143 
   16144 
   16145 
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 xorg_testset_save_CFLAGS="$CFLAGS"
   16156 
   16157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16160 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16161 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16162   $as_echo_n "(cached) " >&6
   16163 else
   16164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16165 /* end confdefs.h.  */
   16166 int i;
   16167 _ACEOF
   16168 if ac_fn_c_try_compile "$LINENO"; then :
   16169   xorg_cv_cc_flag_unknown_warning_option=yes
   16170 else
   16171   xorg_cv_cc_flag_unknown_warning_option=no
   16172 fi
   16173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16174 fi
   16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16176 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16178 	CFLAGS="$xorg_testset_save_CFLAGS"
   16179 fi
   16180 
   16181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16184 	fi
   16185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16187 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16188 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16189   $as_echo_n "(cached) " >&6
   16190 else
   16191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16192 /* end confdefs.h.  */
   16193 int i;
   16194 _ACEOF
   16195 if ac_fn_c_try_compile "$LINENO"; then :
   16196   xorg_cv_cc_flag_unused_command_line_argument=yes
   16197 else
   16198   xorg_cv_cc_flag_unused_command_line_argument=no
   16199 fi
   16200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16201 fi
   16202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16203 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16205 	CFLAGS="$xorg_testset_save_CFLAGS"
   16206 fi
   16207 
   16208 found="no"
   16209 
   16210 	if test $found = "no" ; then
   16211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16213 		fi
   16214 
   16215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16217 		fi
   16218 
   16219 		CFLAGS="$CFLAGS -Wimplicit"
   16220 
   16221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16222 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16223 		cacheid=xorg_cv_cc_flag__Wimplicit
   16224 		if eval \${$cacheid+:} false; then :
   16225   $as_echo_n "(cached) " >&6
   16226 else
   16227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16228 /* end confdefs.h.  */
   16229 int i;
   16230 int
   16231 main ()
   16232 {
   16233 
   16234   ;
   16235   return 0;
   16236 }
   16237 _ACEOF
   16238 if ac_fn_c_try_link "$LINENO"; then :
   16239   eval $cacheid=yes
   16240 else
   16241   eval $cacheid=no
   16242 fi
   16243 rm -f core conftest.err conftest.$ac_objext \
   16244     conftest$ac_exeext conftest.$ac_ext
   16245 fi
   16246 
   16247 
   16248 		CFLAGS="$xorg_testset_save_CFLAGS"
   16249 
   16250 		eval supported=\$$cacheid
   16251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16252 $as_echo "$supported" >&6; }
   16253 		if test "$supported" = "yes" ; then
   16254 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16255 			found="yes"
   16256 		fi
   16257 	fi
   16258 
   16259 
   16260 
   16261 
   16262 
   16263 
   16264 
   16265 
   16266 
   16267 
   16268 
   16269 
   16270 
   16271 
   16272 
   16273 xorg_testset_save_CFLAGS="$CFLAGS"
   16274 
   16275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16278 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16279 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16280   $as_echo_n "(cached) " >&6
   16281 else
   16282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16283 /* end confdefs.h.  */
   16284 int i;
   16285 _ACEOF
   16286 if ac_fn_c_try_compile "$LINENO"; then :
   16287   xorg_cv_cc_flag_unknown_warning_option=yes
   16288 else
   16289   xorg_cv_cc_flag_unknown_warning_option=no
   16290 fi
   16291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16292 fi
   16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16294 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16296 	CFLAGS="$xorg_testset_save_CFLAGS"
   16297 fi
   16298 
   16299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16302 	fi
   16303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16305 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16306 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16307   $as_echo_n "(cached) " >&6
   16308 else
   16309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16310 /* end confdefs.h.  */
   16311 int i;
   16312 _ACEOF
   16313 if ac_fn_c_try_compile "$LINENO"; then :
   16314   xorg_cv_cc_flag_unused_command_line_argument=yes
   16315 else
   16316   xorg_cv_cc_flag_unused_command_line_argument=no
   16317 fi
   16318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16319 fi
   16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16321 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16323 	CFLAGS="$xorg_testset_save_CFLAGS"
   16324 fi
   16325 
   16326 found="no"
   16327 
   16328 	if test $found = "no" ; then
   16329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16331 		fi
   16332 
   16333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16335 		fi
   16336 
   16337 		CFLAGS="$CFLAGS -Wnonnull"
   16338 
   16339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16340 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16341 		cacheid=xorg_cv_cc_flag__Wnonnull
   16342 		if eval \${$cacheid+:} false; then :
   16343   $as_echo_n "(cached) " >&6
   16344 else
   16345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16346 /* end confdefs.h.  */
   16347 int i;
   16348 int
   16349 main ()
   16350 {
   16351 
   16352   ;
   16353   return 0;
   16354 }
   16355 _ACEOF
   16356 if ac_fn_c_try_link "$LINENO"; then :
   16357   eval $cacheid=yes
   16358 else
   16359   eval $cacheid=no
   16360 fi
   16361 rm -f core conftest.err conftest.$ac_objext \
   16362     conftest$ac_exeext conftest.$ac_ext
   16363 fi
   16364 
   16365 
   16366 		CFLAGS="$xorg_testset_save_CFLAGS"
   16367 
   16368 		eval supported=\$$cacheid
   16369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16370 $as_echo "$supported" >&6; }
   16371 		if test "$supported" = "yes" ; then
   16372 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16373 			found="yes"
   16374 		fi
   16375 	fi
   16376 
   16377 
   16378 
   16379 
   16380 
   16381 
   16382 
   16383 
   16384 
   16385 
   16386 
   16387 
   16388 
   16389 
   16390 
   16391 xorg_testset_save_CFLAGS="$CFLAGS"
   16392 
   16393 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16396 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16397 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16398   $as_echo_n "(cached) " >&6
   16399 else
   16400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16401 /* end confdefs.h.  */
   16402 int i;
   16403 _ACEOF
   16404 if ac_fn_c_try_compile "$LINENO"; then :
   16405   xorg_cv_cc_flag_unknown_warning_option=yes
   16406 else
   16407   xorg_cv_cc_flag_unknown_warning_option=no
   16408 fi
   16409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16410 fi
   16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16412 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16414 	CFLAGS="$xorg_testset_save_CFLAGS"
   16415 fi
   16416 
   16417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16420 	fi
   16421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16423 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16424 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16425   $as_echo_n "(cached) " >&6
   16426 else
   16427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16428 /* end confdefs.h.  */
   16429 int i;
   16430 _ACEOF
   16431 if ac_fn_c_try_compile "$LINENO"; then :
   16432   xorg_cv_cc_flag_unused_command_line_argument=yes
   16433 else
   16434   xorg_cv_cc_flag_unused_command_line_argument=no
   16435 fi
   16436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16437 fi
   16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16439 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16441 	CFLAGS="$xorg_testset_save_CFLAGS"
   16442 fi
   16443 
   16444 found="no"
   16445 
   16446 	if test $found = "no" ; then
   16447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16449 		fi
   16450 
   16451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16453 		fi
   16454 
   16455 		CFLAGS="$CFLAGS -Winit-self"
   16456 
   16457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16458 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16459 		cacheid=xorg_cv_cc_flag__Winit_self
   16460 		if eval \${$cacheid+:} false; then :
   16461   $as_echo_n "(cached) " >&6
   16462 else
   16463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16464 /* end confdefs.h.  */
   16465 int i;
   16466 int
   16467 main ()
   16468 {
   16469 
   16470   ;
   16471   return 0;
   16472 }
   16473 _ACEOF
   16474 if ac_fn_c_try_link "$LINENO"; then :
   16475   eval $cacheid=yes
   16476 else
   16477   eval $cacheid=no
   16478 fi
   16479 rm -f core conftest.err conftest.$ac_objext \
   16480     conftest$ac_exeext conftest.$ac_ext
   16481 fi
   16482 
   16483 
   16484 		CFLAGS="$xorg_testset_save_CFLAGS"
   16485 
   16486 		eval supported=\$$cacheid
   16487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16488 $as_echo "$supported" >&6; }
   16489 		if test "$supported" = "yes" ; then
   16490 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16491 			found="yes"
   16492 		fi
   16493 	fi
   16494 
   16495 
   16496 
   16497 
   16498 
   16499 
   16500 
   16501 
   16502 
   16503 
   16504 
   16505 
   16506 
   16507 
   16508 
   16509 xorg_testset_save_CFLAGS="$CFLAGS"
   16510 
   16511 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16512 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16514 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16515 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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 _ACEOF
   16522 if ac_fn_c_try_compile "$LINENO"; then :
   16523   xorg_cv_cc_flag_unknown_warning_option=yes
   16524 else
   16525   xorg_cv_cc_flag_unknown_warning_option=no
   16526 fi
   16527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16528 fi
   16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16530 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16531 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16532 	CFLAGS="$xorg_testset_save_CFLAGS"
   16533 fi
   16534 
   16535 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16536 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16537 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16538 	fi
   16539 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16540 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16541 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16542 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16543   $as_echo_n "(cached) " >&6
   16544 else
   16545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16546 /* end confdefs.h.  */
   16547 int i;
   16548 _ACEOF
   16549 if ac_fn_c_try_compile "$LINENO"; then :
   16550   xorg_cv_cc_flag_unused_command_line_argument=yes
   16551 else
   16552   xorg_cv_cc_flag_unused_command_line_argument=no
   16553 fi
   16554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16555 fi
   16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16557 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16558 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16559 	CFLAGS="$xorg_testset_save_CFLAGS"
   16560 fi
   16561 
   16562 found="no"
   16563 
   16564 	if test $found = "no" ; then
   16565 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16566 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16567 		fi
   16568 
   16569 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16570 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16571 		fi
   16572 
   16573 		CFLAGS="$CFLAGS -Wmain"
   16574 
   16575 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16576 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16577 		cacheid=xorg_cv_cc_flag__Wmain
   16578 		if eval \${$cacheid+:} false; then :
   16579   $as_echo_n "(cached) " >&6
   16580 else
   16581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16582 /* end confdefs.h.  */
   16583 int i;
   16584 int
   16585 main ()
   16586 {
   16587 
   16588   ;
   16589   return 0;
   16590 }
   16591 _ACEOF
   16592 if ac_fn_c_try_link "$LINENO"; then :
   16593   eval $cacheid=yes
   16594 else
   16595   eval $cacheid=no
   16596 fi
   16597 rm -f core conftest.err conftest.$ac_objext \
   16598     conftest$ac_exeext conftest.$ac_ext
   16599 fi
   16600 
   16601 
   16602 		CFLAGS="$xorg_testset_save_CFLAGS"
   16603 
   16604 		eval supported=\$$cacheid
   16605 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16606 $as_echo "$supported" >&6; }
   16607 		if test "$supported" = "yes" ; then
   16608 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16609 			found="yes"
   16610 		fi
   16611 	fi
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 
   16618 
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 
   16627 xorg_testset_save_CFLAGS="$CFLAGS"
   16628 
   16629 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16630 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16632 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16633 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16634   $as_echo_n "(cached) " >&6
   16635 else
   16636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16637 /* end confdefs.h.  */
   16638 int i;
   16639 _ACEOF
   16640 if ac_fn_c_try_compile "$LINENO"; then :
   16641   xorg_cv_cc_flag_unknown_warning_option=yes
   16642 else
   16643   xorg_cv_cc_flag_unknown_warning_option=no
   16644 fi
   16645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16646 fi
   16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16648 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16650 	CFLAGS="$xorg_testset_save_CFLAGS"
   16651 fi
   16652 
   16653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16656 	fi
   16657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16659 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16660 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16661   $as_echo_n "(cached) " >&6
   16662 else
   16663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16664 /* end confdefs.h.  */
   16665 int i;
   16666 _ACEOF
   16667 if ac_fn_c_try_compile "$LINENO"; then :
   16668   xorg_cv_cc_flag_unused_command_line_argument=yes
   16669 else
   16670   xorg_cv_cc_flag_unused_command_line_argument=no
   16671 fi
   16672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16673 fi
   16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16675 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16676 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16677 	CFLAGS="$xorg_testset_save_CFLAGS"
   16678 fi
   16679 
   16680 found="no"
   16681 
   16682 	if test $found = "no" ; then
   16683 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16685 		fi
   16686 
   16687 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16689 		fi
   16690 
   16691 		CFLAGS="$CFLAGS -Wmissing-braces"
   16692 
   16693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16694 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16695 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16696 		if eval \${$cacheid+:} false; then :
   16697   $as_echo_n "(cached) " >&6
   16698 else
   16699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16700 /* end confdefs.h.  */
   16701 int i;
   16702 int
   16703 main ()
   16704 {
   16705 
   16706   ;
   16707   return 0;
   16708 }
   16709 _ACEOF
   16710 if ac_fn_c_try_link "$LINENO"; then :
   16711   eval $cacheid=yes
   16712 else
   16713   eval $cacheid=no
   16714 fi
   16715 rm -f core conftest.err conftest.$ac_objext \
   16716     conftest$ac_exeext conftest.$ac_ext
   16717 fi
   16718 
   16719 
   16720 		CFLAGS="$xorg_testset_save_CFLAGS"
   16721 
   16722 		eval supported=\$$cacheid
   16723 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16724 $as_echo "$supported" >&6; }
   16725 		if test "$supported" = "yes" ; then
   16726 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16727 			found="yes"
   16728 		fi
   16729 	fi
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 xorg_testset_save_CFLAGS="$CFLAGS"
   16746 
   16747 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16748 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16749 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16750 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16751 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16752   $as_echo_n "(cached) " >&6
   16753 else
   16754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16755 /* end confdefs.h.  */
   16756 int i;
   16757 _ACEOF
   16758 if ac_fn_c_try_compile "$LINENO"; then :
   16759   xorg_cv_cc_flag_unknown_warning_option=yes
   16760 else
   16761   xorg_cv_cc_flag_unknown_warning_option=no
   16762 fi
   16763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16764 fi
   16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16766 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16767 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16768 	CFLAGS="$xorg_testset_save_CFLAGS"
   16769 fi
   16770 
   16771 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16772 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16773 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16774 	fi
   16775 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16777 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16778 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16779   $as_echo_n "(cached) " >&6
   16780 else
   16781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16782 /* end confdefs.h.  */
   16783 int i;
   16784 _ACEOF
   16785 if ac_fn_c_try_compile "$LINENO"; then :
   16786   xorg_cv_cc_flag_unused_command_line_argument=yes
   16787 else
   16788   xorg_cv_cc_flag_unused_command_line_argument=no
   16789 fi
   16790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16791 fi
   16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16793 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16794 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16795 	CFLAGS="$xorg_testset_save_CFLAGS"
   16796 fi
   16797 
   16798 found="no"
   16799 
   16800 	if test $found = "no" ; then
   16801 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16802 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16803 		fi
   16804 
   16805 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16806 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16807 		fi
   16808 
   16809 		CFLAGS="$CFLAGS -Wsequence-point"
   16810 
   16811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16812 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16813 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16814 		if eval \${$cacheid+:} false; then :
   16815   $as_echo_n "(cached) " >&6
   16816 else
   16817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16818 /* end confdefs.h.  */
   16819 int i;
   16820 int
   16821 main ()
   16822 {
   16823 
   16824   ;
   16825   return 0;
   16826 }
   16827 _ACEOF
   16828 if ac_fn_c_try_link "$LINENO"; then :
   16829   eval $cacheid=yes
   16830 else
   16831   eval $cacheid=no
   16832 fi
   16833 rm -f core conftest.err conftest.$ac_objext \
   16834     conftest$ac_exeext conftest.$ac_ext
   16835 fi
   16836 
   16837 
   16838 		CFLAGS="$xorg_testset_save_CFLAGS"
   16839 
   16840 		eval supported=\$$cacheid
   16841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16842 $as_echo "$supported" >&6; }
   16843 		if test "$supported" = "yes" ; then
   16844 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16845 			found="yes"
   16846 		fi
   16847 	fi
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 
   16856 
   16857 
   16858 
   16859 
   16860 
   16861 
   16862 
   16863 xorg_testset_save_CFLAGS="$CFLAGS"
   16864 
   16865 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16866 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16867 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16868 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16869 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16870   $as_echo_n "(cached) " >&6
   16871 else
   16872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16873 /* end confdefs.h.  */
   16874 int i;
   16875 _ACEOF
   16876 if ac_fn_c_try_compile "$LINENO"; then :
   16877   xorg_cv_cc_flag_unknown_warning_option=yes
   16878 else
   16879   xorg_cv_cc_flag_unknown_warning_option=no
   16880 fi
   16881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16882 fi
   16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16884 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16886 	CFLAGS="$xorg_testset_save_CFLAGS"
   16887 fi
   16888 
   16889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16892 	fi
   16893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16895 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16896 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   16903 if ac_fn_c_try_compile "$LINENO"; then :
   16904   xorg_cv_cc_flag_unused_command_line_argument=yes
   16905 else
   16906   xorg_cv_cc_flag_unused_command_line_argument=no
   16907 fi
   16908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16909 fi
   16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16911 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16912 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16913 	CFLAGS="$xorg_testset_save_CFLAGS"
   16914 fi
   16915 
   16916 found="no"
   16917 
   16918 	if test $found = "no" ; then
   16919 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16920 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16921 		fi
   16922 
   16923 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16924 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16925 		fi
   16926 
   16927 		CFLAGS="$CFLAGS -Wreturn-type"
   16928 
   16929 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16930 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16931 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16932 		if eval \${$cacheid+:} false; then :
   16933   $as_echo_n "(cached) " >&6
   16934 else
   16935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16936 /* end confdefs.h.  */
   16937 int i;
   16938 int
   16939 main ()
   16940 {
   16941 
   16942   ;
   16943   return 0;
   16944 }
   16945 _ACEOF
   16946 if ac_fn_c_try_link "$LINENO"; then :
   16947   eval $cacheid=yes
   16948 else
   16949   eval $cacheid=no
   16950 fi
   16951 rm -f core conftest.err conftest.$ac_objext \
   16952     conftest$ac_exeext conftest.$ac_ext
   16953 fi
   16954 
   16955 
   16956 		CFLAGS="$xorg_testset_save_CFLAGS"
   16957 
   16958 		eval supported=\$$cacheid
   16959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16960 $as_echo "$supported" >&6; }
   16961 		if test "$supported" = "yes" ; then
   16962 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16963 			found="yes"
   16964 		fi
   16965 	fi
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 
   16973 
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 xorg_testset_save_CFLAGS="$CFLAGS"
   16982 
   16983 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16984 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16985 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16986 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16987 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16988   $as_echo_n "(cached) " >&6
   16989 else
   16990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16991 /* end confdefs.h.  */
   16992 int i;
   16993 _ACEOF
   16994 if ac_fn_c_try_compile "$LINENO"; then :
   16995   xorg_cv_cc_flag_unknown_warning_option=yes
   16996 else
   16997   xorg_cv_cc_flag_unknown_warning_option=no
   16998 fi
   16999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17000 fi
   17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17002 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17003 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17004 	CFLAGS="$xorg_testset_save_CFLAGS"
   17005 fi
   17006 
   17007 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17008 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17009 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17010 	fi
   17011 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17013 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17014 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17015   $as_echo_n "(cached) " >&6
   17016 else
   17017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17018 /* end confdefs.h.  */
   17019 int i;
   17020 _ACEOF
   17021 if ac_fn_c_try_compile "$LINENO"; then :
   17022   xorg_cv_cc_flag_unused_command_line_argument=yes
   17023 else
   17024   xorg_cv_cc_flag_unused_command_line_argument=no
   17025 fi
   17026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17027 fi
   17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17029 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17030 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17031 	CFLAGS="$xorg_testset_save_CFLAGS"
   17032 fi
   17033 
   17034 found="no"
   17035 
   17036 	if test $found = "no" ; then
   17037 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17038 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17039 		fi
   17040 
   17041 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17042 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17043 		fi
   17044 
   17045 		CFLAGS="$CFLAGS -Wtrigraphs"
   17046 
   17047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17048 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17049 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17050 		if eval \${$cacheid+:} false; then :
   17051   $as_echo_n "(cached) " >&6
   17052 else
   17053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17054 /* end confdefs.h.  */
   17055 int i;
   17056 int
   17057 main ()
   17058 {
   17059 
   17060   ;
   17061   return 0;
   17062 }
   17063 _ACEOF
   17064 if ac_fn_c_try_link "$LINENO"; then :
   17065   eval $cacheid=yes
   17066 else
   17067   eval $cacheid=no
   17068 fi
   17069 rm -f core conftest.err conftest.$ac_objext \
   17070     conftest$ac_exeext conftest.$ac_ext
   17071 fi
   17072 
   17073 
   17074 		CFLAGS="$xorg_testset_save_CFLAGS"
   17075 
   17076 		eval supported=\$$cacheid
   17077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17078 $as_echo "$supported" >&6; }
   17079 		if test "$supported" = "yes" ; then
   17080 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17081 			found="yes"
   17082 		fi
   17083 	fi
   17084 
   17085 
   17086 
   17087 
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 xorg_testset_save_CFLAGS="$CFLAGS"
   17100 
   17101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17103 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17104 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17105 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17106   $as_echo_n "(cached) " >&6
   17107 else
   17108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17109 /* end confdefs.h.  */
   17110 int i;
   17111 _ACEOF
   17112 if ac_fn_c_try_compile "$LINENO"; then :
   17113   xorg_cv_cc_flag_unknown_warning_option=yes
   17114 else
   17115   xorg_cv_cc_flag_unknown_warning_option=no
   17116 fi
   17117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17118 fi
   17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17120 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17122 	CFLAGS="$xorg_testset_save_CFLAGS"
   17123 fi
   17124 
   17125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17128 	fi
   17129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17131 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17132 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17133   $as_echo_n "(cached) " >&6
   17134 else
   17135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17136 /* end confdefs.h.  */
   17137 int i;
   17138 _ACEOF
   17139 if ac_fn_c_try_compile "$LINENO"; then :
   17140   xorg_cv_cc_flag_unused_command_line_argument=yes
   17141 else
   17142   xorg_cv_cc_flag_unused_command_line_argument=no
   17143 fi
   17144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17145 fi
   17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17147 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17148 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17149 	CFLAGS="$xorg_testset_save_CFLAGS"
   17150 fi
   17151 
   17152 found="no"
   17153 
   17154 	if test $found = "no" ; then
   17155 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17156 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17157 		fi
   17158 
   17159 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17160 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17161 		fi
   17162 
   17163 		CFLAGS="$CFLAGS -Warray-bounds"
   17164 
   17165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17166 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17167 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17168 		if eval \${$cacheid+:} false; then :
   17169   $as_echo_n "(cached) " >&6
   17170 else
   17171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17172 /* end confdefs.h.  */
   17173 int i;
   17174 int
   17175 main ()
   17176 {
   17177 
   17178   ;
   17179   return 0;
   17180 }
   17181 _ACEOF
   17182 if ac_fn_c_try_link "$LINENO"; then :
   17183   eval $cacheid=yes
   17184 else
   17185   eval $cacheid=no
   17186 fi
   17187 rm -f core conftest.err conftest.$ac_objext \
   17188     conftest$ac_exeext conftest.$ac_ext
   17189 fi
   17190 
   17191 
   17192 		CFLAGS="$xorg_testset_save_CFLAGS"
   17193 
   17194 		eval supported=\$$cacheid
   17195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17196 $as_echo "$supported" >&6; }
   17197 		if test "$supported" = "yes" ; then
   17198 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17199 			found="yes"
   17200 		fi
   17201 	fi
   17202 
   17203 
   17204 
   17205 
   17206 
   17207 
   17208 
   17209 
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 
   17217 xorg_testset_save_CFLAGS="$CFLAGS"
   17218 
   17219 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17220 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17222 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17223 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17224   $as_echo_n "(cached) " >&6
   17225 else
   17226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17227 /* end confdefs.h.  */
   17228 int i;
   17229 _ACEOF
   17230 if ac_fn_c_try_compile "$LINENO"; then :
   17231   xorg_cv_cc_flag_unknown_warning_option=yes
   17232 else
   17233   xorg_cv_cc_flag_unknown_warning_option=no
   17234 fi
   17235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17236 fi
   17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17238 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17239 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17240 	CFLAGS="$xorg_testset_save_CFLAGS"
   17241 fi
   17242 
   17243 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17244 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17245 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17246 	fi
   17247 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17249 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17250 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17251   $as_echo_n "(cached) " >&6
   17252 else
   17253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17254 /* end confdefs.h.  */
   17255 int i;
   17256 _ACEOF
   17257 if ac_fn_c_try_compile "$LINENO"; then :
   17258   xorg_cv_cc_flag_unused_command_line_argument=yes
   17259 else
   17260   xorg_cv_cc_flag_unused_command_line_argument=no
   17261 fi
   17262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17263 fi
   17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17265 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17267 	CFLAGS="$xorg_testset_save_CFLAGS"
   17268 fi
   17269 
   17270 found="no"
   17271 
   17272 	if test $found = "no" ; then
   17273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17275 		fi
   17276 
   17277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17279 		fi
   17280 
   17281 		CFLAGS="$CFLAGS -Wwrite-strings"
   17282 
   17283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17284 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17285 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17286 		if eval \${$cacheid+:} false; then :
   17287   $as_echo_n "(cached) " >&6
   17288 else
   17289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17290 /* end confdefs.h.  */
   17291 int i;
   17292 int
   17293 main ()
   17294 {
   17295 
   17296   ;
   17297   return 0;
   17298 }
   17299 _ACEOF
   17300 if ac_fn_c_try_link "$LINENO"; then :
   17301   eval $cacheid=yes
   17302 else
   17303   eval $cacheid=no
   17304 fi
   17305 rm -f core conftest.err conftest.$ac_objext \
   17306     conftest$ac_exeext conftest.$ac_ext
   17307 fi
   17308 
   17309 
   17310 		CFLAGS="$xorg_testset_save_CFLAGS"
   17311 
   17312 		eval supported=\$$cacheid
   17313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17314 $as_echo "$supported" >&6; }
   17315 		if test "$supported" = "yes" ; then
   17316 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17317 			found="yes"
   17318 		fi
   17319 	fi
   17320 
   17321 
   17322 
   17323 
   17324 
   17325 
   17326 
   17327 
   17328 
   17329 
   17330 
   17331 
   17332 
   17333 
   17334 
   17335 xorg_testset_save_CFLAGS="$CFLAGS"
   17336 
   17337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17340 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17341 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17342   $as_echo_n "(cached) " >&6
   17343 else
   17344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17345 /* end confdefs.h.  */
   17346 int i;
   17347 _ACEOF
   17348 if ac_fn_c_try_compile "$LINENO"; then :
   17349   xorg_cv_cc_flag_unknown_warning_option=yes
   17350 else
   17351   xorg_cv_cc_flag_unknown_warning_option=no
   17352 fi
   17353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17354 fi
   17355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17356 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17358 	CFLAGS="$xorg_testset_save_CFLAGS"
   17359 fi
   17360 
   17361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17364 	fi
   17365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17367 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17368 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17369   $as_echo_n "(cached) " >&6
   17370 else
   17371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17372 /* end confdefs.h.  */
   17373 int i;
   17374 _ACEOF
   17375 if ac_fn_c_try_compile "$LINENO"; then :
   17376   xorg_cv_cc_flag_unused_command_line_argument=yes
   17377 else
   17378   xorg_cv_cc_flag_unused_command_line_argument=no
   17379 fi
   17380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17381 fi
   17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17383 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17384 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17385 	CFLAGS="$xorg_testset_save_CFLAGS"
   17386 fi
   17387 
   17388 found="no"
   17389 
   17390 	if test $found = "no" ; then
   17391 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17392 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17393 		fi
   17394 
   17395 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17396 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17397 		fi
   17398 
   17399 		CFLAGS="$CFLAGS -Waddress"
   17400 
   17401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17402 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17403 		cacheid=xorg_cv_cc_flag__Waddress
   17404 		if eval \${$cacheid+:} false; then :
   17405   $as_echo_n "(cached) " >&6
   17406 else
   17407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17408 /* end confdefs.h.  */
   17409 int i;
   17410 int
   17411 main ()
   17412 {
   17413 
   17414   ;
   17415   return 0;
   17416 }
   17417 _ACEOF
   17418 if ac_fn_c_try_link "$LINENO"; then :
   17419   eval $cacheid=yes
   17420 else
   17421   eval $cacheid=no
   17422 fi
   17423 rm -f core conftest.err conftest.$ac_objext \
   17424     conftest$ac_exeext conftest.$ac_ext
   17425 fi
   17426 
   17427 
   17428 		CFLAGS="$xorg_testset_save_CFLAGS"
   17429 
   17430 		eval supported=\$$cacheid
   17431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17432 $as_echo "$supported" >&6; }
   17433 		if test "$supported" = "yes" ; then
   17434 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17435 			found="yes"
   17436 		fi
   17437 	fi
   17438 
   17439 
   17440 
   17441 
   17442 
   17443 
   17444 
   17445 
   17446 
   17447 
   17448 
   17449 
   17450 
   17451 
   17452 
   17453 xorg_testset_save_CFLAGS="$CFLAGS"
   17454 
   17455 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17456 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17457 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17458 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17459 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17460   $as_echo_n "(cached) " >&6
   17461 else
   17462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17463 /* end confdefs.h.  */
   17464 int i;
   17465 _ACEOF
   17466 if ac_fn_c_try_compile "$LINENO"; then :
   17467   xorg_cv_cc_flag_unknown_warning_option=yes
   17468 else
   17469   xorg_cv_cc_flag_unknown_warning_option=no
   17470 fi
   17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17472 fi
   17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17474 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17475 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17476 	CFLAGS="$xorg_testset_save_CFLAGS"
   17477 fi
   17478 
   17479 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17480 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17481 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17482 	fi
   17483 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17484 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17485 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17486 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17487   $as_echo_n "(cached) " >&6
   17488 else
   17489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17490 /* end confdefs.h.  */
   17491 int i;
   17492 _ACEOF
   17493 if ac_fn_c_try_compile "$LINENO"; then :
   17494   xorg_cv_cc_flag_unused_command_line_argument=yes
   17495 else
   17496   xorg_cv_cc_flag_unused_command_line_argument=no
   17497 fi
   17498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17499 fi
   17500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17501 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17502 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17503 	CFLAGS="$xorg_testset_save_CFLAGS"
   17504 fi
   17505 
   17506 found="no"
   17507 
   17508 	if test $found = "no" ; then
   17509 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17510 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17511 		fi
   17512 
   17513 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17514 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17515 		fi
   17516 
   17517 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17518 
   17519 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17520 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17521 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17522 		if eval \${$cacheid+:} false; then :
   17523   $as_echo_n "(cached) " >&6
   17524 else
   17525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17526 /* end confdefs.h.  */
   17527 int i;
   17528 int
   17529 main ()
   17530 {
   17531 
   17532   ;
   17533   return 0;
   17534 }
   17535 _ACEOF
   17536 if ac_fn_c_try_link "$LINENO"; then :
   17537   eval $cacheid=yes
   17538 else
   17539   eval $cacheid=no
   17540 fi
   17541 rm -f core conftest.err conftest.$ac_objext \
   17542     conftest$ac_exeext conftest.$ac_ext
   17543 fi
   17544 
   17545 
   17546 		CFLAGS="$xorg_testset_save_CFLAGS"
   17547 
   17548 		eval supported=\$$cacheid
   17549 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17550 $as_echo "$supported" >&6; }
   17551 		if test "$supported" = "yes" ; then
   17552 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17553 			found="yes"
   17554 		fi
   17555 	fi
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 
   17569 
   17570 
   17571 xorg_testset_save_CFLAGS="$CFLAGS"
   17572 
   17573 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17574 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17575 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17576 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17577 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17578   $as_echo_n "(cached) " >&6
   17579 else
   17580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17581 /* end confdefs.h.  */
   17582 int i;
   17583 _ACEOF
   17584 if ac_fn_c_try_compile "$LINENO"; then :
   17585   xorg_cv_cc_flag_unknown_warning_option=yes
   17586 else
   17587   xorg_cv_cc_flag_unknown_warning_option=no
   17588 fi
   17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17590 fi
   17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17592 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17593 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17594 	CFLAGS="$xorg_testset_save_CFLAGS"
   17595 fi
   17596 
   17597 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17598 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17599 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17600 	fi
   17601 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17603 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17604 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17605   $as_echo_n "(cached) " >&6
   17606 else
   17607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17608 /* end confdefs.h.  */
   17609 int i;
   17610 _ACEOF
   17611 if ac_fn_c_try_compile "$LINENO"; then :
   17612   xorg_cv_cc_flag_unused_command_line_argument=yes
   17613 else
   17614   xorg_cv_cc_flag_unused_command_line_argument=no
   17615 fi
   17616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17617 fi
   17618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17619 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17620 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17621 	CFLAGS="$xorg_testset_save_CFLAGS"
   17622 fi
   17623 
   17624 found="no"
   17625 
   17626 	if test $found = "no" ; then
   17627 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17628 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17629 		fi
   17630 
   17631 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17632 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17633 		fi
   17634 
   17635 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17636 
   17637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17638 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17639 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17640 		if eval \${$cacheid+:} false; then :
   17641   $as_echo_n "(cached) " >&6
   17642 else
   17643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17644 /* end confdefs.h.  */
   17645 int i;
   17646 int
   17647 main ()
   17648 {
   17649 
   17650   ;
   17651   return 0;
   17652 }
   17653 _ACEOF
   17654 if ac_fn_c_try_link "$LINENO"; then :
   17655   eval $cacheid=yes
   17656 else
   17657   eval $cacheid=no
   17658 fi
   17659 rm -f core conftest.err conftest.$ac_objext \
   17660     conftest$ac_exeext conftest.$ac_ext
   17661 fi
   17662 
   17663 
   17664 		CFLAGS="$xorg_testset_save_CFLAGS"
   17665 
   17666 		eval supported=\$$cacheid
   17667 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17668 $as_echo "$supported" >&6; }
   17669 		if test "$supported" = "yes" ; then
   17670 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17671 			found="yes"
   17672 		fi
   17673 	fi
   17674 
   17675 
   17676 fi
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 		CWARNFLAGS="$BASE_CFLAGS"
   17685 		if  test "x$GCC" = xyes ; then
   17686 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17687 		fi
   17688 
   17689 
   17690 
   17691 
   17692 
   17693 
   17694 
   17695 
   17696 # Check whether --enable-strict-compilation was given.
   17697 if test "${enable_strict_compilation+set}" = set; then :
   17698   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17699 else
   17700   STRICT_COMPILE=no
   17701 fi
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 STRICT_CFLAGS=""
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 xorg_testset_save_CFLAGS="$CFLAGS"
   17723 
   17724 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17725 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17727 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17728 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17729   $as_echo_n "(cached) " >&6
   17730 else
   17731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17732 /* end confdefs.h.  */
   17733 int i;
   17734 _ACEOF
   17735 if ac_fn_c_try_compile "$LINENO"; then :
   17736   xorg_cv_cc_flag_unknown_warning_option=yes
   17737 else
   17738   xorg_cv_cc_flag_unknown_warning_option=no
   17739 fi
   17740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17741 fi
   17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17743 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17744 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17745 	CFLAGS="$xorg_testset_save_CFLAGS"
   17746 fi
   17747 
   17748 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17749 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17750 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17751 	fi
   17752 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17754 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17755 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17756   $as_echo_n "(cached) " >&6
   17757 else
   17758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17759 /* end confdefs.h.  */
   17760 int i;
   17761 _ACEOF
   17762 if ac_fn_c_try_compile "$LINENO"; then :
   17763   xorg_cv_cc_flag_unused_command_line_argument=yes
   17764 else
   17765   xorg_cv_cc_flag_unused_command_line_argument=no
   17766 fi
   17767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17768 fi
   17769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17770 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17771 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17772 	CFLAGS="$xorg_testset_save_CFLAGS"
   17773 fi
   17774 
   17775 found="no"
   17776 
   17777 	if test $found = "no" ; then
   17778 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17780 		fi
   17781 
   17782 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17784 		fi
   17785 
   17786 		CFLAGS="$CFLAGS -pedantic"
   17787 
   17788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17789 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17790 		cacheid=xorg_cv_cc_flag__pedantic
   17791 		if eval \${$cacheid+:} false; then :
   17792   $as_echo_n "(cached) " >&6
   17793 else
   17794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17795 /* end confdefs.h.  */
   17796 int i;
   17797 int
   17798 main ()
   17799 {
   17800 
   17801   ;
   17802   return 0;
   17803 }
   17804 _ACEOF
   17805 if ac_fn_c_try_link "$LINENO"; then :
   17806   eval $cacheid=yes
   17807 else
   17808   eval $cacheid=no
   17809 fi
   17810 rm -f core conftest.err conftest.$ac_objext \
   17811     conftest$ac_exeext conftest.$ac_ext
   17812 fi
   17813 
   17814 
   17815 		CFLAGS="$xorg_testset_save_CFLAGS"
   17816 
   17817 		eval supported=\$$cacheid
   17818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17819 $as_echo "$supported" >&6; }
   17820 		if test "$supported" = "yes" ; then
   17821 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17822 			found="yes"
   17823 		fi
   17824 	fi
   17825 
   17826 
   17827 
   17828 
   17829 
   17830 
   17831 
   17832 
   17833 
   17834 
   17835 
   17836 
   17837 
   17838 
   17839 
   17840 xorg_testset_save_CFLAGS="$CFLAGS"
   17841 
   17842 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17843 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17844 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17845 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17846 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17847   $as_echo_n "(cached) " >&6
   17848 else
   17849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17850 /* end confdefs.h.  */
   17851 int i;
   17852 _ACEOF
   17853 if ac_fn_c_try_compile "$LINENO"; then :
   17854   xorg_cv_cc_flag_unknown_warning_option=yes
   17855 else
   17856   xorg_cv_cc_flag_unknown_warning_option=no
   17857 fi
   17858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17859 fi
   17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17861 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17862 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17863 	CFLAGS="$xorg_testset_save_CFLAGS"
   17864 fi
   17865 
   17866 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17867 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17868 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17869 	fi
   17870 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17871 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17872 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17873 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17874   $as_echo_n "(cached) " >&6
   17875 else
   17876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17877 /* end confdefs.h.  */
   17878 int i;
   17879 _ACEOF
   17880 if ac_fn_c_try_compile "$LINENO"; then :
   17881   xorg_cv_cc_flag_unused_command_line_argument=yes
   17882 else
   17883   xorg_cv_cc_flag_unused_command_line_argument=no
   17884 fi
   17885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17886 fi
   17887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17888 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17889 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17890 	CFLAGS="$xorg_testset_save_CFLAGS"
   17891 fi
   17892 
   17893 found="no"
   17894 
   17895 	if test $found = "no" ; then
   17896 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17897 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17898 		fi
   17899 
   17900 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17901 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17902 		fi
   17903 
   17904 		CFLAGS="$CFLAGS -Werror"
   17905 
   17906 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17907 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17908 		cacheid=xorg_cv_cc_flag__Werror
   17909 		if eval \${$cacheid+:} false; then :
   17910   $as_echo_n "(cached) " >&6
   17911 else
   17912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17913 /* end confdefs.h.  */
   17914 int i;
   17915 int
   17916 main ()
   17917 {
   17918 
   17919   ;
   17920   return 0;
   17921 }
   17922 _ACEOF
   17923 if ac_fn_c_try_link "$LINENO"; then :
   17924   eval $cacheid=yes
   17925 else
   17926   eval $cacheid=no
   17927 fi
   17928 rm -f core conftest.err conftest.$ac_objext \
   17929     conftest$ac_exeext conftest.$ac_ext
   17930 fi
   17931 
   17932 
   17933 		CFLAGS="$xorg_testset_save_CFLAGS"
   17934 
   17935 		eval supported=\$$cacheid
   17936 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17937 $as_echo "$supported" >&6; }
   17938 		if test "$supported" = "yes" ; then
   17939 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17940 			found="yes"
   17941 		fi
   17942 	fi
   17943 
   17944 	if test $found = "no" ; then
   17945 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17947 		fi
   17948 
   17949 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17951 		fi
   17952 
   17953 		CFLAGS="$CFLAGS -errwarn"
   17954 
   17955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17956 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17957 		cacheid=xorg_cv_cc_flag__errwarn
   17958 		if eval \${$cacheid+:} false; then :
   17959   $as_echo_n "(cached) " >&6
   17960 else
   17961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17962 /* end confdefs.h.  */
   17963 int i;
   17964 int
   17965 main ()
   17966 {
   17967 
   17968   ;
   17969   return 0;
   17970 }
   17971 _ACEOF
   17972 if ac_fn_c_try_link "$LINENO"; then :
   17973   eval $cacheid=yes
   17974 else
   17975   eval $cacheid=no
   17976 fi
   17977 rm -f core conftest.err conftest.$ac_objext \
   17978     conftest$ac_exeext conftest.$ac_ext
   17979 fi
   17980 
   17981 
   17982 		CFLAGS="$xorg_testset_save_CFLAGS"
   17983 
   17984 		eval supported=\$$cacheid
   17985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17986 $as_echo "$supported" >&6; }
   17987 		if test "$supported" = "yes" ; then
   17988 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17989 			found="yes"
   17990 		fi
   17991 	fi
   17992 
   17993 
   17994 
   17995 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17996 # activate it with -Werror, so we add it here explicitly.
   17997 
   17998 
   17999 
   18000 
   18001 
   18002 
   18003 
   18004 
   18005 
   18006 
   18007 
   18008 
   18009 
   18010 xorg_testset_save_CFLAGS="$CFLAGS"
   18011 
   18012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18014 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18015 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18016 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18017   $as_echo_n "(cached) " >&6
   18018 else
   18019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18020 /* end confdefs.h.  */
   18021 int i;
   18022 _ACEOF
   18023 if ac_fn_c_try_compile "$LINENO"; then :
   18024   xorg_cv_cc_flag_unknown_warning_option=yes
   18025 else
   18026   xorg_cv_cc_flag_unknown_warning_option=no
   18027 fi
   18028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18029 fi
   18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18031 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18032 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18033 	CFLAGS="$xorg_testset_save_CFLAGS"
   18034 fi
   18035 
   18036 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18037 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18038 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18039 	fi
   18040 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18042 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18043 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18044   $as_echo_n "(cached) " >&6
   18045 else
   18046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18047 /* end confdefs.h.  */
   18048 int i;
   18049 _ACEOF
   18050 if ac_fn_c_try_compile "$LINENO"; then :
   18051   xorg_cv_cc_flag_unused_command_line_argument=yes
   18052 else
   18053   xorg_cv_cc_flag_unused_command_line_argument=no
   18054 fi
   18055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18056 fi
   18057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18058 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18059 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18060 	CFLAGS="$xorg_testset_save_CFLAGS"
   18061 fi
   18062 
   18063 found="no"
   18064 
   18065 	if test $found = "no" ; then
   18066 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18067 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18068 		fi
   18069 
   18070 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18071 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18072 		fi
   18073 
   18074 		CFLAGS="$CFLAGS -Werror=attributes"
   18075 
   18076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18077 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18078 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18079 		if eval \${$cacheid+:} false; then :
   18080   $as_echo_n "(cached) " >&6
   18081 else
   18082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18083 /* end confdefs.h.  */
   18084 int i;
   18085 int
   18086 main ()
   18087 {
   18088 
   18089   ;
   18090   return 0;
   18091 }
   18092 _ACEOF
   18093 if ac_fn_c_try_link "$LINENO"; then :
   18094   eval $cacheid=yes
   18095 else
   18096   eval $cacheid=no
   18097 fi
   18098 rm -f core conftest.err conftest.$ac_objext \
   18099     conftest$ac_exeext conftest.$ac_ext
   18100 fi
   18101 
   18102 
   18103 		CFLAGS="$xorg_testset_save_CFLAGS"
   18104 
   18105 		eval supported=\$$cacheid
   18106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18107 $as_echo "$supported" >&6; }
   18108 		if test "$supported" = "yes" ; then
   18109 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18110 			found="yes"
   18111 		fi
   18112 	fi
   18113 
   18114 
   18115 
   18116 if test "x$STRICT_COMPILE" = "xyes"; then
   18117     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18118     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18119 fi
   18120 
   18121 
   18122 
   18123 
   18124 
   18125 
   18126 cat >>confdefs.h <<_ACEOF
   18127 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18128 _ACEOF
   18129 
   18130 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18131 	if test "x$PVM" = "x"; then
   18132 		PVM="0"
   18133 	fi
   18134 
   18135 cat >>confdefs.h <<_ACEOF
   18136 #define PACKAGE_VERSION_MINOR $PVM
   18137 _ACEOF
   18138 
   18139 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18140 	if test "x$PVP" = "x"; then
   18141 		PVP="0"
   18142 	fi
   18143 
   18144 cat >>confdefs.h <<_ACEOF
   18145 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18146 _ACEOF
   18147 
   18148 
   18149 
   18150 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   18151 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18152 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   18153 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   18154 
   18155 
   18156 
   18157 
   18158 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18159 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18160 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18161 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   18162 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   18163 
   18164 
   18165 
   18166 
   18167 
   18168 
   18169 if test x$APP_MAN_SUFFIX = x    ; then
   18170     APP_MAN_SUFFIX=1
   18171 fi
   18172 if test x$APP_MAN_DIR = x    ; then
   18173     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18174 fi
   18175 
   18176 if test x$LIB_MAN_SUFFIX = x    ; then
   18177     LIB_MAN_SUFFIX=3
   18178 fi
   18179 if test x$LIB_MAN_DIR = x    ; then
   18180     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18181 fi
   18182 
   18183 if test x$FILE_MAN_SUFFIX = x    ; then
   18184     case $host_os in
   18185 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   18186 	*)		FILE_MAN_SUFFIX=5  ;;
   18187     esac
   18188 fi
   18189 if test x$FILE_MAN_DIR = x    ; then
   18190     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18191 fi
   18192 
   18193 if test x$MISC_MAN_SUFFIX = x    ; then
   18194     case $host_os in
   18195 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   18196 	*)		MISC_MAN_SUFFIX=7  ;;
   18197     esac
   18198 fi
   18199 if test x$MISC_MAN_DIR = x    ; then
   18200     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18201 fi
   18202 
   18203 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18204     case $host_os in
   18205 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   18206 	*)		DRIVER_MAN_SUFFIX=4  ;;
   18207     esac
   18208 fi
   18209 if test x$DRIVER_MAN_DIR = x    ; then
   18210     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18211 fi
   18212 
   18213 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18214     case $host_os in
   18215 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   18216 	*)		ADMIN_MAN_SUFFIX=8  ;;
   18217     esac
   18218 fi
   18219 if test x$ADMIN_MAN_DIR = x    ; then
   18220     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18221 fi
   18222 
   18223 
   18224 
   18225 
   18226 
   18227 
   18228 
   18229 
   18230 
   18231 
   18232 
   18233 
   18234 
   18235 
   18236 
   18237 XORG_MAN_PAGE="X Version 11"
   18238 
   18239 MAN_SUBSTS="\
   18240 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18241 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18242 	-e 's|__xservername__|Xorg|g' \
   18243 	-e 's|__xconfigfile__|xorg.conf|g' \
   18244 	-e 's|__projectroot__|\$(prefix)|g' \
   18245 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18246 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18247 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18248 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18249 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18250 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18251 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18252 
   18253 
   18254 
   18255 # Check whether --enable-silent-rules was given.
   18256 if test "${enable_silent_rules+set}" = set; then :
   18257   enableval=$enable_silent_rules;
   18258 fi
   18259 
   18260 case $enable_silent_rules in # (((
   18261   yes) AM_DEFAULT_VERBOSITY=0;;
   18262    no) AM_DEFAULT_VERBOSITY=1;;
   18263     *) AM_DEFAULT_VERBOSITY=0;;
   18264 esac
   18265 am_make=${MAKE-make}
   18266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18267 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18268 if ${am_cv_make_support_nested_variables+:} false; then :
   18269   $as_echo_n "(cached) " >&6
   18270 else
   18271   if $as_echo 'TRUE=$(BAR$(V))
   18272 BAR0=false
   18273 BAR1=true
   18274 V=1
   18275 am__doit:
   18276 	@$(TRUE)
   18277 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18278   am_cv_make_support_nested_variables=yes
   18279 else
   18280   am_cv_make_support_nested_variables=no
   18281 fi
   18282 fi
   18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18284 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18285 if test $am_cv_make_support_nested_variables = yes; then
   18286     AM_V='$(V)'
   18287   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18288 else
   18289   AM_V=$AM_DEFAULT_VERBOSITY
   18290   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18291 fi
   18292 AM_BACKSLASH='\'
   18293 
   18294 
   18295 
   18296 # Set library version for Xft.h from package version set in AC_INIT
   18297 # copied from PACKAGE_VERSION_* settings in XORG_VERSION
   18298 ac_config_headers="$ac_config_headers include/X11/Xft/Xft.h"
   18299 
   18300 
   18301 cat >>confdefs.h <<_ACEOF
   18302 #define XFT_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18303 _ACEOF
   18304 
   18305 
   18306 cat >>confdefs.h <<_ACEOF
   18307 #define XFT_MINOR `echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18308 _ACEOF
   18309 
   18310 
   18311 cat >>confdefs.h <<_ACEOF
   18312 #define XFT_REVISION `echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18313 _ACEOF
   18314 
   18315 
   18316 XFT_LT_VERSION=`echo $PACKAGE_VERSION | tr '.' ':'`
   18317 
   18318 
   18319 #
   18320 # Check for Xrender
   18321 #
   18322 
   18323 pkg_failed=no
   18324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRENDER" >&5
   18325 $as_echo_n "checking for XRENDER... " >&6; }
   18326 
   18327 if test -n "$XRENDER_CFLAGS"; then
   18328     pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
   18329  elif test -n "$PKG_CONFIG"; then
   18330     if test -n "$PKG_CONFIG" && \
   18331     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 x11\""; } >&5
   18332   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 x11") 2>&5
   18333   ac_status=$?
   18334   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18335   test $ac_status = 0; }; then
   18336   pkg_cv_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.8.2 x11" 2>/dev/null`
   18337 		      test "x$?" != "x0" && pkg_failed=yes
   18338 else
   18339   pkg_failed=yes
   18340 fi
   18341  else
   18342     pkg_failed=untried
   18343 fi
   18344 if test -n "$XRENDER_LIBS"; then
   18345     pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
   18346  elif test -n "$PKG_CONFIG"; then
   18347     if test -n "$PKG_CONFIG" && \
   18348     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 x11\""; } >&5
   18349   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 x11") 2>&5
   18350   ac_status=$?
   18351   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18352   test $ac_status = 0; }; then
   18353   pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender >= 0.8.2 x11" 2>/dev/null`
   18354 		      test "x$?" != "x0" && pkg_failed=yes
   18355 else
   18356   pkg_failed=yes
   18357 fi
   18358  else
   18359     pkg_failed=untried
   18360 fi
   18361 
   18362 
   18363 
   18364 if test $pkg_failed = yes; then
   18365    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18366 $as_echo "no" >&6; }
   18367 
   18368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18369         _pkg_short_errors_supported=yes
   18370 else
   18371         _pkg_short_errors_supported=no
   18372 fi
   18373         if test $_pkg_short_errors_supported = yes; then
   18374 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrender >= 0.8.2 x11" 2>&1`
   18375         else
   18376 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrender >= 0.8.2 x11" 2>&1`
   18377         fi
   18378 	# Put the nasty error message in config.log where it belongs
   18379 	echo "$XRENDER_PKG_ERRORS" >&5
   18380 
   18381 	as_fn_error $? "Package requirements (xrender >= 0.8.2 x11) were not met:
   18382 
   18383 $XRENDER_PKG_ERRORS
   18384 
   18385 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18386 installed software in a non-standard prefix.
   18387 
   18388 Alternatively, you may set the environment variables XRENDER_CFLAGS
   18389 and XRENDER_LIBS to avoid the need to call pkg-config.
   18390 See the pkg-config man page for more details." "$LINENO" 5
   18391 elif test $pkg_failed = untried; then
   18392      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18393 $as_echo "no" >&6; }
   18394 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18396 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18397 is in your PATH or set the PKG_CONFIG environment variable to the full
   18398 path to pkg-config.
   18399 
   18400 Alternatively, you may set the environment variables XRENDER_CFLAGS
   18401 and XRENDER_LIBS to avoid the need to call pkg-config.
   18402 See the pkg-config man page for more details.
   18403 
   18404 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18405 See \`config.log' for more details" "$LINENO" 5; }
   18406 else
   18407 	XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS
   18408 	XRENDER_LIBS=$pkg_cv_XRENDER_LIBS
   18409         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18410 $as_echo "yes" >&6; }
   18411 
   18412 fi
   18413 
   18414 # Check freetype configuration
   18415 
   18416 pkg_failed=no
   18417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
   18418 $as_echo_n "checking for FREETYPE... " >&6; }
   18419 
   18420 if test -n "$FREETYPE_CFLAGS"; then
   18421     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   18422  elif test -n "$PKG_CONFIG"; then
   18423     if test -n "$PKG_CONFIG" && \
   18424     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.1.6\""; } >&5
   18425   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.1.6") 2>&5
   18426   ac_status=$?
   18427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18428   test $ac_status = 0; }; then
   18429   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.1.6" 2>/dev/null`
   18430 		      test "x$?" != "x0" && pkg_failed=yes
   18431 else
   18432   pkg_failed=yes
   18433 fi
   18434  else
   18435     pkg_failed=untried
   18436 fi
   18437 if test -n "$FREETYPE_LIBS"; then
   18438     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   18439  elif test -n "$PKG_CONFIG"; then
   18440     if test -n "$PKG_CONFIG" && \
   18441     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.1.6\""; } >&5
   18442   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.1.6") 2>&5
   18443   ac_status=$?
   18444   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18445   test $ac_status = 0; }; then
   18446   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.1.6" 2>/dev/null`
   18447 		      test "x$?" != "x0" && pkg_failed=yes
   18448 else
   18449   pkg_failed=yes
   18450 fi
   18451  else
   18452     pkg_failed=untried
   18453 fi
   18454 
   18455 
   18456 
   18457 if test $pkg_failed = yes; then
   18458    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18459 $as_echo "no" >&6; }
   18460 
   18461 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18462         _pkg_short_errors_supported=yes
   18463 else
   18464         _pkg_short_errors_supported=no
   18465 fi
   18466         if test $_pkg_short_errors_supported = yes; then
   18467 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 2.1.6" 2>&1`
   18468         else
   18469 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2 >= 2.1.6" 2>&1`
   18470         fi
   18471 	# Put the nasty error message in config.log where it belongs
   18472 	echo "$FREETYPE_PKG_ERRORS" >&5
   18473 
   18474 	as_fn_error $? "Package requirements (freetype2 >= 2.1.6) were not met:
   18475 
   18476 $FREETYPE_PKG_ERRORS
   18477 
   18478 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18479 installed software in a non-standard prefix.
   18480 
   18481 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   18482 and FREETYPE_LIBS to avoid the need to call pkg-config.
   18483 See the pkg-config man page for more details." "$LINENO" 5
   18484 elif test $pkg_failed = untried; then
   18485      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18486 $as_echo "no" >&6; }
   18487 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18489 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18490 is in your PATH or set the PKG_CONFIG environment variable to the full
   18491 path to pkg-config.
   18492 
   18493 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   18494 and FREETYPE_LIBS to avoid the need to call pkg-config.
   18495 See the pkg-config man page for more details.
   18496 
   18497 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18498 See \`config.log' for more details" "$LINENO" 5; }
   18499 else
   18500 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   18501 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   18502         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18503 $as_echo "yes" >&6; }
   18504 
   18505 fi
   18506 
   18507 # Check fontconfig configuration
   18508 
   18509 pkg_failed=no
   18510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
   18511 $as_echo_n "checking for FONTCONFIG... " >&6; }
   18512 
   18513 if test -n "$FONTCONFIG_CFLAGS"; then
   18514     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
   18515  elif test -n "$PKG_CONFIG"; then
   18516     if test -n "$PKG_CONFIG" && \
   18517     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.92\""; } >&5
   18518   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.92") 2>&5
   18519   ac_status=$?
   18520   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18521   test $ac_status = 0; }; then
   18522   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.92" 2>/dev/null`
   18523 		      test "x$?" != "x0" && pkg_failed=yes
   18524 else
   18525   pkg_failed=yes
   18526 fi
   18527  else
   18528     pkg_failed=untried
   18529 fi
   18530 if test -n "$FONTCONFIG_LIBS"; then
   18531     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
   18532  elif test -n "$PKG_CONFIG"; then
   18533     if test -n "$PKG_CONFIG" && \
   18534     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.92\""; } >&5
   18535   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.92") 2>&5
   18536   ac_status=$?
   18537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18538   test $ac_status = 0; }; then
   18539   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.92" 2>/dev/null`
   18540 		      test "x$?" != "x0" && pkg_failed=yes
   18541 else
   18542   pkg_failed=yes
   18543 fi
   18544  else
   18545     pkg_failed=untried
   18546 fi
   18547 
   18548 
   18549 
   18550 if test $pkg_failed = yes; then
   18551    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18552 $as_echo "no" >&6; }
   18553 
   18554 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18555         _pkg_short_errors_supported=yes
   18556 else
   18557         _pkg_short_errors_supported=no
   18558 fi
   18559         if test $_pkg_short_errors_supported = yes; then
   18560 	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig >= 2.5.92" 2>&1`
   18561         else
   18562 	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig >= 2.5.92" 2>&1`
   18563         fi
   18564 	# Put the nasty error message in config.log where it belongs
   18565 	echo "$FONTCONFIG_PKG_ERRORS" >&5
   18566 
   18567 	as_fn_error $? "Package requirements (fontconfig >= 2.5.92) were not met:
   18568 
   18569 $FONTCONFIG_PKG_ERRORS
   18570 
   18571 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18572 installed software in a non-standard prefix.
   18573 
   18574 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
   18575 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
   18576 See the pkg-config man page for more details." "$LINENO" 5
   18577 elif test $pkg_failed = untried; then
   18578      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18579 $as_echo "no" >&6; }
   18580 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18582 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18583 is in your PATH or set the PKG_CONFIG environment variable to the full
   18584 path to pkg-config.
   18585 
   18586 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
   18587 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
   18588 See the pkg-config man page for more details.
   18589 
   18590 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18591 See \`config.log' for more details" "$LINENO" 5; }
   18592 else
   18593 	FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
   18594 	FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
   18595         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18596 $as_echo "yes" >&6; }
   18597 
   18598 fi
   18599 
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 
   18606 
   18607 if test "$VERSION" = "" ; then
   18608        VERSION=$PACKAGE_VERSION;
   18609 fi
   18610 
   18611 ac_config_files="$ac_config_files Makefile xft.pc src/Makefile man/Makefile"
   18612 
   18613 cat >confcache <<\_ACEOF
   18614 # This file is a shell script that caches the results of configure
   18615 # tests run on this system so they can be shared between configure
   18616 # scripts and configure runs, see configure's option --config-cache.
   18617 # It is not useful on other systems.  If it contains results you don't
   18618 # want to keep, you may remove or edit it.
   18619 #
   18620 # config.status only pays attention to the cache file if you give it
   18621 # the --recheck option to rerun configure.
   18622 #
   18623 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18624 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18625 # following values.
   18626 
   18627 _ACEOF
   18628 
   18629 # The following way of writing the cache mishandles newlines in values,
   18630 # but we know of no workaround that is simple, portable, and efficient.
   18631 # So, we kill variables containing newlines.
   18632 # Ultrix sh set writes to stderr and can't be redirected directly,
   18633 # and sets the high bit in the cache file unless we assign to the vars.
   18634 (
   18635   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18636     eval ac_val=\$$ac_var
   18637     case $ac_val in #(
   18638     *${as_nl}*)
   18639       case $ac_var in #(
   18640       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18641 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18642       esac
   18643       case $ac_var in #(
   18644       _ | IFS | as_nl) ;; #(
   18645       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18646       *) { eval $ac_var=; unset $ac_var;} ;;
   18647       esac ;;
   18648     esac
   18649   done
   18650 
   18651   (set) 2>&1 |
   18652     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18653     *${as_nl}ac_space=\ *)
   18654       # `set' does not quote correctly, so add quotes: double-quote
   18655       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18656       sed -n \
   18657 	"s/'/'\\\\''/g;
   18658 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18659       ;; #(
   18660     *)
   18661       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18662       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18663       ;;
   18664     esac |
   18665     sort
   18666 ) |
   18667   sed '
   18668      /^ac_cv_env_/b end
   18669      t clear
   18670      :clear
   18671      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18672      t end
   18673      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18674      :end' >>confcache
   18675 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18676   if test -w "$cache_file"; then
   18677     if test "x$cache_file" != "x/dev/null"; then
   18678       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18679 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18680       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18681 	cat confcache >"$cache_file"
   18682       else
   18683         case $cache_file in #(
   18684         */* | ?:*)
   18685 	  mv -f confcache "$cache_file"$$ &&
   18686 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18687         *)
   18688 	  mv -f confcache "$cache_file" ;;
   18689 	esac
   18690       fi
   18691     fi
   18692   else
   18693     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18694 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18695   fi
   18696 fi
   18697 rm -f confcache
   18698 
   18699 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18700 # Let make expand exec_prefix.
   18701 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18702 
   18703 DEFS=-DHAVE_CONFIG_H
   18704 
   18705 ac_libobjs=
   18706 ac_ltlibobjs=
   18707 U=
   18708 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18709   # 1. Remove the extension, and $U if already installed.
   18710   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18711   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18712   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18713   #    will be set to the directory where LIBOBJS objects are built.
   18714   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18715   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18716 done
   18717 LIBOBJS=$ac_libobjs
   18718 
   18719 LTLIBOBJS=$ac_ltlibobjs
   18720 
   18721 
   18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18723 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18724    if test -n "$am_sleep_pid"; then
   18725      # Hide warnings about reused PIDs.
   18726      wait $am_sleep_pid 2>/dev/null
   18727    fi
   18728    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18729 $as_echo "done" >&6; }
   18730  if test -n "$EXEEXT"; then
   18731   am__EXEEXT_TRUE=
   18732   am__EXEEXT_FALSE='#'
   18733 else
   18734   am__EXEEXT_TRUE='#'
   18735   am__EXEEXT_FALSE=
   18736 fi
   18737 
   18738 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18739   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18741 fi
   18742 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18743   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18745 fi
   18746 
   18747 : "${CONFIG_STATUS=./config.status}"
   18748 ac_write_fail=0
   18749 ac_clean_files_save=$ac_clean_files
   18750 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18751 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18752 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18753 as_write_fail=0
   18754 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18755 #! $SHELL
   18756 # Generated by $as_me.
   18757 # Run this file to recreate the current configuration.
   18758 # Compiler output produced by configure, useful for debugging
   18759 # configure, is in config.log if it exists.
   18760 
   18761 debug=false
   18762 ac_cs_recheck=false
   18763 ac_cs_silent=false
   18764 
   18765 SHELL=\${CONFIG_SHELL-$SHELL}
   18766 export SHELL
   18767 _ASEOF
   18768 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18769 ## -------------------- ##
   18770 ## M4sh Initialization. ##
   18771 ## -------------------- ##
   18772 
   18773 # Be more Bourne compatible
   18774 DUALCASE=1; export DUALCASE # for MKS sh
   18775 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18776   emulate sh
   18777   NULLCMD=:
   18778   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18779   # is contrary to our usage.  Disable this feature.
   18780   alias -g '${1+"$@"}'='"$@"'
   18781   setopt NO_GLOB_SUBST
   18782 else
   18783   case `(set -o) 2>/dev/null` in #(
   18784   *posix*) :
   18785     set -o posix ;; #(
   18786   *) :
   18787      ;;
   18788 esac
   18789 fi
   18790 
   18791 
   18792 as_nl='
   18793 '
   18794 export as_nl
   18795 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18796 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18797 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18798 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18799 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18800 # but without wasting forks for bash or zsh.
   18801 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18802     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18803   as_echo='print -r --'
   18804   as_echo_n='print -rn --'
   18805 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18806   as_echo='printf %s\n'
   18807   as_echo_n='printf %s'
   18808 else
   18809   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18810     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18811     as_echo_n='/usr/ucb/echo -n'
   18812   else
   18813     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18814     as_echo_n_body='eval
   18815       arg=$1;
   18816       case $arg in #(
   18817       *"$as_nl"*)
   18818 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18819 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18820       esac;
   18821       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18822     '
   18823     export as_echo_n_body
   18824     as_echo_n='sh -c $as_echo_n_body as_echo'
   18825   fi
   18826   export as_echo_body
   18827   as_echo='sh -c $as_echo_body as_echo'
   18828 fi
   18829 
   18830 # The user is always right.
   18831 if test "${PATH_SEPARATOR+set}" != set; then
   18832   PATH_SEPARATOR=:
   18833   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18834     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18835       PATH_SEPARATOR=';'
   18836   }
   18837 fi
   18838 
   18839 
   18840 # IFS
   18841 # We need space, tab and new line, in precisely that order.  Quoting is
   18842 # there to prevent editors from complaining about space-tab.
   18843 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18844 # splitting by setting IFS to empty value.)
   18845 IFS=" ""	$as_nl"
   18846 
   18847 # Find who we are.  Look in the path if we contain no directory separator.
   18848 as_myself=
   18849 case $0 in #((
   18850   *[\\/]* ) as_myself=$0 ;;
   18851   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18852 for as_dir in $PATH
   18853 do
   18854   IFS=$as_save_IFS
   18855   test -z "$as_dir" && as_dir=.
   18856     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18857   done
   18858 IFS=$as_save_IFS
   18859 
   18860      ;;
   18861 esac
   18862 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18863 # in which case we are not to be found in the path.
   18864 if test "x$as_myself" = x; then
   18865   as_myself=$0
   18866 fi
   18867 if test ! -f "$as_myself"; then
   18868   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18869   exit 1
   18870 fi
   18871 
   18872 # Unset variables that we do not need and which cause bugs (e.g. in
   18873 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18874 # suppresses any "Segmentation fault" message there.  '((' could
   18875 # trigger a bug in pdksh 5.2.14.
   18876 for as_var in BASH_ENV ENV MAIL MAILPATH
   18877 do eval test x\${$as_var+set} = xset \
   18878   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18879 done
   18880 PS1='$ '
   18881 PS2='> '
   18882 PS4='+ '
   18883 
   18884 # NLS nuisances.
   18885 LC_ALL=C
   18886 export LC_ALL
   18887 LANGUAGE=C
   18888 export LANGUAGE
   18889 
   18890 # CDPATH.
   18891 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18892 
   18893 
   18894 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18895 # ----------------------------------------
   18896 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18897 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18898 # script with STATUS, using 1 if that was 0.
   18899 as_fn_error ()
   18900 {
   18901   as_status=$1; test $as_status -eq 0 && as_status=1
   18902   if test "$4"; then
   18903     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18904     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18905   fi
   18906   $as_echo "$as_me: error: $2" >&2
   18907   as_fn_exit $as_status
   18908 } # as_fn_error
   18909 
   18910 
   18911 # as_fn_set_status STATUS
   18912 # -----------------------
   18913 # Set $? to STATUS, without forking.
   18914 as_fn_set_status ()
   18915 {
   18916   return $1
   18917 } # as_fn_set_status
   18918 
   18919 # as_fn_exit STATUS
   18920 # -----------------
   18921 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18922 as_fn_exit ()
   18923 {
   18924   set +e
   18925   as_fn_set_status $1
   18926   exit $1
   18927 } # as_fn_exit
   18928 
   18929 # as_fn_unset VAR
   18930 # ---------------
   18931 # Portably unset VAR.
   18932 as_fn_unset ()
   18933 {
   18934   { eval $1=; unset $1;}
   18935 }
   18936 as_unset=as_fn_unset
   18937 # as_fn_append VAR VALUE
   18938 # ----------------------
   18939 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18940 # advantage of any shell optimizations that allow amortized linear growth over
   18941 # repeated appends, instead of the typical quadratic growth present in naive
   18942 # implementations.
   18943 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18944   eval 'as_fn_append ()
   18945   {
   18946     eval $1+=\$2
   18947   }'
   18948 else
   18949   as_fn_append ()
   18950   {
   18951     eval $1=\$$1\$2
   18952   }
   18953 fi # as_fn_append
   18954 
   18955 # as_fn_arith ARG...
   18956 # ------------------
   18957 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18958 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18959 # must be portable across $(()) and expr.
   18960 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18961   eval 'as_fn_arith ()
   18962   {
   18963     as_val=$(( $* ))
   18964   }'
   18965 else
   18966   as_fn_arith ()
   18967   {
   18968     as_val=`expr "$@" || test $? -eq 1`
   18969   }
   18970 fi # as_fn_arith
   18971 
   18972 
   18973 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18974    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18975   as_expr=expr
   18976 else
   18977   as_expr=false
   18978 fi
   18979 
   18980 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18981   as_basename=basename
   18982 else
   18983   as_basename=false
   18984 fi
   18985 
   18986 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18987   as_dirname=dirname
   18988 else
   18989   as_dirname=false
   18990 fi
   18991 
   18992 as_me=`$as_basename -- "$0" ||
   18993 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18994 	 X"$0" : 'X\(//\)$' \| \
   18995 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18996 $as_echo X/"$0" |
   18997     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18998 	    s//\1/
   18999 	    q
   19000 	  }
   19001 	  /^X\/\(\/\/\)$/{
   19002 	    s//\1/
   19003 	    q
   19004 	  }
   19005 	  /^X\/\(\/\).*/{
   19006 	    s//\1/
   19007 	    q
   19008 	  }
   19009 	  s/.*/./; q'`
   19010 
   19011 # Avoid depending upon Character Ranges.
   19012 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19013 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19014 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19015 as_cr_digits='0123456789'
   19016 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19017 
   19018 ECHO_C= ECHO_N= ECHO_T=
   19019 case `echo -n x` in #(((((
   19020 -n*)
   19021   case `echo 'xy\c'` in
   19022   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19023   xy)  ECHO_C='\c';;
   19024   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19025        ECHO_T='	';;
   19026   esac;;
   19027 *)
   19028   ECHO_N='-n';;
   19029 esac
   19030 
   19031 rm -f conf$$ conf$$.exe conf$$.file
   19032 if test -d conf$$.dir; then
   19033   rm -f conf$$.dir/conf$$.file
   19034 else
   19035   rm -f conf$$.dir
   19036   mkdir conf$$.dir 2>/dev/null
   19037 fi
   19038 if (echo >conf$$.file) 2>/dev/null; then
   19039   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19040     as_ln_s='ln -s'
   19041     # ... but there are two gotchas:
   19042     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19043     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19044     # In both cases, we have to default to `cp -pR'.
   19045     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19046       as_ln_s='cp -pR'
   19047   elif ln conf$$.file conf$$ 2>/dev/null; then
   19048     as_ln_s=ln
   19049   else
   19050     as_ln_s='cp -pR'
   19051   fi
   19052 else
   19053   as_ln_s='cp -pR'
   19054 fi
   19055 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19056 rmdir conf$$.dir 2>/dev/null
   19057 
   19058 
   19059 # as_fn_mkdir_p
   19060 # -------------
   19061 # Create "$as_dir" as a directory, including parents if necessary.
   19062 as_fn_mkdir_p ()
   19063 {
   19064 
   19065   case $as_dir in #(
   19066   -*) as_dir=./$as_dir;;
   19067   esac
   19068   test -d "$as_dir" || eval $as_mkdir_p || {
   19069     as_dirs=
   19070     while :; do
   19071       case $as_dir in #(
   19072       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19073       *) as_qdir=$as_dir;;
   19074       esac
   19075       as_dirs="'$as_qdir' $as_dirs"
   19076       as_dir=`$as_dirname -- "$as_dir" ||
   19077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19078 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19079 	 X"$as_dir" : 'X\(//\)$' \| \
   19080 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19081 $as_echo X"$as_dir" |
   19082     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19083 	    s//\1/
   19084 	    q
   19085 	  }
   19086 	  /^X\(\/\/\)[^/].*/{
   19087 	    s//\1/
   19088 	    q
   19089 	  }
   19090 	  /^X\(\/\/\)$/{
   19091 	    s//\1/
   19092 	    q
   19093 	  }
   19094 	  /^X\(\/\).*/{
   19095 	    s//\1/
   19096 	    q
   19097 	  }
   19098 	  s/.*/./; q'`
   19099       test -d "$as_dir" && break
   19100     done
   19101     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19102   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19103 
   19104 
   19105 } # as_fn_mkdir_p
   19106 if mkdir -p . 2>/dev/null; then
   19107   as_mkdir_p='mkdir -p "$as_dir"'
   19108 else
   19109   test -d ./-p && rmdir ./-p
   19110   as_mkdir_p=false
   19111 fi
   19112 
   19113 
   19114 # as_fn_executable_p FILE
   19115 # -----------------------
   19116 # Test if FILE is an executable regular file.
   19117 as_fn_executable_p ()
   19118 {
   19119   test -f "$1" && test -x "$1"
   19120 } # as_fn_executable_p
   19121 as_test_x='test -x'
   19122 as_executable_p=as_fn_executable_p
   19123 
   19124 # Sed expression to map a string onto a valid CPP name.
   19125 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19126 
   19127 # Sed expression to map a string onto a valid variable name.
   19128 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19129 
   19130 
   19131 exec 6>&1
   19132 ## ----------------------------------- ##
   19133 ## Main body of $CONFIG_STATUS script. ##
   19134 ## ----------------------------------- ##
   19135 _ASEOF
   19136 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19137 
   19138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19139 # Save the log message, to keep $0 and so on meaningful, and to
   19140 # report actual input values of CONFIG_FILES etc. instead of their
   19141 # values after options handling.
   19142 ac_log="
   19143 This file was extended by libXft $as_me 2.3.5, which was
   19144 generated by GNU Autoconf 2.69.  Invocation command line was
   19145 
   19146   CONFIG_FILES    = $CONFIG_FILES
   19147   CONFIG_HEADERS  = $CONFIG_HEADERS
   19148   CONFIG_LINKS    = $CONFIG_LINKS
   19149   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19150   $ $0 $@
   19151 
   19152 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19153 "
   19154 
   19155 _ACEOF
   19156 
   19157 case $ac_config_files in *"
   19158 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19159 esac
   19160 
   19161 case $ac_config_headers in *"
   19162 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19163 esac
   19164 
   19165 
   19166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19167 # Files that config.status was made for.
   19168 config_files="$ac_config_files"
   19169 config_headers="$ac_config_headers"
   19170 config_commands="$ac_config_commands"
   19171 
   19172 _ACEOF
   19173 
   19174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19175 ac_cs_usage="\
   19176 \`$as_me' instantiates files and other configuration actions
   19177 from templates according to the current configuration.  Unless the files
   19178 and actions are specified as TAGs, all are instantiated by default.
   19179 
   19180 Usage: $0 [OPTION]... [TAG]...
   19181 
   19182   -h, --help       print this help, then exit
   19183   -V, --version    print version number and configuration settings, then exit
   19184       --config     print configuration, then exit
   19185   -q, --quiet, --silent
   19186                    do not print progress messages
   19187   -d, --debug      don't remove temporary files
   19188       --recheck    update $as_me by reconfiguring in the same conditions
   19189       --file=FILE[:TEMPLATE]
   19190                    instantiate the configuration file FILE
   19191       --header=FILE[:TEMPLATE]
   19192                    instantiate the configuration header FILE
   19193 
   19194 Configuration files:
   19195 $config_files
   19196 
   19197 Configuration headers:
   19198 $config_headers
   19199 
   19200 Configuration commands:
   19201 $config_commands
   19202 
   19203 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXft/issues>."
   19204 
   19205 _ACEOF
   19206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19207 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19208 ac_cs_version="\\
   19209 libXft config.status 2.3.5
   19210 configured by $0, generated by GNU Autoconf 2.69,
   19211   with options \\"\$ac_cs_config\\"
   19212 
   19213 Copyright (C) 2012 Free Software Foundation, Inc.
   19214 This config.status script is free software; the Free Software Foundation
   19215 gives unlimited permission to copy, distribute and modify it."
   19216 
   19217 ac_pwd='$ac_pwd'
   19218 srcdir='$srcdir'
   19219 INSTALL='$INSTALL'
   19220 MKDIR_P='$MKDIR_P'
   19221 AWK='$AWK'
   19222 test -n "\$AWK" || AWK=awk
   19223 _ACEOF
   19224 
   19225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19226 # The default lists apply if the user does not specify any file.
   19227 ac_need_defaults=:
   19228 while test $# != 0
   19229 do
   19230   case $1 in
   19231   --*=?*)
   19232     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19233     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19234     ac_shift=:
   19235     ;;
   19236   --*=)
   19237     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19238     ac_optarg=
   19239     ac_shift=:
   19240     ;;
   19241   *)
   19242     ac_option=$1
   19243     ac_optarg=$2
   19244     ac_shift=shift
   19245     ;;
   19246   esac
   19247 
   19248   case $ac_option in
   19249   # Handling of the options.
   19250   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19251     ac_cs_recheck=: ;;
   19252   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19253     $as_echo "$ac_cs_version"; exit ;;
   19254   --config | --confi | --conf | --con | --co | --c )
   19255     $as_echo "$ac_cs_config"; exit ;;
   19256   --debug | --debu | --deb | --de | --d | -d )
   19257     debug=: ;;
   19258   --file | --fil | --fi | --f )
   19259     $ac_shift
   19260     case $ac_optarg in
   19261     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19262     '') as_fn_error $? "missing file argument" ;;
   19263     esac
   19264     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19265     ac_need_defaults=false;;
   19266   --header | --heade | --head | --hea )
   19267     $ac_shift
   19268     case $ac_optarg in
   19269     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19270     esac
   19271     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19272     ac_need_defaults=false;;
   19273   --he | --h)
   19274     # Conflict between --help and --header
   19275     as_fn_error $? "ambiguous option: \`$1'
   19276 Try \`$0 --help' for more information.";;
   19277   --help | --hel | -h )
   19278     $as_echo "$ac_cs_usage"; exit ;;
   19279   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19280   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19281     ac_cs_silent=: ;;
   19282 
   19283   # This is an error.
   19284   -*) as_fn_error $? "unrecognized option: \`$1'
   19285 Try \`$0 --help' for more information." ;;
   19286 
   19287   *) as_fn_append ac_config_targets " $1"
   19288      ac_need_defaults=false ;;
   19289 
   19290   esac
   19291   shift
   19292 done
   19293 
   19294 ac_configure_extra_args=
   19295 
   19296 if $ac_cs_silent; then
   19297   exec 6>/dev/null
   19298   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19299 fi
   19300 
   19301 _ACEOF
   19302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19303 if \$ac_cs_recheck; then
   19304   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19305   shift
   19306   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19307   CONFIG_SHELL='$SHELL'
   19308   export CONFIG_SHELL
   19309   exec "\$@"
   19310 fi
   19311 
   19312 _ACEOF
   19313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19314 exec 5>>config.log
   19315 {
   19316   echo
   19317   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19318 ## Running $as_me. ##
   19319 _ASBOX
   19320   $as_echo "$ac_log"
   19321 } >&5
   19322 
   19323 _ACEOF
   19324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19325 #
   19326 # INIT-COMMANDS
   19327 #
   19328 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   19329 
   19330 
   19331 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19332 # if CDPATH is set.
   19333 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19334 
   19335 sed_quote_subst='$sed_quote_subst'
   19336 double_quote_subst='$double_quote_subst'
   19337 delay_variable_subst='$delay_variable_subst'
   19338 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19339 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19340 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19341 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19342 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19343 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19344 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19345 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19346 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19347 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19348 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19349 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19350 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19351 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19352 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19353 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19354 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19355 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19356 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19357 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19358 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19359 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19360 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19361 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19362 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19363 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19364 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19365 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19366 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19367 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19368 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19369 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19370 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19371 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19372 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19373 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19374 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19375 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19376 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19377 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19378 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19379 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19380 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19381 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19382 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19383 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19384 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19385 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19386 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19387 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19388 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19389 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19390 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19391 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19392 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19393 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19394 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19395 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19396 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"`'
   19397 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19398 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19399 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19400 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   19401 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19402 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19403 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19404 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19405 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19406 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19407 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19408 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19409 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19410 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19411 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19412 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19413 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19414 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19415 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19416 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19417 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19418 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19419 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19420 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19421 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19422 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19423 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19424 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19425 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19426 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19427 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19428 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19429 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19430 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19431 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19432 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19433 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19434 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19435 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19436 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19437 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19438 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19439 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19440 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19441 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19442 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19443 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19444 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19445 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19446 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19447 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19448 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19449 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19450 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19451 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19452 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19453 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19454 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19455 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19456 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19457 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19458 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19459 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19460 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19461 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19462 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19463 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19464 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19465 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   19466 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   19467 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19468 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19469 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19470 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19471 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19472 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19473 
   19474 LTCC='$LTCC'
   19475 LTCFLAGS='$LTCFLAGS'
   19476 compiler='$compiler_DEFAULT'
   19477 
   19478 # A function that is used when there is no print builtin or printf.
   19479 func_fallback_echo ()
   19480 {
   19481   eval 'cat <<_LTECHO_EOF
   19482 \$1
   19483 _LTECHO_EOF'
   19484 }
   19485 
   19486 # Quote evaled strings.
   19487 for var in SHELL \
   19488 ECHO \
   19489 PATH_SEPARATOR \
   19490 SED \
   19491 GREP \
   19492 EGREP \
   19493 FGREP \
   19494 LD \
   19495 NM \
   19496 LN_S \
   19497 lt_SP2NL \
   19498 lt_NL2SP \
   19499 reload_flag \
   19500 OBJDUMP \
   19501 deplibs_check_method \
   19502 file_magic_cmd \
   19503 file_magic_glob \
   19504 want_nocaseglob \
   19505 DLLTOOL \
   19506 sharedlib_from_linklib_cmd \
   19507 AR \
   19508 AR_FLAGS \
   19509 archiver_list_spec \
   19510 STRIP \
   19511 RANLIB \
   19512 CC \
   19513 CFLAGS \
   19514 compiler \
   19515 lt_cv_sys_global_symbol_pipe \
   19516 lt_cv_sys_global_symbol_to_cdecl \
   19517 lt_cv_sys_global_symbol_to_import \
   19518 lt_cv_sys_global_symbol_to_c_name_address \
   19519 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19520 lt_cv_nm_interface \
   19521 nm_file_list_spec \
   19522 lt_cv_truncate_bin \
   19523 lt_prog_compiler_no_builtin_flag \
   19524 lt_prog_compiler_pic \
   19525 lt_prog_compiler_wl \
   19526 lt_prog_compiler_static \
   19527 lt_cv_prog_compiler_c_o \
   19528 need_locks \
   19529 MANIFEST_TOOL \
   19530 DSYMUTIL \
   19531 NMEDIT \
   19532 LIPO \
   19533 OTOOL \
   19534 OTOOL64 \
   19535 shrext_cmds \
   19536 export_dynamic_flag_spec \
   19537 whole_archive_flag_spec \
   19538 compiler_needs_object \
   19539 with_gnu_ld \
   19540 allow_undefined_flag \
   19541 no_undefined_flag \
   19542 hardcode_libdir_flag_spec \
   19543 hardcode_libdir_separator \
   19544 exclude_expsyms \
   19545 include_expsyms \
   19546 file_list_spec \
   19547 variables_saved_for_relink \
   19548 libname_spec \
   19549 library_names_spec \
   19550 soname_spec \
   19551 install_override_mode \
   19552 finish_eval \
   19553 old_striplib \
   19554 striplib; do
   19555     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19556     *[\\\\\\\`\\"\\\$]*)
   19557       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19558       ;;
   19559     *)
   19560       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19561       ;;
   19562     esac
   19563 done
   19564 
   19565 # Double-quote double-evaled strings.
   19566 for var in reload_cmds \
   19567 old_postinstall_cmds \
   19568 old_postuninstall_cmds \
   19569 old_archive_cmds \
   19570 extract_expsyms_cmds \
   19571 old_archive_from_new_cmds \
   19572 old_archive_from_expsyms_cmds \
   19573 archive_cmds \
   19574 archive_expsym_cmds \
   19575 module_cmds \
   19576 module_expsym_cmds \
   19577 export_symbols_cmds \
   19578 prelink_cmds \
   19579 postlink_cmds \
   19580 postinstall_cmds \
   19581 postuninstall_cmds \
   19582 finish_cmds \
   19583 sys_lib_search_path_spec \
   19584 configure_time_dlsearch_path \
   19585 configure_time_lt_sys_library_path; do
   19586     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19587     *[\\\\\\\`\\"\\\$]*)
   19588       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19589       ;;
   19590     *)
   19591       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19592       ;;
   19593     esac
   19594 done
   19595 
   19596 ac_aux_dir='$ac_aux_dir'
   19597 
   19598 # See if we are running on zsh, and set the options that allow our
   19599 # commands through without removal of \ escapes INIT.
   19600 if test -n "\${ZSH_VERSION+set}"; then
   19601    setopt NO_GLOB_SUBST
   19602 fi
   19603 
   19604 
   19605     PACKAGE='$PACKAGE'
   19606     VERSION='$VERSION'
   19607     RM='$RM'
   19608     ofile='$ofile'
   19609 
   19610 
   19611 
   19612 
   19613 _ACEOF
   19614 
   19615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19616 
   19617 # Handling of arguments.
   19618 for ac_config_target in $ac_config_targets
   19619 do
   19620   case $ac_config_target in
   19621     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19622     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19623     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19624     "include/X11/Xft/Xft.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/Xft/Xft.h" ;;
   19625     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19626     "xft.pc") CONFIG_FILES="$CONFIG_FILES xft.pc" ;;
   19627     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19628     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19629 
   19630   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19631   esac
   19632 done
   19633 
   19634 
   19635 # If the user did not use the arguments to specify the items to instantiate,
   19636 # then the envvar interface is used.  Set only those that are not.
   19637 # We use the long form for the default assignment because of an extremely
   19638 # bizarre bug on SunOS 4.1.3.
   19639 if $ac_need_defaults; then
   19640   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19641   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19642   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19643 fi
   19644 
   19645 # Have a temporary directory for convenience.  Make it in the build tree
   19646 # simply because there is no reason against having it here, and in addition,
   19647 # creating and moving files from /tmp can sometimes cause problems.
   19648 # Hook for its removal unless debugging.
   19649 # Note that there is a small window in which the directory will not be cleaned:
   19650 # after its creation but before its name has been assigned to `$tmp'.
   19651 $debug ||
   19652 {
   19653   tmp= ac_tmp=
   19654   trap 'exit_status=$?
   19655   : "${ac_tmp:=$tmp}"
   19656   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19657 ' 0
   19658   trap 'as_fn_exit 1' 1 2 13 15
   19659 }
   19660 # Create a (secure) tmp directory for tmp files.
   19661 
   19662 {
   19663   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19664   test -d "$tmp"
   19665 }  ||
   19666 {
   19667   tmp=./conf$$-$RANDOM
   19668   (umask 077 && mkdir "$tmp")
   19669 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19670 ac_tmp=$tmp
   19671 
   19672 # Set up the scripts for CONFIG_FILES section.
   19673 # No need to generate them if there are no CONFIG_FILES.
   19674 # This happens for instance with `./config.status config.h'.
   19675 if test -n "$CONFIG_FILES"; then
   19676 
   19677 
   19678 ac_cr=`echo X | tr X '\015'`
   19679 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19680 # But we know of no other shell where ac_cr would be empty at this
   19681 # point, so we can use a bashism as a fallback.
   19682 if test "x$ac_cr" = x; then
   19683   eval ac_cr=\$\'\\r\'
   19684 fi
   19685 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19686 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19687   ac_cs_awk_cr='\\r'
   19688 else
   19689   ac_cs_awk_cr=$ac_cr
   19690 fi
   19691 
   19692 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19693 _ACEOF
   19694 
   19695 
   19696 {
   19697   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19698   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19699   echo "_ACEOF"
   19700 } >conf$$subs.sh ||
   19701   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19702 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19703 ac_delim='%!_!# '
   19704 for ac_last_try in false false false false false :; do
   19705   . ./conf$$subs.sh ||
   19706     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19707 
   19708   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19709   if test $ac_delim_n = $ac_delim_num; then
   19710     break
   19711   elif $ac_last_try; then
   19712     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19713   else
   19714     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19715   fi
   19716 done
   19717 rm -f conf$$subs.sh
   19718 
   19719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19720 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19721 _ACEOF
   19722 sed -n '
   19723 h
   19724 s/^/S["/; s/!.*/"]=/
   19725 p
   19726 g
   19727 s/^[^!]*!//
   19728 :repl
   19729 t repl
   19730 s/'"$ac_delim"'$//
   19731 t delim
   19732 :nl
   19733 h
   19734 s/\(.\{148\}\)..*/\1/
   19735 t more1
   19736 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19737 p
   19738 n
   19739 b repl
   19740 :more1
   19741 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19742 p
   19743 g
   19744 s/.\{148\}//
   19745 t nl
   19746 :delim
   19747 h
   19748 s/\(.\{148\}\)..*/\1/
   19749 t more2
   19750 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19751 p
   19752 b
   19753 :more2
   19754 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19755 p
   19756 g
   19757 s/.\{148\}//
   19758 t delim
   19759 ' <conf$$subs.awk | sed '
   19760 /^[^""]/{
   19761   N
   19762   s/\n//
   19763 }
   19764 ' >>$CONFIG_STATUS || ac_write_fail=1
   19765 rm -f conf$$subs.awk
   19766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19767 _ACAWK
   19768 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19769   for (key in S) S_is_set[key] = 1
   19770   FS = ""
   19771 
   19772 }
   19773 {
   19774   line = $ 0
   19775   nfields = split(line, field, "@")
   19776   substed = 0
   19777   len = length(field[1])
   19778   for (i = 2; i < nfields; i++) {
   19779     key = field[i]
   19780     keylen = length(key)
   19781     if (S_is_set[key]) {
   19782       value = S[key]
   19783       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19784       len += length(value) + length(field[++i])
   19785       substed = 1
   19786     } else
   19787       len += 1 + keylen
   19788   }
   19789 
   19790   print line
   19791 }
   19792 
   19793 _ACAWK
   19794 _ACEOF
   19795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19796 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19797   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19798 else
   19799   cat
   19800 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19801   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19802 _ACEOF
   19803 
   19804 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19805 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19806 # trailing colons and then remove the whole line if VPATH becomes empty
   19807 # (actually we leave an empty line to preserve line numbers).
   19808 if test "x$srcdir" = x.; then
   19809   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19810 h
   19811 s///
   19812 s/^/:/
   19813 s/[	 ]*$/:/
   19814 s/:\$(srcdir):/:/g
   19815 s/:\${srcdir}:/:/g
   19816 s/:@srcdir@:/:/g
   19817 s/^:*//
   19818 s/:*$//
   19819 x
   19820 s/\(=[	 ]*\).*/\1/
   19821 G
   19822 s/\n//
   19823 s/^[^=]*=[	 ]*$//
   19824 }'
   19825 fi
   19826 
   19827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19828 fi # test -n "$CONFIG_FILES"
   19829 
   19830 # Set up the scripts for CONFIG_HEADERS section.
   19831 # No need to generate them if there are no CONFIG_HEADERS.
   19832 # This happens for instance with `./config.status Makefile'.
   19833 if test -n "$CONFIG_HEADERS"; then
   19834 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19835 BEGIN {
   19836 _ACEOF
   19837 
   19838 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19839 # here-document in config.status, that substitutes the proper values into
   19840 # config.h.in to produce config.h.
   19841 
   19842 # Create a delimiter string that does not exist in confdefs.h, to ease
   19843 # handling of long lines.
   19844 ac_delim='%!_!# '
   19845 for ac_last_try in false false :; do
   19846   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19847   if test -z "$ac_tt"; then
   19848     break
   19849   elif $ac_last_try; then
   19850     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19851   else
   19852     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19853   fi
   19854 done
   19855 
   19856 # For the awk script, D is an array of macro values keyed by name,
   19857 # likewise P contains macro parameters if any.  Preserve backslash
   19858 # newline sequences.
   19859 
   19860 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19861 sed -n '
   19862 s/.\{148\}/&'"$ac_delim"'/g
   19863 t rset
   19864 :rset
   19865 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19866 t def
   19867 d
   19868 :def
   19869 s/\\$//
   19870 t bsnl
   19871 s/["\\]/\\&/g
   19872 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19873 D["\1"]=" \3"/p
   19874 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19875 d
   19876 :bsnl
   19877 s/["\\]/\\&/g
   19878 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19879 D["\1"]=" \3\\\\\\n"\\/p
   19880 t cont
   19881 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19882 t cont
   19883 d
   19884 :cont
   19885 n
   19886 s/.\{148\}/&'"$ac_delim"'/g
   19887 t clear
   19888 :clear
   19889 s/\\$//
   19890 t bsnlc
   19891 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19892 d
   19893 :bsnlc
   19894 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19895 b cont
   19896 ' <confdefs.h | sed '
   19897 s/'"$ac_delim"'/"\\\
   19898 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19899 
   19900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19901   for (key in D) D_is_set[key] = 1
   19902   FS = ""
   19903 }
   19904 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19905   line = \$ 0
   19906   split(line, arg, " ")
   19907   if (arg[1] == "#") {
   19908     defundef = arg[2]
   19909     mac1 = arg[3]
   19910   } else {
   19911     defundef = substr(arg[1], 2)
   19912     mac1 = arg[2]
   19913   }
   19914   split(mac1, mac2, "(") #)
   19915   macro = mac2[1]
   19916   prefix = substr(line, 1, index(line, defundef) - 1)
   19917   if (D_is_set[macro]) {
   19918     # Preserve the white space surrounding the "#".
   19919     print prefix "define", macro P[macro] D[macro]
   19920     next
   19921   } else {
   19922     # Replace #undef with comments.  This is necessary, for example,
   19923     # in the case of _POSIX_SOURCE, which is predefined and required
   19924     # on some systems where configure will not decide to define it.
   19925     if (defundef == "undef") {
   19926       print "/*", prefix defundef, macro, "*/"
   19927       next
   19928     }
   19929   }
   19930 }
   19931 { print }
   19932 _ACAWK
   19933 _ACEOF
   19934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19935   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19936 fi # test -n "$CONFIG_HEADERS"
   19937 
   19938 
   19939 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19940 shift
   19941 for ac_tag
   19942 do
   19943   case $ac_tag in
   19944   :[FHLC]) ac_mode=$ac_tag; continue;;
   19945   esac
   19946   case $ac_mode$ac_tag in
   19947   :[FHL]*:*);;
   19948   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19949   :[FH]-) ac_tag=-:-;;
   19950   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19951   esac
   19952   ac_save_IFS=$IFS
   19953   IFS=:
   19954   set x $ac_tag
   19955   IFS=$ac_save_IFS
   19956   shift
   19957   ac_file=$1
   19958   shift
   19959 
   19960   case $ac_mode in
   19961   :L) ac_source=$1;;
   19962   :[FH])
   19963     ac_file_inputs=
   19964     for ac_f
   19965     do
   19966       case $ac_f in
   19967       -) ac_f="$ac_tmp/stdin";;
   19968       *) # Look for the file first in the build tree, then in the source tree
   19969 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19970 	 # because $ac_f cannot contain `:'.
   19971 	 test -f "$ac_f" ||
   19972 	   case $ac_f in
   19973 	   [\\/$]*) false;;
   19974 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19975 	   esac ||
   19976 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19977       esac
   19978       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19979       as_fn_append ac_file_inputs " '$ac_f'"
   19980     done
   19981 
   19982     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19983     # use $as_me), people would be surprised to read:
   19984     #    /* config.h.  Generated by config.status.  */
   19985     configure_input='Generated from '`
   19986 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19987 	`' by configure.'
   19988     if test x"$ac_file" != x-; then
   19989       configure_input="$ac_file.  $configure_input"
   19990       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19991 $as_echo "$as_me: creating $ac_file" >&6;}
   19992     fi
   19993     # Neutralize special characters interpreted by sed in replacement strings.
   19994     case $configure_input in #(
   19995     *\&* | *\|* | *\\* )
   19996        ac_sed_conf_input=`$as_echo "$configure_input" |
   19997        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19998     *) ac_sed_conf_input=$configure_input;;
   19999     esac
   20000 
   20001     case $ac_tag in
   20002     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20003       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20004     esac
   20005     ;;
   20006   esac
   20007 
   20008   ac_dir=`$as_dirname -- "$ac_file" ||
   20009 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20010 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20011 	 X"$ac_file" : 'X\(//\)$' \| \
   20012 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20013 $as_echo X"$ac_file" |
   20014     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20015 	    s//\1/
   20016 	    q
   20017 	  }
   20018 	  /^X\(\/\/\)[^/].*/{
   20019 	    s//\1/
   20020 	    q
   20021 	  }
   20022 	  /^X\(\/\/\)$/{
   20023 	    s//\1/
   20024 	    q
   20025 	  }
   20026 	  /^X\(\/\).*/{
   20027 	    s//\1/
   20028 	    q
   20029 	  }
   20030 	  s/.*/./; q'`
   20031   as_dir="$ac_dir"; as_fn_mkdir_p
   20032   ac_builddir=.
   20033 
   20034 case "$ac_dir" in
   20035 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20036 *)
   20037   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20038   # A ".." for each directory in $ac_dir_suffix.
   20039   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20040   case $ac_top_builddir_sub in
   20041   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20042   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20043   esac ;;
   20044 esac
   20045 ac_abs_top_builddir=$ac_pwd
   20046 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20047 # for backward compatibility:
   20048 ac_top_builddir=$ac_top_build_prefix
   20049 
   20050 case $srcdir in
   20051   .)  # We are building in place.
   20052     ac_srcdir=.
   20053     ac_top_srcdir=$ac_top_builddir_sub
   20054     ac_abs_top_srcdir=$ac_pwd ;;
   20055   [\\/]* | ?:[\\/]* )  # Absolute name.
   20056     ac_srcdir=$srcdir$ac_dir_suffix;
   20057     ac_top_srcdir=$srcdir
   20058     ac_abs_top_srcdir=$srcdir ;;
   20059   *) # Relative name.
   20060     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20061     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20062     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20063 esac
   20064 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20065 
   20066 
   20067   case $ac_mode in
   20068   :F)
   20069   #
   20070   # CONFIG_FILE
   20071   #
   20072 
   20073   case $INSTALL in
   20074   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20075   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20076   esac
   20077   ac_MKDIR_P=$MKDIR_P
   20078   case $MKDIR_P in
   20079   [\\/$]* | ?:[\\/]* ) ;;
   20080   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20081   esac
   20082 _ACEOF
   20083 
   20084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20085 # If the template does not know about datarootdir, expand it.
   20086 # FIXME: This hack should be removed a few years after 2.60.
   20087 ac_datarootdir_hack=; ac_datarootdir_seen=
   20088 ac_sed_dataroot='
   20089 /datarootdir/ {
   20090   p
   20091   q
   20092 }
   20093 /@datadir@/p
   20094 /@docdir@/p
   20095 /@infodir@/p
   20096 /@localedir@/p
   20097 /@mandir@/p'
   20098 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20099 *datarootdir*) ac_datarootdir_seen=yes;;
   20100 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20101   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20102 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20103 _ACEOF
   20104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20105   ac_datarootdir_hack='
   20106   s&@datadir@&$datadir&g
   20107   s&@docdir@&$docdir&g
   20108   s&@infodir@&$infodir&g
   20109   s&@localedir@&$localedir&g
   20110   s&@mandir@&$mandir&g
   20111   s&\\\${datarootdir}&$datarootdir&g' ;;
   20112 esac
   20113 _ACEOF
   20114 
   20115 # Neutralize VPATH when `$srcdir' = `.'.
   20116 # Shell code in configure.ac might set extrasub.
   20117 # FIXME: do we really want to maintain this feature?
   20118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20119 ac_sed_extra="$ac_vpsub
   20120 $extrasub
   20121 _ACEOF
   20122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20123 :t
   20124 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20125 s|@configure_input@|$ac_sed_conf_input|;t t
   20126 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20127 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20128 s&@srcdir@&$ac_srcdir&;t t
   20129 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20130 s&@top_srcdir@&$ac_top_srcdir&;t t
   20131 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20132 s&@builddir@&$ac_builddir&;t t
   20133 s&@abs_builddir@&$ac_abs_builddir&;t t
   20134 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20135 s&@INSTALL@&$ac_INSTALL&;t t
   20136 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20137 $ac_datarootdir_hack
   20138 "
   20139 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20140   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20141 
   20142 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20143   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20144   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20145       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20146   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20147 which seems to be undefined.  Please make sure it is defined" >&5
   20148 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20149 which seems to be undefined.  Please make sure it is defined" >&2;}
   20150 
   20151   rm -f "$ac_tmp/stdin"
   20152   case $ac_file in
   20153   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20154   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20155   esac \
   20156   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20157  ;;
   20158   :H)
   20159   #
   20160   # CONFIG_HEADER
   20161   #
   20162   if test x"$ac_file" != x-; then
   20163     {
   20164       $as_echo "/* $configure_input  */" \
   20165       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20166     } >"$ac_tmp/config.h" \
   20167       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20168     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20169       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20170 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20171     else
   20172       rm -f "$ac_file"
   20173       mv "$ac_tmp/config.h" "$ac_file" \
   20174 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20175     fi
   20176   else
   20177     $as_echo "/* $configure_input  */" \
   20178       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20179       || as_fn_error $? "could not create -" "$LINENO" 5
   20180   fi
   20181 # Compute "$ac_file"'s index in $config_headers.
   20182 _am_arg="$ac_file"
   20183 _am_stamp_count=1
   20184 for _am_header in $config_headers :; do
   20185   case $_am_header in
   20186     $_am_arg | $_am_arg:* )
   20187       break ;;
   20188     * )
   20189       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20190   esac
   20191 done
   20192 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20193 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20194 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20195 	 X"$_am_arg" : 'X\(//\)$' \| \
   20196 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20197 $as_echo X"$_am_arg" |
   20198     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20199 	    s//\1/
   20200 	    q
   20201 	  }
   20202 	  /^X\(\/\/\)[^/].*/{
   20203 	    s//\1/
   20204 	    q
   20205 	  }
   20206 	  /^X\(\/\/\)$/{
   20207 	    s//\1/
   20208 	    q
   20209 	  }
   20210 	  /^X\(\/\).*/{
   20211 	    s//\1/
   20212 	    q
   20213 	  }
   20214 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20215  ;;
   20216 
   20217   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20218 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20219  ;;
   20220   esac
   20221 
   20222 
   20223   case $ac_file$ac_mode in
   20224     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20225   # Older Autoconf quotes --file arguments for eval, but not when files
   20226   # are listed without --file.  Let's play safe and only enable the eval
   20227   # if we detect the quoting.
   20228   # TODO: see whether this extra hack can be removed once we start
   20229   # requiring Autoconf 2.70 or later.
   20230   case $CONFIG_FILES in #(
   20231   *\'*) :
   20232     eval set x "$CONFIG_FILES" ;; #(
   20233   *) :
   20234     set x $CONFIG_FILES ;; #(
   20235   *) :
   20236      ;;
   20237 esac
   20238   shift
   20239   # Used to flag and report bootstrapping failures.
   20240   am_rc=0
   20241   for am_mf
   20242   do
   20243     # Strip MF so we end up with the name of the file.
   20244     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   20245     # Check whether this is an Automake generated Makefile which includes
   20246     # dependency-tracking related rules and includes.
   20247     # Grep'ing the whole file directly is not great: AIX grep has a line
   20248     # limit of 2048, but all sed's we know have understand at least 4000.
   20249     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   20250       || continue
   20251     am_dirpart=`$as_dirname -- "$am_mf" ||
   20252 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20253 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   20254 	 X"$am_mf" : 'X\(//\)$' \| \
   20255 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   20256 $as_echo X"$am_mf" |
   20257     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20258 	    s//\1/
   20259 	    q
   20260 	  }
   20261 	  /^X\(\/\/\)[^/].*/{
   20262 	    s//\1/
   20263 	    q
   20264 	  }
   20265 	  /^X\(\/\/\)$/{
   20266 	    s//\1/
   20267 	    q
   20268 	  }
   20269 	  /^X\(\/\).*/{
   20270 	    s//\1/
   20271 	    q
   20272 	  }
   20273 	  s/.*/./; q'`
   20274     am_filepart=`$as_basename -- "$am_mf" ||
   20275 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   20276 	 X"$am_mf" : 'X\(//\)$' \| \
   20277 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   20278 $as_echo X/"$am_mf" |
   20279     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20280 	    s//\1/
   20281 	    q
   20282 	  }
   20283 	  /^X\/\(\/\/\)$/{
   20284 	    s//\1/
   20285 	    q
   20286 	  }
   20287 	  /^X\/\(\/\).*/{
   20288 	    s//\1/
   20289 	    q
   20290 	  }
   20291 	  s/.*/./; q'`
   20292     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   20293       && sed -e '/# am--include-marker/d' "$am_filepart" \
   20294         | $MAKE -f - am--depfiles" >&5
   20295    (cd "$am_dirpart" \
   20296       && sed -e '/# am--include-marker/d' "$am_filepart" \
   20297         | $MAKE -f - am--depfiles) >&5 2>&5
   20298    ac_status=$?
   20299    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20300    (exit $ac_status); } || am_rc=$?
   20301   done
   20302   if test $am_rc -ne 0; then
   20303     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20305 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   20306     for automatic dependency tracking.  Try re-running configure with the
   20307     '--disable-dependency-tracking' option to at least be able to build
   20308     the package (albeit without support for automatic dependency tracking).
   20309 See \`config.log' for more details" "$LINENO" 5; }
   20310   fi
   20311   { am_dirpart=; unset am_dirpart;}
   20312   { am_filepart=; unset am_filepart;}
   20313   { am_mf=; unset am_mf;}
   20314   { am_rc=; unset am_rc;}
   20315   rm -f conftest-deps.mk
   20316 }
   20317  ;;
   20318     "libtool":C)
   20319 
   20320     # See if we are running on zsh, and set the options that allow our
   20321     # commands through without removal of \ escapes.
   20322     if test -n "${ZSH_VERSION+set}"; then
   20323       setopt NO_GLOB_SUBST
   20324     fi
   20325 
   20326     cfgfile=${ofile}T
   20327     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20328     $RM "$cfgfile"
   20329 
   20330     cat <<_LT_EOF >> "$cfgfile"
   20331 #! $SHELL
   20332 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20333 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20334 
   20335 # Provide generalized library-building support services.
   20336 # Written by Gordon Matzigkeit, 1996
   20337 
   20338 # Copyright (C) 2014 Free Software Foundation, Inc.
   20339 # This is free software; see the source for copying conditions.  There is NO
   20340 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20341 
   20342 # GNU Libtool is free software; you can redistribute it and/or modify
   20343 # it under the terms of the GNU General Public License as published by
   20344 # the Free Software Foundation; either version 2 of of the License, or
   20345 # (at your option) any later version.
   20346 #
   20347 # As a special exception to the GNU General Public License, if you
   20348 # distribute this file as part of a program or library that is built
   20349 # using GNU Libtool, you may include this file under the  same
   20350 # distribution terms that you use for the rest of that program.
   20351 #
   20352 # GNU Libtool is distributed in the hope that it will be useful, but
   20353 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20354 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20355 # GNU General Public License for more details.
   20356 #
   20357 # You should have received a copy of the GNU General Public License
   20358 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20359 
   20360 
   20361 # The names of the tagged configurations supported by this script.
   20362 available_tags=''
   20363 
   20364 # Configured defaults for sys_lib_dlsearch_path munging.
   20365 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20366 
   20367 # ### BEGIN LIBTOOL CONFIG
   20368 
   20369 # Which release of libtool.m4 was used?
   20370 macro_version=$macro_version
   20371 macro_revision=$macro_revision
   20372 
   20373 # Whether or not to build shared libraries.
   20374 build_libtool_libs=$enable_shared
   20375 
   20376 # Whether or not to build static libraries.
   20377 build_old_libs=$enable_static
   20378 
   20379 # What type of objects to build.
   20380 pic_mode=$pic_mode
   20381 
   20382 # Whether or not to optimize for fast installation.
   20383 fast_install=$enable_fast_install
   20384 
   20385 # Shared archive member basename,for filename based shared library versioning on AIX.
   20386 shared_archive_member_spec=$shared_archive_member_spec
   20387 
   20388 # Shell to use when invoking shell scripts.
   20389 SHELL=$lt_SHELL
   20390 
   20391 # An echo program that protects backslashes.
   20392 ECHO=$lt_ECHO
   20393 
   20394 # The PATH separator for the build system.
   20395 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20396 
   20397 # The host system.
   20398 host_alias=$host_alias
   20399 host=$host
   20400 host_os=$host_os
   20401 
   20402 # The build system.
   20403 build_alias=$build_alias
   20404 build=$build
   20405 build_os=$build_os
   20406 
   20407 # A sed program that does not truncate output.
   20408 SED=$lt_SED
   20409 
   20410 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20411 Xsed="\$SED -e 1s/^X//"
   20412 
   20413 # A grep program that handles long lines.
   20414 GREP=$lt_GREP
   20415 
   20416 # An ERE matcher.
   20417 EGREP=$lt_EGREP
   20418 
   20419 # A literal string matcher.
   20420 FGREP=$lt_FGREP
   20421 
   20422 # A BSD- or MS-compatible name lister.
   20423 NM=$lt_NM
   20424 
   20425 # Whether we need soft or hard links.
   20426 LN_S=$lt_LN_S
   20427 
   20428 # What is the maximum length of a command?
   20429 max_cmd_len=$max_cmd_len
   20430 
   20431 # Object file suffix (normally "o").
   20432 objext=$ac_objext
   20433 
   20434 # Executable file suffix (normally "").
   20435 exeext=$exeext
   20436 
   20437 # whether the shell understands "unset".
   20438 lt_unset=$lt_unset
   20439 
   20440 # turn spaces into newlines.
   20441 SP2NL=$lt_lt_SP2NL
   20442 
   20443 # turn newlines into spaces.
   20444 NL2SP=$lt_lt_NL2SP
   20445 
   20446 # convert \$build file names to \$host format.
   20447 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20448 
   20449 # convert \$build files to toolchain format.
   20450 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20451 
   20452 # An object symbol dumper.
   20453 OBJDUMP=$lt_OBJDUMP
   20454 
   20455 # Method to check whether dependent libraries are shared objects.
   20456 deplibs_check_method=$lt_deplibs_check_method
   20457 
   20458 # Command to use when deplibs_check_method = "file_magic".
   20459 file_magic_cmd=$lt_file_magic_cmd
   20460 
   20461 # How to find potential files when deplibs_check_method = "file_magic".
   20462 file_magic_glob=$lt_file_magic_glob
   20463 
   20464 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20465 want_nocaseglob=$lt_want_nocaseglob
   20466 
   20467 # DLL creation program.
   20468 DLLTOOL=$lt_DLLTOOL
   20469 
   20470 # Command to associate shared and link libraries.
   20471 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20472 
   20473 # The archiver.
   20474 AR=$lt_AR
   20475 
   20476 # Flags to create an archive.
   20477 AR_FLAGS=$lt_AR_FLAGS
   20478 
   20479 # How to feed a file listing to the archiver.
   20480 archiver_list_spec=$lt_archiver_list_spec
   20481 
   20482 # A symbol stripping program.
   20483 STRIP=$lt_STRIP
   20484 
   20485 # Commands used to install an old-style archive.
   20486 RANLIB=$lt_RANLIB
   20487 old_postinstall_cmds=$lt_old_postinstall_cmds
   20488 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20489 
   20490 # Whether to use a lock for old archive extraction.
   20491 lock_old_archive_extraction=$lock_old_archive_extraction
   20492 
   20493 # A C compiler.
   20494 LTCC=$lt_CC
   20495 
   20496 # LTCC compiler flags.
   20497 LTCFLAGS=$lt_CFLAGS
   20498 
   20499 # Take the output of nm and produce a listing of raw symbols and C names.
   20500 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20501 
   20502 # Transform the output of nm in a proper C declaration.
   20503 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20504 
   20505 # Transform the output of nm into a list of symbols to manually relocate.
   20506 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   20507 
   20508 # Transform the output of nm in a C name address pair.
   20509 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20510 
   20511 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20512 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20513 
   20514 # The name lister interface.
   20515 nm_interface=$lt_lt_cv_nm_interface
   20516 
   20517 # Specify filename containing input files for \$NM.
   20518 nm_file_list_spec=$lt_nm_file_list_spec
   20519 
   20520 # The root where to search for dependent libraries,and where our libraries should be installed.
   20521 lt_sysroot=$lt_sysroot
   20522 
   20523 # Command to truncate a binary pipe.
   20524 lt_truncate_bin=$lt_lt_cv_truncate_bin
   20525 
   20526 # The name of the directory that contains temporary libtool files.
   20527 objdir=$objdir
   20528 
   20529 # Used to examine libraries when file_magic_cmd begins with "file".
   20530 MAGIC_CMD=$MAGIC_CMD
   20531 
   20532 # Must we lock files when doing compilation?
   20533 need_locks=$lt_need_locks
   20534 
   20535 # Manifest tool.
   20536 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20537 
   20538 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20539 DSYMUTIL=$lt_DSYMUTIL
   20540 
   20541 # Tool to change global to local symbols on Mac OS X.
   20542 NMEDIT=$lt_NMEDIT
   20543 
   20544 # Tool to manipulate fat objects and archives on Mac OS X.
   20545 LIPO=$lt_LIPO
   20546 
   20547 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20548 OTOOL=$lt_OTOOL
   20549 
   20550 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20551 OTOOL64=$lt_OTOOL64
   20552 
   20553 # Old archive suffix (normally "a").
   20554 libext=$libext
   20555 
   20556 # Shared library suffix (normally ".so").
   20557 shrext_cmds=$lt_shrext_cmds
   20558 
   20559 # The commands to extract the exported symbol list from a shared archive.
   20560 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20561 
   20562 # Variables whose values should be saved in libtool wrapper scripts and
   20563 # restored at link time.
   20564 variables_saved_for_relink=$lt_variables_saved_for_relink
   20565 
   20566 # Do we need the "lib" prefix for modules?
   20567 need_lib_prefix=$need_lib_prefix
   20568 
   20569 # Do we need a version for libraries?
   20570 need_version=$need_version
   20571 
   20572 # Library versioning type.
   20573 version_type=$version_type
   20574 
   20575 # Shared library runtime path variable.
   20576 runpath_var=$runpath_var
   20577 
   20578 # Shared library path variable.
   20579 shlibpath_var=$shlibpath_var
   20580 
   20581 # Is shlibpath searched before the hard-coded library search path?
   20582 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20583 
   20584 # Format of library name prefix.
   20585 libname_spec=$lt_libname_spec
   20586 
   20587 # List of archive names.  First name is the real one, the rest are links.
   20588 # The last name is the one that the linker finds with -lNAME
   20589 library_names_spec=$lt_library_names_spec
   20590 
   20591 # The coded name of the library, if different from the real name.
   20592 soname_spec=$lt_soname_spec
   20593 
   20594 # Permission mode override for installation of shared libraries.
   20595 install_override_mode=$lt_install_override_mode
   20596 
   20597 # Command to use after installation of a shared archive.
   20598 postinstall_cmds=$lt_postinstall_cmds
   20599 
   20600 # Command to use after uninstallation of a shared archive.
   20601 postuninstall_cmds=$lt_postuninstall_cmds
   20602 
   20603 # Commands used to finish a libtool library installation in a directory.
   20604 finish_cmds=$lt_finish_cmds
   20605 
   20606 # As "finish_cmds", except a single script fragment to be evaled but
   20607 # not shown.
   20608 finish_eval=$lt_finish_eval
   20609 
   20610 # Whether we should hardcode library paths into libraries.
   20611 hardcode_into_libs=$hardcode_into_libs
   20612 
   20613 # Compile-time system search path for libraries.
   20614 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20615 
   20616 # Detected run-time system search path for libraries.
   20617 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   20618 
   20619 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   20620 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   20621 
   20622 # Whether dlopen is supported.
   20623 dlopen_support=$enable_dlopen
   20624 
   20625 # Whether dlopen of programs is supported.
   20626 dlopen_self=$enable_dlopen_self
   20627 
   20628 # Whether dlopen of statically linked programs is supported.
   20629 dlopen_self_static=$enable_dlopen_self_static
   20630 
   20631 # Commands to strip libraries.
   20632 old_striplib=$lt_old_striplib
   20633 striplib=$lt_striplib
   20634 
   20635 
   20636 # The linker used to build libraries.
   20637 LD=$lt_LD
   20638 
   20639 # How to create reloadable object files.
   20640 reload_flag=$lt_reload_flag
   20641 reload_cmds=$lt_reload_cmds
   20642 
   20643 # Commands used to build an old-style archive.
   20644 old_archive_cmds=$lt_old_archive_cmds
   20645 
   20646 # A language specific compiler.
   20647 CC=$lt_compiler
   20648 
   20649 # Is the compiler the GNU compiler?
   20650 with_gcc=$GCC
   20651 
   20652 # Compiler flag to turn off builtin functions.
   20653 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20654 
   20655 # Additional compiler flags for building library objects.
   20656 pic_flag=$lt_lt_prog_compiler_pic
   20657 
   20658 # How to pass a linker flag through the compiler.
   20659 wl=$lt_lt_prog_compiler_wl
   20660 
   20661 # Compiler flag to prevent dynamic linking.
   20662 link_static_flag=$lt_lt_prog_compiler_static
   20663 
   20664 # Does compiler simultaneously support -c and -o options?
   20665 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20666 
   20667 # Whether or not to add -lc for building shared libraries.
   20668 build_libtool_need_lc=$archive_cmds_need_lc
   20669 
   20670 # Whether or not to disallow shared libs when runtime libs are static.
   20671 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20672 
   20673 # Compiler flag to allow reflexive dlopens.
   20674 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20675 
   20676 # Compiler flag to generate shared objects directly from archives.
   20677 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20678 
   20679 # Whether the compiler copes with passing no objects directly.
   20680 compiler_needs_object=$lt_compiler_needs_object
   20681 
   20682 # Create an old-style archive from a shared archive.
   20683 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20684 
   20685 # Create a temporary old-style archive to link instead of a shared archive.
   20686 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20687 
   20688 # Commands used to build a shared archive.
   20689 archive_cmds=$lt_archive_cmds
   20690 archive_expsym_cmds=$lt_archive_expsym_cmds
   20691 
   20692 # Commands used to build a loadable module if different from building
   20693 # a shared archive.
   20694 module_cmds=$lt_module_cmds
   20695 module_expsym_cmds=$lt_module_expsym_cmds
   20696 
   20697 # Whether we are building with GNU ld or not.
   20698 with_gnu_ld=$lt_with_gnu_ld
   20699 
   20700 # Flag that allows shared libraries with undefined symbols to be built.
   20701 allow_undefined_flag=$lt_allow_undefined_flag
   20702 
   20703 # Flag that enforces no undefined symbols.
   20704 no_undefined_flag=$lt_no_undefined_flag
   20705 
   20706 # Flag to hardcode \$libdir into a binary during linking.
   20707 # This must work even if \$libdir does not exist
   20708 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20709 
   20710 # Whether we need a single "-rpath" flag with a separated argument.
   20711 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20712 
   20713 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20714 # DIR into the resulting binary.
   20715 hardcode_direct=$hardcode_direct
   20716 
   20717 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20718 # DIR into the resulting binary and the resulting library dependency is
   20719 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   20720 # library is relocated.
   20721 hardcode_direct_absolute=$hardcode_direct_absolute
   20722 
   20723 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20724 # into the resulting binary.
   20725 hardcode_minus_L=$hardcode_minus_L
   20726 
   20727 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20728 # into the resulting binary.
   20729 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20730 
   20731 # Set to "yes" if building a shared library automatically hardcodes DIR
   20732 # into the library and all subsequent libraries and executables linked
   20733 # against it.
   20734 hardcode_automatic=$hardcode_automatic
   20735 
   20736 # Set to yes if linker adds runtime paths of dependent libraries
   20737 # to runtime path list.
   20738 inherit_rpath=$inherit_rpath
   20739 
   20740 # Whether libtool must link a program against all its dependency libraries.
   20741 link_all_deplibs=$link_all_deplibs
   20742 
   20743 # Set to "yes" if exported symbols are required.
   20744 always_export_symbols=$always_export_symbols
   20745 
   20746 # The commands to list exported symbols.
   20747 export_symbols_cmds=$lt_export_symbols_cmds
   20748 
   20749 # Symbols that should not be listed in the preloaded symbols.
   20750 exclude_expsyms=$lt_exclude_expsyms
   20751 
   20752 # Symbols that must always be exported.
   20753 include_expsyms=$lt_include_expsyms
   20754 
   20755 # Commands necessary for linking programs (against libraries) with templates.
   20756 prelink_cmds=$lt_prelink_cmds
   20757 
   20758 # Commands necessary for finishing linking programs.
   20759 postlink_cmds=$lt_postlink_cmds
   20760 
   20761 # Specify filename containing input files.
   20762 file_list_spec=$lt_file_list_spec
   20763 
   20764 # How to hardcode a shared library path into an executable.
   20765 hardcode_action=$hardcode_action
   20766 
   20767 # ### END LIBTOOL CONFIG
   20768 
   20769 _LT_EOF
   20770 
   20771     cat <<'_LT_EOF' >> "$cfgfile"
   20772 
   20773 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   20774 
   20775 # func_munge_path_list VARIABLE PATH
   20776 # -----------------------------------
   20777 # VARIABLE is name of variable containing _space_ separated list of
   20778 # directories to be munged by the contents of PATH, which is string
   20779 # having a format:
   20780 # "DIR[:DIR]:"
   20781 #       string "DIR[ DIR]" will be prepended to VARIABLE
   20782 # ":DIR[:DIR]"
   20783 #       string "DIR[ DIR]" will be appended to VARIABLE
   20784 # "DIRP[:DIRP]::[DIRA:]DIRA"
   20785 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   20786 #       "DIRA[ DIRA]" will be appended to VARIABLE
   20787 # "DIR[:DIR]"
   20788 #       VARIABLE will be replaced by "DIR[ DIR]"
   20789 func_munge_path_list ()
   20790 {
   20791     case x$2 in
   20792     x)
   20793         ;;
   20794     *:)
   20795         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   20796         ;;
   20797     x:*)
   20798         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   20799         ;;
   20800     *::*)
   20801         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   20802         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   20803         ;;
   20804     *)
   20805         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   20806         ;;
   20807     esac
   20808 }
   20809 
   20810 
   20811 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   20812 func_cc_basename ()
   20813 {
   20814     for cc_temp in $*""; do
   20815       case $cc_temp in
   20816         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   20817         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   20818         \-*) ;;
   20819         *) break;;
   20820       esac
   20821     done
   20822     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   20823 }
   20824 
   20825 
   20826 # ### END FUNCTIONS SHARED WITH CONFIGURE
   20827 
   20828 _LT_EOF
   20829 
   20830   case $host_os in
   20831   aix3*)
   20832     cat <<\_LT_EOF >> "$cfgfile"
   20833 # AIX sometimes has problems with the GCC collect2 program.  For some
   20834 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20835 # vanish in a puff of smoke.
   20836 if test set != "${COLLECT_NAMES+set}"; then
   20837   COLLECT_NAMES=
   20838   export COLLECT_NAMES
   20839 fi
   20840 _LT_EOF
   20841     ;;
   20842   esac
   20843 
   20844 
   20845 ltmain=$ac_aux_dir/ltmain.sh
   20846 
   20847 
   20848   # We use sed instead of cat because bash on DJGPP gets confused if
   20849   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20850   # text mode, it properly converts lines to CR/LF.  This bash problem
   20851   # is reportedly fixed, but why not run on old versions too?
   20852   sed '$q' "$ltmain" >> "$cfgfile" \
   20853      || (rm -f "$cfgfile"; exit 1)
   20854 
   20855    mv -f "$cfgfile" "$ofile" ||
   20856     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20857   chmod +x "$ofile"
   20858 
   20859  ;;
   20860 
   20861   esac
   20862 done # for ac_tag
   20863 
   20864 
   20865 as_fn_exit 0
   20866 _ACEOF
   20867 ac_clean_files=$ac_clean_files_save
   20868 
   20869 test $ac_write_fail = 0 ||
   20870   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20871 
   20872 
   20873 # configure is writing to config.log, and then calls config.status.
   20874 # config.status does its own redirection, appending to config.log.
   20875 # Unfortunately, on DOS this fails, as config.log is still kept open
   20876 # by configure, so config.status won't be able to write to it; its
   20877 # output is simply discarded.  So we exec the FD to /dev/null,
   20878 # effectively closing config.log, so it can be properly (re)opened and
   20879 # appended to by config.status.  When coming back to configure, we
   20880 # need to make the FD available again.
   20881 if test "$no_create" != yes; then
   20882   ac_cs_success=:
   20883   ac_config_status_args=
   20884   test "$silent" = yes &&
   20885     ac_config_status_args="$ac_config_status_args --quiet"
   20886   exec 5>/dev/null
   20887   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20888   exec 5>>config.log
   20889   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20890   # would make configure fail if this is the last instruction.
   20891   $ac_cs_success || as_fn_exit 1
   20892 fi
   20893 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20894   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20895 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20896 fi
   20897 
   20898