Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.10
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXfont 1.5.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 as_awk_strverscmp='
    571   # Use only awk features that work with 7th edition Unix awk (1978).
    572   # My, what an old awk you have, Mr. Solaris!
    573   END {
    574     while (length(v1) && length(v2)) {
    575       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    576       # Normally this is a single character, but if v1 and v2 contain digits,
    577       # compare them as integers and fractions as strverscmp does.
    578       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    579 	# Split v1 and v2 into their leading digit string components d1 and d2,
    580 	# and advance v1 and v2 past the leading digit strings.
    581 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    582 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    583 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    584 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    585 	if (d1 ~ /^0/) {
    586 	  if (d2 ~ /^0/) {
    587 	    # Compare two fractions.
    588 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    589 	      d1 = substr(d1, 2); len1--
    590 	      d2 = substr(d2, 2); len2--
    591 	    }
    592 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    593 	      # The two components differ in length, and the common prefix
    594 	      # contains only leading zeros.  Consider the longer to be less.
    595 	      d1 = -len1
    596 	      d2 = -len2
    597 	    } else {
    598 	      # Otherwise, compare as strings.
    599 	      d1 = "x" d1
    600 	      d2 = "x" d2
    601 	    }
    602 	  } else {
    603 	    # A fraction is less than an integer.
    604 	    exit 1
    605 	  }
    606 	} else {
    607 	  if (d2 ~ /^0/) {
    608 	    # An integer is greater than a fraction.
    609 	    exit 2
    610 	  } else {
    611 	    # Compare two integers.
    612 	    d1 += 0
    613 	    d2 += 0
    614 	  }
    615 	}
    616       } else {
    617 	# The normal case, without worrying about digits.
    618 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    619 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    620       }
    621       if (d1 < d2) exit 1
    622       if (d1 > d2) exit 2
    623     }
    624     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    625     # which mishandles some comparisons of empty strings to integers.
    626     if (length(v2)) exit 1
    627     if (length(v1)) exit 2
    628   }
    629 '
    630 
    631 test -n "$DJDIR" || exec 7<&0 </dev/null
    632 exec 6>&1
    633 
    634 # Name of the host.
    635 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    636 # so uname gets run too.
    637 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    638 
    639 #
    640 # Initializations.
    641 #
    642 ac_default_prefix=/usr/local
    643 ac_clean_files=
    644 ac_config_libobj_dir=.
    645 LIBOBJS=
    646 cross_compiling=no
    647 subdirs=
    648 MFLAGS=
    649 MAKEFLAGS=
    650 
    651 # Identity of this package.
    652 PACKAGE_NAME='libXfont'
    653 PACKAGE_TARNAME='libXfont'
    654 PACKAGE_VERSION='1.5.2'
    655 PACKAGE_STRING='libXfont 1.5.2'
    656 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    657 PACKAGE_URL=''
    658 
    659 ac_unique_file="Makefile.am"
    660 # Factoring default headers for most tests.
    661 ac_includes_default="\
    662 #include <stdio.h>
    663 #ifdef HAVE_SYS_TYPES_H
    664 # include <sys/types.h>
    665 #endif
    666 #ifdef HAVE_SYS_STAT_H
    667 # include <sys/stat.h>
    668 #endif
    669 #ifdef STDC_HEADERS
    670 # include <stdlib.h>
    671 # include <stddef.h>
    672 #else
    673 # ifdef HAVE_STDLIB_H
    674 #  include <stdlib.h>
    675 # endif
    676 #endif
    677 #ifdef HAVE_STRING_H
    678 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    679 #  include <memory.h>
    680 # endif
    681 # include <string.h>
    682 #endif
    683 #ifdef HAVE_STRINGS_H
    684 # include <strings.h>
    685 #endif
    686 #ifdef HAVE_INTTYPES_H
    687 # include <inttypes.h>
    688 #endif
    689 #ifdef HAVE_STDINT_H
    690 # include <stdint.h>
    691 #endif
    692 #ifdef HAVE_UNISTD_H
    693 # include <unistd.h>
    694 #endif"
    695 
    696 ac_subst_vars='am__EXEEXT_FALSE
    697 am__EXEEXT_TRUE
    698 LTLIBOBJS
    699 LIBOBJS
    700 OS_CFLAGS
    701 XFONT_LIBS
    702 XFONT_CFLAGS
    703 MATH_LIBS
    704 XFONT_FC_FALSE
    705 XFONT_FC_TRUE
    706 XFONT_FONTFILE_FALSE
    707 XFONT_FONTFILE_TRUE
    708 XFONT_BITMAP_FALSE
    709 XFONT_BITMAP_TRUE
    710 XFONT_SNFFORMAT_FALSE
    711 XFONT_SNFFORMAT_TRUE
    712 XFONT_BDFFORMAT_FALSE
    713 XFONT_BDFFORMAT_TRUE
    714 XFONT_PCF_OR_BUILTIN_FALSE
    715 XFONT_PCF_OR_BUILTIN_TRUE
    716 XFONT_PCFFORMAT_FALSE
    717 XFONT_PCFFORMAT_TRUE
    718 XFONT_BUILTINS_FALSE
    719 XFONT_BUILTINS_TRUE
    720 Z_LIBS
    721 X_BZIP2_FONT_COMPRESSION_FALSE
    722 X_BZIP2_FONT_COMPRESSION_TRUE
    723 X_GZIP_FONT_COMPRESSION
    724 FREETYPE_REQUIRES
    725 ft_config
    726 FREETYPE_LIBS
    727 FREETYPE_CFLAGS
    728 XFONT_FREETYPE_FALSE
    729 XFONT_FREETYPE_TRUE
    730 HAVE_STYLESHEETS_FALSE
    731 HAVE_STYLESHEETS_TRUE
    732 XSL_STYLESHEET
    733 STYLESHEET_SRCDIR
    734 XORG_SGML_PATH
    735 HAVE_FOP_FALSE
    736 HAVE_FOP_TRUE
    737 FOP
    738 HAVE_XMLTO_FALSE
    739 HAVE_XMLTO_TRUE
    740 HAVE_XMLTO_TEXT_FALSE
    741 HAVE_XMLTO_TEXT_TRUE
    742 XMLTO
    743 ENABLE_DEVEL_DOCS_FALSE
    744 ENABLE_DEVEL_DOCS_TRUE
    745 MAN_SUBSTS
    746 XORG_MAN_PAGE
    747 ADMIN_MAN_DIR
    748 DRIVER_MAN_DIR
    749 MISC_MAN_DIR
    750 FILE_MAN_DIR
    751 LIB_MAN_DIR
    752 APP_MAN_DIR
    753 ADMIN_MAN_SUFFIX
    754 DRIVER_MAN_SUFFIX
    755 MISC_MAN_SUFFIX
    756 FILE_MAN_SUFFIX
    757 LIB_MAN_SUFFIX
    758 APP_MAN_SUFFIX
    759 INSTALL_CMD
    760 PKG_CONFIG_LIBDIR
    761 PKG_CONFIG_PATH
    762 PKG_CONFIG
    763 CHANGELOG_CMD
    764 STRICT_CFLAGS
    765 CWARNFLAGS
    766 BASE_CFLAGS
    767 LT_SYS_LIBRARY_PATH
    768 OTOOL64
    769 OTOOL
    770 LIPO
    771 NMEDIT
    772 DSYMUTIL
    773 MANIFEST_TOOL
    774 RANLIB
    775 ac_ct_AR
    776 AR
    777 DLLTOOL
    778 OBJDUMP
    779 LN_S
    780 NM
    781 ac_ct_DUMPBIN
    782 DUMPBIN
    783 LD
    784 FGREP
    785 SED
    786 host_os
    787 host_vendor
    788 host_cpu
    789 host
    790 build_os
    791 build_vendor
    792 build_cpu
    793 build
    794 LIBTOOL
    795 EGREP
    796 GREP
    797 CPP
    798 am__fastdepCC_FALSE
    799 am__fastdepCC_TRUE
    800 CCDEPMODE
    801 am__nodep
    802 AMDEPBACKSLASH
    803 AMDEP_FALSE
    804 AMDEP_TRUE
    805 am__quote
    806 am__include
    807 DEPDIR
    808 OBJEXT
    809 EXEEXT
    810 ac_ct_CC
    811 CPPFLAGS
    812 LDFLAGS
    813 CFLAGS
    814 CC
    815 AM_BACKSLASH
    816 AM_DEFAULT_VERBOSITY
    817 AM_DEFAULT_V
    818 AM_V
    819 am__untar
    820 am__tar
    821 AMTAR
    822 am__leading_dot
    823 SET_MAKE
    824 AWK
    825 mkdir_p
    826 MKDIR_P
    827 INSTALL_STRIP_PROGRAM
    828 STRIP
    829 install_sh
    830 MAKEINFO
    831 AUTOHEADER
    832 AUTOMAKE
    833 AUTOCONF
    834 ACLOCAL
    835 VERSION
    836 PACKAGE
    837 CYGPATH_W
    838 am__isrc
    839 INSTALL_DATA
    840 INSTALL_SCRIPT
    841 INSTALL_PROGRAM
    842 target_alias
    843 host_alias
    844 build_alias
    845 LIBS
    846 ECHO_T
    847 ECHO_N
    848 ECHO_C
    849 DEFS
    850 mandir
    851 localedir
    852 libdir
    853 psdir
    854 pdfdir
    855 dvidir
    856 htmldir
    857 infodir
    858 docdir
    859 oldincludedir
    860 includedir
    861 localstatedir
    862 sharedstatedir
    863 sysconfdir
    864 datadir
    865 datarootdir
    866 libexecdir
    867 sbindir
    868 bindir
    869 program_transform_name
    870 prefix
    871 exec_prefix
    872 PACKAGE_URL
    873 PACKAGE_BUGREPORT
    874 PACKAGE_STRING
    875 PACKAGE_VERSION
    876 PACKAGE_TARNAME
    877 PACKAGE_NAME
    878 PATH_SEPARATOR
    879 SHELL'
    880 ac_subst_files=''
    881 ac_user_opts='
    882 enable_option_checking
    883 enable_silent_rules
    884 enable_dependency_tracking
    885 enable_shared
    886 enable_static
    887 with_pic
    888 enable_fast_install
    889 with_aix_soname
    890 with_gnu_ld
    891 with_sysroot
    892 enable_libtool_lock
    893 enable_selective_werror
    894 enable_strict_compilation
    895 enable_devel_docs
    896 with_xmlto
    897 with_fop
    898 enable_freetype
    899 with_freetype_config
    900 with_bzip2
    901 enable_builtins
    902 enable_pcfformat
    903 enable_bdfformat
    904 enable_snfformat
    905 enable_fc
    906 enable_unix_transport
    907 enable_tcp_transport
    908 enable_ipv6
    909 enable_local_transport
    910 '
    911       ac_precious_vars='build_alias
    912 host_alias
    913 target_alias
    914 CC
    915 CFLAGS
    916 LDFLAGS
    917 LIBS
    918 CPPFLAGS
    919 CPP
    920 LT_SYS_LIBRARY_PATH
    921 PKG_CONFIG
    922 PKG_CONFIG_PATH
    923 PKG_CONFIG_LIBDIR
    924 XMLTO
    925 FOP
    926 FREETYPE_CFLAGS
    927 FREETYPE_LIBS
    928 XFONT_CFLAGS
    929 XFONT_LIBS'
    930 
    931 
    932 # Initialize some variables set by options.
    933 ac_init_help=
    934 ac_init_version=false
    935 ac_unrecognized_opts=
    936 ac_unrecognized_sep=
    937 # The variables have the same names as the options, with
    938 # dashes changed to underlines.
    939 cache_file=/dev/null
    940 exec_prefix=NONE
    941 no_create=
    942 no_recursion=
    943 prefix=NONE
    944 program_prefix=NONE
    945 program_suffix=NONE
    946 program_transform_name=s,x,x,
    947 silent=
    948 site=
    949 srcdir=
    950 verbose=
    951 x_includes=NONE
    952 x_libraries=NONE
    953 
    954 # Installation directory options.
    955 # These are left unexpanded so users can "make install exec_prefix=/foo"
    956 # and all the variables that are supposed to be based on exec_prefix
    957 # by default will actually change.
    958 # Use braces instead of parens because sh, perl, etc. also accept them.
    959 # (The list follows the same order as the GNU Coding Standards.)
    960 bindir='${exec_prefix}/bin'
    961 sbindir='${exec_prefix}/sbin'
    962 libexecdir='${exec_prefix}/libexec'
    963 datarootdir='${prefix}/share'
    964 datadir='${datarootdir}'
    965 sysconfdir='${prefix}/etc'
    966 sharedstatedir='${prefix}/com'
    967 localstatedir='${prefix}/var'
    968 includedir='${prefix}/include'
    969 oldincludedir='/usr/include'
    970 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    971 infodir='${datarootdir}/info'
    972 htmldir='${docdir}'
    973 dvidir='${docdir}'
    974 pdfdir='${docdir}'
    975 psdir='${docdir}'
    976 libdir='${exec_prefix}/lib'
    977 localedir='${datarootdir}/locale'
    978 mandir='${datarootdir}/man'
    979 
    980 ac_prev=
    981 ac_dashdash=
    982 for ac_option
    983 do
    984   # If the previous option needs an argument, assign it.
    985   if test -n "$ac_prev"; then
    986     eval $ac_prev=\$ac_option
    987     ac_prev=
    988     continue
    989   fi
    990 
    991   case $ac_option in
    992   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    993   *=)   ac_optarg= ;;
    994   *)    ac_optarg=yes ;;
    995   esac
    996 
    997   # Accept the important Cygnus configure options, so we can diagnose typos.
    998 
    999   case $ac_dashdash$ac_option in
   1000   --)
   1001     ac_dashdash=yes ;;
   1002 
   1003   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1004     ac_prev=bindir ;;
   1005   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1006     bindir=$ac_optarg ;;
   1007 
   1008   -build | --build | --buil | --bui | --bu)
   1009     ac_prev=build_alias ;;
   1010   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1011     build_alias=$ac_optarg ;;
   1012 
   1013   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1014   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1015     ac_prev=cache_file ;;
   1016   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1017   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1018     cache_file=$ac_optarg ;;
   1019 
   1020   --config-cache | -C)
   1021     cache_file=config.cache ;;
   1022 
   1023   -datadir | --datadir | --datadi | --datad)
   1024     ac_prev=datadir ;;
   1025   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1026     datadir=$ac_optarg ;;
   1027 
   1028   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1029   | --dataroo | --dataro | --datar)
   1030     ac_prev=datarootdir ;;
   1031   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1032   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1033     datarootdir=$ac_optarg ;;
   1034 
   1035   -disable-* | --disable-*)
   1036     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1037     # Reject names that are not valid shell variable names.
   1038     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1039       as_fn_error $? "invalid feature name: $ac_useropt"
   1040     ac_useropt_orig=$ac_useropt
   1041     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1042     case $ac_user_opts in
   1043       *"
   1044 "enable_$ac_useropt"
   1045 "*) ;;
   1046       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1047 	 ac_unrecognized_sep=', ';;
   1048     esac
   1049     eval enable_$ac_useropt=no ;;
   1050 
   1051   -docdir | --docdir | --docdi | --doc | --do)
   1052     ac_prev=docdir ;;
   1053   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1054     docdir=$ac_optarg ;;
   1055 
   1056   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1057     ac_prev=dvidir ;;
   1058   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1059     dvidir=$ac_optarg ;;
   1060 
   1061   -enable-* | --enable-*)
   1062     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1063     # Reject names that are not valid shell variable names.
   1064     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1065       as_fn_error $? "invalid feature name: $ac_useropt"
   1066     ac_useropt_orig=$ac_useropt
   1067     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1068     case $ac_user_opts in
   1069       *"
   1070 "enable_$ac_useropt"
   1071 "*) ;;
   1072       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1073 	 ac_unrecognized_sep=', ';;
   1074     esac
   1075     eval enable_$ac_useropt=\$ac_optarg ;;
   1076 
   1077   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1078   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1079   | --exec | --exe | --ex)
   1080     ac_prev=exec_prefix ;;
   1081   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1082   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1083   | --exec=* | --exe=* | --ex=*)
   1084     exec_prefix=$ac_optarg ;;
   1085 
   1086   -gas | --gas | --ga | --g)
   1087     # Obsolete; use --with-gas.
   1088     with_gas=yes ;;
   1089 
   1090   -help | --help | --hel | --he | -h)
   1091     ac_init_help=long ;;
   1092   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1093     ac_init_help=recursive ;;
   1094   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1095     ac_init_help=short ;;
   1096 
   1097   -host | --host | --hos | --ho)
   1098     ac_prev=host_alias ;;
   1099   -host=* | --host=* | --hos=* | --ho=*)
   1100     host_alias=$ac_optarg ;;
   1101 
   1102   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1103     ac_prev=htmldir ;;
   1104   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1105   | --ht=*)
   1106     htmldir=$ac_optarg ;;
   1107 
   1108   -includedir | --includedir | --includedi | --included | --include \
   1109   | --includ | --inclu | --incl | --inc)
   1110     ac_prev=includedir ;;
   1111   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1112   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1113     includedir=$ac_optarg ;;
   1114 
   1115   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1116     ac_prev=infodir ;;
   1117   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1118     infodir=$ac_optarg ;;
   1119 
   1120   -libdir | --libdir | --libdi | --libd)
   1121     ac_prev=libdir ;;
   1122   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1123     libdir=$ac_optarg ;;
   1124 
   1125   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1126   | --libexe | --libex | --libe)
   1127     ac_prev=libexecdir ;;
   1128   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1129   | --libexe=* | --libex=* | --libe=*)
   1130     libexecdir=$ac_optarg ;;
   1131 
   1132   -localedir | --localedir | --localedi | --localed | --locale)
   1133     ac_prev=localedir ;;
   1134   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1135     localedir=$ac_optarg ;;
   1136 
   1137   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1138   | --localstate | --localstat | --localsta | --localst | --locals)
   1139     ac_prev=localstatedir ;;
   1140   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1141   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1142     localstatedir=$ac_optarg ;;
   1143 
   1144   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1145     ac_prev=mandir ;;
   1146   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1147     mandir=$ac_optarg ;;
   1148 
   1149   -nfp | --nfp | --nf)
   1150     # Obsolete; use --without-fp.
   1151     with_fp=no ;;
   1152 
   1153   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1154   | --no-cr | --no-c | -n)
   1155     no_create=yes ;;
   1156 
   1157   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1158   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1159     no_recursion=yes ;;
   1160 
   1161   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1162   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1163   | --oldin | --oldi | --old | --ol | --o)
   1164     ac_prev=oldincludedir ;;
   1165   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1166   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1167   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1168     oldincludedir=$ac_optarg ;;
   1169 
   1170   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1171     ac_prev=prefix ;;
   1172   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1173     prefix=$ac_optarg ;;
   1174 
   1175   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1176   | --program-pre | --program-pr | --program-p)
   1177     ac_prev=program_prefix ;;
   1178   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1179   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1180     program_prefix=$ac_optarg ;;
   1181 
   1182   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1183   | --program-suf | --program-su | --program-s)
   1184     ac_prev=program_suffix ;;
   1185   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1186   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1187     program_suffix=$ac_optarg ;;
   1188 
   1189   -program-transform-name | --program-transform-name \
   1190   | --program-transform-nam | --program-transform-na \
   1191   | --program-transform-n | --program-transform- \
   1192   | --program-transform | --program-transfor \
   1193   | --program-transfo | --program-transf \
   1194   | --program-trans | --program-tran \
   1195   | --progr-tra | --program-tr | --program-t)
   1196     ac_prev=program_transform_name ;;
   1197   -program-transform-name=* | --program-transform-name=* \
   1198   | --program-transform-nam=* | --program-transform-na=* \
   1199   | --program-transform-n=* | --program-transform-=* \
   1200   | --program-transform=* | --program-transfor=* \
   1201   | --program-transfo=* | --program-transf=* \
   1202   | --program-trans=* | --program-tran=* \
   1203   | --progr-tra=* | --program-tr=* | --program-t=*)
   1204     program_transform_name=$ac_optarg ;;
   1205 
   1206   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1207     ac_prev=pdfdir ;;
   1208   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1209     pdfdir=$ac_optarg ;;
   1210 
   1211   -psdir | --psdir | --psdi | --psd | --ps)
   1212     ac_prev=psdir ;;
   1213   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1214     psdir=$ac_optarg ;;
   1215 
   1216   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1217   | -silent | --silent | --silen | --sile | --sil)
   1218     silent=yes ;;
   1219 
   1220   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1221     ac_prev=sbindir ;;
   1222   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1223   | --sbi=* | --sb=*)
   1224     sbindir=$ac_optarg ;;
   1225 
   1226   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1227   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1228   | --sharedst | --shareds | --shared | --share | --shar \
   1229   | --sha | --sh)
   1230     ac_prev=sharedstatedir ;;
   1231   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1232   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1233   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1234   | --sha=* | --sh=*)
   1235     sharedstatedir=$ac_optarg ;;
   1236 
   1237   -site | --site | --sit)
   1238     ac_prev=site ;;
   1239   -site=* | --site=* | --sit=*)
   1240     site=$ac_optarg ;;
   1241 
   1242   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1243     ac_prev=srcdir ;;
   1244   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1245     srcdir=$ac_optarg ;;
   1246 
   1247   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1248   | --syscon | --sysco | --sysc | --sys | --sy)
   1249     ac_prev=sysconfdir ;;
   1250   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1251   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1252     sysconfdir=$ac_optarg ;;
   1253 
   1254   -target | --target | --targe | --targ | --tar | --ta | --t)
   1255     ac_prev=target_alias ;;
   1256   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1257     target_alias=$ac_optarg ;;
   1258 
   1259   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1260     verbose=yes ;;
   1261 
   1262   -version | --version | --versio | --versi | --vers | -V)
   1263     ac_init_version=: ;;
   1264 
   1265   -with-* | --with-*)
   1266     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1267     # Reject names that are not valid shell variable names.
   1268     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1269       as_fn_error $? "invalid package name: $ac_useropt"
   1270     ac_useropt_orig=$ac_useropt
   1271     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1272     case $ac_user_opts in
   1273       *"
   1274 "with_$ac_useropt"
   1275 "*) ;;
   1276       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1277 	 ac_unrecognized_sep=', ';;
   1278     esac
   1279     eval with_$ac_useropt=\$ac_optarg ;;
   1280 
   1281   -without-* | --without-*)
   1282     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1283     # Reject names that are not valid shell variable names.
   1284     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1285       as_fn_error $? "invalid package name: $ac_useropt"
   1286     ac_useropt_orig=$ac_useropt
   1287     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1288     case $ac_user_opts in
   1289       *"
   1290 "with_$ac_useropt"
   1291 "*) ;;
   1292       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1293 	 ac_unrecognized_sep=', ';;
   1294     esac
   1295     eval with_$ac_useropt=no ;;
   1296 
   1297   --x)
   1298     # Obsolete; use --with-x.
   1299     with_x=yes ;;
   1300 
   1301   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1302   | --x-incl | --x-inc | --x-in | --x-i)
   1303     ac_prev=x_includes ;;
   1304   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1305   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1306     x_includes=$ac_optarg ;;
   1307 
   1308   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1309   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1310     ac_prev=x_libraries ;;
   1311   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1312   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1313     x_libraries=$ac_optarg ;;
   1314 
   1315   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1316 Try \`$0 --help' for more information"
   1317     ;;
   1318 
   1319   *=*)
   1320     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1321     # Reject names that are not valid shell variable names.
   1322     case $ac_envvar in #(
   1323       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1324       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1325     esac
   1326     eval $ac_envvar=\$ac_optarg
   1327     export $ac_envvar ;;
   1328 
   1329   *)
   1330     # FIXME: should be removed in autoconf 3.0.
   1331     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1332     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1333       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1334     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1335     ;;
   1336 
   1337   esac
   1338 done
   1339 
   1340 if test -n "$ac_prev"; then
   1341   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1342   as_fn_error $? "missing argument to $ac_option"
   1343 fi
   1344 
   1345 if test -n "$ac_unrecognized_opts"; then
   1346   case $enable_option_checking in
   1347     no) ;;
   1348     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1349     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1350   esac
   1351 fi
   1352 
   1353 # Check all directory arguments for consistency.
   1354 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1355 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1356 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1357 		libdir localedir mandir
   1358 do
   1359   eval ac_val=\$$ac_var
   1360   # Remove trailing slashes.
   1361   case $ac_val in
   1362     */ )
   1363       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1364       eval $ac_var=\$ac_val;;
   1365   esac
   1366   # Be sure to have absolute directory names.
   1367   case $ac_val in
   1368     [\\/$]* | ?:[\\/]* )  continue;;
   1369     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1370   esac
   1371   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1372 done
   1373 
   1374 # There might be people who depend on the old broken behavior: `$host'
   1375 # used to hold the argument of --host etc.
   1376 # FIXME: To remove some day.
   1377 build=$build_alias
   1378 host=$host_alias
   1379 target=$target_alias
   1380 
   1381 # FIXME: To remove some day.
   1382 if test "x$host_alias" != x; then
   1383   if test "x$build_alias" = x; then
   1384     cross_compiling=maybe
   1385   elif test "x$build_alias" != "x$host_alias"; then
   1386     cross_compiling=yes
   1387   fi
   1388 fi
   1389 
   1390 ac_tool_prefix=
   1391 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1392 
   1393 test "$silent" = yes && exec 6>/dev/null
   1394 
   1395 
   1396 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1397 ac_ls_di=`ls -di .` &&
   1398 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1399   as_fn_error $? "working directory cannot be determined"
   1400 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1401   as_fn_error $? "pwd does not report name of working directory"
   1402 
   1403 
   1404 # Find the source files, if location was not specified.
   1405 if test -z "$srcdir"; then
   1406   ac_srcdir_defaulted=yes
   1407   # Try the directory containing this script, then the parent directory.
   1408   ac_confdir=`$as_dirname -- "$as_myself" ||
   1409 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1410 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1411 	 X"$as_myself" : 'X\(//\)$' \| \
   1412 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1413 $as_echo X"$as_myself" |
   1414     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1415 	    s//\1/
   1416 	    q
   1417 	  }
   1418 	  /^X\(\/\/\)[^/].*/{
   1419 	    s//\1/
   1420 	    q
   1421 	  }
   1422 	  /^X\(\/\/\)$/{
   1423 	    s//\1/
   1424 	    q
   1425 	  }
   1426 	  /^X\(\/\).*/{
   1427 	    s//\1/
   1428 	    q
   1429 	  }
   1430 	  s/.*/./; q'`
   1431   srcdir=$ac_confdir
   1432   if test ! -r "$srcdir/$ac_unique_file"; then
   1433     srcdir=..
   1434   fi
   1435 else
   1436   ac_srcdir_defaulted=no
   1437 fi
   1438 if test ! -r "$srcdir/$ac_unique_file"; then
   1439   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1440   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1441 fi
   1442 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1443 ac_abs_confdir=`(
   1444 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1445 	pwd)`
   1446 # When building in place, set srcdir=.
   1447 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1448   srcdir=.
   1449 fi
   1450 # Remove unnecessary trailing slashes from srcdir.
   1451 # Double slashes in file names in object file debugging info
   1452 # mess up M-x gdb in Emacs.
   1453 case $srcdir in
   1454 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1455 esac
   1456 for ac_var in $ac_precious_vars; do
   1457   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1458   eval ac_env_${ac_var}_value=\$${ac_var}
   1459   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1460   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1461 done
   1462 
   1463 #
   1464 # Report the --help message.
   1465 #
   1466 if test "$ac_init_help" = "long"; then
   1467   # Omit some internal or obsolete options to make the list less imposing.
   1468   # This message is too long to be a string in the A/UX 3.1 sh.
   1469   cat <<_ACEOF
   1470 \`configure' configures libXfont 1.5.2 to adapt to many kinds of systems.
   1471 
   1472 Usage: $0 [OPTION]... [VAR=VALUE]...
   1473 
   1474 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1475 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1476 
   1477 Defaults for the options are specified in brackets.
   1478 
   1479 Configuration:
   1480   -h, --help              display this help and exit
   1481       --help=short        display options specific to this package
   1482       --help=recursive    display the short help of all the included packages
   1483   -V, --version           display version information and exit
   1484   -q, --quiet, --silent   do not print \`checking ...' messages
   1485       --cache-file=FILE   cache test results in FILE [disabled]
   1486   -C, --config-cache      alias for \`--cache-file=config.cache'
   1487   -n, --no-create         do not create output files
   1488       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1489 
   1490 Installation directories:
   1491   --prefix=PREFIX         install architecture-independent files in PREFIX
   1492                           [$ac_default_prefix]
   1493   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1494                           [PREFIX]
   1495 
   1496 By default, \`make install' will install all the files in
   1497 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1498 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1499 for instance \`--prefix=\$HOME'.
   1500 
   1501 For better control, use the options below.
   1502 
   1503 Fine tuning of the installation directories:
   1504   --bindir=DIR            user executables [EPREFIX/bin]
   1505   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1506   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1507   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1508   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1509   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1510   --libdir=DIR            object code libraries [EPREFIX/lib]
   1511   --includedir=DIR        C header files [PREFIX/include]
   1512   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1513   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1514   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1515   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1516   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1517   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1518   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXfont]
   1519   --htmldir=DIR           html documentation [DOCDIR]
   1520   --dvidir=DIR            dvi documentation [DOCDIR]
   1521   --pdfdir=DIR            pdf documentation [DOCDIR]
   1522   --psdir=DIR             ps documentation [DOCDIR]
   1523 _ACEOF
   1524 
   1525   cat <<\_ACEOF
   1526 
   1527 Program names:
   1528   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1529   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1530   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1531 
   1532 System types:
   1533   --build=BUILD     configure for building on BUILD [guessed]
   1534   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1535 _ACEOF
   1536 fi
   1537 
   1538 if test -n "$ac_init_help"; then
   1539   case $ac_init_help in
   1540      short | recursive ) echo "Configuration of libXfont 1.5.2:";;
   1541    esac
   1542   cat <<\_ACEOF
   1543 
   1544 Optional Features:
   1545   --disable-option-checking  ignore unrecognized --enable/--with options
   1546   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1547   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1548   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1549   --disable-silent-rules  verbose build output (undo: "make V=0")
   1550   --enable-dependency-tracking
   1551                           do not reject slow dependency extractors
   1552   --disable-dependency-tracking
   1553                           speeds up one-time build
   1554   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1555   --enable-static[=PKGS]  build static libraries [default=yes]
   1556   --enable-fast-install[=PKGS]
   1557                           optimize for fast installation [default=yes]
   1558   --disable-libtool-lock  avoid locking (might break parallel builds)
   1559   --disable-selective-werror
   1560                           Turn off selective compiler errors. (default:
   1561                           enabled)
   1562   --enable-strict-compilation
   1563                           Enable all warnings from compiler and make them
   1564                           errors (default: disabled)
   1565   --enable-devel-docs     Enable building the developer documentation
   1566                           (default: yes)
   1567   --disable-freetype      Build freetype backend (default: enabled)
   1568   --disable-builtins      Support builtin fonts (default: enabled)
   1569   --disable-pcfformat     Support PCF format bitmap fonts (default: enabled)
   1570   --disable-bdfformat     Support BDF format bitmap fonts (default: enabled)
   1571   --enable-snfformat      Support SNF format bitmap fonts (default: disabled)
   1572   --disable-fc            Support connections to xfs servers (default:
   1573                           enabled)
   1574   --enable-unix-transport Enable UNIX domain socket transport
   1575   --enable-tcp-transport  Enable TCP socket transport
   1576   --enable-ipv6           Enable IPv6 support
   1577   --enable-local-transport
   1578                           Enable os-specific local transport
   1579 
   1580 Optional Packages:
   1581   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1582   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1583   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1584                           both]
   1585   --with-aix-soname=aix|svr4|both
   1586                           shared library versioning (aka "SONAME") variant to
   1587                           provide on AIX, [default=aix].
   1588   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1589   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1590                           compiler's sysroot if not specified).
   1591   --with-xmlto            Use xmlto to regenerate documentation (default:
   1592                           auto)
   1593   --with-fop              Use fop to regenerate documentation (default: auto)
   1594   --with-freetype-config=PROG
   1595                           Use FreeType configuration program PROG
   1596   --with-bzip2            Use libbz2 to support bzip2 compressed bitmap fonts
   1597                           (default: no)
   1598 
   1599 Some influential environment variables:
   1600   CC          C compiler command
   1601   CFLAGS      C compiler flags
   1602   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1603               nonstandard directory <lib dir>
   1604   LIBS        libraries to pass to the linker, e.g. -l<library>
   1605   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1606               you have headers in a nonstandard directory <include dir>
   1607   CPP         C preprocessor
   1608   LT_SYS_LIBRARY_PATH
   1609               User-defined run-time library search path.
   1610   PKG_CONFIG  path to pkg-config utility
   1611   PKG_CONFIG_PATH
   1612               directories to add to pkg-config's search path
   1613   PKG_CONFIG_LIBDIR
   1614               path overriding pkg-config's built-in search path
   1615   XMLTO       Path to xmlto command
   1616   FOP         Path to fop command
   1617   FREETYPE_CFLAGS
   1618               C compiler flags for FREETYPE, overriding pkg-config
   1619   FREETYPE_LIBS
   1620               linker flags for FREETYPE, overriding pkg-config
   1621   XFONT_CFLAGS
   1622               C compiler flags for XFONT, overriding pkg-config
   1623   XFONT_LIBS  linker flags for XFONT, overriding pkg-config
   1624 
   1625 Use these variables to override the choices made by `configure' or to help
   1626 it to find libraries and programs with nonstandard names/locations.
   1627 
   1628 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1629 _ACEOF
   1630 ac_status=$?
   1631 fi
   1632 
   1633 if test "$ac_init_help" = "recursive"; then
   1634   # If there are subdirs, report their specific --help.
   1635   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1636     test -d "$ac_dir" ||
   1637       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1638       continue
   1639     ac_builddir=.
   1640 
   1641 case "$ac_dir" in
   1642 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1643 *)
   1644   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1645   # A ".." for each directory in $ac_dir_suffix.
   1646   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1647   case $ac_top_builddir_sub in
   1648   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1649   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1650   esac ;;
   1651 esac
   1652 ac_abs_top_builddir=$ac_pwd
   1653 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1654 # for backward compatibility:
   1655 ac_top_builddir=$ac_top_build_prefix
   1656 
   1657 case $srcdir in
   1658   .)  # We are building in place.
   1659     ac_srcdir=.
   1660     ac_top_srcdir=$ac_top_builddir_sub
   1661     ac_abs_top_srcdir=$ac_pwd ;;
   1662   [\\/]* | ?:[\\/]* )  # Absolute name.
   1663     ac_srcdir=$srcdir$ac_dir_suffix;
   1664     ac_top_srcdir=$srcdir
   1665     ac_abs_top_srcdir=$srcdir ;;
   1666   *) # Relative name.
   1667     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1668     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1669     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1670 esac
   1671 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1672 
   1673     cd "$ac_dir" || { ac_status=$?; continue; }
   1674     # Check for guested configure.
   1675     if test -f "$ac_srcdir/configure.gnu"; then
   1676       echo &&
   1677       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1678     elif test -f "$ac_srcdir/configure"; then
   1679       echo &&
   1680       $SHELL "$ac_srcdir/configure" --help=recursive
   1681     else
   1682       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1683     fi || ac_status=$?
   1684     cd "$ac_pwd" || { ac_status=$?; break; }
   1685   done
   1686 fi
   1687 
   1688 test -n "$ac_init_help" && exit $ac_status
   1689 if $ac_init_version; then
   1690   cat <<\_ACEOF
   1691 libXfont configure 1.5.2
   1692 generated by GNU Autoconf 2.69
   1693 
   1694 Copyright (C) 2012 Free Software Foundation, Inc.
   1695 This configure script is free software; the Free Software Foundation
   1696 gives unlimited permission to copy, distribute and modify it.
   1697 _ACEOF
   1698   exit
   1699 fi
   1700 
   1701 ## ------------------------ ##
   1702 ## Autoconf initialization. ##
   1703 ## ------------------------ ##
   1704 
   1705 # ac_fn_c_try_compile LINENO
   1706 # --------------------------
   1707 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1708 ac_fn_c_try_compile ()
   1709 {
   1710   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1711   rm -f conftest.$ac_objext
   1712   if { { ac_try="$ac_compile"
   1713 case "(($ac_try" in
   1714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1715   *) ac_try_echo=$ac_try;;
   1716 esac
   1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1718 $as_echo "$ac_try_echo"; } >&5
   1719   (eval "$ac_compile") 2>conftest.err
   1720   ac_status=$?
   1721   if test -s conftest.err; then
   1722     grep -v '^ *+' conftest.err >conftest.er1
   1723     cat conftest.er1 >&5
   1724     mv -f conftest.er1 conftest.err
   1725   fi
   1726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1727   test $ac_status = 0; } && {
   1728 	 test -z "$ac_c_werror_flag" ||
   1729 	 test ! -s conftest.err
   1730        } && test -s conftest.$ac_objext; then :
   1731   ac_retval=0
   1732 else
   1733   $as_echo "$as_me: failed program was:" >&5
   1734 sed 's/^/| /' conftest.$ac_ext >&5
   1735 
   1736 	ac_retval=1
   1737 fi
   1738   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1739   as_fn_set_status $ac_retval
   1740 
   1741 } # ac_fn_c_try_compile
   1742 
   1743 # ac_fn_c_try_cpp LINENO
   1744 # ----------------------
   1745 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1746 ac_fn_c_try_cpp ()
   1747 {
   1748   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1749   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1750 case "(($ac_try" in
   1751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1752   *) ac_try_echo=$ac_try;;
   1753 esac
   1754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1755 $as_echo "$ac_try_echo"; } >&5
   1756   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1757   ac_status=$?
   1758   if test -s conftest.err; then
   1759     grep -v '^ *+' conftest.err >conftest.er1
   1760     cat conftest.er1 >&5
   1761     mv -f conftest.er1 conftest.err
   1762   fi
   1763   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1764   test $ac_status = 0; } > conftest.i && {
   1765 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1766 	 test ! -s conftest.err
   1767        }; then :
   1768   ac_retval=0
   1769 else
   1770   $as_echo "$as_me: failed program was:" >&5
   1771 sed 's/^/| /' conftest.$ac_ext >&5
   1772 
   1773     ac_retval=1
   1774 fi
   1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1776   as_fn_set_status $ac_retval
   1777 
   1778 } # ac_fn_c_try_cpp
   1779 
   1780 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1781 # -------------------------------------------------------
   1782 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1783 # the include files in INCLUDES and setting the cache variable VAR
   1784 # accordingly.
   1785 ac_fn_c_check_header_mongrel ()
   1786 {
   1787   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1788   if eval \${$3+:} false; then :
   1789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1790 $as_echo_n "checking for $2... " >&6; }
   1791 if eval \${$3+:} false; then :
   1792   $as_echo_n "(cached) " >&6
   1793 fi
   1794 eval ac_res=\$$3
   1795 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1796 $as_echo "$ac_res" >&6; }
   1797 else
   1798   # Is the header compilable?
   1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1800 $as_echo_n "checking $2 usability... " >&6; }
   1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1802 /* end confdefs.h.  */
   1803 $4
   1804 #include <$2>
   1805 _ACEOF
   1806 if ac_fn_c_try_compile "$LINENO"; then :
   1807   ac_header_compiler=yes
   1808 else
   1809   ac_header_compiler=no
   1810 fi
   1811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1813 $as_echo "$ac_header_compiler" >&6; }
   1814 
   1815 # Is the header present?
   1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1817 $as_echo_n "checking $2 presence... " >&6; }
   1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1819 /* end confdefs.h.  */
   1820 #include <$2>
   1821 _ACEOF
   1822 if ac_fn_c_try_cpp "$LINENO"; then :
   1823   ac_header_preproc=yes
   1824 else
   1825   ac_header_preproc=no
   1826 fi
   1827 rm -f conftest.err conftest.i conftest.$ac_ext
   1828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1829 $as_echo "$ac_header_preproc" >&6; }
   1830 
   1831 # So?  What about this header?
   1832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1833   yes:no: )
   1834     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1835 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1836     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1837 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1838     ;;
   1839   no:yes:* )
   1840     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1841 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1842     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1843 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1844     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1845 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1846     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1847 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1848     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1849 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1850 ( $as_echo "## ---------------------------------------------------------------------- ##
   1851 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1852 ## ---------------------------------------------------------------------- ##"
   1853      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1854     ;;
   1855 esac
   1856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1857 $as_echo_n "checking for $2... " >&6; }
   1858 if eval \${$3+:} false; then :
   1859   $as_echo_n "(cached) " >&6
   1860 else
   1861   eval "$3=\$ac_header_compiler"
   1862 fi
   1863 eval ac_res=\$$3
   1864 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1865 $as_echo "$ac_res" >&6; }
   1866 fi
   1867   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1868 
   1869 } # ac_fn_c_check_header_mongrel
   1870 
   1871 # ac_fn_c_try_run LINENO
   1872 # ----------------------
   1873 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1874 # that executables *can* be run.
   1875 ac_fn_c_try_run ()
   1876 {
   1877   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1878   if { { ac_try="$ac_link"
   1879 case "(($ac_try" in
   1880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1881   *) ac_try_echo=$ac_try;;
   1882 esac
   1883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1884 $as_echo "$ac_try_echo"; } >&5
   1885   (eval "$ac_link") 2>&5
   1886   ac_status=$?
   1887   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1888   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1889   { { case "(($ac_try" in
   1890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1891   *) ac_try_echo=$ac_try;;
   1892 esac
   1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1894 $as_echo "$ac_try_echo"; } >&5
   1895   (eval "$ac_try") 2>&5
   1896   ac_status=$?
   1897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1898   test $ac_status = 0; }; }; then :
   1899   ac_retval=0
   1900 else
   1901   $as_echo "$as_me: program exited with status $ac_status" >&5
   1902        $as_echo "$as_me: failed program was:" >&5
   1903 sed 's/^/| /' conftest.$ac_ext >&5
   1904 
   1905        ac_retval=$ac_status
   1906 fi
   1907   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1908   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1909   as_fn_set_status $ac_retval
   1910 
   1911 } # ac_fn_c_try_run
   1912 
   1913 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1914 # -------------------------------------------------------
   1915 # Tests whether HEADER exists and can be compiled using the include files in
   1916 # INCLUDES, setting the cache variable VAR accordingly.
   1917 ac_fn_c_check_header_compile ()
   1918 {
   1919   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1921 $as_echo_n "checking for $2... " >&6; }
   1922 if eval \${$3+:} false; then :
   1923   $as_echo_n "(cached) " >&6
   1924 else
   1925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1926 /* end confdefs.h.  */
   1927 $4
   1928 #include <$2>
   1929 _ACEOF
   1930 if ac_fn_c_try_compile "$LINENO"; then :
   1931   eval "$3=yes"
   1932 else
   1933   eval "$3=no"
   1934 fi
   1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1936 fi
   1937 eval ac_res=\$$3
   1938 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1939 $as_echo "$ac_res" >&6; }
   1940   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1941 
   1942 } # ac_fn_c_check_header_compile
   1943 
   1944 # ac_fn_c_try_link LINENO
   1945 # -----------------------
   1946 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1947 ac_fn_c_try_link ()
   1948 {
   1949   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1950   rm -f conftest.$ac_objext conftest$ac_exeext
   1951   if { { ac_try="$ac_link"
   1952 case "(($ac_try" in
   1953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1954   *) ac_try_echo=$ac_try;;
   1955 esac
   1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1957 $as_echo "$ac_try_echo"; } >&5
   1958   (eval "$ac_link") 2>conftest.err
   1959   ac_status=$?
   1960   if test -s conftest.err; then
   1961     grep -v '^ *+' conftest.err >conftest.er1
   1962     cat conftest.er1 >&5
   1963     mv -f conftest.er1 conftest.err
   1964   fi
   1965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1966   test $ac_status = 0; } && {
   1967 	 test -z "$ac_c_werror_flag" ||
   1968 	 test ! -s conftest.err
   1969        } && test -s conftest$ac_exeext && {
   1970 	 test "$cross_compiling" = yes ||
   1971 	 test -x conftest$ac_exeext
   1972        }; then :
   1973   ac_retval=0
   1974 else
   1975   $as_echo "$as_me: failed program was:" >&5
   1976 sed 's/^/| /' conftest.$ac_ext >&5
   1977 
   1978 	ac_retval=1
   1979 fi
   1980   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1981   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1982   # interfere with the next link command; also delete a directory that is
   1983   # left behind by Apple's compiler.  We do this before executing the actions.
   1984   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1985   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1986   as_fn_set_status $ac_retval
   1987 
   1988 } # ac_fn_c_try_link
   1989 
   1990 # ac_fn_c_check_func LINENO FUNC VAR
   1991 # ----------------------------------
   1992 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1993 ac_fn_c_check_func ()
   1994 {
   1995   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1997 $as_echo_n "checking for $2... " >&6; }
   1998 if eval \${$3+:} false; then :
   1999   $as_echo_n "(cached) " >&6
   2000 else
   2001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2002 /* end confdefs.h.  */
   2003 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2004    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2005 #define $2 innocuous_$2
   2006 
   2007 /* System header to define __stub macros and hopefully few prototypes,
   2008     which can conflict with char $2 (); below.
   2009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2010     <limits.h> exists even on freestanding compilers.  */
   2011 
   2012 #ifdef __STDC__
   2013 # include <limits.h>
   2014 #else
   2015 # include <assert.h>
   2016 #endif
   2017 
   2018 #undef $2
   2019 
   2020 /* Override any GCC internal prototype to avoid an error.
   2021    Use char because int might match the return type of a GCC
   2022    builtin and then its argument prototype would still apply.  */
   2023 #ifdef __cplusplus
   2024 extern "C"
   2025 #endif
   2026 char $2 ();
   2027 /* The GNU C library defines this for functions which it implements
   2028     to always fail with ENOSYS.  Some functions are actually named
   2029     something starting with __ and the normal name is an alias.  */
   2030 #if defined __stub_$2 || defined __stub___$2
   2031 choke me
   2032 #endif
   2033 
   2034 int
   2035 main ()
   2036 {
   2037 return $2 ();
   2038   ;
   2039   return 0;
   2040 }
   2041 _ACEOF
   2042 if ac_fn_c_try_link "$LINENO"; then :
   2043   eval "$3=yes"
   2044 else
   2045   eval "$3=no"
   2046 fi
   2047 rm -f core conftest.err conftest.$ac_objext \
   2048     conftest$ac_exeext conftest.$ac_ext
   2049 fi
   2050 eval ac_res=\$$3
   2051 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2052 $as_echo "$ac_res" >&6; }
   2053   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2054 
   2055 } # ac_fn_c_check_func
   2056 
   2057 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2058 # ---------------------------------------------
   2059 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2060 # accordingly.
   2061 ac_fn_c_check_decl ()
   2062 {
   2063   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2064   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2065   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2067 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2068 if eval \${$3+:} false; then :
   2069   $as_echo_n "(cached) " >&6
   2070 else
   2071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2072 /* end confdefs.h.  */
   2073 $4
   2074 int
   2075 main ()
   2076 {
   2077 #ifndef $as_decl_name
   2078 #ifdef __cplusplus
   2079   (void) $as_decl_use;
   2080 #else
   2081   (void) $as_decl_name;
   2082 #endif
   2083 #endif
   2084 
   2085   ;
   2086   return 0;
   2087 }
   2088 _ACEOF
   2089 if ac_fn_c_try_compile "$LINENO"; then :
   2090   eval "$3=yes"
   2091 else
   2092   eval "$3=no"
   2093 fi
   2094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2095 fi
   2096 eval ac_res=\$$3
   2097 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2098 $as_echo "$ac_res" >&6; }
   2099   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2100 
   2101 } # ac_fn_c_check_decl
   2102 
   2103 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2104 # ----------------------------------------------------
   2105 # Tries to find if the field MEMBER exists in type AGGR, after including
   2106 # INCLUDES, setting cache variable VAR accordingly.
   2107 ac_fn_c_check_member ()
   2108 {
   2109   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2111 $as_echo_n "checking for $2.$3... " >&6; }
   2112 if eval \${$4+:} false; then :
   2113   $as_echo_n "(cached) " >&6
   2114 else
   2115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2116 /* end confdefs.h.  */
   2117 $5
   2118 int
   2119 main ()
   2120 {
   2121 static $2 ac_aggr;
   2122 if (ac_aggr.$3)
   2123 return 0;
   2124   ;
   2125   return 0;
   2126 }
   2127 _ACEOF
   2128 if ac_fn_c_try_compile "$LINENO"; then :
   2129   eval "$4=yes"
   2130 else
   2131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2132 /* end confdefs.h.  */
   2133 $5
   2134 int
   2135 main ()
   2136 {
   2137 static $2 ac_aggr;
   2138 if (sizeof ac_aggr.$3)
   2139 return 0;
   2140   ;
   2141   return 0;
   2142 }
   2143 _ACEOF
   2144 if ac_fn_c_try_compile "$LINENO"; then :
   2145   eval "$4=yes"
   2146 else
   2147   eval "$4=no"
   2148 fi
   2149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2150 fi
   2151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2152 fi
   2153 eval ac_res=\$$4
   2154 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2155 $as_echo "$ac_res" >&6; }
   2156   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2157 
   2158 } # ac_fn_c_check_member
   2159 
   2160 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2161 # -------------------------------------------
   2162 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2163 # variable VAR accordingly.
   2164 ac_fn_c_check_type ()
   2165 {
   2166   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2168 $as_echo_n "checking for $2... " >&6; }
   2169 if eval \${$3+:} false; then :
   2170   $as_echo_n "(cached) " >&6
   2171 else
   2172   eval "$3=no"
   2173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2174 /* end confdefs.h.  */
   2175 $4
   2176 int
   2177 main ()
   2178 {
   2179 if (sizeof ($2))
   2180 	 return 0;
   2181   ;
   2182   return 0;
   2183 }
   2184 _ACEOF
   2185 if ac_fn_c_try_compile "$LINENO"; then :
   2186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2187 /* end confdefs.h.  */
   2188 $4
   2189 int
   2190 main ()
   2191 {
   2192 if (sizeof (($2)))
   2193 	    return 0;
   2194   ;
   2195   return 0;
   2196 }
   2197 _ACEOF
   2198 if ac_fn_c_try_compile "$LINENO"; then :
   2199 
   2200 else
   2201   eval "$3=yes"
   2202 fi
   2203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2204 fi
   2205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2206 fi
   2207 eval ac_res=\$$3
   2208 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2209 $as_echo "$ac_res" >&6; }
   2210   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2211 
   2212 } # ac_fn_c_check_type
   2213 cat >config.log <<_ACEOF
   2214 This file contains any messages produced by compilers while
   2215 running configure, to aid debugging if configure makes a mistake.
   2216 
   2217 It was created by libXfont $as_me 1.5.2, which was
   2218 generated by GNU Autoconf 2.69.  Invocation command line was
   2219 
   2220   $ $0 $@
   2221 
   2222 _ACEOF
   2223 exec 5>>config.log
   2224 {
   2225 cat <<_ASUNAME
   2226 ## --------- ##
   2227 ## Platform. ##
   2228 ## --------- ##
   2229 
   2230 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2231 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2232 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2233 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2234 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2235 
   2236 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2237 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2238 
   2239 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2240 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2241 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2242 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2243 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2244 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2245 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2246 
   2247 _ASUNAME
   2248 
   2249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2250 for as_dir in $PATH
   2251 do
   2252   IFS=$as_save_IFS
   2253   test -z "$as_dir" && as_dir=.
   2254     $as_echo "PATH: $as_dir"
   2255   done
   2256 IFS=$as_save_IFS
   2257 
   2258 } >&5
   2259 
   2260 cat >&5 <<_ACEOF
   2261 
   2262 
   2263 ## ----------- ##
   2264 ## Core tests. ##
   2265 ## ----------- ##
   2266 
   2267 _ACEOF
   2268 
   2269 
   2270 # Keep a trace of the command line.
   2271 # Strip out --no-create and --no-recursion so they do not pile up.
   2272 # Strip out --silent because we don't want to record it for future runs.
   2273 # Also quote any args containing shell meta-characters.
   2274 # Make two passes to allow for proper duplicate-argument suppression.
   2275 ac_configure_args=
   2276 ac_configure_args0=
   2277 ac_configure_args1=
   2278 ac_must_keep_next=false
   2279 for ac_pass in 1 2
   2280 do
   2281   for ac_arg
   2282   do
   2283     case $ac_arg in
   2284     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2285     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2286     | -silent | --silent | --silen | --sile | --sil)
   2287       continue ;;
   2288     *\'*)
   2289       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2290     esac
   2291     case $ac_pass in
   2292     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2293     2)
   2294       as_fn_append ac_configure_args1 " '$ac_arg'"
   2295       if test $ac_must_keep_next = true; then
   2296 	ac_must_keep_next=false # Got value, back to normal.
   2297       else
   2298 	case $ac_arg in
   2299 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2300 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2301 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2302 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2303 	    case "$ac_configure_args0 " in
   2304 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2305 	    esac
   2306 	    ;;
   2307 	  -* ) ac_must_keep_next=true ;;
   2308 	esac
   2309       fi
   2310       as_fn_append ac_configure_args " '$ac_arg'"
   2311       ;;
   2312     esac
   2313   done
   2314 done
   2315 { ac_configure_args0=; unset ac_configure_args0;}
   2316 { ac_configure_args1=; unset ac_configure_args1;}
   2317 
   2318 # When interrupted or exit'd, cleanup temporary files, and complete
   2319 # config.log.  We remove comments because anyway the quotes in there
   2320 # would cause problems or look ugly.
   2321 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2322 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2323 trap 'exit_status=$?
   2324   # Save into config.log some information that might help in debugging.
   2325   {
   2326     echo
   2327 
   2328     $as_echo "## ---------------- ##
   2329 ## Cache variables. ##
   2330 ## ---------------- ##"
   2331     echo
   2332     # The following way of writing the cache mishandles newlines in values,
   2333 (
   2334   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2335     eval ac_val=\$$ac_var
   2336     case $ac_val in #(
   2337     *${as_nl}*)
   2338       case $ac_var in #(
   2339       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2340 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2341       esac
   2342       case $ac_var in #(
   2343       _ | IFS | as_nl) ;; #(
   2344       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2345       *) { eval $ac_var=; unset $ac_var;} ;;
   2346       esac ;;
   2347     esac
   2348   done
   2349   (set) 2>&1 |
   2350     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2351     *${as_nl}ac_space=\ *)
   2352       sed -n \
   2353 	"s/'\''/'\''\\\\'\'''\''/g;
   2354 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2355       ;; #(
   2356     *)
   2357       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2358       ;;
   2359     esac |
   2360     sort
   2361 )
   2362     echo
   2363 
   2364     $as_echo "## ----------------- ##
   2365 ## Output variables. ##
   2366 ## ----------------- ##"
   2367     echo
   2368     for ac_var in $ac_subst_vars
   2369     do
   2370       eval ac_val=\$$ac_var
   2371       case $ac_val in
   2372       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2373       esac
   2374       $as_echo "$ac_var='\''$ac_val'\''"
   2375     done | sort
   2376     echo
   2377 
   2378     if test -n "$ac_subst_files"; then
   2379       $as_echo "## ------------------- ##
   2380 ## File substitutions. ##
   2381 ## ------------------- ##"
   2382       echo
   2383       for ac_var in $ac_subst_files
   2384       do
   2385 	eval ac_val=\$$ac_var
   2386 	case $ac_val in
   2387 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2388 	esac
   2389 	$as_echo "$ac_var='\''$ac_val'\''"
   2390       done | sort
   2391       echo
   2392     fi
   2393 
   2394     if test -s confdefs.h; then
   2395       $as_echo "## ----------- ##
   2396 ## confdefs.h. ##
   2397 ## ----------- ##"
   2398       echo
   2399       cat confdefs.h
   2400       echo
   2401     fi
   2402     test "$ac_signal" != 0 &&
   2403       $as_echo "$as_me: caught signal $ac_signal"
   2404     $as_echo "$as_me: exit $exit_status"
   2405   } >&5
   2406   rm -f core *.core core.conftest.* &&
   2407     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2408     exit $exit_status
   2409 ' 0
   2410 for ac_signal in 1 2 13 15; do
   2411   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2412 done
   2413 ac_signal=0
   2414 
   2415 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2416 rm -f -r conftest* confdefs.h
   2417 
   2418 $as_echo "/* confdefs.h */" > confdefs.h
   2419 
   2420 # Predefined preprocessor variables.
   2421 
   2422 cat >>confdefs.h <<_ACEOF
   2423 #define PACKAGE_NAME "$PACKAGE_NAME"
   2424 _ACEOF
   2425 
   2426 cat >>confdefs.h <<_ACEOF
   2427 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2428 _ACEOF
   2429 
   2430 cat >>confdefs.h <<_ACEOF
   2431 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2432 _ACEOF
   2433 
   2434 cat >>confdefs.h <<_ACEOF
   2435 #define PACKAGE_STRING "$PACKAGE_STRING"
   2436 _ACEOF
   2437 
   2438 cat >>confdefs.h <<_ACEOF
   2439 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2440 _ACEOF
   2441 
   2442 cat >>confdefs.h <<_ACEOF
   2443 #define PACKAGE_URL "$PACKAGE_URL"
   2444 _ACEOF
   2445 
   2446 
   2447 # Let the site file select an alternate cache file if it wants to.
   2448 # Prefer an explicitly selected file to automatically selected ones.
   2449 ac_site_file1=NONE
   2450 ac_site_file2=NONE
   2451 if test -n "$CONFIG_SITE"; then
   2452   # We do not want a PATH search for config.site.
   2453   case $CONFIG_SITE in #((
   2454     -*)  ac_site_file1=./$CONFIG_SITE;;
   2455     */*) ac_site_file1=$CONFIG_SITE;;
   2456     *)   ac_site_file1=./$CONFIG_SITE;;
   2457   esac
   2458 elif test "x$prefix" != xNONE; then
   2459   ac_site_file1=$prefix/share/config.site
   2460   ac_site_file2=$prefix/etc/config.site
   2461 else
   2462   ac_site_file1=$ac_default_prefix/share/config.site
   2463   ac_site_file2=$ac_default_prefix/etc/config.site
   2464 fi
   2465 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2466 do
   2467   test "x$ac_site_file" = xNONE && continue
   2468   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2469     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2470 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2471     sed 's/^/| /' "$ac_site_file" >&5
   2472     . "$ac_site_file" \
   2473       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2475 as_fn_error $? "failed to load site script $ac_site_file
   2476 See \`config.log' for more details" "$LINENO" 5; }
   2477   fi
   2478 done
   2479 
   2480 if test -r "$cache_file"; then
   2481   # Some versions of bash will fail to source /dev/null (special files
   2482   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2483   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2484     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2485 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2486     case $cache_file in
   2487       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2488       *)                      . "./$cache_file";;
   2489     esac
   2490   fi
   2491 else
   2492   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2493 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2494   >$cache_file
   2495 fi
   2496 
   2497 # Check that the precious variables saved in the cache have kept the same
   2498 # value.
   2499 ac_cache_corrupted=false
   2500 for ac_var in $ac_precious_vars; do
   2501   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2502   eval ac_new_set=\$ac_env_${ac_var}_set
   2503   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2504   eval ac_new_val=\$ac_env_${ac_var}_value
   2505   case $ac_old_set,$ac_new_set in
   2506     set,)
   2507       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2508 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2509       ac_cache_corrupted=: ;;
   2510     ,set)
   2511       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2512 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2513       ac_cache_corrupted=: ;;
   2514     ,);;
   2515     *)
   2516       if test "x$ac_old_val" != "x$ac_new_val"; then
   2517 	# differences in whitespace do not lead to failure.
   2518 	ac_old_val_w=`echo x $ac_old_val`
   2519 	ac_new_val_w=`echo x $ac_new_val`
   2520 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2521 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2522 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2523 	  ac_cache_corrupted=:
   2524 	else
   2525 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2526 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2527 	  eval $ac_var=\$ac_old_val
   2528 	fi
   2529 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2530 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2531 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2532 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2533       fi;;
   2534   esac
   2535   # Pass precious variables to config.status.
   2536   if test "$ac_new_set" = set; then
   2537     case $ac_new_val in
   2538     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2539     *) ac_arg=$ac_var=$ac_new_val ;;
   2540     esac
   2541     case " $ac_configure_args " in
   2542       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2543       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2544     esac
   2545   fi
   2546 done
   2547 if $ac_cache_corrupted; then
   2548   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2550   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2551 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2552   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2553 fi
   2554 ## -------------------- ##
   2555 ## Main body of script. ##
   2556 ## -------------------- ##
   2557 
   2558 ac_ext=c
   2559 ac_cpp='$CPP $CPPFLAGS'
   2560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2563 
   2564 
   2565 
   2566 ac_config_headers="$ac_config_headers config.h include/X11/fonts/fontconf.h"
   2567 
   2568 
   2569 # Initialize Automake
   2570 am__api_version='1.15'
   2571 
   2572 ac_aux_dir=
   2573 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2574   if test -f "$ac_dir/install-sh"; then
   2575     ac_aux_dir=$ac_dir
   2576     ac_install_sh="$ac_aux_dir/install-sh -c"
   2577     break
   2578   elif test -f "$ac_dir/install.sh"; then
   2579     ac_aux_dir=$ac_dir
   2580     ac_install_sh="$ac_aux_dir/install.sh -c"
   2581     break
   2582   elif test -f "$ac_dir/shtool"; then
   2583     ac_aux_dir=$ac_dir
   2584     ac_install_sh="$ac_aux_dir/shtool install -c"
   2585     break
   2586   fi
   2587 done
   2588 if test -z "$ac_aux_dir"; then
   2589   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2590 fi
   2591 
   2592 # These three variables are undocumented and unsupported,
   2593 # and are intended to be withdrawn in a future Autoconf release.
   2594 # They can cause serious problems if a builder's source tree is in a directory
   2595 # whose full name contains unusual characters.
   2596 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2597 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2598 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2599 
   2600 
   2601 # Find a good install program.  We prefer a C program (faster),
   2602 # so one script is as good as another.  But avoid the broken or
   2603 # incompatible versions:
   2604 # SysV /etc/install, /usr/sbin/install
   2605 # SunOS /usr/etc/install
   2606 # IRIX /sbin/install
   2607 # AIX /bin/install
   2608 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2609 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2610 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2611 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2612 # OS/2's system install, which has a completely different semantic
   2613 # ./install, which can be erroneously created by make from ./install.sh.
   2614 # Reject install programs that cannot install multiple files.
   2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2616 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2617 if test -z "$INSTALL"; then
   2618 if ${ac_cv_path_install+:} false; then :
   2619   $as_echo_n "(cached) " >&6
   2620 else
   2621   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2622 for as_dir in $PATH
   2623 do
   2624   IFS=$as_save_IFS
   2625   test -z "$as_dir" && as_dir=.
   2626     # Account for people who put trailing slashes in PATH elements.
   2627 case $as_dir/ in #((
   2628   ./ | .// | /[cC]/* | \
   2629   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2630   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2631   /usr/ucb/* ) ;;
   2632   *)
   2633     # OSF1 and SCO ODT 3.0 have their own names for install.
   2634     # Don't use installbsd from OSF since it installs stuff as root
   2635     # by default.
   2636     for ac_prog in ginstall scoinst install; do
   2637       for ac_exec_ext in '' $ac_executable_extensions; do
   2638 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2639 	  if test $ac_prog = install &&
   2640 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2641 	    # AIX install.  It has an incompatible calling convention.
   2642 	    :
   2643 	  elif test $ac_prog = install &&
   2644 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2645 	    # program-specific install script used by HP pwplus--don't use.
   2646 	    :
   2647 	  else
   2648 	    rm -rf conftest.one conftest.two conftest.dir
   2649 	    echo one > conftest.one
   2650 	    echo two > conftest.two
   2651 	    mkdir conftest.dir
   2652 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2653 	      test -s conftest.one && test -s conftest.two &&
   2654 	      test -s conftest.dir/conftest.one &&
   2655 	      test -s conftest.dir/conftest.two
   2656 	    then
   2657 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2658 	      break 3
   2659 	    fi
   2660 	  fi
   2661 	fi
   2662       done
   2663     done
   2664     ;;
   2665 esac
   2666 
   2667   done
   2668 IFS=$as_save_IFS
   2669 
   2670 rm -rf conftest.one conftest.two conftest.dir
   2671 
   2672 fi
   2673   if test "${ac_cv_path_install+set}" = set; then
   2674     INSTALL=$ac_cv_path_install
   2675   else
   2676     # As a last resort, use the slow shell script.  Don't cache a
   2677     # value for INSTALL within a source directory, because that will
   2678     # break other packages using the cache if that directory is
   2679     # removed, or if the value is a relative name.
   2680     INSTALL=$ac_install_sh
   2681   fi
   2682 fi
   2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2684 $as_echo "$INSTALL" >&6; }
   2685 
   2686 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2687 # It thinks the first close brace ends the variable substitution.
   2688 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2689 
   2690 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2691 
   2692 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2693 
   2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2695 $as_echo_n "checking whether build environment is sane... " >&6; }
   2696 # Reject unsafe characters in $srcdir or the absolute working directory
   2697 # name.  Accept space and tab only in the latter.
   2698 am_lf='
   2699 '
   2700 case `pwd` in
   2701   *[\\\"\#\$\&\'\`$am_lf]*)
   2702     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2703 esac
   2704 case $srcdir in
   2705   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2706     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2707 esac
   2708 
   2709 # Do 'set' in a subshell so we don't clobber the current shell's
   2710 # arguments.  Must try -L first in case configure is actually a
   2711 # symlink; some systems play weird games with the mod time of symlinks
   2712 # (eg FreeBSD returns the mod time of the symlink's containing
   2713 # directory).
   2714 if (
   2715    am_has_slept=no
   2716    for am_try in 1 2; do
   2717      echo "timestamp, slept: $am_has_slept" > conftest.file
   2718      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2719      if test "$*" = "X"; then
   2720 	# -L didn't work.
   2721 	set X `ls -t "$srcdir/configure" conftest.file`
   2722      fi
   2723      if test "$*" != "X $srcdir/configure conftest.file" \
   2724 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2725 
   2726 	# If neither matched, then we have a broken ls.  This can happen
   2727 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2728 	# broken ls alias from the environment.  This has actually
   2729 	# happened.  Such a system could not be considered "sane".
   2730 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2731   alias in your environment" "$LINENO" 5
   2732      fi
   2733      if test "$2" = conftest.file || test $am_try -eq 2; then
   2734        break
   2735      fi
   2736      # Just in case.
   2737      sleep 1
   2738      am_has_slept=yes
   2739    done
   2740    test "$2" = conftest.file
   2741    )
   2742 then
   2743    # Ok.
   2744    :
   2745 else
   2746    as_fn_error $? "newly created file is older than distributed files!
   2747 Check your system clock" "$LINENO" 5
   2748 fi
   2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2750 $as_echo "yes" >&6; }
   2751 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2752 # generated files are strictly newer.
   2753 am_sleep_pid=
   2754 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2755   ( sleep 1 ) &
   2756   am_sleep_pid=$!
   2757 fi
   2758 
   2759 rm -f conftest.file
   2760 
   2761 test "$program_prefix" != NONE &&
   2762   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2763 # Use a double $ so make ignores it.
   2764 test "$program_suffix" != NONE &&
   2765   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2766 # Double any \ or $.
   2767 # By default was `s,x,x', remove it if useless.
   2768 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2769 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2770 
   2771 # Expand $ac_aux_dir to an absolute path.
   2772 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2773 
   2774 if test x"${MISSING+set}" != xset; then
   2775   case $am_aux_dir in
   2776   *\ * | *\	*)
   2777     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2778   *)
   2779     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2780   esac
   2781 fi
   2782 # Use eval to expand $SHELL
   2783 if eval "$MISSING --is-lightweight"; then
   2784   am_missing_run="$MISSING "
   2785 else
   2786   am_missing_run=
   2787   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2788 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2789 fi
   2790 
   2791 if test x"${install_sh+set}" != xset; then
   2792   case $am_aux_dir in
   2793   *\ * | *\	*)
   2794     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2795   *)
   2796     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2797   esac
   2798 fi
   2799 
   2800 # Installed binaries are usually stripped using 'strip' when the user
   2801 # run "make install-strip".  However 'strip' might not be the right
   2802 # tool to use in cross-compilation environments, therefore Automake
   2803 # will honor the 'STRIP' environment variable to overrule this program.
   2804 if test "$cross_compiling" != no; then
   2805   if test -n "$ac_tool_prefix"; then
   2806   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2807 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2809 $as_echo_n "checking for $ac_word... " >&6; }
   2810 if ${ac_cv_prog_STRIP+:} false; then :
   2811   $as_echo_n "(cached) " >&6
   2812 else
   2813   if test -n "$STRIP"; then
   2814   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2815 else
   2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2817 for as_dir in $PATH
   2818 do
   2819   IFS=$as_save_IFS
   2820   test -z "$as_dir" && as_dir=.
   2821     for ac_exec_ext in '' $ac_executable_extensions; do
   2822   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2823     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2825     break 2
   2826   fi
   2827 done
   2828   done
   2829 IFS=$as_save_IFS
   2830 
   2831 fi
   2832 fi
   2833 STRIP=$ac_cv_prog_STRIP
   2834 if test -n "$STRIP"; then
   2835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2836 $as_echo "$STRIP" >&6; }
   2837 else
   2838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2839 $as_echo "no" >&6; }
   2840 fi
   2841 
   2842 
   2843 fi
   2844 if test -z "$ac_cv_prog_STRIP"; then
   2845   ac_ct_STRIP=$STRIP
   2846   # Extract the first word of "strip", so it can be a program name with args.
   2847 set dummy strip; ac_word=$2
   2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2849 $as_echo_n "checking for $ac_word... " >&6; }
   2850 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2851   $as_echo_n "(cached) " >&6
   2852 else
   2853   if test -n "$ac_ct_STRIP"; then
   2854   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2855 else
   2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2857 for as_dir in $PATH
   2858 do
   2859   IFS=$as_save_IFS
   2860   test -z "$as_dir" && as_dir=.
   2861     for ac_exec_ext in '' $ac_executable_extensions; do
   2862   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2863     ac_cv_prog_ac_ct_STRIP="strip"
   2864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2865     break 2
   2866   fi
   2867 done
   2868   done
   2869 IFS=$as_save_IFS
   2870 
   2871 fi
   2872 fi
   2873 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2874 if test -n "$ac_ct_STRIP"; then
   2875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2876 $as_echo "$ac_ct_STRIP" >&6; }
   2877 else
   2878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2879 $as_echo "no" >&6; }
   2880 fi
   2881 
   2882   if test "x$ac_ct_STRIP" = x; then
   2883     STRIP=":"
   2884   else
   2885     case $cross_compiling:$ac_tool_warned in
   2886 yes:)
   2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2889 ac_tool_warned=yes ;;
   2890 esac
   2891     STRIP=$ac_ct_STRIP
   2892   fi
   2893 else
   2894   STRIP="$ac_cv_prog_STRIP"
   2895 fi
   2896 
   2897 fi
   2898 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2899 
   2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2901 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2902 if test -z "$MKDIR_P"; then
   2903   if ${ac_cv_path_mkdir+:} false; then :
   2904   $as_echo_n "(cached) " >&6
   2905 else
   2906   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2907 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2908 do
   2909   IFS=$as_save_IFS
   2910   test -z "$as_dir" && as_dir=.
   2911     for ac_prog in mkdir gmkdir; do
   2912 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2913 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2914 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2915 	     'mkdir (GNU coreutils) '* | \
   2916 	     'mkdir (coreutils) '* | \
   2917 	     'mkdir (fileutils) '4.1*)
   2918 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2919 	       break 3;;
   2920 	   esac
   2921 	 done
   2922        done
   2923   done
   2924 IFS=$as_save_IFS
   2925 
   2926 fi
   2927 
   2928   test -d ./--version && rmdir ./--version
   2929   if test "${ac_cv_path_mkdir+set}" = set; then
   2930     MKDIR_P="$ac_cv_path_mkdir -p"
   2931   else
   2932     # As a last resort, use the slow shell script.  Don't cache a
   2933     # value for MKDIR_P within a source directory, because that will
   2934     # break other packages using the cache if that directory is
   2935     # removed, or if the value is a relative name.
   2936     MKDIR_P="$ac_install_sh -d"
   2937   fi
   2938 fi
   2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2940 $as_echo "$MKDIR_P" >&6; }
   2941 
   2942 for ac_prog in gawk mawk nawk awk
   2943 do
   2944   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2945 set dummy $ac_prog; ac_word=$2
   2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2947 $as_echo_n "checking for $ac_word... " >&6; }
   2948 if ${ac_cv_prog_AWK+:} false; then :
   2949   $as_echo_n "(cached) " >&6
   2950 else
   2951   if test -n "$AWK"; then
   2952   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2953 else
   2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2955 for as_dir in $PATH
   2956 do
   2957   IFS=$as_save_IFS
   2958   test -z "$as_dir" && as_dir=.
   2959     for ac_exec_ext in '' $ac_executable_extensions; do
   2960   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2961     ac_cv_prog_AWK="$ac_prog"
   2962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2963     break 2
   2964   fi
   2965 done
   2966   done
   2967 IFS=$as_save_IFS
   2968 
   2969 fi
   2970 fi
   2971 AWK=$ac_cv_prog_AWK
   2972 if test -n "$AWK"; then
   2973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2974 $as_echo "$AWK" >&6; }
   2975 else
   2976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2977 $as_echo "no" >&6; }
   2978 fi
   2979 
   2980 
   2981   test -n "$AWK" && break
   2982 done
   2983 
   2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2985 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2986 set x ${MAKE-make}
   2987 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2988 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2989   $as_echo_n "(cached) " >&6
   2990 else
   2991   cat >conftest.make <<\_ACEOF
   2992 SHELL = /bin/sh
   2993 all:
   2994 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2995 _ACEOF
   2996 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2997 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2998   *@@@%%%=?*=@@@%%%*)
   2999     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3000   *)
   3001     eval ac_cv_prog_make_${ac_make}_set=no;;
   3002 esac
   3003 rm -f conftest.make
   3004 fi
   3005 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3007 $as_echo "yes" >&6; }
   3008   SET_MAKE=
   3009 else
   3010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3011 $as_echo "no" >&6; }
   3012   SET_MAKE="MAKE=${MAKE-make}"
   3013 fi
   3014 
   3015 rm -rf .tst 2>/dev/null
   3016 mkdir .tst 2>/dev/null
   3017 if test -d .tst; then
   3018   am__leading_dot=.
   3019 else
   3020   am__leading_dot=_
   3021 fi
   3022 rmdir .tst 2>/dev/null
   3023 
   3024 # Check whether --enable-silent-rules was given.
   3025 if test "${enable_silent_rules+set}" = set; then :
   3026   enableval=$enable_silent_rules;
   3027 fi
   3028 
   3029 case $enable_silent_rules in # (((
   3030   yes) AM_DEFAULT_VERBOSITY=0;;
   3031    no) AM_DEFAULT_VERBOSITY=1;;
   3032     *) AM_DEFAULT_VERBOSITY=1;;
   3033 esac
   3034 am_make=${MAKE-make}
   3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3036 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3037 if ${am_cv_make_support_nested_variables+:} false; then :
   3038   $as_echo_n "(cached) " >&6
   3039 else
   3040   if $as_echo 'TRUE=$(BAR$(V))
   3041 BAR0=false
   3042 BAR1=true
   3043 V=1
   3044 am__doit:
   3045 	@$(TRUE)
   3046 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3047   am_cv_make_support_nested_variables=yes
   3048 else
   3049   am_cv_make_support_nested_variables=no
   3050 fi
   3051 fi
   3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3053 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3054 if test $am_cv_make_support_nested_variables = yes; then
   3055     AM_V='$(V)'
   3056   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3057 else
   3058   AM_V=$AM_DEFAULT_VERBOSITY
   3059   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3060 fi
   3061 AM_BACKSLASH='\'
   3062 
   3063 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3064   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3065   # is not polluted with repeated "-I."
   3066   am__isrc=' -I$(srcdir)'
   3067   # test to see if srcdir already configured
   3068   if test -f $srcdir/config.status; then
   3069     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3070   fi
   3071 fi
   3072 
   3073 # test whether we have cygpath
   3074 if test -z "$CYGPATH_W"; then
   3075   if (cygpath --version) >/dev/null 2>/dev/null; then
   3076     CYGPATH_W='cygpath -w'
   3077   else
   3078     CYGPATH_W=echo
   3079   fi
   3080 fi
   3081 
   3082 
   3083 # Define the identity of the package.
   3084  PACKAGE='libXfont'
   3085  VERSION='1.5.2'
   3086 
   3087 
   3088 cat >>confdefs.h <<_ACEOF
   3089 #define PACKAGE "$PACKAGE"
   3090 _ACEOF
   3091 
   3092 
   3093 cat >>confdefs.h <<_ACEOF
   3094 #define VERSION "$VERSION"
   3095 _ACEOF
   3096 
   3097 # Some tools Automake needs.
   3098 
   3099 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3100 
   3101 
   3102 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3103 
   3104 
   3105 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3106 
   3107 
   3108 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3109 
   3110 
   3111 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3112 
   3113 # For better backward compatibility.  To be removed once Automake 1.9.x
   3114 # dies out for good.  For more background, see:
   3115 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3116 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3117 mkdir_p='$(MKDIR_P)'
   3118 
   3119 # We need awk for the "check" target (and possibly the TAP driver).  The
   3120 # system "awk" is bad on some platforms.
   3121 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3122 # in the wild :-(  We should find a proper way to deprecate it ...
   3123 AMTAR='$${TAR-tar}'
   3124 
   3125 
   3126 # We'll loop over all known methods to create a tar archive until one works.
   3127 _am_tools='gnutar  pax cpio none'
   3128 
   3129 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3130 
   3131 
   3132 
   3133 
   3134 
   3135 
   3136 # POSIX will say in a future version that running "rm -f" with no argument
   3137 # is OK; and we want to be able to make that assumption in our Makefile
   3138 # recipes.  So use an aggressive probe to check that the usage we want is
   3139 # actually supported "in the wild" to an acceptable degree.
   3140 # See automake bug#10828.
   3141 # To make any issue more visible, cause the running configure to be aborted
   3142 # by default if the 'rm' program in use doesn't match our expectations; the
   3143 # user can still override this though.
   3144 if rm -f && rm -fr && rm -rf; then : OK; else
   3145   cat >&2 <<'END'
   3146 Oops!
   3147 
   3148 Your 'rm' program seems unable to run without file operands specified
   3149 on the command line, even when the '-f' option is present.  This is contrary
   3150 to the behaviour of most rm programs out there, and not conforming with
   3151 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3152 
   3153 Please tell bug-automake@gnu.org about your system, including the value
   3154 of your $PATH and any error possibly output before this message.  This
   3155 can help us improve future automake versions.
   3156 
   3157 END
   3158   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3159     echo 'Configuration will proceed anyway, since you have set the' >&2
   3160     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3161     echo >&2
   3162   else
   3163     cat >&2 <<'END'
   3164 Aborting the configuration process, to ensure you take notice of the issue.
   3165 
   3166 You can download and install GNU coreutils to get an 'rm' implementation
   3167 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3168 
   3169 If you want to complete the configuration process using your problematic
   3170 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3171 to "yes", and re-run configure.
   3172 
   3173 END
   3174     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3175   fi
   3176 fi
   3177 
   3178 
   3179 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3180 # Must be called before any macros that run the compiler (like
   3181 # AC_PROG_LIBTOOL) to avoid autoconf errors.
   3182 DEPDIR="${am__leading_dot}deps"
   3183 
   3184 ac_config_commands="$ac_config_commands depfiles"
   3185 
   3186 
   3187 am_make=${MAKE-make}
   3188 cat > confinc << 'END'
   3189 am__doit:
   3190 	@echo this is the am__doit target
   3191 .PHONY: am__doit
   3192 END
   3193 # If we don't find an include directive, just comment out the code.
   3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3195 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3196 am__include="#"
   3197 am__quote=
   3198 _am_result=none
   3199 # First try GNU make style include.
   3200 echo "include confinc" > confmf
   3201 # Ignore all kinds of additional output from 'make'.
   3202 case `$am_make -s -f confmf 2> /dev/null` in #(
   3203 *the\ am__doit\ target*)
   3204   am__include=include
   3205   am__quote=
   3206   _am_result=GNU
   3207   ;;
   3208 esac
   3209 # Now try BSD make style include.
   3210 if test "$am__include" = "#"; then
   3211    echo '.include "confinc"' > confmf
   3212    case `$am_make -s -f confmf 2> /dev/null` in #(
   3213    *the\ am__doit\ target*)
   3214      am__include=.include
   3215      am__quote="\""
   3216      _am_result=BSD
   3217      ;;
   3218    esac
   3219 fi
   3220 
   3221 
   3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3223 $as_echo "$_am_result" >&6; }
   3224 rm -f confinc confmf
   3225 
   3226 # Check whether --enable-dependency-tracking was given.
   3227 if test "${enable_dependency_tracking+set}" = set; then :
   3228   enableval=$enable_dependency_tracking;
   3229 fi
   3230 
   3231 if test "x$enable_dependency_tracking" != xno; then
   3232   am_depcomp="$ac_aux_dir/depcomp"
   3233   AMDEPBACKSLASH='\'
   3234   am__nodep='_no'
   3235 fi
   3236  if test "x$enable_dependency_tracking" != xno; then
   3237   AMDEP_TRUE=
   3238   AMDEP_FALSE='#'
   3239 else
   3240   AMDEP_TRUE='#'
   3241   AMDEP_FALSE=
   3242 fi
   3243 
   3244 
   3245 ac_ext=c
   3246 ac_cpp='$CPP $CPPFLAGS'
   3247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3250 if test -n "$ac_tool_prefix"; then
   3251   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3252 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3254 $as_echo_n "checking for $ac_word... " >&6; }
   3255 if ${ac_cv_prog_CC+:} false; then :
   3256   $as_echo_n "(cached) " >&6
   3257 else
   3258   if test -n "$CC"; then
   3259   ac_cv_prog_CC="$CC" # Let the user override the test.
   3260 else
   3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3262 for as_dir in $PATH
   3263 do
   3264   IFS=$as_save_IFS
   3265   test -z "$as_dir" && as_dir=.
   3266     for ac_exec_ext in '' $ac_executable_extensions; do
   3267   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3268     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3269     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3270     break 2
   3271   fi
   3272 done
   3273   done
   3274 IFS=$as_save_IFS
   3275 
   3276 fi
   3277 fi
   3278 CC=$ac_cv_prog_CC
   3279 if test -n "$CC"; then
   3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3281 $as_echo "$CC" >&6; }
   3282 else
   3283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3284 $as_echo "no" >&6; }
   3285 fi
   3286 
   3287 
   3288 fi
   3289 if test -z "$ac_cv_prog_CC"; then
   3290   ac_ct_CC=$CC
   3291   # Extract the first word of "gcc", so it can be a program name with args.
   3292 set dummy gcc; ac_word=$2
   3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3294 $as_echo_n "checking for $ac_word... " >&6; }
   3295 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3296   $as_echo_n "(cached) " >&6
   3297 else
   3298   if test -n "$ac_ct_CC"; then
   3299   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3300 else
   3301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3302 for as_dir in $PATH
   3303 do
   3304   IFS=$as_save_IFS
   3305   test -z "$as_dir" && as_dir=.
   3306     for ac_exec_ext in '' $ac_executable_extensions; do
   3307   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3308     ac_cv_prog_ac_ct_CC="gcc"
   3309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3310     break 2
   3311   fi
   3312 done
   3313   done
   3314 IFS=$as_save_IFS
   3315 
   3316 fi
   3317 fi
   3318 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3319 if test -n "$ac_ct_CC"; then
   3320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3321 $as_echo "$ac_ct_CC" >&6; }
   3322 else
   3323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3324 $as_echo "no" >&6; }
   3325 fi
   3326 
   3327   if test "x$ac_ct_CC" = x; then
   3328     CC=""
   3329   else
   3330     case $cross_compiling:$ac_tool_warned in
   3331 yes:)
   3332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3334 ac_tool_warned=yes ;;
   3335 esac
   3336     CC=$ac_ct_CC
   3337   fi
   3338 else
   3339   CC="$ac_cv_prog_CC"
   3340 fi
   3341 
   3342 if test -z "$CC"; then
   3343           if test -n "$ac_tool_prefix"; then
   3344     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3345 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3347 $as_echo_n "checking for $ac_word... " >&6; }
   3348 if ${ac_cv_prog_CC+:} false; then :
   3349   $as_echo_n "(cached) " >&6
   3350 else
   3351   if test -n "$CC"; then
   3352   ac_cv_prog_CC="$CC" # Let the user override the test.
   3353 else
   3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3355 for as_dir in $PATH
   3356 do
   3357   IFS=$as_save_IFS
   3358   test -z "$as_dir" && as_dir=.
   3359     for ac_exec_ext in '' $ac_executable_extensions; do
   3360   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3361     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3362     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3363     break 2
   3364   fi
   3365 done
   3366   done
   3367 IFS=$as_save_IFS
   3368 
   3369 fi
   3370 fi
   3371 CC=$ac_cv_prog_CC
   3372 if test -n "$CC"; then
   3373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3374 $as_echo "$CC" >&6; }
   3375 else
   3376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3377 $as_echo "no" >&6; }
   3378 fi
   3379 
   3380 
   3381   fi
   3382 fi
   3383 if test -z "$CC"; then
   3384   # Extract the first word of "cc", so it can be a program name with args.
   3385 set dummy cc; ac_word=$2
   3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3387 $as_echo_n "checking for $ac_word... " >&6; }
   3388 if ${ac_cv_prog_CC+:} false; then :
   3389   $as_echo_n "(cached) " >&6
   3390 else
   3391   if test -n "$CC"; then
   3392   ac_cv_prog_CC="$CC" # Let the user override the test.
   3393 else
   3394   ac_prog_rejected=no
   3395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3396 for as_dir in $PATH
   3397 do
   3398   IFS=$as_save_IFS
   3399   test -z "$as_dir" && as_dir=.
   3400     for ac_exec_ext in '' $ac_executable_extensions; do
   3401   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3402     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3403        ac_prog_rejected=yes
   3404        continue
   3405      fi
   3406     ac_cv_prog_CC="cc"
   3407     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3408     break 2
   3409   fi
   3410 done
   3411   done
   3412 IFS=$as_save_IFS
   3413 
   3414 if test $ac_prog_rejected = yes; then
   3415   # We found a bogon in the path, so make sure we never use it.
   3416   set dummy $ac_cv_prog_CC
   3417   shift
   3418   if test $# != 0; then
   3419     # We chose a different compiler from the bogus one.
   3420     # However, it has the same basename, so the bogon will be chosen
   3421     # first if we set CC to just the basename; use the full file name.
   3422     shift
   3423     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3424   fi
   3425 fi
   3426 fi
   3427 fi
   3428 CC=$ac_cv_prog_CC
   3429 if test -n "$CC"; then
   3430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3431 $as_echo "$CC" >&6; }
   3432 else
   3433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3434 $as_echo "no" >&6; }
   3435 fi
   3436 
   3437 
   3438 fi
   3439 if test -z "$CC"; then
   3440   if test -n "$ac_tool_prefix"; then
   3441   for ac_prog in cl.exe
   3442   do
   3443     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3444 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3446 $as_echo_n "checking for $ac_word... " >&6; }
   3447 if ${ac_cv_prog_CC+:} false; then :
   3448   $as_echo_n "(cached) " >&6
   3449 else
   3450   if test -n "$CC"; then
   3451   ac_cv_prog_CC="$CC" # Let the user override the test.
   3452 else
   3453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3454 for as_dir in $PATH
   3455 do
   3456   IFS=$as_save_IFS
   3457   test -z "$as_dir" && as_dir=.
   3458     for ac_exec_ext in '' $ac_executable_extensions; do
   3459   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3460     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3462     break 2
   3463   fi
   3464 done
   3465   done
   3466 IFS=$as_save_IFS
   3467 
   3468 fi
   3469 fi
   3470 CC=$ac_cv_prog_CC
   3471 if test -n "$CC"; then
   3472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3473 $as_echo "$CC" >&6; }
   3474 else
   3475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3476 $as_echo "no" >&6; }
   3477 fi
   3478 
   3479 
   3480     test -n "$CC" && break
   3481   done
   3482 fi
   3483 if test -z "$CC"; then
   3484   ac_ct_CC=$CC
   3485   for ac_prog in cl.exe
   3486 do
   3487   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3488 set dummy $ac_prog; ac_word=$2
   3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3490 $as_echo_n "checking for $ac_word... " >&6; }
   3491 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3492   $as_echo_n "(cached) " >&6
   3493 else
   3494   if test -n "$ac_ct_CC"; then
   3495   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3496 else
   3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3498 for as_dir in $PATH
   3499 do
   3500   IFS=$as_save_IFS
   3501   test -z "$as_dir" && as_dir=.
   3502     for ac_exec_ext in '' $ac_executable_extensions; do
   3503   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3504     ac_cv_prog_ac_ct_CC="$ac_prog"
   3505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3506     break 2
   3507   fi
   3508 done
   3509   done
   3510 IFS=$as_save_IFS
   3511 
   3512 fi
   3513 fi
   3514 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3515 if test -n "$ac_ct_CC"; then
   3516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3517 $as_echo "$ac_ct_CC" >&6; }
   3518 else
   3519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3520 $as_echo "no" >&6; }
   3521 fi
   3522 
   3523 
   3524   test -n "$ac_ct_CC" && break
   3525 done
   3526 
   3527   if test "x$ac_ct_CC" = x; then
   3528     CC=""
   3529   else
   3530     case $cross_compiling:$ac_tool_warned in
   3531 yes:)
   3532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3534 ac_tool_warned=yes ;;
   3535 esac
   3536     CC=$ac_ct_CC
   3537   fi
   3538 fi
   3539 
   3540 fi
   3541 
   3542 
   3543 test -z "$CC" && { { $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 $? "no acceptable C compiler found in \$PATH
   3546 See \`config.log' for more details" "$LINENO" 5; }
   3547 
   3548 # Provide some information about the compiler.
   3549 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3550 set X $ac_compile
   3551 ac_compiler=$2
   3552 for ac_option in --version -v -V -qversion; do
   3553   { { ac_try="$ac_compiler $ac_option >&5"
   3554 case "(($ac_try" in
   3555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3556   *) ac_try_echo=$ac_try;;
   3557 esac
   3558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3559 $as_echo "$ac_try_echo"; } >&5
   3560   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3561   ac_status=$?
   3562   if test -s conftest.err; then
   3563     sed '10a\
   3564 ... rest of stderr output deleted ...
   3565          10q' conftest.err >conftest.er1
   3566     cat conftest.er1 >&5
   3567   fi
   3568   rm -f conftest.er1 conftest.err
   3569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3570   test $ac_status = 0; }
   3571 done
   3572 
   3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3574 /* end confdefs.h.  */
   3575 
   3576 int
   3577 main ()
   3578 {
   3579 
   3580   ;
   3581   return 0;
   3582 }
   3583 _ACEOF
   3584 ac_clean_files_save=$ac_clean_files
   3585 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3586 # Try to create an executable without -o first, disregard a.out.
   3587 # It will help us diagnose broken compilers, and finding out an intuition
   3588 # of exeext.
   3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3590 $as_echo_n "checking whether the C compiler works... " >&6; }
   3591 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3592 
   3593 # The possible output files:
   3594 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3595 
   3596 ac_rmfiles=
   3597 for ac_file in $ac_files
   3598 do
   3599   case $ac_file in
   3600     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3601     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3602   esac
   3603 done
   3604 rm -f $ac_rmfiles
   3605 
   3606 if { { ac_try="$ac_link_default"
   3607 case "(($ac_try" in
   3608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3609   *) ac_try_echo=$ac_try;;
   3610 esac
   3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3612 $as_echo "$ac_try_echo"; } >&5
   3613   (eval "$ac_link_default") 2>&5
   3614   ac_status=$?
   3615   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3616   test $ac_status = 0; }; then :
   3617   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3618 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3619 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3620 # so that the user can short-circuit this test for compilers unknown to
   3621 # Autoconf.
   3622 for ac_file in $ac_files ''
   3623 do
   3624   test -f "$ac_file" || continue
   3625   case $ac_file in
   3626     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3627 	;;
   3628     [ab].out )
   3629 	# We found the default executable, but exeext='' is most
   3630 	# certainly right.
   3631 	break;;
   3632     *.* )
   3633 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3634 	then :; else
   3635 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3636 	fi
   3637 	# We set ac_cv_exeext here because the later test for it is not
   3638 	# safe: cross compilers may not add the suffix if given an `-o'
   3639 	# argument, so we may need to know it at that point already.
   3640 	# Even if this section looks crufty: it has the advantage of
   3641 	# actually working.
   3642 	break;;
   3643     * )
   3644 	break;;
   3645   esac
   3646 done
   3647 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3648 
   3649 else
   3650   ac_file=''
   3651 fi
   3652 if test -z "$ac_file"; then :
   3653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3654 $as_echo "no" >&6; }
   3655 $as_echo "$as_me: failed program was:" >&5
   3656 sed 's/^/| /' conftest.$ac_ext >&5
   3657 
   3658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3660 as_fn_error 77 "C compiler cannot create executables
   3661 See \`config.log' for more details" "$LINENO" 5; }
   3662 else
   3663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3664 $as_echo "yes" >&6; }
   3665 fi
   3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3667 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3669 $as_echo "$ac_file" >&6; }
   3670 ac_exeext=$ac_cv_exeext
   3671 
   3672 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3673 ac_clean_files=$ac_clean_files_save
   3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3675 $as_echo_n "checking for suffix of executables... " >&6; }
   3676 if { { ac_try="$ac_link"
   3677 case "(($ac_try" in
   3678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3679   *) ac_try_echo=$ac_try;;
   3680 esac
   3681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3682 $as_echo "$ac_try_echo"; } >&5
   3683   (eval "$ac_link") 2>&5
   3684   ac_status=$?
   3685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3686   test $ac_status = 0; }; then :
   3687   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3688 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3689 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3690 # `rm'.
   3691 for ac_file in conftest.exe conftest conftest.*; do
   3692   test -f "$ac_file" || continue
   3693   case $ac_file in
   3694     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3695     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3696 	  break;;
   3697     * ) break;;
   3698   esac
   3699 done
   3700 else
   3701   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3703 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3704 See \`config.log' for more details" "$LINENO" 5; }
   3705 fi
   3706 rm -f conftest conftest$ac_cv_exeext
   3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3708 $as_echo "$ac_cv_exeext" >&6; }
   3709 
   3710 rm -f conftest.$ac_ext
   3711 EXEEXT=$ac_cv_exeext
   3712 ac_exeext=$EXEEXT
   3713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3714 /* end confdefs.h.  */
   3715 #include <stdio.h>
   3716 int
   3717 main ()
   3718 {
   3719 FILE *f = fopen ("conftest.out", "w");
   3720  return ferror (f) || fclose (f) != 0;
   3721 
   3722   ;
   3723   return 0;
   3724 }
   3725 _ACEOF
   3726 ac_clean_files="$ac_clean_files conftest.out"
   3727 # Check that the compiler produces executables we can run.  If not, either
   3728 # the compiler is broken, or we cross compile.
   3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3730 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3731 if test "$cross_compiling" != yes; then
   3732   { { ac_try="$ac_link"
   3733 case "(($ac_try" in
   3734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3735   *) ac_try_echo=$ac_try;;
   3736 esac
   3737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3738 $as_echo "$ac_try_echo"; } >&5
   3739   (eval "$ac_link") 2>&5
   3740   ac_status=$?
   3741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3742   test $ac_status = 0; }
   3743   if { ac_try='./conftest$ac_cv_exeext'
   3744   { { case "(($ac_try" in
   3745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3746   *) ac_try_echo=$ac_try;;
   3747 esac
   3748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3749 $as_echo "$ac_try_echo"; } >&5
   3750   (eval "$ac_try") 2>&5
   3751   ac_status=$?
   3752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3753   test $ac_status = 0; }; }; then
   3754     cross_compiling=no
   3755   else
   3756     if test "$cross_compiling" = maybe; then
   3757 	cross_compiling=yes
   3758     else
   3759 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3761 as_fn_error $? "cannot run C compiled programs.
   3762 If you meant to cross compile, use \`--host'.
   3763 See \`config.log' for more details" "$LINENO" 5; }
   3764     fi
   3765   fi
   3766 fi
   3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3768 $as_echo "$cross_compiling" >&6; }
   3769 
   3770 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3771 ac_clean_files=$ac_clean_files_save
   3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3773 $as_echo_n "checking for suffix of object files... " >&6; }
   3774 if ${ac_cv_objext+:} false; then :
   3775   $as_echo_n "(cached) " >&6
   3776 else
   3777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3778 /* end confdefs.h.  */
   3779 
   3780 int
   3781 main ()
   3782 {
   3783 
   3784   ;
   3785   return 0;
   3786 }
   3787 _ACEOF
   3788 rm -f conftest.o conftest.obj
   3789 if { { ac_try="$ac_compile"
   3790 case "(($ac_try" in
   3791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3792   *) ac_try_echo=$ac_try;;
   3793 esac
   3794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3795 $as_echo "$ac_try_echo"; } >&5
   3796   (eval "$ac_compile") 2>&5
   3797   ac_status=$?
   3798   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3799   test $ac_status = 0; }; then :
   3800   for ac_file in conftest.o conftest.obj conftest.*; do
   3801   test -f "$ac_file" || continue;
   3802   case $ac_file in
   3803     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3804     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3805        break;;
   3806   esac
   3807 done
   3808 else
   3809   $as_echo "$as_me: failed program was:" >&5
   3810 sed 's/^/| /' conftest.$ac_ext >&5
   3811 
   3812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3814 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3815 See \`config.log' for more details" "$LINENO" 5; }
   3816 fi
   3817 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3818 fi
   3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3820 $as_echo "$ac_cv_objext" >&6; }
   3821 OBJEXT=$ac_cv_objext
   3822 ac_objext=$OBJEXT
   3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3824 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3825 if ${ac_cv_c_compiler_gnu+:} false; then :
   3826   $as_echo_n "(cached) " >&6
   3827 else
   3828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3829 /* end confdefs.h.  */
   3830 
   3831 int
   3832 main ()
   3833 {
   3834 #ifndef __GNUC__
   3835        choke me
   3836 #endif
   3837 
   3838   ;
   3839   return 0;
   3840 }
   3841 _ACEOF
   3842 if ac_fn_c_try_compile "$LINENO"; then :
   3843   ac_compiler_gnu=yes
   3844 else
   3845   ac_compiler_gnu=no
   3846 fi
   3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3848 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3849 
   3850 fi
   3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3852 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3853 if test $ac_compiler_gnu = yes; then
   3854   GCC=yes
   3855 else
   3856   GCC=
   3857 fi
   3858 ac_test_CFLAGS=${CFLAGS+set}
   3859 ac_save_CFLAGS=$CFLAGS
   3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3861 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3862 if ${ac_cv_prog_cc_g+:} false; then :
   3863   $as_echo_n "(cached) " >&6
   3864 else
   3865   ac_save_c_werror_flag=$ac_c_werror_flag
   3866    ac_c_werror_flag=yes
   3867    ac_cv_prog_cc_g=no
   3868    CFLAGS="-g"
   3869    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3870 /* end confdefs.h.  */
   3871 
   3872 int
   3873 main ()
   3874 {
   3875 
   3876   ;
   3877   return 0;
   3878 }
   3879 _ACEOF
   3880 if ac_fn_c_try_compile "$LINENO"; then :
   3881   ac_cv_prog_cc_g=yes
   3882 else
   3883   CFLAGS=""
   3884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3885 /* end confdefs.h.  */
   3886 
   3887 int
   3888 main ()
   3889 {
   3890 
   3891   ;
   3892   return 0;
   3893 }
   3894 _ACEOF
   3895 if ac_fn_c_try_compile "$LINENO"; then :
   3896 
   3897 else
   3898   ac_c_werror_flag=$ac_save_c_werror_flag
   3899 	 CFLAGS="-g"
   3900 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3901 /* end confdefs.h.  */
   3902 
   3903 int
   3904 main ()
   3905 {
   3906 
   3907   ;
   3908   return 0;
   3909 }
   3910 _ACEOF
   3911 if ac_fn_c_try_compile "$LINENO"; then :
   3912   ac_cv_prog_cc_g=yes
   3913 fi
   3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3915 fi
   3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3917 fi
   3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3919    ac_c_werror_flag=$ac_save_c_werror_flag
   3920 fi
   3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3922 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3923 if test "$ac_test_CFLAGS" = set; then
   3924   CFLAGS=$ac_save_CFLAGS
   3925 elif test $ac_cv_prog_cc_g = yes; then
   3926   if test "$GCC" = yes; then
   3927     CFLAGS="-g -O2"
   3928   else
   3929     CFLAGS="-g"
   3930   fi
   3931 else
   3932   if test "$GCC" = yes; then
   3933     CFLAGS="-O2"
   3934   else
   3935     CFLAGS=
   3936   fi
   3937 fi
   3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3939 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3940 if ${ac_cv_prog_cc_c89+:} false; then :
   3941   $as_echo_n "(cached) " >&6
   3942 else
   3943   ac_cv_prog_cc_c89=no
   3944 ac_save_CC=$CC
   3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3946 /* end confdefs.h.  */
   3947 #include <stdarg.h>
   3948 #include <stdio.h>
   3949 struct stat;
   3950 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3951 struct buf { int x; };
   3952 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3953 static char *e (p, i)
   3954      char **p;
   3955      int i;
   3956 {
   3957   return p[i];
   3958 }
   3959 static char *f (char * (*g) (char **, int), char **p, ...)
   3960 {
   3961   char *s;
   3962   va_list v;
   3963   va_start (v,p);
   3964   s = g (p, va_arg (v,int));
   3965   va_end (v);
   3966   return s;
   3967 }
   3968 
   3969 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3970    function prototypes and stuff, but not '\xHH' hex character constants.
   3971    These don't provoke an error unfortunately, instead are silently treated
   3972    as 'x'.  The following induces an error, until -std is added to get
   3973    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3974    array size at least.  It's necessary to write '\x00'==0 to get something
   3975    that's true only with -std.  */
   3976 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3977 
   3978 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3979    inside strings and character constants.  */
   3980 #define FOO(x) 'x'
   3981 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3982 
   3983 int test (int i, double x);
   3984 struct s1 {int (*f) (int a);};
   3985 struct s2 {int (*f) (double a);};
   3986 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3987 int argc;
   3988 char **argv;
   3989 int
   3990 main ()
   3991 {
   3992 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3993   ;
   3994   return 0;
   3995 }
   3996 _ACEOF
   3997 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3998 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3999 do
   4000   CC="$ac_save_CC $ac_arg"
   4001   if ac_fn_c_try_compile "$LINENO"; then :
   4002   ac_cv_prog_cc_c89=$ac_arg
   4003 fi
   4004 rm -f core conftest.err conftest.$ac_objext
   4005   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4006 done
   4007 rm -f conftest.$ac_ext
   4008 CC=$ac_save_CC
   4009 
   4010 fi
   4011 # AC_CACHE_VAL
   4012 case "x$ac_cv_prog_cc_c89" in
   4013   x)
   4014     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4015 $as_echo "none needed" >&6; } ;;
   4016   xno)
   4017     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4018 $as_echo "unsupported" >&6; } ;;
   4019   *)
   4020     CC="$CC $ac_cv_prog_cc_c89"
   4021     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4022 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4023 esac
   4024 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4025 
   4026 fi
   4027 
   4028 ac_ext=c
   4029 ac_cpp='$CPP $CPPFLAGS'
   4030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4033 
   4034 ac_ext=c
   4035 ac_cpp='$CPP $CPPFLAGS'
   4036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4040 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4041 if ${am_cv_prog_cc_c_o+:} false; then :
   4042   $as_echo_n "(cached) " >&6
   4043 else
   4044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4045 /* end confdefs.h.  */
   4046 
   4047 int
   4048 main ()
   4049 {
   4050 
   4051   ;
   4052   return 0;
   4053 }
   4054 _ACEOF
   4055   # Make sure it works both with $CC and with simple cc.
   4056   # Following AC_PROG_CC_C_O, we do the test twice because some
   4057   # compilers refuse to overwrite an existing .o file with -o,
   4058   # though they will create one.
   4059   am_cv_prog_cc_c_o=yes
   4060   for am_i in 1 2; do
   4061     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4062    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4063    ac_status=$?
   4064    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4065    (exit $ac_status); } \
   4066          && test -f conftest2.$ac_objext; then
   4067       : OK
   4068     else
   4069       am_cv_prog_cc_c_o=no
   4070       break
   4071     fi
   4072   done
   4073   rm -f core conftest*
   4074   unset am_i
   4075 fi
   4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4077 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4078 if test "$am_cv_prog_cc_c_o" != yes; then
   4079    # Losing compiler, so override with the script.
   4080    # FIXME: It is wrong to rewrite CC.
   4081    # But if we don't then we get into trouble of one sort or another.
   4082    # A longer-term fix would be to have automake use am__CC in this case,
   4083    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4084    CC="$am_aux_dir/compile $CC"
   4085 fi
   4086 ac_ext=c
   4087 ac_cpp='$CPP $CPPFLAGS'
   4088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4091 
   4092 
   4093 depcc="$CC"   am_compiler_list=
   4094 
   4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4096 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4097 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4098   $as_echo_n "(cached) " >&6
   4099 else
   4100   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4101   # We make a subdir and do the tests there.  Otherwise we can end up
   4102   # making bogus files that we don't know about and never remove.  For
   4103   # instance it was reported that on HP-UX the gcc test will end up
   4104   # making a dummy file named 'D' -- because '-MD' means "put the output
   4105   # in D".
   4106   rm -rf conftest.dir
   4107   mkdir conftest.dir
   4108   # Copy depcomp to subdir because otherwise we won't find it if we're
   4109   # using a relative directory.
   4110   cp "$am_depcomp" conftest.dir
   4111   cd conftest.dir
   4112   # We will build objects and dependencies in a subdirectory because
   4113   # it helps to detect inapplicable dependency modes.  For instance
   4114   # both Tru64's cc and ICC support -MD to output dependencies as a
   4115   # side effect of compilation, but ICC will put the dependencies in
   4116   # the current directory while Tru64 will put them in the object
   4117   # directory.
   4118   mkdir sub
   4119 
   4120   am_cv_CC_dependencies_compiler_type=none
   4121   if test "$am_compiler_list" = ""; then
   4122      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4123   fi
   4124   am__universal=false
   4125   case " $depcc " in #(
   4126      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4127      esac
   4128 
   4129   for depmode in $am_compiler_list; do
   4130     # Setup a source with many dependencies, because some compilers
   4131     # like to wrap large dependency lists on column 80 (with \), and
   4132     # we should not choose a depcomp mode which is confused by this.
   4133     #
   4134     # We need to recreate these files for each test, as the compiler may
   4135     # overwrite some of them when testing with obscure command lines.
   4136     # This happens at least with the AIX C compiler.
   4137     : > sub/conftest.c
   4138     for i in 1 2 3 4 5 6; do
   4139       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4140       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4141       # Solaris 10 /bin/sh.
   4142       echo '/* dummy */' > sub/conftst$i.h
   4143     done
   4144     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4145 
   4146     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4147     # mode.  It turns out that the SunPro C++ compiler does not properly
   4148     # handle '-M -o', and we need to detect this.  Also, some Intel
   4149     # versions had trouble with output in subdirs.
   4150     am__obj=sub/conftest.${OBJEXT-o}
   4151     am__minus_obj="-o $am__obj"
   4152     case $depmode in
   4153     gcc)
   4154       # This depmode causes a compiler race in universal mode.
   4155       test "$am__universal" = false || continue
   4156       ;;
   4157     nosideeffect)
   4158       # After this tag, mechanisms are not by side-effect, so they'll
   4159       # only be used when explicitly requested.
   4160       if test "x$enable_dependency_tracking" = xyes; then
   4161 	continue
   4162       else
   4163 	break
   4164       fi
   4165       ;;
   4166     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4167       # This compiler won't grok '-c -o', but also, the minuso test has
   4168       # not run yet.  These depmodes are late enough in the game, and
   4169       # so weak that their functioning should not be impacted.
   4170       am__obj=conftest.${OBJEXT-o}
   4171       am__minus_obj=
   4172       ;;
   4173     none) break ;;
   4174     esac
   4175     if depmode=$depmode \
   4176        source=sub/conftest.c object=$am__obj \
   4177        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4178        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4179          >/dev/null 2>conftest.err &&
   4180        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4181        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4182        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4183        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4184       # icc doesn't choke on unknown options, it will just issue warnings
   4185       # or remarks (even with -Werror).  So we grep stderr for any message
   4186       # that says an option was ignored or not supported.
   4187       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4188       #   icc: Command line warning: ignoring option '-M'; no argument required
   4189       # The diagnosis changed in icc 8.0:
   4190       #   icc: Command line remark: option '-MP' not supported
   4191       if (grep 'ignoring option' conftest.err ||
   4192           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4193         am_cv_CC_dependencies_compiler_type=$depmode
   4194         break
   4195       fi
   4196     fi
   4197   done
   4198 
   4199   cd ..
   4200   rm -rf conftest.dir
   4201 else
   4202   am_cv_CC_dependencies_compiler_type=none
   4203 fi
   4204 
   4205 fi
   4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4207 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4208 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4209 
   4210  if
   4211   test "x$enable_dependency_tracking" != xno \
   4212   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4213   am__fastdepCC_TRUE=
   4214   am__fastdepCC_FALSE='#'
   4215 else
   4216   am__fastdepCC_TRUE='#'
   4217   am__fastdepCC_FALSE=
   4218 fi
   4219 
   4220 
   4221 
   4222 ac_ext=c
   4223 ac_cpp='$CPP $CPPFLAGS'
   4224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4228 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4229 # On Suns, sometimes $CPP names a directory.
   4230 if test -n "$CPP" && test -d "$CPP"; then
   4231   CPP=
   4232 fi
   4233 if test -z "$CPP"; then
   4234   if ${ac_cv_prog_CPP+:} false; then :
   4235   $as_echo_n "(cached) " >&6
   4236 else
   4237       # Double quotes because CPP needs to be expanded
   4238     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4239     do
   4240       ac_preproc_ok=false
   4241 for ac_c_preproc_warn_flag in '' yes
   4242 do
   4243   # Use a header file that comes with gcc, so configuring glibc
   4244   # with a fresh cross-compiler works.
   4245   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4246   # <limits.h> exists even on freestanding compilers.
   4247   # On the NeXT, cc -E runs the code through the compiler's parser,
   4248   # not just through cpp. "Syntax error" is here to catch this case.
   4249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4250 /* end confdefs.h.  */
   4251 #ifdef __STDC__
   4252 # include <limits.h>
   4253 #else
   4254 # include <assert.h>
   4255 #endif
   4256 		     Syntax error
   4257 _ACEOF
   4258 if ac_fn_c_try_cpp "$LINENO"; then :
   4259 
   4260 else
   4261   # Broken: fails on valid input.
   4262 continue
   4263 fi
   4264 rm -f conftest.err conftest.i conftest.$ac_ext
   4265 
   4266   # OK, works on sane cases.  Now check whether nonexistent headers
   4267   # can be detected and how.
   4268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4269 /* end confdefs.h.  */
   4270 #include <ac_nonexistent.h>
   4271 _ACEOF
   4272 if ac_fn_c_try_cpp "$LINENO"; then :
   4273   # Broken: success on invalid input.
   4274 continue
   4275 else
   4276   # Passes both tests.
   4277 ac_preproc_ok=:
   4278 break
   4279 fi
   4280 rm -f conftest.err conftest.i conftest.$ac_ext
   4281 
   4282 done
   4283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4284 rm -f conftest.i conftest.err conftest.$ac_ext
   4285 if $ac_preproc_ok; then :
   4286   break
   4287 fi
   4288 
   4289     done
   4290     ac_cv_prog_CPP=$CPP
   4291 
   4292 fi
   4293   CPP=$ac_cv_prog_CPP
   4294 else
   4295   ac_cv_prog_CPP=$CPP
   4296 fi
   4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4298 $as_echo "$CPP" >&6; }
   4299 ac_preproc_ok=false
   4300 for ac_c_preproc_warn_flag in '' yes
   4301 do
   4302   # Use a header file that comes with gcc, so configuring glibc
   4303   # with a fresh cross-compiler works.
   4304   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4305   # <limits.h> exists even on freestanding compilers.
   4306   # On the NeXT, cc -E runs the code through the compiler's parser,
   4307   # not just through cpp. "Syntax error" is here to catch this case.
   4308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4309 /* end confdefs.h.  */
   4310 #ifdef __STDC__
   4311 # include <limits.h>
   4312 #else
   4313 # include <assert.h>
   4314 #endif
   4315 		     Syntax error
   4316 _ACEOF
   4317 if ac_fn_c_try_cpp "$LINENO"; then :
   4318 
   4319 else
   4320   # Broken: fails on valid input.
   4321 continue
   4322 fi
   4323 rm -f conftest.err conftest.i conftest.$ac_ext
   4324 
   4325   # OK, works on sane cases.  Now check whether nonexistent headers
   4326   # can be detected and how.
   4327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4328 /* end confdefs.h.  */
   4329 #include <ac_nonexistent.h>
   4330 _ACEOF
   4331 if ac_fn_c_try_cpp "$LINENO"; then :
   4332   # Broken: success on invalid input.
   4333 continue
   4334 else
   4335   # Passes both tests.
   4336 ac_preproc_ok=:
   4337 break
   4338 fi
   4339 rm -f conftest.err conftest.i conftest.$ac_ext
   4340 
   4341 done
   4342 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4343 rm -f conftest.i conftest.err conftest.$ac_ext
   4344 if $ac_preproc_ok; then :
   4345 
   4346 else
   4347   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4349 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4350 See \`config.log' for more details" "$LINENO" 5; }
   4351 fi
   4352 
   4353 ac_ext=c
   4354 ac_cpp='$CPP $CPPFLAGS'
   4355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4358 
   4359 
   4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4361 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4362 if ${ac_cv_path_GREP+:} false; then :
   4363   $as_echo_n "(cached) " >&6
   4364 else
   4365   if test -z "$GREP"; then
   4366   ac_path_GREP_found=false
   4367   # Loop through the user's path and test for each of PROGNAME-LIST
   4368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4370 do
   4371   IFS=$as_save_IFS
   4372   test -z "$as_dir" && as_dir=.
   4373     for ac_prog in grep ggrep; do
   4374     for ac_exec_ext in '' $ac_executable_extensions; do
   4375       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4376       as_fn_executable_p "$ac_path_GREP" || continue
   4377 # Check for GNU ac_path_GREP and select it if it is found.
   4378   # Check for GNU $ac_path_GREP
   4379 case `"$ac_path_GREP" --version 2>&1` in
   4380 *GNU*)
   4381   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4382 *)
   4383   ac_count=0
   4384   $as_echo_n 0123456789 >"conftest.in"
   4385   while :
   4386   do
   4387     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4388     mv "conftest.tmp" "conftest.in"
   4389     cp "conftest.in" "conftest.nl"
   4390     $as_echo 'GREP' >> "conftest.nl"
   4391     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4392     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4393     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4394     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4395       # Best one so far, save it but keep looking for a better one
   4396       ac_cv_path_GREP="$ac_path_GREP"
   4397       ac_path_GREP_max=$ac_count
   4398     fi
   4399     # 10*(2^10) chars as input seems more than enough
   4400     test $ac_count -gt 10 && break
   4401   done
   4402   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4403 esac
   4404 
   4405       $ac_path_GREP_found && break 3
   4406     done
   4407   done
   4408   done
   4409 IFS=$as_save_IFS
   4410   if test -z "$ac_cv_path_GREP"; then
   4411     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4412   fi
   4413 else
   4414   ac_cv_path_GREP=$GREP
   4415 fi
   4416 
   4417 fi
   4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4419 $as_echo "$ac_cv_path_GREP" >&6; }
   4420  GREP="$ac_cv_path_GREP"
   4421 
   4422 
   4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4424 $as_echo_n "checking for egrep... " >&6; }
   4425 if ${ac_cv_path_EGREP+:} false; then :
   4426   $as_echo_n "(cached) " >&6
   4427 else
   4428   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4429    then ac_cv_path_EGREP="$GREP -E"
   4430    else
   4431      if test -z "$EGREP"; then
   4432   ac_path_EGREP_found=false
   4433   # Loop through the user's path and test for each of PROGNAME-LIST
   4434   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4435 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4436 do
   4437   IFS=$as_save_IFS
   4438   test -z "$as_dir" && as_dir=.
   4439     for ac_prog in egrep; do
   4440     for ac_exec_ext in '' $ac_executable_extensions; do
   4441       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4442       as_fn_executable_p "$ac_path_EGREP" || continue
   4443 # Check for GNU ac_path_EGREP and select it if it is found.
   4444   # Check for GNU $ac_path_EGREP
   4445 case `"$ac_path_EGREP" --version 2>&1` in
   4446 *GNU*)
   4447   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4448 *)
   4449   ac_count=0
   4450   $as_echo_n 0123456789 >"conftest.in"
   4451   while :
   4452   do
   4453     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4454     mv "conftest.tmp" "conftest.in"
   4455     cp "conftest.in" "conftest.nl"
   4456     $as_echo 'EGREP' >> "conftest.nl"
   4457     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4458     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4459     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4460     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4461       # Best one so far, save it but keep looking for a better one
   4462       ac_cv_path_EGREP="$ac_path_EGREP"
   4463       ac_path_EGREP_max=$ac_count
   4464     fi
   4465     # 10*(2^10) chars as input seems more than enough
   4466     test $ac_count -gt 10 && break
   4467   done
   4468   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4469 esac
   4470 
   4471       $ac_path_EGREP_found && break 3
   4472     done
   4473   done
   4474   done
   4475 IFS=$as_save_IFS
   4476   if test -z "$ac_cv_path_EGREP"; then
   4477     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4478   fi
   4479 else
   4480   ac_cv_path_EGREP=$EGREP
   4481 fi
   4482 
   4483    fi
   4484 fi
   4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4486 $as_echo "$ac_cv_path_EGREP" >&6; }
   4487  EGREP="$ac_cv_path_EGREP"
   4488 
   4489 
   4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4491 $as_echo_n "checking for ANSI C header files... " >&6; }
   4492 if ${ac_cv_header_stdc+:} false; then :
   4493   $as_echo_n "(cached) " >&6
   4494 else
   4495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4496 /* end confdefs.h.  */
   4497 #include <stdlib.h>
   4498 #include <stdarg.h>
   4499 #include <string.h>
   4500 #include <float.h>
   4501 
   4502 int
   4503 main ()
   4504 {
   4505 
   4506   ;
   4507   return 0;
   4508 }
   4509 _ACEOF
   4510 if ac_fn_c_try_compile "$LINENO"; then :
   4511   ac_cv_header_stdc=yes
   4512 else
   4513   ac_cv_header_stdc=no
   4514 fi
   4515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4516 
   4517 if test $ac_cv_header_stdc = yes; then
   4518   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4520 /* end confdefs.h.  */
   4521 #include <string.h>
   4522 
   4523 _ACEOF
   4524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4525   $EGREP "memchr" >/dev/null 2>&1; then :
   4526 
   4527 else
   4528   ac_cv_header_stdc=no
   4529 fi
   4530 rm -f conftest*
   4531 
   4532 fi
   4533 
   4534 if test $ac_cv_header_stdc = yes; then
   4535   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4537 /* end confdefs.h.  */
   4538 #include <stdlib.h>
   4539 
   4540 _ACEOF
   4541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4542   $EGREP "free" >/dev/null 2>&1; then :
   4543 
   4544 else
   4545   ac_cv_header_stdc=no
   4546 fi
   4547 rm -f conftest*
   4548 
   4549 fi
   4550 
   4551 if test $ac_cv_header_stdc = yes; then
   4552   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4553   if test "$cross_compiling" = yes; then :
   4554   :
   4555 else
   4556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4557 /* end confdefs.h.  */
   4558 #include <ctype.h>
   4559 #include <stdlib.h>
   4560 #if ((' ' & 0x0FF) == 0x020)
   4561 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4562 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4563 #else
   4564 # define ISLOWER(c) \
   4565 		   (('a' <= (c) && (c) <= 'i') \
   4566 		     || ('j' <= (c) && (c) <= 'r') \
   4567 		     || ('s' <= (c) && (c) <= 'z'))
   4568 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4569 #endif
   4570 
   4571 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4572 int
   4573 main ()
   4574 {
   4575   int i;
   4576   for (i = 0; i < 256; i++)
   4577     if (XOR (islower (i), ISLOWER (i))
   4578 	|| toupper (i) != TOUPPER (i))
   4579       return 2;
   4580   return 0;
   4581 }
   4582 _ACEOF
   4583 if ac_fn_c_try_run "$LINENO"; then :
   4584 
   4585 else
   4586   ac_cv_header_stdc=no
   4587 fi
   4588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4589   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4590 fi
   4591 
   4592 fi
   4593 fi
   4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4595 $as_echo "$ac_cv_header_stdc" >&6; }
   4596 if test $ac_cv_header_stdc = yes; then
   4597 
   4598 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4599 
   4600 fi
   4601 
   4602 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4603 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4604 		  inttypes.h stdint.h unistd.h
   4605 do :
   4606   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4607 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4608 "
   4609 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4610   cat >>confdefs.h <<_ACEOF
   4611 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4612 _ACEOF
   4613 
   4614 fi
   4615 
   4616 done
   4617 
   4618 
   4619 
   4620   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4621 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4622   MINIX=yes
   4623 else
   4624   MINIX=
   4625 fi
   4626 
   4627 
   4628   if test "$MINIX" = yes; then
   4629 
   4630 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4631 
   4632 
   4633 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4634 
   4635 
   4636 $as_echo "#define _MINIX 1" >>confdefs.h
   4637 
   4638   fi
   4639 
   4640 
   4641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4642 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4643 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4644   $as_echo_n "(cached) " >&6
   4645 else
   4646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4647 /* end confdefs.h.  */
   4648 
   4649 #         define __EXTENSIONS__ 1
   4650           $ac_includes_default
   4651 int
   4652 main ()
   4653 {
   4654 
   4655   ;
   4656   return 0;
   4657 }
   4658 _ACEOF
   4659 if ac_fn_c_try_compile "$LINENO"; then :
   4660   ac_cv_safe_to_define___extensions__=yes
   4661 else
   4662   ac_cv_safe_to_define___extensions__=no
   4663 fi
   4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4665 fi
   4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4667 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4668   test $ac_cv_safe_to_define___extensions__ = yes &&
   4669     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4670 
   4671   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4672 
   4673   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4674 
   4675   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4676 
   4677   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4678 
   4679 
   4680 
   4681 # Initialize libtool
   4682 case `pwd` in
   4683   *\ * | *\	*)
   4684     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4685 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4686 esac
   4687 
   4688 
   4689 
   4690 macro_version='2.4.6'
   4691 macro_revision='2.4.6'
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 ltmain=$ac_aux_dir/ltmain.sh
   4706 
   4707 # Make sure we can run config.sub.
   4708 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4709   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4710 
   4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4712 $as_echo_n "checking build system type... " >&6; }
   4713 if ${ac_cv_build+:} false; then :
   4714   $as_echo_n "(cached) " >&6
   4715 else
   4716   ac_build_alias=$build_alias
   4717 test "x$ac_build_alias" = x &&
   4718   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4719 test "x$ac_build_alias" = x &&
   4720   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4721 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4722   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4723 
   4724 fi
   4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4726 $as_echo "$ac_cv_build" >&6; }
   4727 case $ac_cv_build in
   4728 *-*-*) ;;
   4729 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4730 esac
   4731 build=$ac_cv_build
   4732 ac_save_IFS=$IFS; IFS='-'
   4733 set x $ac_cv_build
   4734 shift
   4735 build_cpu=$1
   4736 build_vendor=$2
   4737 shift; shift
   4738 # Remember, the first character of IFS is used to create $*,
   4739 # except with old shells:
   4740 build_os=$*
   4741 IFS=$ac_save_IFS
   4742 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4743 
   4744 
   4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4746 $as_echo_n "checking host system type... " >&6; }
   4747 if ${ac_cv_host+:} false; then :
   4748   $as_echo_n "(cached) " >&6
   4749 else
   4750   if test "x$host_alias" = x; then
   4751   ac_cv_host=$ac_cv_build
   4752 else
   4753   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4754     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4755 fi
   4756 
   4757 fi
   4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4759 $as_echo "$ac_cv_host" >&6; }
   4760 case $ac_cv_host in
   4761 *-*-*) ;;
   4762 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4763 esac
   4764 host=$ac_cv_host
   4765 ac_save_IFS=$IFS; IFS='-'
   4766 set x $ac_cv_host
   4767 shift
   4768 host_cpu=$1
   4769 host_vendor=$2
   4770 shift; shift
   4771 # Remember, the first character of IFS is used to create $*,
   4772 # except with old shells:
   4773 host_os=$*
   4774 IFS=$ac_save_IFS
   4775 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4776 
   4777 
   4778 # Backslashify metacharacters that are still active within
   4779 # double-quoted strings.
   4780 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4781 
   4782 # Same as above, but do not quote variable references.
   4783 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4784 
   4785 # Sed substitution to delay expansion of an escaped shell variable in a
   4786 # double_quote_subst'ed string.
   4787 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4788 
   4789 # Sed substitution to delay expansion of an escaped single quote.
   4790 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4791 
   4792 # Sed substitution to avoid accidental globbing in evaled expressions
   4793 no_glob_subst='s/\*/\\\*/g'
   4794 
   4795 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4796 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4797 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4798 
   4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4800 $as_echo_n "checking how to print strings... " >&6; }
   4801 # Test print first, because it will be a builtin if present.
   4802 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4803    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4804   ECHO='print -r --'
   4805 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4806   ECHO='printf %s\n'
   4807 else
   4808   # Use this function as a fallback that always works.
   4809   func_fallback_echo ()
   4810   {
   4811     eval 'cat <<_LTECHO_EOF
   4812 $1
   4813 _LTECHO_EOF'
   4814   }
   4815   ECHO='func_fallback_echo'
   4816 fi
   4817 
   4818 # func_echo_all arg...
   4819 # Invoke $ECHO with all args, space-separated.
   4820 func_echo_all ()
   4821 {
   4822     $ECHO ""
   4823 }
   4824 
   4825 case $ECHO in
   4826   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4827 $as_echo "printf" >&6; } ;;
   4828   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4829 $as_echo "print -r" >&6; } ;;
   4830   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4831 $as_echo "cat" >&6; } ;;
   4832 esac
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4848 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4849 if ${ac_cv_path_SED+:} false; then :
   4850   $as_echo_n "(cached) " >&6
   4851 else
   4852             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4853      for ac_i in 1 2 3 4 5 6 7; do
   4854        ac_script="$ac_script$as_nl$ac_script"
   4855      done
   4856      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4857      { ac_script=; unset ac_script;}
   4858      if test -z "$SED"; then
   4859   ac_path_SED_found=false
   4860   # Loop through the user's path and test for each of PROGNAME-LIST
   4861   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4862 for as_dir in $PATH
   4863 do
   4864   IFS=$as_save_IFS
   4865   test -z "$as_dir" && as_dir=.
   4866     for ac_prog in sed gsed; do
   4867     for ac_exec_ext in '' $ac_executable_extensions; do
   4868       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4869       as_fn_executable_p "$ac_path_SED" || continue
   4870 # Check for GNU ac_path_SED and select it if it is found.
   4871   # Check for GNU $ac_path_SED
   4872 case `"$ac_path_SED" --version 2>&1` in
   4873 *GNU*)
   4874   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4875 *)
   4876   ac_count=0
   4877   $as_echo_n 0123456789 >"conftest.in"
   4878   while :
   4879   do
   4880     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4881     mv "conftest.tmp" "conftest.in"
   4882     cp "conftest.in" "conftest.nl"
   4883     $as_echo '' >> "conftest.nl"
   4884     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4885     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4886     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4887     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4888       # Best one so far, save it but keep looking for a better one
   4889       ac_cv_path_SED="$ac_path_SED"
   4890       ac_path_SED_max=$ac_count
   4891     fi
   4892     # 10*(2^10) chars as input seems more than enough
   4893     test $ac_count -gt 10 && break
   4894   done
   4895   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4896 esac
   4897 
   4898       $ac_path_SED_found && break 3
   4899     done
   4900   done
   4901   done
   4902 IFS=$as_save_IFS
   4903   if test -z "$ac_cv_path_SED"; then
   4904     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4905   fi
   4906 else
   4907   ac_cv_path_SED=$SED
   4908 fi
   4909 
   4910 fi
   4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4912 $as_echo "$ac_cv_path_SED" >&6; }
   4913  SED="$ac_cv_path_SED"
   4914   rm -f conftest.sed
   4915 
   4916 test -z "$SED" && SED=sed
   4917 Xsed="$SED -e 1s/^X//"
   4918 
   4919 
   4920 
   4921 
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4930 $as_echo_n "checking for fgrep... " >&6; }
   4931 if ${ac_cv_path_FGREP+:} false; then :
   4932   $as_echo_n "(cached) " >&6
   4933 else
   4934   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4935    then ac_cv_path_FGREP="$GREP -F"
   4936    else
   4937      if test -z "$FGREP"; then
   4938   ac_path_FGREP_found=false
   4939   # Loop through the user's path and test for each of PROGNAME-LIST
   4940   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4941 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4942 do
   4943   IFS=$as_save_IFS
   4944   test -z "$as_dir" && as_dir=.
   4945     for ac_prog in fgrep; do
   4946     for ac_exec_ext in '' $ac_executable_extensions; do
   4947       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4948       as_fn_executable_p "$ac_path_FGREP" || continue
   4949 # Check for GNU ac_path_FGREP and select it if it is found.
   4950   # Check for GNU $ac_path_FGREP
   4951 case `"$ac_path_FGREP" --version 2>&1` in
   4952 *GNU*)
   4953   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4954 *)
   4955   ac_count=0
   4956   $as_echo_n 0123456789 >"conftest.in"
   4957   while :
   4958   do
   4959     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4960     mv "conftest.tmp" "conftest.in"
   4961     cp "conftest.in" "conftest.nl"
   4962     $as_echo 'FGREP' >> "conftest.nl"
   4963     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4964     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4965     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4966     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4967       # Best one so far, save it but keep looking for a better one
   4968       ac_cv_path_FGREP="$ac_path_FGREP"
   4969       ac_path_FGREP_max=$ac_count
   4970     fi
   4971     # 10*(2^10) chars as input seems more than enough
   4972     test $ac_count -gt 10 && break
   4973   done
   4974   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4975 esac
   4976 
   4977       $ac_path_FGREP_found && break 3
   4978     done
   4979   done
   4980   done
   4981 IFS=$as_save_IFS
   4982   if test -z "$ac_cv_path_FGREP"; then
   4983     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4984   fi
   4985 else
   4986   ac_cv_path_FGREP=$FGREP
   4987 fi
   4988 
   4989    fi
   4990 fi
   4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4992 $as_echo "$ac_cv_path_FGREP" >&6; }
   4993  FGREP="$ac_cv_path_FGREP"
   4994 
   4995 
   4996 test -z "$GREP" && GREP=grep
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 # Check whether --with-gnu-ld was given.
   5017 if test "${with_gnu_ld+set}" = set; then :
   5018   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5019 else
   5020   with_gnu_ld=no
   5021 fi
   5022 
   5023 ac_prog=ld
   5024 if test yes = "$GCC"; then
   5025   # Check if gcc -print-prog-name=ld gives a path.
   5026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5027 $as_echo_n "checking for ld used by $CC... " >&6; }
   5028   case $host in
   5029   *-*-mingw*)
   5030     # gcc leaves a trailing carriage return, which upsets mingw
   5031     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5032   *)
   5033     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5034   esac
   5035   case $ac_prog in
   5036     # Accept absolute paths.
   5037     [\\/]* | ?:[\\/]*)
   5038       re_direlt='/[^/][^/]*/\.\./'
   5039       # Canonicalize the pathname of ld
   5040       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5041       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5042 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5043       done
   5044       test -z "$LD" && LD=$ac_prog
   5045       ;;
   5046   "")
   5047     # If it fails, then pretend we aren't using GCC.
   5048     ac_prog=ld
   5049     ;;
   5050   *)
   5051     # If it is relative, then search for the first ld in PATH.
   5052     with_gnu_ld=unknown
   5053     ;;
   5054   esac
   5055 elif test yes = "$with_gnu_ld"; then
   5056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5057 $as_echo_n "checking for GNU ld... " >&6; }
   5058 else
   5059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5060 $as_echo_n "checking for non-GNU ld... " >&6; }
   5061 fi
   5062 if ${lt_cv_path_LD+:} false; then :
   5063   $as_echo_n "(cached) " >&6
   5064 else
   5065   if test -z "$LD"; then
   5066   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5067   for ac_dir in $PATH; do
   5068     IFS=$lt_save_ifs
   5069     test -z "$ac_dir" && ac_dir=.
   5070     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5071       lt_cv_path_LD=$ac_dir/$ac_prog
   5072       # Check to see if the program is GNU ld.  I'd rather use --version,
   5073       # but apparently some variants of GNU ld only accept -v.
   5074       # Break only if it was the GNU/non-GNU ld that we prefer.
   5075       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5076       *GNU* | *'with BFD'*)
   5077 	test no != "$with_gnu_ld" && break
   5078 	;;
   5079       *)
   5080 	test yes != "$with_gnu_ld" && break
   5081 	;;
   5082       esac
   5083     fi
   5084   done
   5085   IFS=$lt_save_ifs
   5086 else
   5087   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5088 fi
   5089 fi
   5090 
   5091 LD=$lt_cv_path_LD
   5092 if test -n "$LD"; then
   5093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5094 $as_echo "$LD" >&6; }
   5095 else
   5096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5097 $as_echo "no" >&6; }
   5098 fi
   5099 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5101 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5102 if ${lt_cv_prog_gnu_ld+:} false; then :
   5103   $as_echo_n "(cached) " >&6
   5104 else
   5105   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5106 case `$LD -v 2>&1 </dev/null` in
   5107 *GNU* | *'with BFD'*)
   5108   lt_cv_prog_gnu_ld=yes
   5109   ;;
   5110 *)
   5111   lt_cv_prog_gnu_ld=no
   5112   ;;
   5113 esac
   5114 fi
   5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5116 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5117 with_gnu_ld=$lt_cv_prog_gnu_ld
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5128 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5129 if ${lt_cv_path_NM+:} false; then :
   5130   $as_echo_n "(cached) " >&6
   5131 else
   5132   if test -n "$NM"; then
   5133   # Let the user override the test.
   5134   lt_cv_path_NM=$NM
   5135 else
   5136   lt_nm_to_check=${ac_tool_prefix}nm
   5137   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5138     lt_nm_to_check="$lt_nm_to_check nm"
   5139   fi
   5140   for lt_tmp_nm in $lt_nm_to_check; do
   5141     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5142     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5143       IFS=$lt_save_ifs
   5144       test -z "$ac_dir" && ac_dir=.
   5145       tmp_nm=$ac_dir/$lt_tmp_nm
   5146       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5147 	# Check to see if the nm accepts a BSD-compat flag.
   5148 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5149 	#   nm: unknown option "B" ignored
   5150 	# Tru64's nm complains that /dev/null is an invalid object file
   5151 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5152 	case $build_os in
   5153 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5154 	*) lt_bad_file=/dev/null ;;
   5155 	esac
   5156 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   5157 	*$lt_bad_file* | *'Invalid file or object type'*)
   5158 	  lt_cv_path_NM="$tmp_nm -B"
   5159 	  break 2
   5160 	  ;;
   5161 	*)
   5162 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5163 	  */dev/null*)
   5164 	    lt_cv_path_NM="$tmp_nm -p"
   5165 	    break 2
   5166 	    ;;
   5167 	  *)
   5168 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5169 	    continue # so that we can try to find one that supports BSD flags
   5170 	    ;;
   5171 	  esac
   5172 	  ;;
   5173 	esac
   5174       fi
   5175     done
   5176     IFS=$lt_save_ifs
   5177   done
   5178   : ${lt_cv_path_NM=no}
   5179 fi
   5180 fi
   5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5182 $as_echo "$lt_cv_path_NM" >&6; }
   5183 if test no != "$lt_cv_path_NM"; then
   5184   NM=$lt_cv_path_NM
   5185 else
   5186   # Didn't find any BSD compatible name lister, look for dumpbin.
   5187   if test -n "$DUMPBIN"; then :
   5188     # Let the user override the test.
   5189   else
   5190     if test -n "$ac_tool_prefix"; then
   5191   for ac_prog in dumpbin "link -dump"
   5192   do
   5193     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5194 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5196 $as_echo_n "checking for $ac_word... " >&6; }
   5197 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5198   $as_echo_n "(cached) " >&6
   5199 else
   5200   if test -n "$DUMPBIN"; then
   5201   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5202 else
   5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5204 for as_dir in $PATH
   5205 do
   5206   IFS=$as_save_IFS
   5207   test -z "$as_dir" && as_dir=.
   5208     for ac_exec_ext in '' $ac_executable_extensions; do
   5209   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5210     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5212     break 2
   5213   fi
   5214 done
   5215   done
   5216 IFS=$as_save_IFS
   5217 
   5218 fi
   5219 fi
   5220 DUMPBIN=$ac_cv_prog_DUMPBIN
   5221 if test -n "$DUMPBIN"; then
   5222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5223 $as_echo "$DUMPBIN" >&6; }
   5224 else
   5225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5226 $as_echo "no" >&6; }
   5227 fi
   5228 
   5229 
   5230     test -n "$DUMPBIN" && break
   5231   done
   5232 fi
   5233 if test -z "$DUMPBIN"; then
   5234   ac_ct_DUMPBIN=$DUMPBIN
   5235   for ac_prog in dumpbin "link -dump"
   5236 do
   5237   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5238 set dummy $ac_prog; ac_word=$2
   5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5240 $as_echo_n "checking for $ac_word... " >&6; }
   5241 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5242   $as_echo_n "(cached) " >&6
   5243 else
   5244   if test -n "$ac_ct_DUMPBIN"; then
   5245   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5246 else
   5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5248 for as_dir in $PATH
   5249 do
   5250   IFS=$as_save_IFS
   5251   test -z "$as_dir" && as_dir=.
   5252     for ac_exec_ext in '' $ac_executable_extensions; do
   5253   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5254     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5256     break 2
   5257   fi
   5258 done
   5259   done
   5260 IFS=$as_save_IFS
   5261 
   5262 fi
   5263 fi
   5264 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5265 if test -n "$ac_ct_DUMPBIN"; then
   5266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5267 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5268 else
   5269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5270 $as_echo "no" >&6; }
   5271 fi
   5272 
   5273 
   5274   test -n "$ac_ct_DUMPBIN" && break
   5275 done
   5276 
   5277   if test "x$ac_ct_DUMPBIN" = x; then
   5278     DUMPBIN=":"
   5279   else
   5280     case $cross_compiling:$ac_tool_warned in
   5281 yes:)
   5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5284 ac_tool_warned=yes ;;
   5285 esac
   5286     DUMPBIN=$ac_ct_DUMPBIN
   5287   fi
   5288 fi
   5289 
   5290     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5291     *COFF*)
   5292       DUMPBIN="$DUMPBIN -symbols -headers"
   5293       ;;
   5294     *)
   5295       DUMPBIN=:
   5296       ;;
   5297     esac
   5298   fi
   5299 
   5300   if test : != "$DUMPBIN"; then
   5301     NM=$DUMPBIN
   5302   fi
   5303 fi
   5304 test -z "$NM" && NM=nm
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5312 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5313 if ${lt_cv_nm_interface+:} false; then :
   5314   $as_echo_n "(cached) " >&6
   5315 else
   5316   lt_cv_nm_interface="BSD nm"
   5317   echo "int some_variable = 0;" > conftest.$ac_ext
   5318   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5319   (eval "$ac_compile" 2>conftest.err)
   5320   cat conftest.err >&5
   5321   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5322   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5323   cat conftest.err >&5
   5324   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5325   cat conftest.out >&5
   5326   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5327     lt_cv_nm_interface="MS dumpbin"
   5328   fi
   5329   rm -f conftest*
   5330 fi
   5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5332 $as_echo "$lt_cv_nm_interface" >&6; }
   5333 
   5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5335 $as_echo_n "checking whether ln -s works... " >&6; }
   5336 LN_S=$as_ln_s
   5337 if test "$LN_S" = "ln -s"; then
   5338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5339 $as_echo "yes" >&6; }
   5340 else
   5341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5342 $as_echo "no, using $LN_S" >&6; }
   5343 fi
   5344 
   5345 # find the maximum length of command line arguments
   5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5347 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5348 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5349   $as_echo_n "(cached) " >&6
   5350 else
   5351     i=0
   5352   teststring=ABCD
   5353 
   5354   case $build_os in
   5355   msdosdjgpp*)
   5356     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5357     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5358     # during glob expansion).  Even if it were fixed, the result of this
   5359     # check would be larger than it should be.
   5360     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5361     ;;
   5362 
   5363   gnu*)
   5364     # Under GNU Hurd, this test is not required because there is
   5365     # no limit to the length of command line arguments.
   5366     # Libtool will interpret -1 as no limit whatsoever
   5367     lt_cv_sys_max_cmd_len=-1;
   5368     ;;
   5369 
   5370   cygwin* | mingw* | cegcc*)
   5371     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5372     # about 5 minutes as the teststring grows exponentially.
   5373     # Worse, since 9x/ME are not pre-emptively multitasking,
   5374     # you end up with a "frozen" computer, even though with patience
   5375     # the test eventually succeeds (with a max line length of 256k).
   5376     # Instead, let's just punt: use the minimum linelength reported by
   5377     # all of the supported platforms: 8192 (on NT/2K/XP).
   5378     lt_cv_sys_max_cmd_len=8192;
   5379     ;;
   5380 
   5381   mint*)
   5382     # On MiNT this can take a long time and run out of memory.
   5383     lt_cv_sys_max_cmd_len=8192;
   5384     ;;
   5385 
   5386   amigaos*)
   5387     # On AmigaOS with pdksh, this test takes hours, literally.
   5388     # So we just punt and use a minimum line length of 8192.
   5389     lt_cv_sys_max_cmd_len=8192;
   5390     ;;
   5391 
   5392   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   5393     # This has been around since 386BSD, at least.  Likely further.
   5394     if test -x /sbin/sysctl; then
   5395       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5396     elif test -x /usr/sbin/sysctl; then
   5397       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5398     else
   5399       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5400     fi
   5401     # And add a safety zone
   5402     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5403     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5404     ;;
   5405 
   5406   interix*)
   5407     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5408     lt_cv_sys_max_cmd_len=196608
   5409     ;;
   5410 
   5411   os2*)
   5412     # The test takes a long time on OS/2.
   5413     lt_cv_sys_max_cmd_len=8192
   5414     ;;
   5415 
   5416   osf*)
   5417     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5418     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5419     # nice to cause kernel panics so lets avoid the loop below.
   5420     # First set a reasonable default.
   5421     lt_cv_sys_max_cmd_len=16384
   5422     #
   5423     if test -x /sbin/sysconfig; then
   5424       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5425         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5426       esac
   5427     fi
   5428     ;;
   5429   sco3.2v5*)
   5430     lt_cv_sys_max_cmd_len=102400
   5431     ;;
   5432   sysv5* | sco5v6* | sysv4.2uw2*)
   5433     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5434     if test -n "$kargmax"; then
   5435       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5436     else
   5437       lt_cv_sys_max_cmd_len=32768
   5438     fi
   5439     ;;
   5440   *)
   5441     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5442     if test -n "$lt_cv_sys_max_cmd_len" && \
   5443        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5444       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5445       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5446     else
   5447       # Make teststring a little bigger before we do anything with it.
   5448       # a 1K string should be a reasonable start.
   5449       for i in 1 2 3 4 5 6 7 8; do
   5450         teststring=$teststring$teststring
   5451       done
   5452       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5453       # If test is not a shell built-in, we'll probably end up computing a
   5454       # maximum length that is only half of the actual maximum length, but
   5455       # we can't tell.
   5456       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5457 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5458 	      test 17 != "$i" # 1/2 MB should be enough
   5459       do
   5460         i=`expr $i + 1`
   5461         teststring=$teststring$teststring
   5462       done
   5463       # Only check the string length outside the loop.
   5464       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5465       teststring=
   5466       # Add a significant safety factor because C++ compilers can tack on
   5467       # massive amounts of additional arguments before passing them to the
   5468       # linker.  It appears as though 1/2 is a usable value.
   5469       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5470     fi
   5471     ;;
   5472   esac
   5473 
   5474 fi
   5475 
   5476 if test -n "$lt_cv_sys_max_cmd_len"; then
   5477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5478 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5479 else
   5480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5481 $as_echo "none" >&6; }
   5482 fi
   5483 max_cmd_len=$lt_cv_sys_max_cmd_len
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 : ${CP="cp -f"}
   5491 : ${MV="mv -f"}
   5492 : ${RM="rm -f"}
   5493 
   5494 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5495   lt_unset=unset
   5496 else
   5497   lt_unset=false
   5498 fi
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 # test EBCDIC or ASCII
   5505 case `echo X|tr X '\101'` in
   5506  A) # ASCII based system
   5507     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5508   lt_SP2NL='tr \040 \012'
   5509   lt_NL2SP='tr \015\012 \040\040'
   5510   ;;
   5511  *) # EBCDIC based system
   5512   lt_SP2NL='tr \100 \n'
   5513   lt_NL2SP='tr \r\n \100\100'
   5514   ;;
   5515 esac
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5526 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5527 if ${lt_cv_to_host_file_cmd+:} false; then :
   5528   $as_echo_n "(cached) " >&6
   5529 else
   5530   case $host in
   5531   *-*-mingw* )
   5532     case $build in
   5533       *-*-mingw* ) # actually msys
   5534         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5535         ;;
   5536       *-*-cygwin* )
   5537         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5538         ;;
   5539       * ) # otherwise, assume *nix
   5540         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5541         ;;
   5542     esac
   5543     ;;
   5544   *-*-cygwin* )
   5545     case $build in
   5546       *-*-mingw* ) # actually msys
   5547         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5548         ;;
   5549       *-*-cygwin* )
   5550         lt_cv_to_host_file_cmd=func_convert_file_noop
   5551         ;;
   5552       * ) # otherwise, assume *nix
   5553         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5554         ;;
   5555     esac
   5556     ;;
   5557   * ) # unhandled hosts (and "normal" native builds)
   5558     lt_cv_to_host_file_cmd=func_convert_file_noop
   5559     ;;
   5560 esac
   5561 
   5562 fi
   5563 
   5564 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5566 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5573 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5574 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5575   $as_echo_n "(cached) " >&6
   5576 else
   5577   #assume ordinary cross tools, or native build.
   5578 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5579 case $host in
   5580   *-*-mingw* )
   5581     case $build in
   5582       *-*-mingw* ) # actually msys
   5583         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5584         ;;
   5585     esac
   5586     ;;
   5587 esac
   5588 
   5589 fi
   5590 
   5591 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5593 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5600 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5601 if ${lt_cv_ld_reload_flag+:} false; then :
   5602   $as_echo_n "(cached) " >&6
   5603 else
   5604   lt_cv_ld_reload_flag='-r'
   5605 fi
   5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5607 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5608 reload_flag=$lt_cv_ld_reload_flag
   5609 case $reload_flag in
   5610 "" | " "*) ;;
   5611 *) reload_flag=" $reload_flag" ;;
   5612 esac
   5613 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5614 case $host_os in
   5615   cygwin* | mingw* | pw32* | cegcc*)
   5616     if test yes != "$GCC"; then
   5617       reload_cmds=false
   5618     fi
   5619     ;;
   5620   darwin*)
   5621     if test yes = "$GCC"; then
   5622       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5623     else
   5624       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5625     fi
   5626     ;;
   5627 esac
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 if test -n "$ac_tool_prefix"; then
   5638   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5639 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5641 $as_echo_n "checking for $ac_word... " >&6; }
   5642 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5643   $as_echo_n "(cached) " >&6
   5644 else
   5645   if test -n "$OBJDUMP"; then
   5646   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5647 else
   5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5649 for as_dir in $PATH
   5650 do
   5651   IFS=$as_save_IFS
   5652   test -z "$as_dir" && as_dir=.
   5653     for ac_exec_ext in '' $ac_executable_extensions; do
   5654   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5655     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5657     break 2
   5658   fi
   5659 done
   5660   done
   5661 IFS=$as_save_IFS
   5662 
   5663 fi
   5664 fi
   5665 OBJDUMP=$ac_cv_prog_OBJDUMP
   5666 if test -n "$OBJDUMP"; then
   5667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5668 $as_echo "$OBJDUMP" >&6; }
   5669 else
   5670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5671 $as_echo "no" >&6; }
   5672 fi
   5673 
   5674 
   5675 fi
   5676 if test -z "$ac_cv_prog_OBJDUMP"; then
   5677   ac_ct_OBJDUMP=$OBJDUMP
   5678   # Extract the first word of "objdump", so it can be a program name with args.
   5679 set dummy objdump; ac_word=$2
   5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5681 $as_echo_n "checking for $ac_word... " >&6; }
   5682 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5683   $as_echo_n "(cached) " >&6
   5684 else
   5685   if test -n "$ac_ct_OBJDUMP"; then
   5686   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5687 else
   5688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5689 for as_dir in $PATH
   5690 do
   5691   IFS=$as_save_IFS
   5692   test -z "$as_dir" && as_dir=.
   5693     for ac_exec_ext in '' $ac_executable_extensions; do
   5694   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5695     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5696     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5697     break 2
   5698   fi
   5699 done
   5700   done
   5701 IFS=$as_save_IFS
   5702 
   5703 fi
   5704 fi
   5705 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5706 if test -n "$ac_ct_OBJDUMP"; then
   5707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5708 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5709 else
   5710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5711 $as_echo "no" >&6; }
   5712 fi
   5713 
   5714   if test "x$ac_ct_OBJDUMP" = x; then
   5715     OBJDUMP="false"
   5716   else
   5717     case $cross_compiling:$ac_tool_warned in
   5718 yes:)
   5719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5721 ac_tool_warned=yes ;;
   5722 esac
   5723     OBJDUMP=$ac_ct_OBJDUMP
   5724   fi
   5725 else
   5726   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5727 fi
   5728 
   5729 test -z "$OBJDUMP" && OBJDUMP=objdump
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5740 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5741 if ${lt_cv_deplibs_check_method+:} false; then :
   5742   $as_echo_n "(cached) " >&6
   5743 else
   5744   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5745 lt_cv_file_magic_test_file=
   5746 lt_cv_deplibs_check_method='unknown'
   5747 # Need to set the preceding variable on all platforms that support
   5748 # interlibrary dependencies.
   5749 # 'none' -- dependencies not supported.
   5750 # 'unknown' -- same as none, but documents that we really don't know.
   5751 # 'pass_all' -- all dependencies passed with no checks.
   5752 # 'test_compile' -- check by making test program.
   5753 # 'file_magic [[regex]]' -- check by looking for files in library path
   5754 # that responds to the $file_magic_cmd with a given extended regex.
   5755 # If you have 'file' or equivalent on your system and you're not sure
   5756 # whether 'pass_all' will *always* work, you probably want this one.
   5757 
   5758 case $host_os in
   5759 aix[4-9]*)
   5760   lt_cv_deplibs_check_method=pass_all
   5761   ;;
   5762 
   5763 beos*)
   5764   lt_cv_deplibs_check_method=pass_all
   5765   ;;
   5766 
   5767 bsdi[45]*)
   5768   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5769   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5770   lt_cv_file_magic_test_file=/shlib/libc.so
   5771   ;;
   5772 
   5773 cygwin*)
   5774   # func_win32_libid is a shell function defined in ltmain.sh
   5775   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5776   lt_cv_file_magic_cmd='func_win32_libid'
   5777   ;;
   5778 
   5779 mingw* | pw32*)
   5780   # Base MSYS/MinGW do not provide the 'file' command needed by
   5781   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5782   # unless we find 'file', for example because we are cross-compiling.
   5783   if ( file / ) >/dev/null 2>&1; then
   5784     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5785     lt_cv_file_magic_cmd='func_win32_libid'
   5786   else
   5787     # Keep this pattern in sync with the one in func_win32_libid.
   5788     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5789     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5790   fi
   5791   ;;
   5792 
   5793 cegcc*)
   5794   # use the weaker test based on 'objdump'. See mingw*.
   5795   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5796   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5797   ;;
   5798 
   5799 darwin* | rhapsody*)
   5800   lt_cv_deplibs_check_method=pass_all
   5801   ;;
   5802 
   5803 freebsd* | dragonfly*)
   5804   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5805     case $host_cpu in
   5806     i*86 )
   5807       # Not sure whether the presence of OpenBSD here was a mistake.
   5808       # Let's accept both of them until this is cleared up.
   5809       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5810       lt_cv_file_magic_cmd=/usr/bin/file
   5811       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5812       ;;
   5813     esac
   5814   else
   5815     lt_cv_deplibs_check_method=pass_all
   5816   fi
   5817   ;;
   5818 
   5819 haiku*)
   5820   lt_cv_deplibs_check_method=pass_all
   5821   ;;
   5822 
   5823 hpux10.20* | hpux11*)
   5824   lt_cv_file_magic_cmd=/usr/bin/file
   5825   case $host_cpu in
   5826   ia64*)
   5827     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5828     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5829     ;;
   5830   hppa*64*)
   5831     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]'
   5832     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5833     ;;
   5834   *)
   5835     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5836     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5837     ;;
   5838   esac
   5839   ;;
   5840 
   5841 interix[3-9]*)
   5842   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5843   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5844   ;;
   5845 
   5846 irix5* | irix6* | nonstopux*)
   5847   case $LD in
   5848   *-32|*"-32 ") libmagic=32-bit;;
   5849   *-n32|*"-n32 ") libmagic=N32;;
   5850   *-64|*"-64 ") libmagic=64-bit;;
   5851   *) libmagic=never-match;;
   5852   esac
   5853   lt_cv_deplibs_check_method=pass_all
   5854   ;;
   5855 
   5856 # This must be glibc/ELF.
   5857 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5858   lt_cv_deplibs_check_method=pass_all
   5859   ;;
   5860 
   5861 netbsd*)
   5862   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5863     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5864   else
   5865     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5866   fi
   5867   ;;
   5868 
   5869 newos6*)
   5870   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5871   lt_cv_file_magic_cmd=/usr/bin/file
   5872   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5873   ;;
   5874 
   5875 *nto* | *qnx*)
   5876   lt_cv_deplibs_check_method=pass_all
   5877   ;;
   5878 
   5879 openbsd* | bitrig*)
   5880   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5881     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5882   else
   5883     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5884   fi
   5885   ;;
   5886 
   5887 osf3* | osf4* | osf5*)
   5888   lt_cv_deplibs_check_method=pass_all
   5889   ;;
   5890 
   5891 rdos*)
   5892   lt_cv_deplibs_check_method=pass_all
   5893   ;;
   5894 
   5895 solaris*)
   5896   lt_cv_deplibs_check_method=pass_all
   5897   ;;
   5898 
   5899 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5900   lt_cv_deplibs_check_method=pass_all
   5901   ;;
   5902 
   5903 sysv4 | sysv4.3*)
   5904   case $host_vendor in
   5905   motorola)
   5906     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]'
   5907     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5908     ;;
   5909   ncr)
   5910     lt_cv_deplibs_check_method=pass_all
   5911     ;;
   5912   sequent)
   5913     lt_cv_file_magic_cmd='/bin/file'
   5914     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5915     ;;
   5916   sni)
   5917     lt_cv_file_magic_cmd='/bin/file'
   5918     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5919     lt_cv_file_magic_test_file=/lib/libc.so
   5920     ;;
   5921   siemens)
   5922     lt_cv_deplibs_check_method=pass_all
   5923     ;;
   5924   pc)
   5925     lt_cv_deplibs_check_method=pass_all
   5926     ;;
   5927   esac
   5928   ;;
   5929 
   5930 tpf*)
   5931   lt_cv_deplibs_check_method=pass_all
   5932   ;;
   5933 os2*)
   5934   lt_cv_deplibs_check_method=pass_all
   5935   ;;
   5936 esac
   5937 
   5938 fi
   5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5940 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5941 
   5942 file_magic_glob=
   5943 want_nocaseglob=no
   5944 if test "$build" = "$host"; then
   5945   case $host_os in
   5946   mingw* | pw32*)
   5947     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5948       want_nocaseglob=yes
   5949     else
   5950       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5951     fi
   5952     ;;
   5953   esac
   5954 fi
   5955 
   5956 file_magic_cmd=$lt_cv_file_magic_cmd
   5957 deplibs_check_method=$lt_cv_deplibs_check_method
   5958 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 if test -n "$ac_tool_prefix"; then
   5982   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5983 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5985 $as_echo_n "checking for $ac_word... " >&6; }
   5986 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5987   $as_echo_n "(cached) " >&6
   5988 else
   5989   if test -n "$DLLTOOL"; then
   5990   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5991 else
   5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5993 for as_dir in $PATH
   5994 do
   5995   IFS=$as_save_IFS
   5996   test -z "$as_dir" && as_dir=.
   5997     for ac_exec_ext in '' $ac_executable_extensions; do
   5998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5999     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6001     break 2
   6002   fi
   6003 done
   6004   done
   6005 IFS=$as_save_IFS
   6006 
   6007 fi
   6008 fi
   6009 DLLTOOL=$ac_cv_prog_DLLTOOL
   6010 if test -n "$DLLTOOL"; then
   6011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6012 $as_echo "$DLLTOOL" >&6; }
   6013 else
   6014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6015 $as_echo "no" >&6; }
   6016 fi
   6017 
   6018 
   6019 fi
   6020 if test -z "$ac_cv_prog_DLLTOOL"; then
   6021   ac_ct_DLLTOOL=$DLLTOOL
   6022   # Extract the first word of "dlltool", so it can be a program name with args.
   6023 set dummy dlltool; ac_word=$2
   6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6025 $as_echo_n "checking for $ac_word... " >&6; }
   6026 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6027   $as_echo_n "(cached) " >&6
   6028 else
   6029   if test -n "$ac_ct_DLLTOOL"; then
   6030   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6031 else
   6032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6033 for as_dir in $PATH
   6034 do
   6035   IFS=$as_save_IFS
   6036   test -z "$as_dir" && as_dir=.
   6037     for ac_exec_ext in '' $ac_executable_extensions; do
   6038   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6039     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6041     break 2
   6042   fi
   6043 done
   6044   done
   6045 IFS=$as_save_IFS
   6046 
   6047 fi
   6048 fi
   6049 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6050 if test -n "$ac_ct_DLLTOOL"; then
   6051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6052 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6053 else
   6054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6055 $as_echo "no" >&6; }
   6056 fi
   6057 
   6058   if test "x$ac_ct_DLLTOOL" = x; then
   6059     DLLTOOL="false"
   6060   else
   6061     case $cross_compiling:$ac_tool_warned in
   6062 yes:)
   6063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6065 ac_tool_warned=yes ;;
   6066 esac
   6067     DLLTOOL=$ac_ct_DLLTOOL
   6068   fi
   6069 else
   6070   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6071 fi
   6072 
   6073 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6085 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6086 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6087   $as_echo_n "(cached) " >&6
   6088 else
   6089   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6090 
   6091 case $host_os in
   6092 cygwin* | mingw* | pw32* | cegcc*)
   6093   # two different shell functions defined in ltmain.sh;
   6094   # decide which one to use based on capabilities of $DLLTOOL
   6095   case `$DLLTOOL --help 2>&1` in
   6096   *--identify-strict*)
   6097     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6098     ;;
   6099   *)
   6100     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6101     ;;
   6102   esac
   6103   ;;
   6104 *)
   6105   # fallback: assume linklib IS sharedlib
   6106   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6107   ;;
   6108 esac
   6109 
   6110 fi
   6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6112 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6113 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6114 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 if test -n "$ac_tool_prefix"; then
   6123   for ac_prog in ar
   6124   do
   6125     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6128 $as_echo_n "checking for $ac_word... " >&6; }
   6129 if ${ac_cv_prog_AR+:} false; then :
   6130   $as_echo_n "(cached) " >&6
   6131 else
   6132   if test -n "$AR"; then
   6133   ac_cv_prog_AR="$AR" # Let the user override the test.
   6134 else
   6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6136 for as_dir in $PATH
   6137 do
   6138   IFS=$as_save_IFS
   6139   test -z "$as_dir" && as_dir=.
   6140     for ac_exec_ext in '' $ac_executable_extensions; do
   6141   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6142     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6144     break 2
   6145   fi
   6146 done
   6147   done
   6148 IFS=$as_save_IFS
   6149 
   6150 fi
   6151 fi
   6152 AR=$ac_cv_prog_AR
   6153 if test -n "$AR"; then
   6154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6155 $as_echo "$AR" >&6; }
   6156 else
   6157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6158 $as_echo "no" >&6; }
   6159 fi
   6160 
   6161 
   6162     test -n "$AR" && break
   6163   done
   6164 fi
   6165 if test -z "$AR"; then
   6166   ac_ct_AR=$AR
   6167   for ac_prog in ar
   6168 do
   6169   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6170 set dummy $ac_prog; ac_word=$2
   6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6172 $as_echo_n "checking for $ac_word... " >&6; }
   6173 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6174   $as_echo_n "(cached) " >&6
   6175 else
   6176   if test -n "$ac_ct_AR"; then
   6177   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6178 else
   6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6180 for as_dir in $PATH
   6181 do
   6182   IFS=$as_save_IFS
   6183   test -z "$as_dir" && as_dir=.
   6184     for ac_exec_ext in '' $ac_executable_extensions; do
   6185   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6186     ac_cv_prog_ac_ct_AR="$ac_prog"
   6187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6188     break 2
   6189   fi
   6190 done
   6191   done
   6192 IFS=$as_save_IFS
   6193 
   6194 fi
   6195 fi
   6196 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6197 if test -n "$ac_ct_AR"; then
   6198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6199 $as_echo "$ac_ct_AR" >&6; }
   6200 else
   6201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6202 $as_echo "no" >&6; }
   6203 fi
   6204 
   6205 
   6206   test -n "$ac_ct_AR" && break
   6207 done
   6208 
   6209   if test "x$ac_ct_AR" = x; then
   6210     AR="false"
   6211   else
   6212     case $cross_compiling:$ac_tool_warned in
   6213 yes:)
   6214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6216 ac_tool_warned=yes ;;
   6217 esac
   6218     AR=$ac_ct_AR
   6219   fi
   6220 fi
   6221 
   6222 : ${AR=ar}
   6223 : ${AR_FLAGS=cru}
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6236 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6237 if ${lt_cv_ar_at_file+:} false; then :
   6238   $as_echo_n "(cached) " >&6
   6239 else
   6240   lt_cv_ar_at_file=no
   6241    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6242 /* end confdefs.h.  */
   6243 
   6244 int
   6245 main ()
   6246 {
   6247 
   6248   ;
   6249   return 0;
   6250 }
   6251 _ACEOF
   6252 if ac_fn_c_try_compile "$LINENO"; then :
   6253   echo conftest.$ac_objext > conftest.lst
   6254       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6255       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6256   (eval $lt_ar_try) 2>&5
   6257   ac_status=$?
   6258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6259   test $ac_status = 0; }
   6260       if test 0 -eq "$ac_status"; then
   6261 	# Ensure the archiver fails upon bogus file names.
   6262 	rm -f conftest.$ac_objext libconftest.a
   6263 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6264   (eval $lt_ar_try) 2>&5
   6265   ac_status=$?
   6266   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6267   test $ac_status = 0; }
   6268 	if test 0 -ne "$ac_status"; then
   6269           lt_cv_ar_at_file=@
   6270         fi
   6271       fi
   6272       rm -f conftest.* libconftest.a
   6273 
   6274 fi
   6275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6276 
   6277 fi
   6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6279 $as_echo "$lt_cv_ar_at_file" >&6; }
   6280 
   6281 if test no = "$lt_cv_ar_at_file"; then
   6282   archiver_list_spec=
   6283 else
   6284   archiver_list_spec=$lt_cv_ar_at_file
   6285 fi
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 if test -n "$ac_tool_prefix"; then
   6294   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6295 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6297 $as_echo_n "checking for $ac_word... " >&6; }
   6298 if ${ac_cv_prog_STRIP+:} false; then :
   6299   $as_echo_n "(cached) " >&6
   6300 else
   6301   if test -n "$STRIP"; then
   6302   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6303 else
   6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6305 for as_dir in $PATH
   6306 do
   6307   IFS=$as_save_IFS
   6308   test -z "$as_dir" && as_dir=.
   6309     for ac_exec_ext in '' $ac_executable_extensions; do
   6310   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6311     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6313     break 2
   6314   fi
   6315 done
   6316   done
   6317 IFS=$as_save_IFS
   6318 
   6319 fi
   6320 fi
   6321 STRIP=$ac_cv_prog_STRIP
   6322 if test -n "$STRIP"; then
   6323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6324 $as_echo "$STRIP" >&6; }
   6325 else
   6326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6327 $as_echo "no" >&6; }
   6328 fi
   6329 
   6330 
   6331 fi
   6332 if test -z "$ac_cv_prog_STRIP"; then
   6333   ac_ct_STRIP=$STRIP
   6334   # Extract the first word of "strip", so it can be a program name with args.
   6335 set dummy strip; ac_word=$2
   6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6337 $as_echo_n "checking for $ac_word... " >&6; }
   6338 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6339   $as_echo_n "(cached) " >&6
   6340 else
   6341   if test -n "$ac_ct_STRIP"; then
   6342   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6343 else
   6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6345 for as_dir in $PATH
   6346 do
   6347   IFS=$as_save_IFS
   6348   test -z "$as_dir" && as_dir=.
   6349     for ac_exec_ext in '' $ac_executable_extensions; do
   6350   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6351     ac_cv_prog_ac_ct_STRIP="strip"
   6352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6353     break 2
   6354   fi
   6355 done
   6356   done
   6357 IFS=$as_save_IFS
   6358 
   6359 fi
   6360 fi
   6361 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6362 if test -n "$ac_ct_STRIP"; then
   6363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6364 $as_echo "$ac_ct_STRIP" >&6; }
   6365 else
   6366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6367 $as_echo "no" >&6; }
   6368 fi
   6369 
   6370   if test "x$ac_ct_STRIP" = x; then
   6371     STRIP=":"
   6372   else
   6373     case $cross_compiling:$ac_tool_warned in
   6374 yes:)
   6375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6377 ac_tool_warned=yes ;;
   6378 esac
   6379     STRIP=$ac_ct_STRIP
   6380   fi
   6381 else
   6382   STRIP="$ac_cv_prog_STRIP"
   6383 fi
   6384 
   6385 test -z "$STRIP" && STRIP=:
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 if test -n "$ac_tool_prefix"; then
   6393   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6394 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6396 $as_echo_n "checking for $ac_word... " >&6; }
   6397 if ${ac_cv_prog_RANLIB+:} false; then :
   6398   $as_echo_n "(cached) " >&6
   6399 else
   6400   if test -n "$RANLIB"; then
   6401   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6402 else
   6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6404 for as_dir in $PATH
   6405 do
   6406   IFS=$as_save_IFS
   6407   test -z "$as_dir" && as_dir=.
   6408     for ac_exec_ext in '' $ac_executable_extensions; do
   6409   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6410     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6412     break 2
   6413   fi
   6414 done
   6415   done
   6416 IFS=$as_save_IFS
   6417 
   6418 fi
   6419 fi
   6420 RANLIB=$ac_cv_prog_RANLIB
   6421 if test -n "$RANLIB"; then
   6422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6423 $as_echo "$RANLIB" >&6; }
   6424 else
   6425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6426 $as_echo "no" >&6; }
   6427 fi
   6428 
   6429 
   6430 fi
   6431 if test -z "$ac_cv_prog_RANLIB"; then
   6432   ac_ct_RANLIB=$RANLIB
   6433   # Extract the first word of "ranlib", so it can be a program name with args.
   6434 set dummy ranlib; ac_word=$2
   6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6436 $as_echo_n "checking for $ac_word... " >&6; }
   6437 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6438   $as_echo_n "(cached) " >&6
   6439 else
   6440   if test -n "$ac_ct_RANLIB"; then
   6441   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6442 else
   6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6444 for as_dir in $PATH
   6445 do
   6446   IFS=$as_save_IFS
   6447   test -z "$as_dir" && as_dir=.
   6448     for ac_exec_ext in '' $ac_executable_extensions; do
   6449   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6450     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6452     break 2
   6453   fi
   6454 done
   6455   done
   6456 IFS=$as_save_IFS
   6457 
   6458 fi
   6459 fi
   6460 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6461 if test -n "$ac_ct_RANLIB"; then
   6462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6463 $as_echo "$ac_ct_RANLIB" >&6; }
   6464 else
   6465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6466 $as_echo "no" >&6; }
   6467 fi
   6468 
   6469   if test "x$ac_ct_RANLIB" = x; then
   6470     RANLIB=":"
   6471   else
   6472     case $cross_compiling:$ac_tool_warned in
   6473 yes:)
   6474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6476 ac_tool_warned=yes ;;
   6477 esac
   6478     RANLIB=$ac_ct_RANLIB
   6479   fi
   6480 else
   6481   RANLIB="$ac_cv_prog_RANLIB"
   6482 fi
   6483 
   6484 test -z "$RANLIB" && RANLIB=:
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 # Determine commands to create old-style static archives.
   6492 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6493 old_postinstall_cmds='chmod 644 $oldlib'
   6494 old_postuninstall_cmds=
   6495 
   6496 if test -n "$RANLIB"; then
   6497   case $host_os in
   6498   bitrig* | openbsd*)
   6499     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6500     ;;
   6501   *)
   6502     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6503     ;;
   6504   esac
   6505   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6506 fi
   6507 
   6508 case $host_os in
   6509   darwin*)
   6510     lock_old_archive_extraction=yes ;;
   6511   *)
   6512     lock_old_archive_extraction=no ;;
   6513 esac
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 # If no C compiler was specified, use CC.
   6554 LTCC=${LTCC-"$CC"}
   6555 
   6556 # If no C compiler flags were specified, use CFLAGS.
   6557 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6558 
   6559 # Allow CC to be a program name with arguments.
   6560 compiler=$CC
   6561 
   6562 
   6563 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6565 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6566 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6567   $as_echo_n "(cached) " >&6
   6568 else
   6569 
   6570 # These are sane defaults that work on at least a few old systems.
   6571 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6572 
   6573 # Character class describing NM global symbol codes.
   6574 symcode='[BCDEGRST]'
   6575 
   6576 # Regexp to match symbols that can be accessed directly from C.
   6577 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6578 
   6579 # Define system-specific variables.
   6580 case $host_os in
   6581 aix*)
   6582   symcode='[BCDT]'
   6583   ;;
   6584 cygwin* | mingw* | pw32* | cegcc*)
   6585   symcode='[ABCDGISTW]'
   6586   ;;
   6587 hpux*)
   6588   if test ia64 = "$host_cpu"; then
   6589     symcode='[ABCDEGRST]'
   6590   fi
   6591   ;;
   6592 irix* | nonstopux*)
   6593   symcode='[BCDEGRST]'
   6594   ;;
   6595 osf*)
   6596   symcode='[BCDEGQRST]'
   6597   ;;
   6598 solaris*)
   6599   symcode='[BDRT]'
   6600   ;;
   6601 sco3.2v5*)
   6602   symcode='[DT]'
   6603   ;;
   6604 sysv4.2uw2*)
   6605   symcode='[DT]'
   6606   ;;
   6607 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6608   symcode='[ABDT]'
   6609   ;;
   6610 sysv4)
   6611   symcode='[DFNSTU]'
   6612   ;;
   6613 esac
   6614 
   6615 # If we're using GNU nm, then use its standard symbol codes.
   6616 case `$NM -V 2>&1` in
   6617 *GNU* | *'with BFD'*)
   6618   symcode='[ABCDGIRSTW]' ;;
   6619 esac
   6620 
   6621 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6622   # Gets list of data symbols to import.
   6623   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6624   # Adjust the below global symbol transforms to fixup imported variables.
   6625   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6626   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6627   lt_c_name_lib_hook="\
   6628   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6629   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6630 else
   6631   # Disable hooks by default.
   6632   lt_cv_sys_global_symbol_to_import=
   6633   lt_cdecl_hook=
   6634   lt_c_name_hook=
   6635   lt_c_name_lib_hook=
   6636 fi
   6637 
   6638 # Transform an extracted symbol line into a proper C declaration.
   6639 # Some systems (esp. on ia64) link data and code symbols differently,
   6640 # so use this general approach.
   6641 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6642 $lt_cdecl_hook\
   6643 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6644 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6645 
   6646 # Transform an extracted symbol line into symbol name and symbol address
   6647 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6648 $lt_c_name_hook\
   6649 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6650 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6651 
   6652 # Transform an extracted symbol line into symbol name with lib prefix and
   6653 # symbol address.
   6654 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6655 $lt_c_name_lib_hook\
   6656 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6657 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6658 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6659 
   6660 # Handle CRLF in mingw tool chain
   6661 opt_cr=
   6662 case $build_os in
   6663 mingw*)
   6664   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6665   ;;
   6666 esac
   6667 
   6668 # Try without a prefix underscore, then with it.
   6669 for ac_symprfx in "" "_"; do
   6670 
   6671   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6672   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6673 
   6674   # Write the raw and C identifiers.
   6675   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6676     # Fake it for dumpbin and say T for any non-static function,
   6677     # D for any global variable and I for any imported variable.
   6678     # Also find C++ and __fastcall symbols from MSVC++,
   6679     # which start with @ or ?.
   6680     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6681 "     {last_section=section; section=\$ 3};"\
   6682 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6683 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6684 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6685 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6686 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6687 "     \$ 0!~/External *\|/{next};"\
   6688 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6689 "     {if(hide[section]) next};"\
   6690 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6691 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6692 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6693 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6694 "     ' prfx=^$ac_symprfx"
   6695   else
   6696     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6697   fi
   6698   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6699 
   6700   # Check to see that the pipe works correctly.
   6701   pipe_works=no
   6702 
   6703   rm -f conftest*
   6704   cat > conftest.$ac_ext <<_LT_EOF
   6705 #ifdef __cplusplus
   6706 extern "C" {
   6707 #endif
   6708 char nm_test_var;
   6709 void nm_test_func(void);
   6710 void nm_test_func(void){}
   6711 #ifdef __cplusplus
   6712 }
   6713 #endif
   6714 int main(){nm_test_var='a';nm_test_func();return(0);}
   6715 _LT_EOF
   6716 
   6717   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6718   (eval $ac_compile) 2>&5
   6719   ac_status=$?
   6720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6721   test $ac_status = 0; }; then
   6722     # Now try to grab the symbols.
   6723     nlist=conftest.nm
   6724     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6725   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6726   ac_status=$?
   6727   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6728   test $ac_status = 0; } && test -s "$nlist"; then
   6729       # Try sorting and uniquifying the output.
   6730       if sort "$nlist" | uniq > "$nlist"T; then
   6731 	mv -f "$nlist"T "$nlist"
   6732       else
   6733 	rm -f "$nlist"T
   6734       fi
   6735 
   6736       # Make sure that we snagged all the symbols we need.
   6737       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6738 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6739 	  cat <<_LT_EOF > conftest.$ac_ext
   6740 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6741 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6742 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6743    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6744 # define LT_DLSYM_CONST
   6745 #elif defined __osf__
   6746 /* This system does not cope well with relocations in const data.  */
   6747 # define LT_DLSYM_CONST
   6748 #else
   6749 # define LT_DLSYM_CONST const
   6750 #endif
   6751 
   6752 #ifdef __cplusplus
   6753 extern "C" {
   6754 #endif
   6755 
   6756 _LT_EOF
   6757 	  # Now generate the symbol file.
   6758 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6759 
   6760 	  cat <<_LT_EOF >> conftest.$ac_ext
   6761 
   6762 /* The mapping between symbol names and symbols.  */
   6763 LT_DLSYM_CONST struct {
   6764   const char *name;
   6765   void       *address;
   6766 }
   6767 lt__PROGRAM__LTX_preloaded_symbols[] =
   6768 {
   6769   { "@PROGRAM@", (void *) 0 },
   6770 _LT_EOF
   6771 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6772 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6773   {0, (void *) 0}
   6774 };
   6775 
   6776 /* This works around a problem in FreeBSD linker */
   6777 #ifdef FREEBSD_WORKAROUND
   6778 static const void *lt_preloaded_setup() {
   6779   return lt__PROGRAM__LTX_preloaded_symbols;
   6780 }
   6781 #endif
   6782 
   6783 #ifdef __cplusplus
   6784 }
   6785 #endif
   6786 _LT_EOF
   6787 	  # Now try linking the two files.
   6788 	  mv conftest.$ac_objext conftstm.$ac_objext
   6789 	  lt_globsym_save_LIBS=$LIBS
   6790 	  lt_globsym_save_CFLAGS=$CFLAGS
   6791 	  LIBS=conftstm.$ac_objext
   6792 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6793 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6794   (eval $ac_link) 2>&5
   6795   ac_status=$?
   6796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6797   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6798 	    pipe_works=yes
   6799 	  fi
   6800 	  LIBS=$lt_globsym_save_LIBS
   6801 	  CFLAGS=$lt_globsym_save_CFLAGS
   6802 	else
   6803 	  echo "cannot find nm_test_func in $nlist" >&5
   6804 	fi
   6805       else
   6806 	echo "cannot find nm_test_var in $nlist" >&5
   6807       fi
   6808     else
   6809       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6810     fi
   6811   else
   6812     echo "$progname: failed program was:" >&5
   6813     cat conftest.$ac_ext >&5
   6814   fi
   6815   rm -rf conftest* conftst*
   6816 
   6817   # Do not use the global_symbol_pipe unless it works.
   6818   if test yes = "$pipe_works"; then
   6819     break
   6820   else
   6821     lt_cv_sys_global_symbol_pipe=
   6822   fi
   6823 done
   6824 
   6825 fi
   6826 
   6827 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6828   lt_cv_sys_global_symbol_to_cdecl=
   6829 fi
   6830 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6832 $as_echo "failed" >&6; }
   6833 else
   6834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6835 $as_echo "ok" >&6; }
   6836 fi
   6837 
   6838 # Response file support.
   6839 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6840   nm_file_list_spec='@'
   6841 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6842   nm_file_list_spec='@'
   6843 fi
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6882 $as_echo_n "checking for sysroot... " >&6; }
   6883 
   6884 # Check whether --with-sysroot was given.
   6885 if test "${with_sysroot+set}" = set; then :
   6886   withval=$with_sysroot;
   6887 else
   6888   with_sysroot=no
   6889 fi
   6890 
   6891 
   6892 lt_sysroot=
   6893 case $with_sysroot in #(
   6894  yes)
   6895    if test yes = "$GCC"; then
   6896      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6897    fi
   6898    ;; #(
   6899  /*)
   6900    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6901    ;; #(
   6902  no|'')
   6903    ;; #(
   6904  *)
   6905    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6906 $as_echo "$with_sysroot" >&6; }
   6907    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6908    ;;
   6909 esac
   6910 
   6911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6912 $as_echo "${lt_sysroot:-no}" >&6; }
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6919 $as_echo_n "checking for a working dd... " >&6; }
   6920 if ${ac_cv_path_lt_DD+:} false; then :
   6921   $as_echo_n "(cached) " >&6
   6922 else
   6923   printf 0123456789abcdef0123456789abcdef >conftest.i
   6924 cat conftest.i conftest.i >conftest2.i
   6925 : ${lt_DD:=$DD}
   6926 if test -z "$lt_DD"; then
   6927   ac_path_lt_DD_found=false
   6928   # Loop through the user's path and test for each of PROGNAME-LIST
   6929   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6930 for as_dir in $PATH
   6931 do
   6932   IFS=$as_save_IFS
   6933   test -z "$as_dir" && as_dir=.
   6934     for ac_prog in dd; do
   6935     for ac_exec_ext in '' $ac_executable_extensions; do
   6936       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6937       as_fn_executable_p "$ac_path_lt_DD" || continue
   6938 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6939   cmp -s conftest.i conftest.out \
   6940   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6941 fi
   6942       $ac_path_lt_DD_found && break 3
   6943     done
   6944   done
   6945   done
   6946 IFS=$as_save_IFS
   6947   if test -z "$ac_cv_path_lt_DD"; then
   6948     :
   6949   fi
   6950 else
   6951   ac_cv_path_lt_DD=$lt_DD
   6952 fi
   6953 
   6954 rm -f conftest.i conftest2.i conftest.out
   6955 fi
   6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6957 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6958 
   6959 
   6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6961 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6962 if ${lt_cv_truncate_bin+:} false; then :
   6963   $as_echo_n "(cached) " >&6
   6964 else
   6965   printf 0123456789abcdef0123456789abcdef >conftest.i
   6966 cat conftest.i conftest.i >conftest2.i
   6967 lt_cv_truncate_bin=
   6968 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6969   cmp -s conftest.i conftest.out \
   6970   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6971 fi
   6972 rm -f conftest.i conftest2.i conftest.out
   6973 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6974 fi
   6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6976 $as_echo "$lt_cv_truncate_bin" >&6; }
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6985 func_cc_basename ()
   6986 {
   6987     for cc_temp in $*""; do
   6988       case $cc_temp in
   6989         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6990         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6991         \-*) ;;
   6992         *) break;;
   6993       esac
   6994     done
   6995     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6996 }
   6997 
   6998 # Check whether --enable-libtool-lock was given.
   6999 if test "${enable_libtool_lock+set}" = set; then :
   7000   enableval=$enable_libtool_lock;
   7001 fi
   7002 
   7003 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7004 
   7005 # Some flags need to be propagated to the compiler or linker for good
   7006 # libtool support.
   7007 case $host in
   7008 ia64-*-hpux*)
   7009   # Find out what ABI is being produced by ac_compile, and set mode
   7010   # options accordingly.
   7011   echo 'int i;' > conftest.$ac_ext
   7012   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7013   (eval $ac_compile) 2>&5
   7014   ac_status=$?
   7015   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7016   test $ac_status = 0; }; then
   7017     case `/usr/bin/file conftest.$ac_objext` in
   7018       *ELF-32*)
   7019 	HPUX_IA64_MODE=32
   7020 	;;
   7021       *ELF-64*)
   7022 	HPUX_IA64_MODE=64
   7023 	;;
   7024     esac
   7025   fi
   7026   rm -rf conftest*
   7027   ;;
   7028 *-*-irix6*)
   7029   # Find out what ABI is being produced by ac_compile, and set linker
   7030   # options accordingly.
   7031   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7032   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7033   (eval $ac_compile) 2>&5
   7034   ac_status=$?
   7035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7036   test $ac_status = 0; }; then
   7037     if test yes = "$lt_cv_prog_gnu_ld"; then
   7038       case `/usr/bin/file conftest.$ac_objext` in
   7039 	*32-bit*)
   7040 	  LD="${LD-ld} -melf32bsmip"
   7041 	  ;;
   7042 	*N32*)
   7043 	  LD="${LD-ld} -melf32bmipn32"
   7044 	  ;;
   7045 	*64-bit*)
   7046 	  LD="${LD-ld} -melf64bmip"
   7047 	;;
   7048       esac
   7049     else
   7050       case `/usr/bin/file conftest.$ac_objext` in
   7051 	*32-bit*)
   7052 	  LD="${LD-ld} -32"
   7053 	  ;;
   7054 	*N32*)
   7055 	  LD="${LD-ld} -n32"
   7056 	  ;;
   7057 	*64-bit*)
   7058 	  LD="${LD-ld} -64"
   7059 	  ;;
   7060       esac
   7061     fi
   7062   fi
   7063   rm -rf conftest*
   7064   ;;
   7065 
   7066 mips64*-*linux*)
   7067   # Find out what ABI is being produced by ac_compile, and set linker
   7068   # options accordingly.
   7069   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7070   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7071   (eval $ac_compile) 2>&5
   7072   ac_status=$?
   7073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7074   test $ac_status = 0; }; then
   7075     emul=elf
   7076     case `/usr/bin/file conftest.$ac_objext` in
   7077       *32-bit*)
   7078 	emul="${emul}32"
   7079 	;;
   7080       *64-bit*)
   7081 	emul="${emul}64"
   7082 	;;
   7083     esac
   7084     case `/usr/bin/file conftest.$ac_objext` in
   7085       *MSB*)
   7086 	emul="${emul}btsmip"
   7087 	;;
   7088       *LSB*)
   7089 	emul="${emul}ltsmip"
   7090 	;;
   7091     esac
   7092     case `/usr/bin/file conftest.$ac_objext` in
   7093       *N32*)
   7094 	emul="${emul}n32"
   7095 	;;
   7096     esac
   7097     LD="${LD-ld} -m $emul"
   7098   fi
   7099   rm -rf conftest*
   7100   ;;
   7101 
   7102 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7103 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7104   # Find out what ABI is being produced by ac_compile, and set linker
   7105   # options accordingly.  Note that the listed cases only cover the
   7106   # situations where additional linker options are needed (such as when
   7107   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7108   # vice versa); the common cases where no linker options are needed do
   7109   # not appear in the list.
   7110   echo 'int i;' > conftest.$ac_ext
   7111   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7112   (eval $ac_compile) 2>&5
   7113   ac_status=$?
   7114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7115   test $ac_status = 0; }; then
   7116     case `/usr/bin/file conftest.o` in
   7117       *32-bit*)
   7118 	case $host in
   7119 	  x86_64-*kfreebsd*-gnu)
   7120 	    LD="${LD-ld} -m elf_i386_fbsd"
   7121 	    ;;
   7122 	  x86_64-*linux*)
   7123 	    case `/usr/bin/file conftest.o` in
   7124 	      *x86-64*)
   7125 		LD="${LD-ld} -m elf32_x86_64"
   7126 		;;
   7127 	      *)
   7128 		LD="${LD-ld} -m elf_i386"
   7129 		;;
   7130 	    esac
   7131 	    ;;
   7132 	  powerpc64le-*linux*)
   7133 	    LD="${LD-ld} -m elf32lppclinux"
   7134 	    ;;
   7135 	  powerpc64-*linux*)
   7136 	    LD="${LD-ld} -m elf32ppclinux"
   7137 	    ;;
   7138 	  s390x-*linux*)
   7139 	    LD="${LD-ld} -m elf_s390"
   7140 	    ;;
   7141 	  sparc64-*linux*)
   7142 	    LD="${LD-ld} -m elf32_sparc"
   7143 	    ;;
   7144 	esac
   7145 	;;
   7146       *64-bit*)
   7147 	case $host in
   7148 	  x86_64-*kfreebsd*-gnu)
   7149 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7150 	    ;;
   7151 	  x86_64-*linux*)
   7152 	    LD="${LD-ld} -m elf_x86_64"
   7153 	    ;;
   7154 	  powerpcle-*linux*)
   7155 	    LD="${LD-ld} -m elf64lppc"
   7156 	    ;;
   7157 	  powerpc-*linux*)
   7158 	    LD="${LD-ld} -m elf64ppc"
   7159 	    ;;
   7160 	  s390*-*linux*|s390*-*tpf*)
   7161 	    LD="${LD-ld} -m elf64_s390"
   7162 	    ;;
   7163 	  sparc*-*linux*)
   7164 	    LD="${LD-ld} -m elf64_sparc"
   7165 	    ;;
   7166 	esac
   7167 	;;
   7168     esac
   7169   fi
   7170   rm -rf conftest*
   7171   ;;
   7172 
   7173 *-*-sco3.2v5*)
   7174   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7175   SAVE_CFLAGS=$CFLAGS
   7176   CFLAGS="$CFLAGS -belf"
   7177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7178 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7179 if ${lt_cv_cc_needs_belf+:} false; then :
   7180   $as_echo_n "(cached) " >&6
   7181 else
   7182   ac_ext=c
   7183 ac_cpp='$CPP $CPPFLAGS'
   7184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7187 
   7188      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7189 /* end confdefs.h.  */
   7190 
   7191 int
   7192 main ()
   7193 {
   7194 
   7195   ;
   7196   return 0;
   7197 }
   7198 _ACEOF
   7199 if ac_fn_c_try_link "$LINENO"; then :
   7200   lt_cv_cc_needs_belf=yes
   7201 else
   7202   lt_cv_cc_needs_belf=no
   7203 fi
   7204 rm -f core conftest.err conftest.$ac_objext \
   7205     conftest$ac_exeext conftest.$ac_ext
   7206      ac_ext=c
   7207 ac_cpp='$CPP $CPPFLAGS'
   7208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7211 
   7212 fi
   7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7214 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7215   if test yes != "$lt_cv_cc_needs_belf"; then
   7216     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7217     CFLAGS=$SAVE_CFLAGS
   7218   fi
   7219   ;;
   7220 *-*solaris*)
   7221   # Find out what ABI is being produced by ac_compile, and set linker
   7222   # options accordingly.
   7223   echo 'int i;' > conftest.$ac_ext
   7224   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7225   (eval $ac_compile) 2>&5
   7226   ac_status=$?
   7227   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7228   test $ac_status = 0; }; then
   7229     case `/usr/bin/file conftest.o` in
   7230     *64-bit*)
   7231       case $lt_cv_prog_gnu_ld in
   7232       yes*)
   7233         case $host in
   7234         i?86-*-solaris*|x86_64-*-solaris*)
   7235           LD="${LD-ld} -m elf_x86_64"
   7236           ;;
   7237         sparc*-*-solaris*)
   7238           LD="${LD-ld} -m elf64_sparc"
   7239           ;;
   7240         esac
   7241         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7242         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7243           LD=${LD-ld}_sol2
   7244         fi
   7245         ;;
   7246       *)
   7247 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7248 	  LD="${LD-ld} -64"
   7249 	fi
   7250 	;;
   7251       esac
   7252       ;;
   7253     esac
   7254   fi
   7255   rm -rf conftest*
   7256   ;;
   7257 esac
   7258 
   7259 need_locks=$enable_libtool_lock
   7260 
   7261 if test -n "$ac_tool_prefix"; then
   7262   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7263 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7265 $as_echo_n "checking for $ac_word... " >&6; }
   7266 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7267   $as_echo_n "(cached) " >&6
   7268 else
   7269   if test -n "$MANIFEST_TOOL"; then
   7270   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7271 else
   7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7273 for as_dir in $PATH
   7274 do
   7275   IFS=$as_save_IFS
   7276   test -z "$as_dir" && as_dir=.
   7277     for ac_exec_ext in '' $ac_executable_extensions; do
   7278   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7279     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7281     break 2
   7282   fi
   7283 done
   7284   done
   7285 IFS=$as_save_IFS
   7286 
   7287 fi
   7288 fi
   7289 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7290 if test -n "$MANIFEST_TOOL"; then
   7291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7292 $as_echo "$MANIFEST_TOOL" >&6; }
   7293 else
   7294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7295 $as_echo "no" >&6; }
   7296 fi
   7297 
   7298 
   7299 fi
   7300 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7301   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7302   # Extract the first word of "mt", so it can be a program name with args.
   7303 set dummy mt; ac_word=$2
   7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7305 $as_echo_n "checking for $ac_word... " >&6; }
   7306 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7307   $as_echo_n "(cached) " >&6
   7308 else
   7309   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7310   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7311 else
   7312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7313 for as_dir in $PATH
   7314 do
   7315   IFS=$as_save_IFS
   7316   test -z "$as_dir" && as_dir=.
   7317     for ac_exec_ext in '' $ac_executable_extensions; do
   7318   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7319     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7321     break 2
   7322   fi
   7323 done
   7324   done
   7325 IFS=$as_save_IFS
   7326 
   7327 fi
   7328 fi
   7329 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7330 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7332 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7333 else
   7334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7335 $as_echo "no" >&6; }
   7336 fi
   7337 
   7338   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7339     MANIFEST_TOOL=":"
   7340   else
   7341     case $cross_compiling:$ac_tool_warned in
   7342 yes:)
   7343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7345 ac_tool_warned=yes ;;
   7346 esac
   7347     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7348   fi
   7349 else
   7350   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7351 fi
   7352 
   7353 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7355 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7356 if ${lt_cv_path_mainfest_tool+:} false; then :
   7357   $as_echo_n "(cached) " >&6
   7358 else
   7359   lt_cv_path_mainfest_tool=no
   7360   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7361   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7362   cat conftest.err >&5
   7363   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7364     lt_cv_path_mainfest_tool=yes
   7365   fi
   7366   rm -f conftest*
   7367 fi
   7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7369 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7370 if test yes != "$lt_cv_path_mainfest_tool"; then
   7371   MANIFEST_TOOL=:
   7372 fi
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379   case $host_os in
   7380     rhapsody* | darwin*)
   7381     if test -n "$ac_tool_prefix"; then
   7382   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7383 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7385 $as_echo_n "checking for $ac_word... " >&6; }
   7386 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7387   $as_echo_n "(cached) " >&6
   7388 else
   7389   if test -n "$DSYMUTIL"; then
   7390   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7391 else
   7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7393 for as_dir in $PATH
   7394 do
   7395   IFS=$as_save_IFS
   7396   test -z "$as_dir" && as_dir=.
   7397     for ac_exec_ext in '' $ac_executable_extensions; do
   7398   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7399     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7401     break 2
   7402   fi
   7403 done
   7404   done
   7405 IFS=$as_save_IFS
   7406 
   7407 fi
   7408 fi
   7409 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7410 if test -n "$DSYMUTIL"; then
   7411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7412 $as_echo "$DSYMUTIL" >&6; }
   7413 else
   7414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7415 $as_echo "no" >&6; }
   7416 fi
   7417 
   7418 
   7419 fi
   7420 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7421   ac_ct_DSYMUTIL=$DSYMUTIL
   7422   # Extract the first word of "dsymutil", so it can be a program name with args.
   7423 set dummy dsymutil; ac_word=$2
   7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7425 $as_echo_n "checking for $ac_word... " >&6; }
   7426 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7427   $as_echo_n "(cached) " >&6
   7428 else
   7429   if test -n "$ac_ct_DSYMUTIL"; then
   7430   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7431 else
   7432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7433 for as_dir in $PATH
   7434 do
   7435   IFS=$as_save_IFS
   7436   test -z "$as_dir" && as_dir=.
   7437     for ac_exec_ext in '' $ac_executable_extensions; do
   7438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7439     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7441     break 2
   7442   fi
   7443 done
   7444   done
   7445 IFS=$as_save_IFS
   7446 
   7447 fi
   7448 fi
   7449 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7450 if test -n "$ac_ct_DSYMUTIL"; then
   7451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7452 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7453 else
   7454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7455 $as_echo "no" >&6; }
   7456 fi
   7457 
   7458   if test "x$ac_ct_DSYMUTIL" = x; then
   7459     DSYMUTIL=":"
   7460   else
   7461     case $cross_compiling:$ac_tool_warned in
   7462 yes:)
   7463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7465 ac_tool_warned=yes ;;
   7466 esac
   7467     DSYMUTIL=$ac_ct_DSYMUTIL
   7468   fi
   7469 else
   7470   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7471 fi
   7472 
   7473     if test -n "$ac_tool_prefix"; then
   7474   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7475 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7477 $as_echo_n "checking for $ac_word... " >&6; }
   7478 if ${ac_cv_prog_NMEDIT+:} false; then :
   7479   $as_echo_n "(cached) " >&6
   7480 else
   7481   if test -n "$NMEDIT"; then
   7482   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7483 else
   7484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7485 for as_dir in $PATH
   7486 do
   7487   IFS=$as_save_IFS
   7488   test -z "$as_dir" && as_dir=.
   7489     for ac_exec_ext in '' $ac_executable_extensions; do
   7490   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7491     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7493     break 2
   7494   fi
   7495 done
   7496   done
   7497 IFS=$as_save_IFS
   7498 
   7499 fi
   7500 fi
   7501 NMEDIT=$ac_cv_prog_NMEDIT
   7502 if test -n "$NMEDIT"; then
   7503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7504 $as_echo "$NMEDIT" >&6; }
   7505 else
   7506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7507 $as_echo "no" >&6; }
   7508 fi
   7509 
   7510 
   7511 fi
   7512 if test -z "$ac_cv_prog_NMEDIT"; then
   7513   ac_ct_NMEDIT=$NMEDIT
   7514   # Extract the first word of "nmedit", so it can be a program name with args.
   7515 set dummy nmedit; ac_word=$2
   7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7517 $as_echo_n "checking for $ac_word... " >&6; }
   7518 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7519   $as_echo_n "(cached) " >&6
   7520 else
   7521   if test -n "$ac_ct_NMEDIT"; then
   7522   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7523 else
   7524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7525 for as_dir in $PATH
   7526 do
   7527   IFS=$as_save_IFS
   7528   test -z "$as_dir" && as_dir=.
   7529     for ac_exec_ext in '' $ac_executable_extensions; do
   7530   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7531     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7533     break 2
   7534   fi
   7535 done
   7536   done
   7537 IFS=$as_save_IFS
   7538 
   7539 fi
   7540 fi
   7541 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7542 if test -n "$ac_ct_NMEDIT"; then
   7543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7544 $as_echo "$ac_ct_NMEDIT" >&6; }
   7545 else
   7546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7547 $as_echo "no" >&6; }
   7548 fi
   7549 
   7550   if test "x$ac_ct_NMEDIT" = x; then
   7551     NMEDIT=":"
   7552   else
   7553     case $cross_compiling:$ac_tool_warned in
   7554 yes:)
   7555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7557 ac_tool_warned=yes ;;
   7558 esac
   7559     NMEDIT=$ac_ct_NMEDIT
   7560   fi
   7561 else
   7562   NMEDIT="$ac_cv_prog_NMEDIT"
   7563 fi
   7564 
   7565     if test -n "$ac_tool_prefix"; then
   7566   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7567 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7569 $as_echo_n "checking for $ac_word... " >&6; }
   7570 if ${ac_cv_prog_LIPO+:} false; then :
   7571   $as_echo_n "(cached) " >&6
   7572 else
   7573   if test -n "$LIPO"; then
   7574   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7575 else
   7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7577 for as_dir in $PATH
   7578 do
   7579   IFS=$as_save_IFS
   7580   test -z "$as_dir" && as_dir=.
   7581     for ac_exec_ext in '' $ac_executable_extensions; do
   7582   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7583     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7585     break 2
   7586   fi
   7587 done
   7588   done
   7589 IFS=$as_save_IFS
   7590 
   7591 fi
   7592 fi
   7593 LIPO=$ac_cv_prog_LIPO
   7594 if test -n "$LIPO"; then
   7595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7596 $as_echo "$LIPO" >&6; }
   7597 else
   7598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7599 $as_echo "no" >&6; }
   7600 fi
   7601 
   7602 
   7603 fi
   7604 if test -z "$ac_cv_prog_LIPO"; then
   7605   ac_ct_LIPO=$LIPO
   7606   # Extract the first word of "lipo", so it can be a program name with args.
   7607 set dummy lipo; ac_word=$2
   7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7609 $as_echo_n "checking for $ac_word... " >&6; }
   7610 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7611   $as_echo_n "(cached) " >&6
   7612 else
   7613   if test -n "$ac_ct_LIPO"; then
   7614   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7615 else
   7616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7617 for as_dir in $PATH
   7618 do
   7619   IFS=$as_save_IFS
   7620   test -z "$as_dir" && as_dir=.
   7621     for ac_exec_ext in '' $ac_executable_extensions; do
   7622   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7623     ac_cv_prog_ac_ct_LIPO="lipo"
   7624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7625     break 2
   7626   fi
   7627 done
   7628   done
   7629 IFS=$as_save_IFS
   7630 
   7631 fi
   7632 fi
   7633 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7634 if test -n "$ac_ct_LIPO"; then
   7635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7636 $as_echo "$ac_ct_LIPO" >&6; }
   7637 else
   7638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7639 $as_echo "no" >&6; }
   7640 fi
   7641 
   7642   if test "x$ac_ct_LIPO" = x; then
   7643     LIPO=":"
   7644   else
   7645     case $cross_compiling:$ac_tool_warned in
   7646 yes:)
   7647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7649 ac_tool_warned=yes ;;
   7650 esac
   7651     LIPO=$ac_ct_LIPO
   7652   fi
   7653 else
   7654   LIPO="$ac_cv_prog_LIPO"
   7655 fi
   7656 
   7657     if test -n "$ac_tool_prefix"; then
   7658   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7659 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7661 $as_echo_n "checking for $ac_word... " >&6; }
   7662 if ${ac_cv_prog_OTOOL+:} false; then :
   7663   $as_echo_n "(cached) " >&6
   7664 else
   7665   if test -n "$OTOOL"; then
   7666   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7667 else
   7668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7669 for as_dir in $PATH
   7670 do
   7671   IFS=$as_save_IFS
   7672   test -z "$as_dir" && as_dir=.
   7673     for ac_exec_ext in '' $ac_executable_extensions; do
   7674   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7675     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7677     break 2
   7678   fi
   7679 done
   7680   done
   7681 IFS=$as_save_IFS
   7682 
   7683 fi
   7684 fi
   7685 OTOOL=$ac_cv_prog_OTOOL
   7686 if test -n "$OTOOL"; then
   7687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7688 $as_echo "$OTOOL" >&6; }
   7689 else
   7690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7691 $as_echo "no" >&6; }
   7692 fi
   7693 
   7694 
   7695 fi
   7696 if test -z "$ac_cv_prog_OTOOL"; then
   7697   ac_ct_OTOOL=$OTOOL
   7698   # Extract the first word of "otool", so it can be a program name with args.
   7699 set dummy otool; ac_word=$2
   7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7701 $as_echo_n "checking for $ac_word... " >&6; }
   7702 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7703   $as_echo_n "(cached) " >&6
   7704 else
   7705   if test -n "$ac_ct_OTOOL"; then
   7706   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7707 else
   7708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7709 for as_dir in $PATH
   7710 do
   7711   IFS=$as_save_IFS
   7712   test -z "$as_dir" && as_dir=.
   7713     for ac_exec_ext in '' $ac_executable_extensions; do
   7714   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7715     ac_cv_prog_ac_ct_OTOOL="otool"
   7716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7717     break 2
   7718   fi
   7719 done
   7720   done
   7721 IFS=$as_save_IFS
   7722 
   7723 fi
   7724 fi
   7725 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7726 if test -n "$ac_ct_OTOOL"; then
   7727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7728 $as_echo "$ac_ct_OTOOL" >&6; }
   7729 else
   7730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7731 $as_echo "no" >&6; }
   7732 fi
   7733 
   7734   if test "x$ac_ct_OTOOL" = x; then
   7735     OTOOL=":"
   7736   else
   7737     case $cross_compiling:$ac_tool_warned in
   7738 yes:)
   7739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7741 ac_tool_warned=yes ;;
   7742 esac
   7743     OTOOL=$ac_ct_OTOOL
   7744   fi
   7745 else
   7746   OTOOL="$ac_cv_prog_OTOOL"
   7747 fi
   7748 
   7749     if test -n "$ac_tool_prefix"; then
   7750   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7751 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7753 $as_echo_n "checking for $ac_word... " >&6; }
   7754 if ${ac_cv_prog_OTOOL64+:} false; then :
   7755   $as_echo_n "(cached) " >&6
   7756 else
   7757   if test -n "$OTOOL64"; then
   7758   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7759 else
   7760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7761 for as_dir in $PATH
   7762 do
   7763   IFS=$as_save_IFS
   7764   test -z "$as_dir" && as_dir=.
   7765     for ac_exec_ext in '' $ac_executable_extensions; do
   7766   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7767     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7769     break 2
   7770   fi
   7771 done
   7772   done
   7773 IFS=$as_save_IFS
   7774 
   7775 fi
   7776 fi
   7777 OTOOL64=$ac_cv_prog_OTOOL64
   7778 if test -n "$OTOOL64"; then
   7779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7780 $as_echo "$OTOOL64" >&6; }
   7781 else
   7782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7783 $as_echo "no" >&6; }
   7784 fi
   7785 
   7786 
   7787 fi
   7788 if test -z "$ac_cv_prog_OTOOL64"; then
   7789   ac_ct_OTOOL64=$OTOOL64
   7790   # Extract the first word of "otool64", so it can be a program name with args.
   7791 set dummy otool64; ac_word=$2
   7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7793 $as_echo_n "checking for $ac_word... " >&6; }
   7794 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7795   $as_echo_n "(cached) " >&6
   7796 else
   7797   if test -n "$ac_ct_OTOOL64"; then
   7798   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7799 else
   7800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7801 for as_dir in $PATH
   7802 do
   7803   IFS=$as_save_IFS
   7804   test -z "$as_dir" && as_dir=.
   7805     for ac_exec_ext in '' $ac_executable_extensions; do
   7806   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7807     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7809     break 2
   7810   fi
   7811 done
   7812   done
   7813 IFS=$as_save_IFS
   7814 
   7815 fi
   7816 fi
   7817 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7818 if test -n "$ac_ct_OTOOL64"; then
   7819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7820 $as_echo "$ac_ct_OTOOL64" >&6; }
   7821 else
   7822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7823 $as_echo "no" >&6; }
   7824 fi
   7825 
   7826   if test "x$ac_ct_OTOOL64" = x; then
   7827     OTOOL64=":"
   7828   else
   7829     case $cross_compiling:$ac_tool_warned in
   7830 yes:)
   7831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7833 ac_tool_warned=yes ;;
   7834 esac
   7835     OTOOL64=$ac_ct_OTOOL64
   7836   fi
   7837 else
   7838   OTOOL64="$ac_cv_prog_OTOOL64"
   7839 fi
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7868 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7869 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7870   $as_echo_n "(cached) " >&6
   7871 else
   7872   lt_cv_apple_cc_single_mod=no
   7873       if test -z "$LT_MULTI_MODULE"; then
   7874 	# By default we will add the -single_module flag. You can override
   7875 	# by either setting the environment variable LT_MULTI_MODULE
   7876 	# non-empty at configure time, or by adding -multi_module to the
   7877 	# link flags.
   7878 	rm -rf libconftest.dylib*
   7879 	echo "int foo(void){return 1;}" > conftest.c
   7880 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7881 -dynamiclib -Wl,-single_module conftest.c" >&5
   7882 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7883 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7884         _lt_result=$?
   7885 	# If there is a non-empty error log, and "single_module"
   7886 	# appears in it, assume the flag caused a linker warning
   7887         if test -s conftest.err && $GREP single_module conftest.err; then
   7888 	  cat conftest.err >&5
   7889 	# Otherwise, if the output was created with a 0 exit code from
   7890 	# the compiler, it worked.
   7891 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7892 	  lt_cv_apple_cc_single_mod=yes
   7893 	else
   7894 	  cat conftest.err >&5
   7895 	fi
   7896 	rm -rf libconftest.dylib*
   7897 	rm -f conftest.*
   7898       fi
   7899 fi
   7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7901 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7902 
   7903     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7904 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7905 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7906   $as_echo_n "(cached) " >&6
   7907 else
   7908   lt_cv_ld_exported_symbols_list=no
   7909       save_LDFLAGS=$LDFLAGS
   7910       echo "_main" > conftest.sym
   7911       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7913 /* end confdefs.h.  */
   7914 
   7915 int
   7916 main ()
   7917 {
   7918 
   7919   ;
   7920   return 0;
   7921 }
   7922 _ACEOF
   7923 if ac_fn_c_try_link "$LINENO"; then :
   7924   lt_cv_ld_exported_symbols_list=yes
   7925 else
   7926   lt_cv_ld_exported_symbols_list=no
   7927 fi
   7928 rm -f core conftest.err conftest.$ac_objext \
   7929     conftest$ac_exeext conftest.$ac_ext
   7930 	LDFLAGS=$save_LDFLAGS
   7931 
   7932 fi
   7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7934 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7935 
   7936     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7937 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7938 if ${lt_cv_ld_force_load+:} false; then :
   7939   $as_echo_n "(cached) " >&6
   7940 else
   7941   lt_cv_ld_force_load=no
   7942       cat > conftest.c << _LT_EOF
   7943 int forced_loaded() { return 2;}
   7944 _LT_EOF
   7945       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7946       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7947       echo "$AR cru libconftest.a conftest.o" >&5
   7948       $AR cru libconftest.a conftest.o 2>&5
   7949       echo "$RANLIB libconftest.a" >&5
   7950       $RANLIB libconftest.a 2>&5
   7951       cat > conftest.c << _LT_EOF
   7952 int main() { return 0;}
   7953 _LT_EOF
   7954       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7955       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7956       _lt_result=$?
   7957       if test -s conftest.err && $GREP force_load conftest.err; then
   7958 	cat conftest.err >&5
   7959       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7960 	lt_cv_ld_force_load=yes
   7961       else
   7962 	cat conftest.err >&5
   7963       fi
   7964         rm -f conftest.err libconftest.a conftest conftest.c
   7965         rm -rf conftest.dSYM
   7966 
   7967 fi
   7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7969 $as_echo "$lt_cv_ld_force_load" >&6; }
   7970     case $host_os in
   7971     rhapsody* | darwin1.[012])
   7972       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7973     darwin1.*)
   7974       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7975     darwin*) # darwin 5.x on
   7976       # if running on 10.5 or later, the deployment target defaults
   7977       # to the OS version, if on x86, and 10.4, the deployment
   7978       # target defaults to 10.4. Don't you love it?
   7979       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7980 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7981 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7982 	10.[012][,.]*)
   7983 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7984 	10.*)
   7985 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7986       esac
   7987     ;;
   7988   esac
   7989     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7990       _lt_dar_single_mod='$single_module'
   7991     fi
   7992     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7993       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7994     else
   7995       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7996     fi
   7997     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7998       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7999     else
   8000       _lt_dsymutil=
   8001     fi
   8002     ;;
   8003   esac
   8004 
   8005 # func_munge_path_list VARIABLE PATH
   8006 # -----------------------------------
   8007 # VARIABLE is name of variable containing _space_ separated list of
   8008 # directories to be munged by the contents of PATH, which is string
   8009 # having a format:
   8010 # "DIR[:DIR]:"
   8011 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8012 # ":DIR[:DIR]"
   8013 #       string "DIR[ DIR]" will be appended to VARIABLE
   8014 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8015 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8016 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8017 # "DIR[:DIR]"
   8018 #       VARIABLE will be replaced by "DIR[ DIR]"
   8019 func_munge_path_list ()
   8020 {
   8021     case x$2 in
   8022     x)
   8023         ;;
   8024     *:)
   8025         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8026         ;;
   8027     x:*)
   8028         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8029         ;;
   8030     *::*)
   8031         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8032         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8033         ;;
   8034     *)
   8035         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8036         ;;
   8037     esac
   8038 }
   8039 
   8040 for ac_header in dlfcn.h
   8041 do :
   8042   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8043 "
   8044 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8045   cat >>confdefs.h <<_ACEOF
   8046 #define HAVE_DLFCN_H 1
   8047 _ACEOF
   8048 
   8049 fi
   8050 
   8051 done
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 # Set options
   8058 
   8059 
   8060 
   8061         enable_dlopen=no
   8062 
   8063 
   8064   enable_win32_dll=no
   8065 
   8066 
   8067             # Check whether --enable-shared was given.
   8068 if test "${enable_shared+set}" = set; then :
   8069   enableval=$enable_shared; p=${PACKAGE-default}
   8070     case $enableval in
   8071     yes) enable_shared=yes ;;
   8072     no) enable_shared=no ;;
   8073     *)
   8074       enable_shared=no
   8075       # Look at the argument we got.  We use all the common list separators.
   8076       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8077       for pkg in $enableval; do
   8078 	IFS=$lt_save_ifs
   8079 	if test "X$pkg" = "X$p"; then
   8080 	  enable_shared=yes
   8081 	fi
   8082       done
   8083       IFS=$lt_save_ifs
   8084       ;;
   8085     esac
   8086 else
   8087   enable_shared=yes
   8088 fi
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098   # Check whether --enable-static was given.
   8099 if test "${enable_static+set}" = set; then :
   8100   enableval=$enable_static; p=${PACKAGE-default}
   8101     case $enableval in
   8102     yes) enable_static=yes ;;
   8103     no) enable_static=no ;;
   8104     *)
   8105      enable_static=no
   8106       # Look at the argument we got.  We use all the common list separators.
   8107       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8108       for pkg in $enableval; do
   8109 	IFS=$lt_save_ifs
   8110 	if test "X$pkg" = "X$p"; then
   8111 	  enable_static=yes
   8112 	fi
   8113       done
   8114       IFS=$lt_save_ifs
   8115       ;;
   8116     esac
   8117 else
   8118   enable_static=yes
   8119 fi
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 # Check whether --with-pic was given.
   8131 if test "${with_pic+set}" = set; then :
   8132   withval=$with_pic; lt_p=${PACKAGE-default}
   8133     case $withval in
   8134     yes|no) pic_mode=$withval ;;
   8135     *)
   8136       pic_mode=default
   8137       # Look at the argument we got.  We use all the common list separators.
   8138       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8139       for lt_pkg in $withval; do
   8140 	IFS=$lt_save_ifs
   8141 	if test "X$lt_pkg" = "X$lt_p"; then
   8142 	  pic_mode=yes
   8143 	fi
   8144       done
   8145       IFS=$lt_save_ifs
   8146       ;;
   8147     esac
   8148 else
   8149   pic_mode=default
   8150 fi
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159   # Check whether --enable-fast-install was given.
   8160 if test "${enable_fast_install+set}" = set; then :
   8161   enableval=$enable_fast_install; p=${PACKAGE-default}
   8162     case $enableval in
   8163     yes) enable_fast_install=yes ;;
   8164     no) enable_fast_install=no ;;
   8165     *)
   8166       enable_fast_install=no
   8167       # Look at the argument we got.  We use all the common list separators.
   8168       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8169       for pkg in $enableval; do
   8170 	IFS=$lt_save_ifs
   8171 	if test "X$pkg" = "X$p"; then
   8172 	  enable_fast_install=yes
   8173 	fi
   8174       done
   8175       IFS=$lt_save_ifs
   8176       ;;
   8177     esac
   8178 else
   8179   enable_fast_install=yes
   8180 fi
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189   shared_archive_member_spec=
   8190 case $host,$enable_shared in
   8191 power*-*-aix[5-9]*,yes)
   8192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8193 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   8194 
   8195 # Check whether --with-aix-soname was given.
   8196 if test "${with_aix_soname+set}" = set; then :
   8197   withval=$with_aix_soname; case $withval in
   8198     aix|svr4|both)
   8199       ;;
   8200     *)
   8201       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8202       ;;
   8203     esac
   8204     lt_cv_with_aix_soname=$with_aix_soname
   8205 else
   8206   if ${lt_cv_with_aix_soname+:} false; then :
   8207   $as_echo_n "(cached) " >&6
   8208 else
   8209   lt_cv_with_aix_soname=aix
   8210 fi
   8211 
   8212     with_aix_soname=$lt_cv_with_aix_soname
   8213 fi
   8214 
   8215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8216 $as_echo "$with_aix_soname" >&6; }
   8217   if test aix != "$with_aix_soname"; then
   8218     # For the AIX way of multilib, we name the shared archive member
   8219     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8220     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8221     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8222     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8223     if test 64 = "${OBJECT_MODE-32}"; then
   8224       shared_archive_member_spec=shr_64
   8225     else
   8226       shared_archive_member_spec=shr
   8227     fi
   8228   fi
   8229   ;;
   8230 *)
   8231   with_aix_soname=aix
   8232   ;;
   8233 esac
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 # This can be used to rebuild libtool when needed
   8245 LIBTOOL_DEPS=$ltmain
   8246 
   8247 # Always use our own libtool.
   8248 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 test -z "$LN_S" && LN_S="ln -s"
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 if test -n "${ZSH_VERSION+set}"; then
   8295    setopt NO_GLOB_SUBST
   8296 fi
   8297 
   8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8299 $as_echo_n "checking for objdir... " >&6; }
   8300 if ${lt_cv_objdir+:} false; then :
   8301   $as_echo_n "(cached) " >&6
   8302 else
   8303   rm -f .libs 2>/dev/null
   8304 mkdir .libs 2>/dev/null
   8305 if test -d .libs; then
   8306   lt_cv_objdir=.libs
   8307 else
   8308   # MS-DOS does not allow filenames that begin with a dot.
   8309   lt_cv_objdir=_libs
   8310 fi
   8311 rmdir .libs 2>/dev/null
   8312 fi
   8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8314 $as_echo "$lt_cv_objdir" >&6; }
   8315 objdir=$lt_cv_objdir
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 cat >>confdefs.h <<_ACEOF
   8322 #define LT_OBJDIR "$lt_cv_objdir/"
   8323 _ACEOF
   8324 
   8325 
   8326 
   8327 
   8328 case $host_os in
   8329 aix3*)
   8330   # AIX sometimes has problems with the GCC collect2 program.  For some
   8331   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8332   # vanish in a puff of smoke.
   8333   if test set != "${COLLECT_NAMES+set}"; then
   8334     COLLECT_NAMES=
   8335     export COLLECT_NAMES
   8336   fi
   8337   ;;
   8338 esac
   8339 
   8340 # Global variables:
   8341 ofile=libtool
   8342 can_build_shared=yes
   8343 
   8344 # All known linkers require a '.a' archive for static linking (except MSVC,
   8345 # which needs '.lib').
   8346 libext=a
   8347 
   8348 with_gnu_ld=$lt_cv_prog_gnu_ld
   8349 
   8350 old_CC=$CC
   8351 old_CFLAGS=$CFLAGS
   8352 
   8353 # Set sane defaults for various variables
   8354 test -z "$CC" && CC=cc
   8355 test -z "$LTCC" && LTCC=$CC
   8356 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8357 test -z "$LD" && LD=ld
   8358 test -z "$ac_objext" && ac_objext=o
   8359 
   8360 func_cc_basename $compiler
   8361 cc_basename=$func_cc_basename_result
   8362 
   8363 
   8364 # Only perform the check for file, if the check method requires it
   8365 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8366 case $deplibs_check_method in
   8367 file_magic*)
   8368   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8369     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8370 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8371 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8372   $as_echo_n "(cached) " >&6
   8373 else
   8374   case $MAGIC_CMD in
   8375 [\\/*] |  ?:[\\/]*)
   8376   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8377   ;;
   8378 *)
   8379   lt_save_MAGIC_CMD=$MAGIC_CMD
   8380   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8381   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8382   for ac_dir in $ac_dummy; do
   8383     IFS=$lt_save_ifs
   8384     test -z "$ac_dir" && ac_dir=.
   8385     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8386       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8387       if test -n "$file_magic_test_file"; then
   8388 	case $deplibs_check_method in
   8389 	"file_magic "*)
   8390 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8391 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8392 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8393 	    $EGREP "$file_magic_regex" > /dev/null; then
   8394 	    :
   8395 	  else
   8396 	    cat <<_LT_EOF 1>&2
   8397 
   8398 *** Warning: the command libtool uses to detect shared libraries,
   8399 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8400 *** The result is that libtool may fail to recognize shared libraries
   8401 *** as such.  This will affect the creation of libtool libraries that
   8402 *** depend on shared libraries, but programs linked with such libtool
   8403 *** libraries will work regardless of this problem.  Nevertheless, you
   8404 *** may want to report the problem to your system manager and/or to
   8405 *** bug-libtool (at] gnu.org
   8406 
   8407 _LT_EOF
   8408 	  fi ;;
   8409 	esac
   8410       fi
   8411       break
   8412     fi
   8413   done
   8414   IFS=$lt_save_ifs
   8415   MAGIC_CMD=$lt_save_MAGIC_CMD
   8416   ;;
   8417 esac
   8418 fi
   8419 
   8420 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8421 if test -n "$MAGIC_CMD"; then
   8422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8423 $as_echo "$MAGIC_CMD" >&6; }
   8424 else
   8425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8426 $as_echo "no" >&6; }
   8427 fi
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8434   if test -n "$ac_tool_prefix"; then
   8435     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8436 $as_echo_n "checking for file... " >&6; }
   8437 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8438   $as_echo_n "(cached) " >&6
   8439 else
   8440   case $MAGIC_CMD in
   8441 [\\/*] |  ?:[\\/]*)
   8442   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8443   ;;
   8444 *)
   8445   lt_save_MAGIC_CMD=$MAGIC_CMD
   8446   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8447   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8448   for ac_dir in $ac_dummy; do
   8449     IFS=$lt_save_ifs
   8450     test -z "$ac_dir" && ac_dir=.
   8451     if test -f "$ac_dir/file"; then
   8452       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8453       if test -n "$file_magic_test_file"; then
   8454 	case $deplibs_check_method in
   8455 	"file_magic "*)
   8456 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8457 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8458 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8459 	    $EGREP "$file_magic_regex" > /dev/null; then
   8460 	    :
   8461 	  else
   8462 	    cat <<_LT_EOF 1>&2
   8463 
   8464 *** Warning: the command libtool uses to detect shared libraries,
   8465 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8466 *** The result is that libtool may fail to recognize shared libraries
   8467 *** as such.  This will affect the creation of libtool libraries that
   8468 *** depend on shared libraries, but programs linked with such libtool
   8469 *** libraries will work regardless of this problem.  Nevertheless, you
   8470 *** may want to report the problem to your system manager and/or to
   8471 *** bug-libtool (at] gnu.org
   8472 
   8473 _LT_EOF
   8474 	  fi ;;
   8475 	esac
   8476       fi
   8477       break
   8478     fi
   8479   done
   8480   IFS=$lt_save_ifs
   8481   MAGIC_CMD=$lt_save_MAGIC_CMD
   8482   ;;
   8483 esac
   8484 fi
   8485 
   8486 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8487 if test -n "$MAGIC_CMD"; then
   8488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8489 $as_echo "$MAGIC_CMD" >&6; }
   8490 else
   8491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8492 $as_echo "no" >&6; }
   8493 fi
   8494 
   8495 
   8496   else
   8497     MAGIC_CMD=:
   8498   fi
   8499 fi
   8500 
   8501   fi
   8502   ;;
   8503 esac
   8504 
   8505 # Use C for the default configuration in the libtool script
   8506 
   8507 lt_save_CC=$CC
   8508 ac_ext=c
   8509 ac_cpp='$CPP $CPPFLAGS'
   8510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8513 
   8514 
   8515 # Source file extension for C test sources.
   8516 ac_ext=c
   8517 
   8518 # Object file extension for compiled C test sources.
   8519 objext=o
   8520 objext=$objext
   8521 
   8522 # Code to be used in simple compile tests
   8523 lt_simple_compile_test_code="int some_variable = 0;"
   8524 
   8525 # Code to be used in simple link tests
   8526 lt_simple_link_test_code='int main(){return(0);}'
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 # If no C compiler was specified, use CC.
   8535 LTCC=${LTCC-"$CC"}
   8536 
   8537 # If no C compiler flags were specified, use CFLAGS.
   8538 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8539 
   8540 # Allow CC to be a program name with arguments.
   8541 compiler=$CC
   8542 
   8543 # Save the default compiler, since it gets overwritten when the other
   8544 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8545 compiler_DEFAULT=$CC
   8546 
   8547 # save warnings/boilerplate of simple test code
   8548 ac_outfile=conftest.$ac_objext
   8549 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8550 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8551 _lt_compiler_boilerplate=`cat conftest.err`
   8552 $RM conftest*
   8553 
   8554 ac_outfile=conftest.$ac_objext
   8555 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8556 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8557 _lt_linker_boilerplate=`cat conftest.err`
   8558 $RM -r conftest*
   8559 
   8560 
   8561 if test -n "$compiler"; then
   8562 
   8563 lt_prog_compiler_no_builtin_flag=
   8564 
   8565 if test yes = "$GCC"; then
   8566   case $cc_basename in
   8567   nvcc*)
   8568     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8569   *)
   8570     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8571   esac
   8572 
   8573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8574 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8575 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8576   $as_echo_n "(cached) " >&6
   8577 else
   8578   lt_cv_prog_compiler_rtti_exceptions=no
   8579    ac_outfile=conftest.$ac_objext
   8580    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8581    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8582    # Insert the option either (1) after the last *FLAGS variable, or
   8583    # (2) before a word containing "conftest.", or (3) at the end.
   8584    # Note that $ac_compile itself does not contain backslashes and begins
   8585    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8586    # The option is referenced via a variable to avoid confusing sed.
   8587    lt_compile=`echo "$ac_compile" | $SED \
   8588    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8589    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8590    -e 's:$: $lt_compiler_flag:'`
   8591    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8592    (eval "$lt_compile" 2>conftest.err)
   8593    ac_status=$?
   8594    cat conftest.err >&5
   8595    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8596    if (exit $ac_status) && test -s "$ac_outfile"; then
   8597      # The compiler can only warn and ignore the option if not recognized
   8598      # So say no if there are warnings other than the usual output.
   8599      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8600      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8601      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8602        lt_cv_prog_compiler_rtti_exceptions=yes
   8603      fi
   8604    fi
   8605    $RM conftest*
   8606 
   8607 fi
   8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8609 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8610 
   8611 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8612     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8613 else
   8614     :
   8615 fi
   8616 
   8617 fi
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 
   8624   lt_prog_compiler_wl=
   8625 lt_prog_compiler_pic=
   8626 lt_prog_compiler_static=
   8627 
   8628 
   8629   if test yes = "$GCC"; then
   8630     lt_prog_compiler_wl='-Wl,'
   8631     lt_prog_compiler_static='-static'
   8632 
   8633     case $host_os in
   8634       aix*)
   8635       # All AIX code is PIC.
   8636       if test ia64 = "$host_cpu"; then
   8637 	# AIX 5 now supports IA64 processor
   8638 	lt_prog_compiler_static='-Bstatic'
   8639       fi
   8640       lt_prog_compiler_pic='-fPIC'
   8641       ;;
   8642 
   8643     amigaos*)
   8644       case $host_cpu in
   8645       powerpc)
   8646             # see comment about AmigaOS4 .so support
   8647             lt_prog_compiler_pic='-fPIC'
   8648         ;;
   8649       m68k)
   8650             # FIXME: we need at least 68020 code to build shared libraries, but
   8651             # adding the '-m68020' flag to GCC prevents building anything better,
   8652             # like '-m68040'.
   8653             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8654         ;;
   8655       esac
   8656       ;;
   8657 
   8658     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8659       # PIC is the default for these OSes.
   8660       ;;
   8661 
   8662     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8663       # This hack is so that the source file can tell whether it is being
   8664       # built for inclusion in a dll (and should export symbols for example).
   8665       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8666       # (--disable-auto-import) libraries
   8667       lt_prog_compiler_pic='-DDLL_EXPORT'
   8668       case $host_os in
   8669       os2*)
   8670 	lt_prog_compiler_static='$wl-static'
   8671 	;;
   8672       esac
   8673       ;;
   8674 
   8675     darwin* | rhapsody*)
   8676       # PIC is the default on this platform
   8677       # Common symbols not allowed in MH_DYLIB files
   8678       lt_prog_compiler_pic='-fno-common'
   8679       ;;
   8680 
   8681     haiku*)
   8682       # PIC is the default for Haiku.
   8683       # The "-static" flag exists, but is broken.
   8684       lt_prog_compiler_static=
   8685       ;;
   8686 
   8687     hpux*)
   8688       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8689       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8690       # sets the default TLS model and affects inlining.
   8691       case $host_cpu in
   8692       hppa*64*)
   8693 	# +Z the default
   8694 	;;
   8695       *)
   8696 	lt_prog_compiler_pic='-fPIC'
   8697 	;;
   8698       esac
   8699       ;;
   8700 
   8701     interix[3-9]*)
   8702       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8703       # Instead, we relocate shared libraries at runtime.
   8704       ;;
   8705 
   8706     msdosdjgpp*)
   8707       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8708       # on systems that don't support them.
   8709       lt_prog_compiler_can_build_shared=no
   8710       enable_shared=no
   8711       ;;
   8712 
   8713     *nto* | *qnx*)
   8714       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8715       # it will coredump.
   8716       lt_prog_compiler_pic='-fPIC -shared'
   8717       ;;
   8718 
   8719     sysv4*MP*)
   8720       if test -d /usr/nec; then
   8721 	lt_prog_compiler_pic=-Kconform_pic
   8722       fi
   8723       ;;
   8724 
   8725     *)
   8726       lt_prog_compiler_pic='-fPIC'
   8727       ;;
   8728     esac
   8729 
   8730     case $cc_basename in
   8731     nvcc*) # Cuda Compiler Driver 2.2
   8732       lt_prog_compiler_wl='-Xlinker '
   8733       if test -n "$lt_prog_compiler_pic"; then
   8734         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8735       fi
   8736       ;;
   8737     esac
   8738   else
   8739     # PORTME Check for flag to pass linker flags through the system compiler.
   8740     case $host_os in
   8741     aix*)
   8742       lt_prog_compiler_wl='-Wl,'
   8743       if test ia64 = "$host_cpu"; then
   8744 	# AIX 5 now supports IA64 processor
   8745 	lt_prog_compiler_static='-Bstatic'
   8746       else
   8747 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8748       fi
   8749       ;;
   8750 
   8751     darwin* | rhapsody*)
   8752       # PIC is the default on this platform
   8753       # Common symbols not allowed in MH_DYLIB files
   8754       lt_prog_compiler_pic='-fno-common'
   8755       case $cc_basename in
   8756       nagfor*)
   8757         # NAG Fortran compiler
   8758         lt_prog_compiler_wl='-Wl,-Wl,,'
   8759         lt_prog_compiler_pic='-PIC'
   8760         lt_prog_compiler_static='-Bstatic'
   8761         ;;
   8762       esac
   8763       ;;
   8764 
   8765     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8766       # This hack is so that the source file can tell whether it is being
   8767       # built for inclusion in a dll (and should export symbols for example).
   8768       lt_prog_compiler_pic='-DDLL_EXPORT'
   8769       case $host_os in
   8770       os2*)
   8771 	lt_prog_compiler_static='$wl-static'
   8772 	;;
   8773       esac
   8774       ;;
   8775 
   8776     hpux9* | hpux10* | hpux11*)
   8777       lt_prog_compiler_wl='-Wl,'
   8778       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8779       # not for PA HP-UX.
   8780       case $host_cpu in
   8781       hppa*64*|ia64*)
   8782 	# +Z the default
   8783 	;;
   8784       *)
   8785 	lt_prog_compiler_pic='+Z'
   8786 	;;
   8787       esac
   8788       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8789       lt_prog_compiler_static='$wl-a ${wl}archive'
   8790       ;;
   8791 
   8792     irix5* | irix6* | nonstopux*)
   8793       lt_prog_compiler_wl='-Wl,'
   8794       # PIC (with -KPIC) is the default.
   8795       lt_prog_compiler_static='-non_shared'
   8796       ;;
   8797 
   8798     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8799       case $cc_basename in
   8800       # old Intel for x86_64, which still supported -KPIC.
   8801       ecc*)
   8802 	lt_prog_compiler_wl='-Wl,'
   8803 	lt_prog_compiler_pic='-KPIC'
   8804 	lt_prog_compiler_static='-static'
   8805         ;;
   8806       # icc used to be incompatible with GCC.
   8807       # ICC 10 doesn't accept -KPIC any more.
   8808       icc* | ifort*)
   8809 	lt_prog_compiler_wl='-Wl,'
   8810 	lt_prog_compiler_pic='-fPIC'
   8811 	lt_prog_compiler_static='-static'
   8812         ;;
   8813       # Lahey Fortran 8.1.
   8814       lf95*)
   8815 	lt_prog_compiler_wl='-Wl,'
   8816 	lt_prog_compiler_pic='--shared'
   8817 	lt_prog_compiler_static='--static'
   8818 	;;
   8819       nagfor*)
   8820 	# NAG Fortran compiler
   8821 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8822 	lt_prog_compiler_pic='-PIC'
   8823 	lt_prog_compiler_static='-Bstatic'
   8824 	;;
   8825       tcc*)
   8826 	# Fabrice Bellard et al's Tiny C Compiler
   8827 	lt_prog_compiler_wl='-Wl,'
   8828 	lt_prog_compiler_pic='-fPIC'
   8829 	lt_prog_compiler_static='-static'
   8830 	;;
   8831       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8832         # Portland Group compilers (*not* the Pentium gcc compiler,
   8833 	# which looks to be a dead project)
   8834 	lt_prog_compiler_wl='-Wl,'
   8835 	lt_prog_compiler_pic='-fpic'
   8836 	lt_prog_compiler_static='-Bstatic'
   8837         ;;
   8838       ccc*)
   8839         lt_prog_compiler_wl='-Wl,'
   8840         # All Alpha code is PIC.
   8841         lt_prog_compiler_static='-non_shared'
   8842         ;;
   8843       xl* | bgxl* | bgf* | mpixl*)
   8844 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8845 	lt_prog_compiler_wl='-Wl,'
   8846 	lt_prog_compiler_pic='-qpic'
   8847 	lt_prog_compiler_static='-qstaticlink'
   8848 	;;
   8849       *)
   8850 	case `$CC -V 2>&1 | sed 5q` in
   8851 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8852 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8853 	  lt_prog_compiler_pic='-KPIC'
   8854 	  lt_prog_compiler_static='-Bstatic'
   8855 	  lt_prog_compiler_wl=''
   8856 	  ;;
   8857 	*Sun\ F* | *Sun*Fortran*)
   8858 	  lt_prog_compiler_pic='-KPIC'
   8859 	  lt_prog_compiler_static='-Bstatic'
   8860 	  lt_prog_compiler_wl='-Qoption ld '
   8861 	  ;;
   8862 	*Sun\ C*)
   8863 	  # Sun C 5.9
   8864 	  lt_prog_compiler_pic='-KPIC'
   8865 	  lt_prog_compiler_static='-Bstatic'
   8866 	  lt_prog_compiler_wl='-Wl,'
   8867 	  ;;
   8868         *Intel*\ [CF]*Compiler*)
   8869 	  lt_prog_compiler_wl='-Wl,'
   8870 	  lt_prog_compiler_pic='-fPIC'
   8871 	  lt_prog_compiler_static='-static'
   8872 	  ;;
   8873 	*Portland\ Group*)
   8874 	  lt_prog_compiler_wl='-Wl,'
   8875 	  lt_prog_compiler_pic='-fpic'
   8876 	  lt_prog_compiler_static='-Bstatic'
   8877 	  ;;
   8878 	esac
   8879 	;;
   8880       esac
   8881       ;;
   8882 
   8883     newsos6)
   8884       lt_prog_compiler_pic='-KPIC'
   8885       lt_prog_compiler_static='-Bstatic'
   8886       ;;
   8887 
   8888     *nto* | *qnx*)
   8889       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8890       # it will coredump.
   8891       lt_prog_compiler_pic='-fPIC -shared'
   8892       ;;
   8893 
   8894     osf3* | osf4* | osf5*)
   8895       lt_prog_compiler_wl='-Wl,'
   8896       # All OSF/1 code is PIC.
   8897       lt_prog_compiler_static='-non_shared'
   8898       ;;
   8899 
   8900     rdos*)
   8901       lt_prog_compiler_static='-non_shared'
   8902       ;;
   8903 
   8904     solaris*)
   8905       lt_prog_compiler_pic='-KPIC'
   8906       lt_prog_compiler_static='-Bstatic'
   8907       case $cc_basename in
   8908       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8909 	lt_prog_compiler_wl='-Qoption ld ';;
   8910       *)
   8911 	lt_prog_compiler_wl='-Wl,';;
   8912       esac
   8913       ;;
   8914 
   8915     sunos4*)
   8916       lt_prog_compiler_wl='-Qoption ld '
   8917       lt_prog_compiler_pic='-PIC'
   8918       lt_prog_compiler_static='-Bstatic'
   8919       ;;
   8920 
   8921     sysv4 | sysv4.2uw2* | sysv4.3*)
   8922       lt_prog_compiler_wl='-Wl,'
   8923       lt_prog_compiler_pic='-KPIC'
   8924       lt_prog_compiler_static='-Bstatic'
   8925       ;;
   8926 
   8927     sysv4*MP*)
   8928       if test -d /usr/nec; then
   8929 	lt_prog_compiler_pic='-Kconform_pic'
   8930 	lt_prog_compiler_static='-Bstatic'
   8931       fi
   8932       ;;
   8933 
   8934     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8935       lt_prog_compiler_wl='-Wl,'
   8936       lt_prog_compiler_pic='-KPIC'
   8937       lt_prog_compiler_static='-Bstatic'
   8938       ;;
   8939 
   8940     unicos*)
   8941       lt_prog_compiler_wl='-Wl,'
   8942       lt_prog_compiler_can_build_shared=no
   8943       ;;
   8944 
   8945     uts4*)
   8946       lt_prog_compiler_pic='-pic'
   8947       lt_prog_compiler_static='-Bstatic'
   8948       ;;
   8949 
   8950     *)
   8951       lt_prog_compiler_can_build_shared=no
   8952       ;;
   8953     esac
   8954   fi
   8955 
   8956 case $host_os in
   8957   # For platforms that do not support PIC, -DPIC is meaningless:
   8958   *djgpp*)
   8959     lt_prog_compiler_pic=
   8960     ;;
   8961   *)
   8962     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8963     ;;
   8964 esac
   8965 
   8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8967 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8968 if ${lt_cv_prog_compiler_pic+:} false; then :
   8969   $as_echo_n "(cached) " >&6
   8970 else
   8971   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8972 fi
   8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8974 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8975 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8976 
   8977 #
   8978 # Check to make sure the PIC flag actually works.
   8979 #
   8980 if test -n "$lt_prog_compiler_pic"; then
   8981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8982 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8983 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8984   $as_echo_n "(cached) " >&6
   8985 else
   8986   lt_cv_prog_compiler_pic_works=no
   8987    ac_outfile=conftest.$ac_objext
   8988    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8989    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   8990    # Insert the option either (1) after the last *FLAGS variable, or
   8991    # (2) before a word containing "conftest.", or (3) at the end.
   8992    # Note that $ac_compile itself does not contain backslashes and begins
   8993    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8994    # The option is referenced via a variable to avoid confusing sed.
   8995    lt_compile=`echo "$ac_compile" | $SED \
   8996    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8997    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8998    -e 's:$: $lt_compiler_flag:'`
   8999    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9000    (eval "$lt_compile" 2>conftest.err)
   9001    ac_status=$?
   9002    cat conftest.err >&5
   9003    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9004    if (exit $ac_status) && test -s "$ac_outfile"; then
   9005      # The compiler can only warn and ignore the option if not recognized
   9006      # So say no if there are warnings other than the usual output.
   9007      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9008      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9009      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9010        lt_cv_prog_compiler_pic_works=yes
   9011      fi
   9012    fi
   9013    $RM conftest*
   9014 
   9015 fi
   9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9017 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9018 
   9019 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9020     case $lt_prog_compiler_pic in
   9021      "" | " "*) ;;
   9022      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9023      esac
   9024 else
   9025     lt_prog_compiler_pic=
   9026      lt_prog_compiler_can_build_shared=no
   9027 fi
   9028 
   9029 fi
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 #
   9042 # Check to make sure the static flag actually works.
   9043 #
   9044 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9046 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9047 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9048   $as_echo_n "(cached) " >&6
   9049 else
   9050   lt_cv_prog_compiler_static_works=no
   9051    save_LDFLAGS=$LDFLAGS
   9052    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9053    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9054    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9055      # The linker can only warn and ignore the option if not recognized
   9056      # So say no if there are warnings
   9057      if test -s conftest.err; then
   9058        # Append any errors to the config.log.
   9059        cat conftest.err 1>&5
   9060        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9061        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9062        if diff conftest.exp conftest.er2 >/dev/null; then
   9063          lt_cv_prog_compiler_static_works=yes
   9064        fi
   9065      else
   9066        lt_cv_prog_compiler_static_works=yes
   9067      fi
   9068    fi
   9069    $RM -r conftest*
   9070    LDFLAGS=$save_LDFLAGS
   9071 
   9072 fi
   9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9074 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9075 
   9076 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9077     :
   9078 else
   9079     lt_prog_compiler_static=
   9080 fi
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9089 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9090 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9091   $as_echo_n "(cached) " >&6
   9092 else
   9093   lt_cv_prog_compiler_c_o=no
   9094    $RM -r conftest 2>/dev/null
   9095    mkdir conftest
   9096    cd conftest
   9097    mkdir out
   9098    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9099 
   9100    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9101    # Insert the option either (1) after the last *FLAGS variable, or
   9102    # (2) before a word containing "conftest.", or (3) at the end.
   9103    # Note that $ac_compile itself does not contain backslashes and begins
   9104    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9105    lt_compile=`echo "$ac_compile" | $SED \
   9106    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9107    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9108    -e 's:$: $lt_compiler_flag:'`
   9109    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9110    (eval "$lt_compile" 2>out/conftest.err)
   9111    ac_status=$?
   9112    cat out/conftest.err >&5
   9113    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9114    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9115    then
   9116      # The compiler can only warn and ignore the option if not recognized
   9117      # So say no if there are warnings
   9118      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9119      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9120      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9121        lt_cv_prog_compiler_c_o=yes
   9122      fi
   9123    fi
   9124    chmod u+w . 2>&5
   9125    $RM conftest*
   9126    # SGI C++ compiler will create directory out/ii_files/ for
   9127    # template instantiation
   9128    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9129    $RM out/* && rmdir out
   9130    cd ..
   9131    $RM -r conftest
   9132    $RM conftest*
   9133 
   9134 fi
   9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9136 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9144 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9145 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9146   $as_echo_n "(cached) " >&6
   9147 else
   9148   lt_cv_prog_compiler_c_o=no
   9149    $RM -r conftest 2>/dev/null
   9150    mkdir conftest
   9151    cd conftest
   9152    mkdir out
   9153    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9154 
   9155    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9156    # Insert the option either (1) after the last *FLAGS variable, or
   9157    # (2) before a word containing "conftest.", or (3) at the end.
   9158    # Note that $ac_compile itself does not contain backslashes and begins
   9159    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9160    lt_compile=`echo "$ac_compile" | $SED \
   9161    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9162    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9163    -e 's:$: $lt_compiler_flag:'`
   9164    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9165    (eval "$lt_compile" 2>out/conftest.err)
   9166    ac_status=$?
   9167    cat out/conftest.err >&5
   9168    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9169    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9170    then
   9171      # The compiler can only warn and ignore the option if not recognized
   9172      # So say no if there are warnings
   9173      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9174      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9175      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9176        lt_cv_prog_compiler_c_o=yes
   9177      fi
   9178    fi
   9179    chmod u+w . 2>&5
   9180    $RM conftest*
   9181    # SGI C++ compiler will create directory out/ii_files/ for
   9182    # template instantiation
   9183    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9184    $RM out/* && rmdir out
   9185    cd ..
   9186    $RM -r conftest
   9187    $RM conftest*
   9188 
   9189 fi
   9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9191 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9192 
   9193 
   9194 
   9195 
   9196 hard_links=nottested
   9197 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9198   # do not overwrite the value of need_locks provided by the user
   9199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9200 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9201   hard_links=yes
   9202   $RM conftest*
   9203   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9204   touch conftest.a
   9205   ln conftest.a conftest.b 2>&5 || hard_links=no
   9206   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9208 $as_echo "$hard_links" >&6; }
   9209   if test no = "$hard_links"; then
   9210     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9211 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9212     need_locks=warn
   9213   fi
   9214 else
   9215   need_locks=no
   9216 fi
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9224 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9225 
   9226   runpath_var=
   9227   allow_undefined_flag=
   9228   always_export_symbols=no
   9229   archive_cmds=
   9230   archive_expsym_cmds=
   9231   compiler_needs_object=no
   9232   enable_shared_with_static_runtimes=no
   9233   export_dynamic_flag_spec=
   9234   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9235   hardcode_automatic=no
   9236   hardcode_direct=no
   9237   hardcode_direct_absolute=no
   9238   hardcode_libdir_flag_spec=
   9239   hardcode_libdir_separator=
   9240   hardcode_minus_L=no
   9241   hardcode_shlibpath_var=unsupported
   9242   inherit_rpath=no
   9243   link_all_deplibs=unknown
   9244   module_cmds=
   9245   module_expsym_cmds=
   9246   old_archive_from_new_cmds=
   9247   old_archive_from_expsyms_cmds=
   9248   thread_safe_flag_spec=
   9249   whole_archive_flag_spec=
   9250   # include_expsyms should be a list of space-separated symbols to be *always*
   9251   # included in the symbol list
   9252   include_expsyms=
   9253   # exclude_expsyms can be an extended regexp of symbols to exclude
   9254   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9255   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9256   # as well as any symbol that contains 'd'.
   9257   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9258   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9259   # platforms (ab)use it in PIC code, but their linkers get confused if
   9260   # the symbol is explicitly referenced.  Since portable code cannot
   9261   # rely on this symbol name, it's probably fine to never include it in
   9262   # preloaded symbol tables.
   9263   # Exclude shared library initialization/finalization symbols.
   9264   extract_expsyms_cmds=
   9265 
   9266   case $host_os in
   9267   cygwin* | mingw* | pw32* | cegcc*)
   9268     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9269     # When not using gcc, we currently assume that we are using
   9270     # Microsoft Visual C++.
   9271     if test yes != "$GCC"; then
   9272       with_gnu_ld=no
   9273     fi
   9274     ;;
   9275   interix*)
   9276     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9277     with_gnu_ld=yes
   9278     ;;
   9279   openbsd* | bitrig*)
   9280     with_gnu_ld=no
   9281     ;;
   9282   esac
   9283 
   9284   ld_shlibs=yes
   9285 
   9286   # On some targets, GNU ld is compatible enough with the native linker
   9287   # that we're better off using the native interface for both.
   9288   lt_use_gnu_ld_interface=no
   9289   if test yes = "$with_gnu_ld"; then
   9290     case $host_os in
   9291       aix*)
   9292 	# The AIX port of GNU ld has always aspired to compatibility
   9293 	# with the native linker.  However, as the warning in the GNU ld
   9294 	# block says, versions before 2.19.5* couldn't really create working
   9295 	# shared libraries, regardless of the interface used.
   9296 	case `$LD -v 2>&1` in
   9297 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9298 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9299 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9300 	  *)
   9301 	    lt_use_gnu_ld_interface=yes
   9302 	    ;;
   9303 	esac
   9304 	;;
   9305       *)
   9306 	lt_use_gnu_ld_interface=yes
   9307 	;;
   9308     esac
   9309   fi
   9310 
   9311   if test yes = "$lt_use_gnu_ld_interface"; then
   9312     # If archive_cmds runs LD, not CC, wlarc should be empty
   9313     wlarc='$wl'
   9314 
   9315     # Set some defaults for GNU ld with shared library support. These
   9316     # are reset later if shared libraries are not supported. Putting them
   9317     # here allows them to be overridden if necessary.
   9318     runpath_var=LD_RUN_PATH
   9319     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9320     export_dynamic_flag_spec='$wl--export-dynamic'
   9321     # ancient GNU ld didn't support --whole-archive et. al.
   9322     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9323       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9324     else
   9325       whole_archive_flag_spec=
   9326     fi
   9327     supports_anon_versioning=no
   9328     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9329       *GNU\ gold*) supports_anon_versioning=yes ;;
   9330       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9331       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9332       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9333       *\ 2.11.*) ;; # other 2.11 versions
   9334       *) supports_anon_versioning=yes ;;
   9335     esac
   9336 
   9337     # See if GNU ld supports shared libraries.
   9338     case $host_os in
   9339     aix[3-9]*)
   9340       # On AIX/PPC, the GNU linker is very broken
   9341       if test ia64 != "$host_cpu"; then
   9342 	ld_shlibs=no
   9343 	cat <<_LT_EOF 1>&2
   9344 
   9345 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9346 *** to be unable to reliably create shared libraries on AIX.
   9347 *** Therefore, libtool is disabling shared libraries support.  If you
   9348 *** really care for shared libraries, you may want to install binutils
   9349 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9350 *** You will then need to restart the configuration process.
   9351 
   9352 _LT_EOF
   9353       fi
   9354       ;;
   9355 
   9356     amigaos*)
   9357       case $host_cpu in
   9358       powerpc)
   9359             # see comment about AmigaOS4 .so support
   9360             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9361             archive_expsym_cmds=''
   9362         ;;
   9363       m68k)
   9364             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)'
   9365             hardcode_libdir_flag_spec='-L$libdir'
   9366             hardcode_minus_L=yes
   9367         ;;
   9368       esac
   9369       ;;
   9370 
   9371     beos*)
   9372       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9373 	allow_undefined_flag=unsupported
   9374 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9375 	# support --undefined.  This deserves some investigation.  FIXME
   9376 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9377       else
   9378 	ld_shlibs=no
   9379       fi
   9380       ;;
   9381 
   9382     cygwin* | mingw* | pw32* | cegcc*)
   9383       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9384       # as there is no search path for DLLs.
   9385       hardcode_libdir_flag_spec='-L$libdir'
   9386       export_dynamic_flag_spec='$wl--export-all-symbols'
   9387       allow_undefined_flag=unsupported
   9388       always_export_symbols=no
   9389       enable_shared_with_static_runtimes=yes
   9390       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'
   9391       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9392 
   9393       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9394         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9395 	# If the export-symbols file already is a .def file, use it as
   9396 	# is; otherwise, prepend EXPORTS...
   9397 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9398           cp $export_symbols $output_objdir/$soname.def;
   9399         else
   9400           echo EXPORTS > $output_objdir/$soname.def;
   9401           cat $export_symbols >> $output_objdir/$soname.def;
   9402         fi~
   9403         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9404       else
   9405 	ld_shlibs=no
   9406       fi
   9407       ;;
   9408 
   9409     haiku*)
   9410       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9411       link_all_deplibs=yes
   9412       ;;
   9413 
   9414     os2*)
   9415       hardcode_libdir_flag_spec='-L$libdir'
   9416       hardcode_minus_L=yes
   9417       allow_undefined_flag=unsupported
   9418       shrext_cmds=.dll
   9419       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9420 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9421 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9422 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9423 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9424 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9425 	emximp -o $lib $output_objdir/$libname.def'
   9426       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9427 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9428 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9429 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9430 	prefix_cmds="$SED"~
   9431 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9432 	  prefix_cmds="$prefix_cmds -e 1d";
   9433 	fi~
   9434 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9435 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9436 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9437 	emximp -o $lib $output_objdir/$libname.def'
   9438       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9439       enable_shared_with_static_runtimes=yes
   9440       ;;
   9441 
   9442     interix[3-9]*)
   9443       hardcode_direct=no
   9444       hardcode_shlibpath_var=no
   9445       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9446       export_dynamic_flag_spec='$wl-E'
   9447       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9448       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9449       # default) and relocated if they conflict, which is a slow very memory
   9450       # consuming and fragmenting process.  To avoid this, we pick a random,
   9451       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9452       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9453       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9454       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'
   9455       ;;
   9456 
   9457     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9458       tmp_diet=no
   9459       if test linux-dietlibc = "$host_os"; then
   9460 	case $cc_basename in
   9461 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9462 	esac
   9463       fi
   9464       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9465 	 && test no = "$tmp_diet"
   9466       then
   9467 	tmp_addflag=' $pic_flag'
   9468 	tmp_sharedflag='-shared'
   9469 	case $cc_basename,$host_cpu in
   9470         pgcc*)				# Portland Group C compiler
   9471 	  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'
   9472 	  tmp_addflag=' $pic_flag'
   9473 	  ;;
   9474 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9475 					# Portland Group f77 and f90 compilers
   9476 	  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'
   9477 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9478 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9479 	  tmp_addflag=' -i_dynamic' ;;
   9480 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9481 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9482 	ifc* | ifort*)			# Intel Fortran compiler
   9483 	  tmp_addflag=' -nofor_main' ;;
   9484 	lf95*)				# Lahey Fortran 8.1
   9485 	  whole_archive_flag_spec=
   9486 	  tmp_sharedflag='--shared' ;;
   9487         nagfor*)                        # NAGFOR 5.3
   9488           tmp_sharedflag='-Wl,-shared' ;;
   9489 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9490 	  tmp_sharedflag='-qmkshrobj'
   9491 	  tmp_addflag= ;;
   9492 	nvcc*)	# Cuda Compiler Driver 2.2
   9493 	  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'
   9494 	  compiler_needs_object=yes
   9495 	  ;;
   9496 	esac
   9497 	case `$CC -V 2>&1 | sed 5q` in
   9498 	*Sun\ C*)			# Sun C 5.9
   9499 	  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'
   9500 	  compiler_needs_object=yes
   9501 	  tmp_sharedflag='-G' ;;
   9502 	*Sun\ F*)			# Sun Fortran 8.3
   9503 	  tmp_sharedflag='-G' ;;
   9504 	esac
   9505 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9506 
   9507         if test yes = "$supports_anon_versioning"; then
   9508           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9509             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9510             echo "local: *; };" >> $output_objdir/$libname.ver~
   9511             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9512         fi
   9513 
   9514 	case $cc_basename in
   9515 	tcc*)
   9516 	  export_dynamic_flag_spec='-rdynamic'
   9517 	  ;;
   9518 	xlf* | bgf* | bgxlf* | mpixlf*)
   9519 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9520 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9521 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9522 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9523 	  if test yes = "$supports_anon_versioning"; then
   9524 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9525               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9526               echo "local: *; };" >> $output_objdir/$libname.ver~
   9527               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9528 	  fi
   9529 	  ;;
   9530 	esac
   9531       else
   9532         ld_shlibs=no
   9533       fi
   9534       ;;
   9535 
   9536     netbsd*)
   9537       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9538 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9539 	wlarc=
   9540       else
   9541 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9542 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9543       fi
   9544       ;;
   9545 
   9546     solaris*)
   9547       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9548 	ld_shlibs=no
   9549 	cat <<_LT_EOF 1>&2
   9550 
   9551 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9552 *** create shared libraries on Solaris systems.  Therefore, libtool
   9553 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9554 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9555 *** your PATH or compiler configuration so that the native linker is
   9556 *** used, and then restart.
   9557 
   9558 _LT_EOF
   9559       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9560 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9561 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9562       else
   9563 	ld_shlibs=no
   9564       fi
   9565       ;;
   9566 
   9567     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9568       case `$LD -v 2>&1` in
   9569         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9570 	ld_shlibs=no
   9571 	cat <<_LT_EOF 1>&2
   9572 
   9573 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9574 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9575 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9576 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9577 *** your PATH or compiler configuration so that the native linker is
   9578 *** used, and then restart.
   9579 
   9580 _LT_EOF
   9581 	;;
   9582 	*)
   9583 	  # For security reasons, it is highly recommended that you always
   9584 	  # use absolute paths for naming shared libraries, and exclude the
   9585 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9586 	  # requires that you compile everything twice, which is a pain.
   9587 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9588 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9589 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9590 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9591 	  else
   9592 	    ld_shlibs=no
   9593 	  fi
   9594 	;;
   9595       esac
   9596       ;;
   9597 
   9598     sunos4*)
   9599       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9600       wlarc=
   9601       hardcode_direct=yes
   9602       hardcode_shlibpath_var=no
   9603       ;;
   9604 
   9605     *)
   9606       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9607 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9608 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9609       else
   9610 	ld_shlibs=no
   9611       fi
   9612       ;;
   9613     esac
   9614 
   9615     if test no = "$ld_shlibs"; then
   9616       runpath_var=
   9617       hardcode_libdir_flag_spec=
   9618       export_dynamic_flag_spec=
   9619       whole_archive_flag_spec=
   9620     fi
   9621   else
   9622     # PORTME fill in a description of your system's linker (not GNU ld)
   9623     case $host_os in
   9624     aix3*)
   9625       allow_undefined_flag=unsupported
   9626       always_export_symbols=yes
   9627       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'
   9628       # Note: this linker hardcodes the directories in LIBPATH if there
   9629       # are no directories specified by -L.
   9630       hardcode_minus_L=yes
   9631       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9632 	# Neither direct hardcoding nor static linking is supported with a
   9633 	# broken collect2.
   9634 	hardcode_direct=unsupported
   9635       fi
   9636       ;;
   9637 
   9638     aix[4-9]*)
   9639       if test ia64 = "$host_cpu"; then
   9640 	# On IA64, the linker does run time linking by default, so we don't
   9641 	# have to do anything special.
   9642 	aix_use_runtimelinking=no
   9643 	exp_sym_flag='-Bexport'
   9644 	no_entry_flag=
   9645       else
   9646 	# If we're using GNU nm, then we don't want the "-C" option.
   9647 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9648 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9649 	# weak defined symbols like other global defined symbols, whereas
   9650 	# GNU nm marks them as "W".
   9651 	# While the 'weak' keyword is ignored in the Export File, we need
   9652 	# it in the Import File for the 'aix-soname' feature, so we have
   9653 	# to replace the "-B" option with "-P" for AIX nm.
   9654 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9655 	  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'
   9656 	else
   9657 	  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'
   9658 	fi
   9659 	aix_use_runtimelinking=no
   9660 
   9661 	# Test if we are trying to use run time linking or normal
   9662 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9663 	# have runtime linking enabled, and use it for executables.
   9664 	# For shared libraries, we enable/disable runtime linking
   9665 	# depending on the kind of the shared library created -
   9666 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9667 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9668 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9669 	#            lib.a           static archive
   9670 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9671 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9672 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9673 	#            lib.a(lib.so.V) shared, rtl:no
   9674 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9675 	#            lib.a           static archive
   9676 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9677 	  for ld_flag in $LDFLAGS; do
   9678 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9679 	    aix_use_runtimelinking=yes
   9680 	    break
   9681 	  fi
   9682 	  done
   9683 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9684 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9685 	    # so we don't have lib.a shared libs to link our executables.
   9686 	    # We have to force runtime linking in this case.
   9687 	    aix_use_runtimelinking=yes
   9688 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9689 	  fi
   9690 	  ;;
   9691 	esac
   9692 
   9693 	exp_sym_flag='-bexport'
   9694 	no_entry_flag='-bnoentry'
   9695       fi
   9696 
   9697       # When large executables or shared objects are built, AIX ld can
   9698       # have problems creating the table of contents.  If linking a library
   9699       # or program results in "error TOC overflow" add -mminimal-toc to
   9700       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9701       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9702 
   9703       archive_cmds=''
   9704       hardcode_direct=yes
   9705       hardcode_direct_absolute=yes
   9706       hardcode_libdir_separator=':'
   9707       link_all_deplibs=yes
   9708       file_list_spec='$wl-f,'
   9709       case $with_aix_soname,$aix_use_runtimelinking in
   9710       aix,*) ;; # traditional, no import file
   9711       svr4,* | *,yes) # use import file
   9712 	# The Import File defines what to hardcode.
   9713 	hardcode_direct=no
   9714 	hardcode_direct_absolute=no
   9715 	;;
   9716       esac
   9717 
   9718       if test yes = "$GCC"; then
   9719 	case $host_os in aix4.[012]|aix4.[012].*)
   9720 	# We only want to do this on AIX 4.2 and lower, the check
   9721 	# below for broken collect2 doesn't work under 4.3+
   9722 	  collect2name=`$CC -print-prog-name=collect2`
   9723 	  if test -f "$collect2name" &&
   9724 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9725 	  then
   9726 	  # We have reworked collect2
   9727 	  :
   9728 	  else
   9729 	  # We have old collect2
   9730 	  hardcode_direct=unsupported
   9731 	  # It fails to find uninstalled libraries when the uninstalled
   9732 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9733 	  # to unsupported forces relinking
   9734 	  hardcode_minus_L=yes
   9735 	  hardcode_libdir_flag_spec='-L$libdir'
   9736 	  hardcode_libdir_separator=
   9737 	  fi
   9738 	  ;;
   9739 	esac
   9740 	shared_flag='-shared'
   9741 	if test yes = "$aix_use_runtimelinking"; then
   9742 	  shared_flag="$shared_flag "'$wl-G'
   9743 	fi
   9744 	# Need to ensure runtime linking is disabled for the traditional
   9745 	# shared library, or the linker may eventually find shared libraries
   9746 	# /with/ Import File - we do not want to mix them.
   9747 	shared_flag_aix='-shared'
   9748 	shared_flag_svr4='-shared $wl-G'
   9749       else
   9750 	# not using gcc
   9751 	if test ia64 = "$host_cpu"; then
   9752 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9753 	# chokes on -Wl,-G. The following line is correct:
   9754 	  shared_flag='-G'
   9755 	else
   9756 	  if test yes = "$aix_use_runtimelinking"; then
   9757 	    shared_flag='$wl-G'
   9758 	  else
   9759 	    shared_flag='$wl-bM:SRE'
   9760 	  fi
   9761 	  shared_flag_aix='$wl-bM:SRE'
   9762 	  shared_flag_svr4='$wl-G'
   9763 	fi
   9764       fi
   9765 
   9766       export_dynamic_flag_spec='$wl-bexpall'
   9767       # It seems that -bexpall does not export symbols beginning with
   9768       # underscore (_), so it is better to generate a list of symbols to export.
   9769       always_export_symbols=yes
   9770       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9771 	# Warning - without using the other runtime loading flags (-brtl),
   9772 	# -berok will link without error, but may produce a broken library.
   9773 	allow_undefined_flag='-berok'
   9774         # Determine the default libpath from the value encoded in an
   9775         # empty executable.
   9776         if test set = "${lt_cv_aix_libpath+set}"; then
   9777   aix_libpath=$lt_cv_aix_libpath
   9778 else
   9779   if ${lt_cv_aix_libpath_+:} false; then :
   9780   $as_echo_n "(cached) " >&6
   9781 else
   9782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9783 /* end confdefs.h.  */
   9784 
   9785 int
   9786 main ()
   9787 {
   9788 
   9789   ;
   9790   return 0;
   9791 }
   9792 _ACEOF
   9793 if ac_fn_c_try_link "$LINENO"; then :
   9794 
   9795   lt_aix_libpath_sed='
   9796       /Import File Strings/,/^$/ {
   9797 	  /^0/ {
   9798 	      s/^0  *\([^ ]*\) *$/\1/
   9799 	      p
   9800 	  }
   9801       }'
   9802   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9803   # Check for a 64-bit object if we didn't find anything.
   9804   if test -z "$lt_cv_aix_libpath_"; then
   9805     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9806   fi
   9807 fi
   9808 rm -f core conftest.err conftest.$ac_objext \
   9809     conftest$ac_exeext conftest.$ac_ext
   9810   if test -z "$lt_cv_aix_libpath_"; then
   9811     lt_cv_aix_libpath_=/usr/lib:/lib
   9812   fi
   9813 
   9814 fi
   9815 
   9816   aix_libpath=$lt_cv_aix_libpath_
   9817 fi
   9818 
   9819         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9820         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
   9821       else
   9822 	if test ia64 = "$host_cpu"; then
   9823 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9824 	  allow_undefined_flag="-z nodefs"
   9825 	  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"
   9826 	else
   9827 	 # Determine the default libpath from the value encoded in an
   9828 	 # empty executable.
   9829 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9830   aix_libpath=$lt_cv_aix_libpath
   9831 else
   9832   if ${lt_cv_aix_libpath_+:} false; then :
   9833   $as_echo_n "(cached) " >&6
   9834 else
   9835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9836 /* end confdefs.h.  */
   9837 
   9838 int
   9839 main ()
   9840 {
   9841 
   9842   ;
   9843   return 0;
   9844 }
   9845 _ACEOF
   9846 if ac_fn_c_try_link "$LINENO"; then :
   9847 
   9848   lt_aix_libpath_sed='
   9849       /Import File Strings/,/^$/ {
   9850 	  /^0/ {
   9851 	      s/^0  *\([^ ]*\) *$/\1/
   9852 	      p
   9853 	  }
   9854       }'
   9855   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9856   # Check for a 64-bit object if we didn't find anything.
   9857   if test -z "$lt_cv_aix_libpath_"; then
   9858     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9859   fi
   9860 fi
   9861 rm -f core conftest.err conftest.$ac_objext \
   9862     conftest$ac_exeext conftest.$ac_ext
   9863   if test -z "$lt_cv_aix_libpath_"; then
   9864     lt_cv_aix_libpath_=/usr/lib:/lib
   9865   fi
   9866 
   9867 fi
   9868 
   9869   aix_libpath=$lt_cv_aix_libpath_
   9870 fi
   9871 
   9872 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9873 	  # Warning - without using the other run time loading flags,
   9874 	  # -berok will link without error, but may produce a broken library.
   9875 	  no_undefined_flag=' $wl-bernotok'
   9876 	  allow_undefined_flag=' $wl-berok'
   9877 	  if test yes = "$with_gnu_ld"; then
   9878 	    # We only use this code for GNU lds that support --whole-archive.
   9879 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   9880 	  else
   9881 	    # Exported symbols can be pulled into shared objects from archives
   9882 	    whole_archive_flag_spec='$convenience'
   9883 	  fi
   9884 	  archive_cmds_need_lc=yes
   9885 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   9886 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   9887 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   9888 	  if test svr4 != "$with_aix_soname"; then
   9889 	    # This is similar to how AIX traditionally builds its shared libraries.
   9890 	    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'
   9891 	  fi
   9892 	  if test aix != "$with_aix_soname"; then
   9893 	    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'
   9894 	  else
   9895 	    # used by -dlpreopen to get the symbols
   9896 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   9897 	  fi
   9898 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   9899 	fi
   9900       fi
   9901       ;;
   9902 
   9903     amigaos*)
   9904       case $host_cpu in
   9905       powerpc)
   9906             # see comment about AmigaOS4 .so support
   9907             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9908             archive_expsym_cmds=''
   9909         ;;
   9910       m68k)
   9911             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)'
   9912             hardcode_libdir_flag_spec='-L$libdir'
   9913             hardcode_minus_L=yes
   9914         ;;
   9915       esac
   9916       ;;
   9917 
   9918     bsdi[45]*)
   9919       export_dynamic_flag_spec=-rdynamic
   9920       ;;
   9921 
   9922     cygwin* | mingw* | pw32* | cegcc*)
   9923       # When not using gcc, we currently assume that we are using
   9924       # Microsoft Visual C++.
   9925       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9926       # no search path for DLLs.
   9927       case $cc_basename in
   9928       cl*)
   9929 	# Native MSVC
   9930 	hardcode_libdir_flag_spec=' '
   9931 	allow_undefined_flag=unsupported
   9932 	always_export_symbols=yes
   9933 	file_list_spec='@'
   9934 	# Tell ltmain to make .lib files, not .a files.
   9935 	libext=lib
   9936 	# Tell ltmain to make .dll files, not .so files.
   9937 	shrext_cmds=.dll
   9938 	# FIXME: Setting linknames here is a bad hack.
   9939 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   9940 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9941             cp "$export_symbols" "$output_objdir/$soname.def";
   9942             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   9943           else
   9944             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   9945           fi~
   9946           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9947           linknames='
   9948 	# The linker will not automatically build a static lib if we build a DLL.
   9949 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9950 	enable_shared_with_static_runtimes=yes
   9951 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9952 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9953 	# Don't use ranlib
   9954 	old_postinstall_cmds='chmod 644 $oldlib'
   9955 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9956           lt_tool_outputfile="@TOOL_OUTPUT@"~
   9957           case $lt_outputfile in
   9958             *.exe|*.EXE) ;;
   9959             *)
   9960               lt_outputfile=$lt_outputfile.exe
   9961               lt_tool_outputfile=$lt_tool_outputfile.exe
   9962               ;;
   9963           esac~
   9964           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   9965             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9966             $RM "$lt_outputfile.manifest";
   9967           fi'
   9968 	;;
   9969       *)
   9970 	# Assume MSVC wrapper
   9971 	hardcode_libdir_flag_spec=' '
   9972 	allow_undefined_flag=unsupported
   9973 	# Tell ltmain to make .lib files, not .a files.
   9974 	libext=lib
   9975 	# Tell ltmain to make .dll files, not .so files.
   9976 	shrext_cmds=.dll
   9977 	# FIXME: Setting linknames here is a bad hack.
   9978 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9979 	# The linker will automatically build a .lib file if we build a DLL.
   9980 	old_archive_from_new_cmds='true'
   9981 	# FIXME: Should let the user specify the lib program.
   9982 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9983 	enable_shared_with_static_runtimes=yes
   9984 	;;
   9985       esac
   9986       ;;
   9987 
   9988     darwin* | rhapsody*)
   9989 
   9990 
   9991   archive_cmds_need_lc=no
   9992   hardcode_direct=no
   9993   hardcode_automatic=yes
   9994   hardcode_shlibpath_var=unsupported
   9995   if test yes = "$lt_cv_ld_force_load"; then
   9996     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\"`'
   9997 
   9998   else
   9999     whole_archive_flag_spec=''
   10000   fi
   10001   link_all_deplibs=yes
   10002   allow_undefined_flag=$_lt_dar_allow_undefined
   10003   case $cc_basename in
   10004      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10005      *) _lt_dar_can_shared=$GCC ;;
   10006   esac
   10007   if test yes = "$_lt_dar_can_shared"; then
   10008     output_verbose_link_cmd=func_echo_all
   10009     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10010     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10011     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"
   10012     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"
   10013 
   10014   else
   10015   ld_shlibs=no
   10016   fi
   10017 
   10018       ;;
   10019 
   10020     dgux*)
   10021       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10022       hardcode_libdir_flag_spec='-L$libdir'
   10023       hardcode_shlibpath_var=no
   10024       ;;
   10025 
   10026     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10027     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10028     # does not break anything, and helps significantly (at the cost of a little
   10029     # extra space).
   10030     freebsd2.2*)
   10031       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10032       hardcode_libdir_flag_spec='-R$libdir'
   10033       hardcode_direct=yes
   10034       hardcode_shlibpath_var=no
   10035       ;;
   10036 
   10037     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10038     freebsd2.*)
   10039       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10040       hardcode_direct=yes
   10041       hardcode_minus_L=yes
   10042       hardcode_shlibpath_var=no
   10043       ;;
   10044 
   10045     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10046     freebsd* | dragonfly*)
   10047       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10048       hardcode_libdir_flag_spec='-R$libdir'
   10049       hardcode_direct=yes
   10050       hardcode_shlibpath_var=no
   10051       ;;
   10052 
   10053     hpux9*)
   10054       if test yes = "$GCC"; then
   10055 	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'
   10056       else
   10057 	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'
   10058       fi
   10059       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10060       hardcode_libdir_separator=:
   10061       hardcode_direct=yes
   10062 
   10063       # hardcode_minus_L: Not really in the search PATH,
   10064       # but as the default location of the library.
   10065       hardcode_minus_L=yes
   10066       export_dynamic_flag_spec='$wl-E'
   10067       ;;
   10068 
   10069     hpux10*)
   10070       if test yes,no = "$GCC,$with_gnu_ld"; then
   10071 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10072       else
   10073 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10074       fi
   10075       if test no = "$with_gnu_ld"; then
   10076 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10077 	hardcode_libdir_separator=:
   10078 	hardcode_direct=yes
   10079 	hardcode_direct_absolute=yes
   10080 	export_dynamic_flag_spec='$wl-E'
   10081 	# hardcode_minus_L: Not really in the search PATH,
   10082 	# but as the default location of the library.
   10083 	hardcode_minus_L=yes
   10084       fi
   10085       ;;
   10086 
   10087     hpux11*)
   10088       if test yes,no = "$GCC,$with_gnu_ld"; then
   10089 	case $host_cpu in
   10090 	hppa*64*)
   10091 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10092 	  ;;
   10093 	ia64*)
   10094 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10095 	  ;;
   10096 	*)
   10097 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10098 	  ;;
   10099 	esac
   10100       else
   10101 	case $host_cpu in
   10102 	hppa*64*)
   10103 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10104 	  ;;
   10105 	ia64*)
   10106 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10107 	  ;;
   10108 	*)
   10109 
   10110 	  # Older versions of the 11.00 compiler do not understand -b yet
   10111 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10112 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10113 $as_echo_n "checking if $CC understands -b... " >&6; }
   10114 if ${lt_cv_prog_compiler__b+:} false; then :
   10115   $as_echo_n "(cached) " >&6
   10116 else
   10117   lt_cv_prog_compiler__b=no
   10118    save_LDFLAGS=$LDFLAGS
   10119    LDFLAGS="$LDFLAGS -b"
   10120    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10121    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10122      # The linker can only warn and ignore the option if not recognized
   10123      # So say no if there are warnings
   10124      if test -s conftest.err; then
   10125        # Append any errors to the config.log.
   10126        cat conftest.err 1>&5
   10127        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10128        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10129        if diff conftest.exp conftest.er2 >/dev/null; then
   10130          lt_cv_prog_compiler__b=yes
   10131        fi
   10132      else
   10133        lt_cv_prog_compiler__b=yes
   10134      fi
   10135    fi
   10136    $RM -r conftest*
   10137    LDFLAGS=$save_LDFLAGS
   10138 
   10139 fi
   10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10141 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10142 
   10143 if test yes = "$lt_cv_prog_compiler__b"; then
   10144     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10145 else
   10146     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10147 fi
   10148 
   10149 	  ;;
   10150 	esac
   10151       fi
   10152       if test no = "$with_gnu_ld"; then
   10153 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10154 	hardcode_libdir_separator=:
   10155 
   10156 	case $host_cpu in
   10157 	hppa*64*|ia64*)
   10158 	  hardcode_direct=no
   10159 	  hardcode_shlibpath_var=no
   10160 	  ;;
   10161 	*)
   10162 	  hardcode_direct=yes
   10163 	  hardcode_direct_absolute=yes
   10164 	  export_dynamic_flag_spec='$wl-E'
   10165 
   10166 	  # hardcode_minus_L: Not really in the search PATH,
   10167 	  # but as the default location of the library.
   10168 	  hardcode_minus_L=yes
   10169 	  ;;
   10170 	esac
   10171       fi
   10172       ;;
   10173 
   10174     irix5* | irix6* | nonstopux*)
   10175       if test yes = "$GCC"; then
   10176 	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'
   10177 	# Try to use the -exported_symbol ld option, if it does not
   10178 	# work, assume that -exports_file does not work either and
   10179 	# implicitly export all symbols.
   10180 	# This should be the same for all languages, so no per-tag cache variable.
   10181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10182 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10183 if ${lt_cv_irix_exported_symbol+:} false; then :
   10184   $as_echo_n "(cached) " >&6
   10185 else
   10186   save_LDFLAGS=$LDFLAGS
   10187 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10188 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10189 /* end confdefs.h.  */
   10190 int foo (void) { return 0; }
   10191 _ACEOF
   10192 if ac_fn_c_try_link "$LINENO"; then :
   10193   lt_cv_irix_exported_symbol=yes
   10194 else
   10195   lt_cv_irix_exported_symbol=no
   10196 fi
   10197 rm -f core conftest.err conftest.$ac_objext \
   10198     conftest$ac_exeext conftest.$ac_ext
   10199            LDFLAGS=$save_LDFLAGS
   10200 fi
   10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10202 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10203 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10204           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'
   10205 	fi
   10206       else
   10207 	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'
   10208 	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'
   10209       fi
   10210       archive_cmds_need_lc='no'
   10211       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10212       hardcode_libdir_separator=:
   10213       inherit_rpath=yes
   10214       link_all_deplibs=yes
   10215       ;;
   10216 
   10217     linux*)
   10218       case $cc_basename in
   10219       tcc*)
   10220 	# Fabrice Bellard et al's Tiny C Compiler
   10221 	ld_shlibs=yes
   10222 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10223 	;;
   10224       esac
   10225       ;;
   10226 
   10227     netbsd*)
   10228       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10229 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10230       else
   10231 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10232       fi
   10233       hardcode_libdir_flag_spec='-R$libdir'
   10234       hardcode_direct=yes
   10235       hardcode_shlibpath_var=no
   10236       ;;
   10237 
   10238     newsos6)
   10239       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10240       hardcode_direct=yes
   10241       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10242       hardcode_libdir_separator=:
   10243       hardcode_shlibpath_var=no
   10244       ;;
   10245 
   10246     *nto* | *qnx*)
   10247       ;;
   10248 
   10249     openbsd* | bitrig*)
   10250       if test -f /usr/libexec/ld.so; then
   10251 	hardcode_direct=yes
   10252 	hardcode_shlibpath_var=no
   10253 	hardcode_direct_absolute=yes
   10254 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10255 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10256 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10257 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10258 	  export_dynamic_flag_spec='$wl-E'
   10259 	else
   10260 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10261 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10262 	fi
   10263       else
   10264 	ld_shlibs=no
   10265       fi
   10266       ;;
   10267 
   10268     os2*)
   10269       hardcode_libdir_flag_spec='-L$libdir'
   10270       hardcode_minus_L=yes
   10271       allow_undefined_flag=unsupported
   10272       shrext_cmds=.dll
   10273       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10274 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10275 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10276 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10277 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10278 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10279 	emximp -o $lib $output_objdir/$libname.def'
   10280       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10281 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10282 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10283 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10284 	prefix_cmds="$SED"~
   10285 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10286 	  prefix_cmds="$prefix_cmds -e 1d";
   10287 	fi~
   10288 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10289 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10290 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10291 	emximp -o $lib $output_objdir/$libname.def'
   10292       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10293       enable_shared_with_static_runtimes=yes
   10294       ;;
   10295 
   10296     osf3*)
   10297       if test yes = "$GCC"; then
   10298 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10299 	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'
   10300       else
   10301 	allow_undefined_flag=' -expect_unresolved \*'
   10302 	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'
   10303       fi
   10304       archive_cmds_need_lc='no'
   10305       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10306       hardcode_libdir_separator=:
   10307       ;;
   10308 
   10309     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10310       if test yes = "$GCC"; then
   10311 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10312 	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'
   10313 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10314       else
   10315 	allow_undefined_flag=' -expect_unresolved \*'
   10316 	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'
   10317 	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~
   10318           $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'
   10319 
   10320 	# Both c and cxx compiler support -rpath directly
   10321 	hardcode_libdir_flag_spec='-rpath $libdir'
   10322       fi
   10323       archive_cmds_need_lc='no'
   10324       hardcode_libdir_separator=:
   10325       ;;
   10326 
   10327     solaris*)
   10328       no_undefined_flag=' -z defs'
   10329       if test yes = "$GCC"; then
   10330 	wlarc='$wl'
   10331 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10332 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10333           $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'
   10334       else
   10335 	case `$CC -V 2>&1` in
   10336 	*"Compilers 5.0"*)
   10337 	  wlarc=''
   10338 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10339 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10340             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10341 	  ;;
   10342 	*)
   10343 	  wlarc='$wl'
   10344 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10345 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10346             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10347 	  ;;
   10348 	esac
   10349       fi
   10350       hardcode_libdir_flag_spec='-R$libdir'
   10351       hardcode_shlibpath_var=no
   10352       case $host_os in
   10353       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10354       *)
   10355 	# The compiler driver will combine and reorder linker options,
   10356 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10357 	# but is careful enough not to reorder.
   10358 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10359 	if test yes = "$GCC"; then
   10360 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10361 	else
   10362 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10363 	fi
   10364 	;;
   10365       esac
   10366       link_all_deplibs=yes
   10367       ;;
   10368 
   10369     sunos4*)
   10370       if test sequent = "$host_vendor"; then
   10371 	# Use $CC to link under sequent, because it throws in some extra .o
   10372 	# files that make .init and .fini sections work.
   10373 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10374       else
   10375 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10376       fi
   10377       hardcode_libdir_flag_spec='-L$libdir'
   10378       hardcode_direct=yes
   10379       hardcode_minus_L=yes
   10380       hardcode_shlibpath_var=no
   10381       ;;
   10382 
   10383     sysv4)
   10384       case $host_vendor in
   10385 	sni)
   10386 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10387 	  hardcode_direct=yes # is this really true???
   10388 	;;
   10389 	siemens)
   10390 	  ## LD is ld it makes a PLAMLIB
   10391 	  ## CC just makes a GrossModule.
   10392 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10393 	  reload_cmds='$CC -r -o $output$reload_objs'
   10394 	  hardcode_direct=no
   10395         ;;
   10396 	motorola)
   10397 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10398 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10399 	;;
   10400       esac
   10401       runpath_var='LD_RUN_PATH'
   10402       hardcode_shlibpath_var=no
   10403       ;;
   10404 
   10405     sysv4.3*)
   10406       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10407       hardcode_shlibpath_var=no
   10408       export_dynamic_flag_spec='-Bexport'
   10409       ;;
   10410 
   10411     sysv4*MP*)
   10412       if test -d /usr/nec; then
   10413 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10414 	hardcode_shlibpath_var=no
   10415 	runpath_var=LD_RUN_PATH
   10416 	hardcode_runpath_var=yes
   10417 	ld_shlibs=yes
   10418       fi
   10419       ;;
   10420 
   10421     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10422       no_undefined_flag='$wl-z,text'
   10423       archive_cmds_need_lc=no
   10424       hardcode_shlibpath_var=no
   10425       runpath_var='LD_RUN_PATH'
   10426 
   10427       if test yes = "$GCC"; then
   10428 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10429 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10430       else
   10431 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10432 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10433       fi
   10434       ;;
   10435 
   10436     sysv5* | sco3.2v5* | sco5v6*)
   10437       # Note: We CANNOT use -z defs as we might desire, because we do not
   10438       # link with -lc, and that would cause any symbols used from libc to
   10439       # always be unresolved, which means just about no library would
   10440       # ever link correctly.  If we're not using GNU ld we use -z text
   10441       # though, which does catch some bad symbols but isn't as heavy-handed
   10442       # as -z defs.
   10443       no_undefined_flag='$wl-z,text'
   10444       allow_undefined_flag='$wl-z,nodefs'
   10445       archive_cmds_need_lc=no
   10446       hardcode_shlibpath_var=no
   10447       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10448       hardcode_libdir_separator=':'
   10449       link_all_deplibs=yes
   10450       export_dynamic_flag_spec='$wl-Bexport'
   10451       runpath_var='LD_RUN_PATH'
   10452 
   10453       if test yes = "$GCC"; then
   10454 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10455 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10456       else
   10457 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10458 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10459       fi
   10460       ;;
   10461 
   10462     uts4*)
   10463       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10464       hardcode_libdir_flag_spec='-L$libdir'
   10465       hardcode_shlibpath_var=no
   10466       ;;
   10467 
   10468     *)
   10469       ld_shlibs=no
   10470       ;;
   10471     esac
   10472 
   10473     if test sni = "$host_vendor"; then
   10474       case $host in
   10475       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10476 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10477 	;;
   10478       esac
   10479     fi
   10480   fi
   10481 
   10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10483 $as_echo "$ld_shlibs" >&6; }
   10484 test no = "$ld_shlibs" && can_build_shared=no
   10485 
   10486 with_gnu_ld=$with_gnu_ld
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 #
   10503 # Do we need to explicitly link libc?
   10504 #
   10505 case "x$archive_cmds_need_lc" in
   10506 x|xyes)
   10507   # Assume -lc should be added
   10508   archive_cmds_need_lc=yes
   10509 
   10510   if test yes,yes = "$GCC,$enable_shared"; then
   10511     case $archive_cmds in
   10512     *'~'*)
   10513       # FIXME: we may have to deal with multi-command sequences.
   10514       ;;
   10515     '$CC '*)
   10516       # Test whether the compiler implicitly links with -lc since on some
   10517       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10518       # to ld, don't add -lc before -lgcc.
   10519       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10520 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10521 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10522   $as_echo_n "(cached) " >&6
   10523 else
   10524   $RM conftest*
   10525 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10526 
   10527 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10528   (eval $ac_compile) 2>&5
   10529   ac_status=$?
   10530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10531   test $ac_status = 0; } 2>conftest.err; then
   10532 	  soname=conftest
   10533 	  lib=conftest
   10534 	  libobjs=conftest.$ac_objext
   10535 	  deplibs=
   10536 	  wl=$lt_prog_compiler_wl
   10537 	  pic_flag=$lt_prog_compiler_pic
   10538 	  compiler_flags=-v
   10539 	  linker_flags=-v
   10540 	  verstring=
   10541 	  output_objdir=.
   10542 	  libname=conftest
   10543 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10544 	  allow_undefined_flag=
   10545 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10546   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10547   ac_status=$?
   10548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10549   test $ac_status = 0; }
   10550 	  then
   10551 	    lt_cv_archive_cmds_need_lc=no
   10552 	  else
   10553 	    lt_cv_archive_cmds_need_lc=yes
   10554 	  fi
   10555 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10556 	else
   10557 	  cat conftest.err 1>&5
   10558 	fi
   10559 	$RM conftest*
   10560 
   10561 fi
   10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10563 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10564       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10565       ;;
   10566     esac
   10567   fi
   10568   ;;
   10569 esac
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10723 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10724 
   10725 if test yes = "$GCC"; then
   10726   case $host_os in
   10727     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10728     *) lt_awk_arg='/^libraries:/' ;;
   10729   esac
   10730   case $host_os in
   10731     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10732     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10733   esac
   10734   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10735   case $lt_search_path_spec in
   10736   *\;*)
   10737     # if the path contains ";" then we assume it to be the separator
   10738     # otherwise default to the standard path separator (i.e. ":") - it is
   10739     # assumed that no part of a normal pathname contains ";" but that should
   10740     # okay in the real world where ";" in dirpaths is itself problematic.
   10741     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10742     ;;
   10743   *)
   10744     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10745     ;;
   10746   esac
   10747   # Ok, now we have the path, separated by spaces, we can step through it
   10748   # and add multilib dir if necessary...
   10749   lt_tmp_lt_search_path_spec=
   10750   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10751   # ...but if some path component already ends with the multilib dir we assume
   10752   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10753   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10754   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10755     lt_multi_os_dir=
   10756     ;;
   10757   esac
   10758   for lt_sys_path in $lt_search_path_spec; do
   10759     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10760       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10761     elif test -n "$lt_multi_os_dir"; then
   10762       test -d "$lt_sys_path" && \
   10763 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10764     fi
   10765   done
   10766   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10767 BEGIN {RS = " "; FS = "/|\n";} {
   10768   lt_foo = "";
   10769   lt_count = 0;
   10770   for (lt_i = NF; lt_i > 0; lt_i--) {
   10771     if ($lt_i != "" && $lt_i != ".") {
   10772       if ($lt_i == "..") {
   10773         lt_count++;
   10774       } else {
   10775         if (lt_count == 0) {
   10776           lt_foo = "/" $lt_i lt_foo;
   10777         } else {
   10778           lt_count--;
   10779         }
   10780       }
   10781     }
   10782   }
   10783   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10784   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10785 }'`
   10786   # AWK program above erroneously prepends '/' to C:/dos/paths
   10787   # for these hosts.
   10788   case $host_os in
   10789     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10790       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10791   esac
   10792   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10793 else
   10794   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10795 fi
   10796 library_names_spec=
   10797 libname_spec='lib$name'
   10798 soname_spec=
   10799 shrext_cmds=.so
   10800 postinstall_cmds=
   10801 postuninstall_cmds=
   10802 finish_cmds=
   10803 finish_eval=
   10804 shlibpath_var=
   10805 shlibpath_overrides_runpath=unknown
   10806 version_type=none
   10807 dynamic_linker="$host_os ld.so"
   10808 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10809 need_lib_prefix=unknown
   10810 hardcode_into_libs=no
   10811 
   10812 # when you set need_version to no, make sure it does not cause -set_version
   10813 # flags to be left without arguments
   10814 need_version=unknown
   10815 
   10816 
   10817 
   10818 case $host_os in
   10819 aix3*)
   10820   version_type=linux # correct to gnu/linux during the next big refactor
   10821   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10822   shlibpath_var=LIBPATH
   10823 
   10824   # AIX 3 has no versioning support, so we append a major version to the name.
   10825   soname_spec='$libname$release$shared_ext$major'
   10826   ;;
   10827 
   10828 aix[4-9]*)
   10829   version_type=linux # correct to gnu/linux during the next big refactor
   10830   need_lib_prefix=no
   10831   need_version=no
   10832   hardcode_into_libs=yes
   10833   if test ia64 = "$host_cpu"; then
   10834     # AIX 5 supports IA64
   10835     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10836     shlibpath_var=LD_LIBRARY_PATH
   10837   else
   10838     # With GCC up to 2.95.x, collect2 would create an import file
   10839     # for dependence libraries.  The import file would start with
   10840     # the line '#! .'.  This would cause the generated library to
   10841     # depend on '.', always an invalid library.  This was fixed in
   10842     # development snapshots of GCC prior to 3.0.
   10843     case $host_os in
   10844       aix4 | aix4.[01] | aix4.[01].*)
   10845       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10846 	   echo ' yes '
   10847 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   10848 	:
   10849       else
   10850 	can_build_shared=no
   10851       fi
   10852       ;;
   10853     esac
   10854     # Using Import Files as archive members, it is possible to support
   10855     # filename-based versioning of shared library archives on AIX. While
   10856     # this would work for both with and without runtime linking, it will
   10857     # prevent static linking of such archives. So we do filename-based
   10858     # shared library versioning with .so extension only, which is used
   10859     # when both runtime linking and shared linking is enabled.
   10860     # Unfortunately, runtime linking may impact performance, so we do
   10861     # not want this to be the default eventually. Also, we use the
   10862     # versioned .so libs for executables only if there is the -brtl
   10863     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   10864     # To allow for filename-based versioning support, we need to create
   10865     # libNAME.so.V as an archive file, containing:
   10866     # *) an Import File, referring to the versioned filename of the
   10867     #    archive as well as the shared archive member, telling the
   10868     #    bitwidth (32 or 64) of that shared object, and providing the
   10869     #    list of exported symbols of that shared object, eventually
   10870     #    decorated with the 'weak' keyword
   10871     # *) the shared object with the F_LOADONLY flag set, to really avoid
   10872     #    it being seen by the linker.
   10873     # At run time we better use the real file rather than another symlink,
   10874     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   10875 
   10876     case $with_aix_soname,$aix_use_runtimelinking in
   10877     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   10878     # soname into executable. Probably we can add versioning support to
   10879     # collect2, so additional links can be useful in future.
   10880     aix,yes) # traditional libtool
   10881       dynamic_linker='AIX unversionable lib.so'
   10882       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10883       # instead of lib<name>.a to let people know that these are not
   10884       # typical AIX shared libraries.
   10885       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10886       ;;
   10887     aix,no) # traditional AIX only
   10888       dynamic_linker='AIX lib.a(lib.so.V)'
   10889       # We preserve .a as extension for shared libraries through AIX4.2
   10890       # and later when we are not doing run time linking.
   10891       library_names_spec='$libname$release.a $libname.a'
   10892       soname_spec='$libname$release$shared_ext$major'
   10893       ;;
   10894     svr4,*) # full svr4 only
   10895       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   10896       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10897       # We do not specify a path in Import Files, so LIBPATH fires.
   10898       shlibpath_overrides_runpath=yes
   10899       ;;
   10900     *,yes) # both, prefer svr4
   10901       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   10902       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10903       # unpreferred sharedlib libNAME.a needs extra handling
   10904       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"'
   10905       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"'
   10906       # We do not specify a path in Import Files, so LIBPATH fires.
   10907       shlibpath_overrides_runpath=yes
   10908       ;;
   10909     *,no) # both, prefer aix
   10910       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   10911       library_names_spec='$libname$release.a $libname.a'
   10912       soname_spec='$libname$release$shared_ext$major'
   10913       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   10914       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)'
   10915       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"'
   10916       ;;
   10917     esac
   10918     shlibpath_var=LIBPATH
   10919   fi
   10920   ;;
   10921 
   10922 amigaos*)
   10923   case $host_cpu in
   10924   powerpc)
   10925     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10926     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10927     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10928     ;;
   10929   m68k)
   10930     library_names_spec='$libname.ixlibrary $libname.a'
   10931     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10932     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'
   10933     ;;
   10934   esac
   10935   ;;
   10936 
   10937 beos*)
   10938   library_names_spec='$libname$shared_ext'
   10939   dynamic_linker="$host_os ld.so"
   10940   shlibpath_var=LIBRARY_PATH
   10941   ;;
   10942 
   10943 bsdi[45]*)
   10944   version_type=linux # correct to gnu/linux during the next big refactor
   10945   need_version=no
   10946   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10947   soname_spec='$libname$release$shared_ext$major'
   10948   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10949   shlibpath_var=LD_LIBRARY_PATH
   10950   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10951   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10952   # the default ld.so.conf also contains /usr/contrib/lib and
   10953   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10954   # libtool to hard-code these into programs
   10955   ;;
   10956 
   10957 cygwin* | mingw* | pw32* | cegcc*)
   10958   version_type=windows
   10959   shrext_cmds=.dll
   10960   need_version=no
   10961   need_lib_prefix=no
   10962 
   10963   case $GCC,$cc_basename in
   10964   yes,*)
   10965     # gcc
   10966     library_names_spec='$libname.dll.a'
   10967     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10968     postinstall_cmds='base_file=`basename \$file`~
   10969       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10970       dldir=$destdir/`dirname \$dlpath`~
   10971       test -d \$dldir || mkdir -p \$dldir~
   10972       $install_prog $dir/$dlname \$dldir/$dlname~
   10973       chmod a+x \$dldir/$dlname~
   10974       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10975         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10976       fi'
   10977     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10978       dlpath=$dir/\$dldll~
   10979        $RM \$dlpath'
   10980     shlibpath_overrides_runpath=yes
   10981 
   10982     case $host_os in
   10983     cygwin*)
   10984       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10985       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10986 
   10987       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10988       ;;
   10989     mingw* | cegcc*)
   10990       # MinGW DLLs use traditional 'lib' prefix
   10991       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10992       ;;
   10993     pw32*)
   10994       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10995       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10996       ;;
   10997     esac
   10998     dynamic_linker='Win32 ld.exe'
   10999     ;;
   11000 
   11001   *,cl*)
   11002     # Native MSVC
   11003     libname_spec='$name'
   11004     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11005     library_names_spec='$libname.dll.lib'
   11006 
   11007     case $build_os in
   11008     mingw*)
   11009       sys_lib_search_path_spec=
   11010       lt_save_ifs=$IFS
   11011       IFS=';'
   11012       for lt_path in $LIB
   11013       do
   11014         IFS=$lt_save_ifs
   11015         # Let DOS variable expansion print the short 8.3 style file name.
   11016         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11017         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11018       done
   11019       IFS=$lt_save_ifs
   11020       # Convert to MSYS style.
   11021       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11022       ;;
   11023     cygwin*)
   11024       # Convert to unix form, then to dos form, then back to unix form
   11025       # but this time dos style (no spaces!) so that the unix form looks
   11026       # like /cygdrive/c/PROGRA~1:/cygdr...
   11027       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11028       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11029       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11030       ;;
   11031     *)
   11032       sys_lib_search_path_spec=$LIB
   11033       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11034         # It is most probably a Windows format PATH.
   11035         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11036       else
   11037         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11038       fi
   11039       # FIXME: find the short name or the path components, as spaces are
   11040       # common. (e.g. "Program Files" -> "PROGRA~1")
   11041       ;;
   11042     esac
   11043 
   11044     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11045     postinstall_cmds='base_file=`basename \$file`~
   11046       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11047       dldir=$destdir/`dirname \$dlpath`~
   11048       test -d \$dldir || mkdir -p \$dldir~
   11049       $install_prog $dir/$dlname \$dldir/$dlname'
   11050     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11051       dlpath=$dir/\$dldll~
   11052        $RM \$dlpath'
   11053     shlibpath_overrides_runpath=yes
   11054     dynamic_linker='Win32 link.exe'
   11055     ;;
   11056 
   11057   *)
   11058     # Assume MSVC wrapper
   11059     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11060     dynamic_linker='Win32 ld.exe'
   11061     ;;
   11062   esac
   11063   # FIXME: first we should search . and the directory the executable is in
   11064   shlibpath_var=PATH
   11065   ;;
   11066 
   11067 darwin* | rhapsody*)
   11068   dynamic_linker="$host_os dyld"
   11069   version_type=darwin
   11070   need_lib_prefix=no
   11071   need_version=no
   11072   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11073   soname_spec='$libname$release$major$shared_ext'
   11074   shlibpath_overrides_runpath=yes
   11075   shlibpath_var=DYLD_LIBRARY_PATH
   11076   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11077 
   11078   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11079   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11080   ;;
   11081 
   11082 dgux*)
   11083   version_type=linux # correct to gnu/linux during the next big refactor
   11084   need_lib_prefix=no
   11085   need_version=no
   11086   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11087   soname_spec='$libname$release$shared_ext$major'
   11088   shlibpath_var=LD_LIBRARY_PATH
   11089   ;;
   11090 
   11091 freebsd* | dragonfly*)
   11092   # DragonFly does not have aout.  When/if they implement a new
   11093   # versioning mechanism, adjust this.
   11094   if test -x /usr/bin/objformat; then
   11095     objformat=`/usr/bin/objformat`
   11096   else
   11097     case $host_os in
   11098     freebsd[23].*) objformat=aout ;;
   11099     *) objformat=elf ;;
   11100     esac
   11101   fi
   11102   version_type=freebsd-$objformat
   11103   case $version_type in
   11104     freebsd-elf*)
   11105       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11106       soname_spec='$libname$release$shared_ext$major'
   11107       need_version=no
   11108       need_lib_prefix=no
   11109       ;;
   11110     freebsd-*)
   11111       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11112       need_version=yes
   11113       ;;
   11114   esac
   11115   shlibpath_var=LD_LIBRARY_PATH
   11116   case $host_os in
   11117   freebsd2.*)
   11118     shlibpath_overrides_runpath=yes
   11119     ;;
   11120   freebsd3.[01]* | freebsdelf3.[01]*)
   11121     shlibpath_overrides_runpath=yes
   11122     hardcode_into_libs=yes
   11123     ;;
   11124   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11125   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11126     shlibpath_overrides_runpath=no
   11127     hardcode_into_libs=yes
   11128     ;;
   11129   *) # from 4.6 on, and DragonFly
   11130     shlibpath_overrides_runpath=yes
   11131     hardcode_into_libs=yes
   11132     ;;
   11133   esac
   11134   ;;
   11135 
   11136 haiku*)
   11137   version_type=linux # correct to gnu/linux during the next big refactor
   11138   need_lib_prefix=no
   11139   need_version=no
   11140   dynamic_linker="$host_os runtime_loader"
   11141   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11142   soname_spec='$libname$release$shared_ext$major'
   11143   shlibpath_var=LIBRARY_PATH
   11144   shlibpath_overrides_runpath=no
   11145   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11146   hardcode_into_libs=yes
   11147   ;;
   11148 
   11149 hpux9* | hpux10* | hpux11*)
   11150   # Give a soname corresponding to the major version so that dld.sl refuses to
   11151   # link against other versions.
   11152   version_type=sunos
   11153   need_lib_prefix=no
   11154   need_version=no
   11155   case $host_cpu in
   11156   ia64*)
   11157     shrext_cmds='.so'
   11158     hardcode_into_libs=yes
   11159     dynamic_linker="$host_os dld.so"
   11160     shlibpath_var=LD_LIBRARY_PATH
   11161     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11162     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11163     soname_spec='$libname$release$shared_ext$major'
   11164     if test 32 = "$HPUX_IA64_MODE"; then
   11165       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11166       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11167     else
   11168       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11169       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11170     fi
   11171     ;;
   11172   hppa*64*)
   11173     shrext_cmds='.sl'
   11174     hardcode_into_libs=yes
   11175     dynamic_linker="$host_os dld.sl"
   11176     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11177     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11178     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11179     soname_spec='$libname$release$shared_ext$major'
   11180     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11181     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11182     ;;
   11183   *)
   11184     shrext_cmds='.sl'
   11185     dynamic_linker="$host_os dld.sl"
   11186     shlibpath_var=SHLIB_PATH
   11187     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11188     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11189     soname_spec='$libname$release$shared_ext$major'
   11190     ;;
   11191   esac
   11192   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11193   postinstall_cmds='chmod 555 $lib'
   11194   # or fails outright, so override atomically:
   11195   install_override_mode=555
   11196   ;;
   11197 
   11198 interix[3-9]*)
   11199   version_type=linux # correct to gnu/linux during the next big refactor
   11200   need_lib_prefix=no
   11201   need_version=no
   11202   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11203   soname_spec='$libname$release$shared_ext$major'
   11204   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11205   shlibpath_var=LD_LIBRARY_PATH
   11206   shlibpath_overrides_runpath=no
   11207   hardcode_into_libs=yes
   11208   ;;
   11209 
   11210 irix5* | irix6* | nonstopux*)
   11211   case $host_os in
   11212     nonstopux*) version_type=nonstopux ;;
   11213     *)
   11214 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11215 		version_type=linux # correct to gnu/linux during the next big refactor
   11216 	else
   11217 		version_type=irix
   11218 	fi ;;
   11219   esac
   11220   need_lib_prefix=no
   11221   need_version=no
   11222   soname_spec='$libname$release$shared_ext$major'
   11223   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11224   case $host_os in
   11225   irix5* | nonstopux*)
   11226     libsuff= shlibsuff=
   11227     ;;
   11228   *)
   11229     case $LD in # libtool.m4 will add one of these switches to LD
   11230     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11231       libsuff= shlibsuff= libmagic=32-bit;;
   11232     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11233       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11234     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11235       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11236     *) libsuff= shlibsuff= libmagic=never-match;;
   11237     esac
   11238     ;;
   11239   esac
   11240   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11241   shlibpath_overrides_runpath=no
   11242   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11243   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11244   hardcode_into_libs=yes
   11245   ;;
   11246 
   11247 # No shared lib support for Linux oldld, aout, or coff.
   11248 linux*oldld* | linux*aout* | linux*coff*)
   11249   dynamic_linker=no
   11250   ;;
   11251 
   11252 linux*android*)
   11253   version_type=none # Android doesn't support versioned libraries.
   11254   need_lib_prefix=no
   11255   need_version=no
   11256   library_names_spec='$libname$release$shared_ext'
   11257   soname_spec='$libname$release$shared_ext'
   11258   finish_cmds=
   11259   shlibpath_var=LD_LIBRARY_PATH
   11260   shlibpath_overrides_runpath=yes
   11261 
   11262   # This implies no fast_install, which is unacceptable.
   11263   # Some rework will be needed to allow for fast_install
   11264   # before this can be enabled.
   11265   hardcode_into_libs=yes
   11266 
   11267   dynamic_linker='Android linker'
   11268   # Don't embed -rpath directories since the linker doesn't support them.
   11269   hardcode_libdir_flag_spec='-L$libdir'
   11270   ;;
   11271 
   11272 # This must be glibc/ELF.
   11273 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11274   version_type=linux # correct to gnu/linux during the next big refactor
   11275   need_lib_prefix=no
   11276   need_version=no
   11277   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11278   soname_spec='$libname$release$shared_ext$major'
   11279   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11280   shlibpath_var=LD_LIBRARY_PATH
   11281   shlibpath_overrides_runpath=no
   11282 
   11283   # Some binutils ld are patched to set DT_RUNPATH
   11284   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11285   $as_echo_n "(cached) " >&6
   11286 else
   11287   lt_cv_shlibpath_overrides_runpath=no
   11288     save_LDFLAGS=$LDFLAGS
   11289     save_libdir=$libdir
   11290     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11291 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11292     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11293 /* end confdefs.h.  */
   11294 
   11295 int
   11296 main ()
   11297 {
   11298 
   11299   ;
   11300   return 0;
   11301 }
   11302 _ACEOF
   11303 if ac_fn_c_try_link "$LINENO"; then :
   11304   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11305   lt_cv_shlibpath_overrides_runpath=yes
   11306 fi
   11307 fi
   11308 rm -f core conftest.err conftest.$ac_objext \
   11309     conftest$ac_exeext conftest.$ac_ext
   11310     LDFLAGS=$save_LDFLAGS
   11311     libdir=$save_libdir
   11312 
   11313 fi
   11314 
   11315   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11316 
   11317   # This implies no fast_install, which is unacceptable.
   11318   # Some rework will be needed to allow for fast_install
   11319   # before this can be enabled.
   11320   hardcode_into_libs=yes
   11321 
   11322   # Add ABI-specific directories to the system library path.
   11323   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   11324 
   11325   # Ideally, we could use ldconfig to report *all* directores which are
   11326   # searched for libraries, however this is still not possible.  Aside from not
   11327   # being certain /sbin/ldconfig is available, command
   11328   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11329   # even though it is searched at run-time.  Try to do the best guess by
   11330   # appending ld.so.conf contents (and includes) to the search path.
   11331   if test -f /etc/ld.so.conf; then
   11332     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' ' '`
   11333     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   11334   fi
   11335 
   11336   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11337   # powerpc, because MkLinux only supported shared libraries with the
   11338   # GNU dynamic linker.  Since this was broken with cross compilers,
   11339   # most powerpc-linux boxes support dynamic linking these days and
   11340   # people can always --disable-shared, the test was removed, and we
   11341   # assume the GNU/Linux dynamic linker is in use.
   11342   dynamic_linker='GNU/Linux ld.so'
   11343   ;;
   11344 
   11345 netbsd*)
   11346   version_type=sunos
   11347   need_lib_prefix=no
   11348   need_version=no
   11349   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11350     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11351     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11352     dynamic_linker='NetBSD (a.out) ld.so'
   11353   else
   11354     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11355     soname_spec='$libname$release$shared_ext$major'
   11356     dynamic_linker='NetBSD ld.elf_so'
   11357   fi
   11358   shlibpath_var=LD_LIBRARY_PATH
   11359   shlibpath_overrides_runpath=yes
   11360   hardcode_into_libs=yes
   11361   ;;
   11362 
   11363 newsos6)
   11364   version_type=linux # correct to gnu/linux during the next big refactor
   11365   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11366   shlibpath_var=LD_LIBRARY_PATH
   11367   shlibpath_overrides_runpath=yes
   11368   ;;
   11369 
   11370 *nto* | *qnx*)
   11371   version_type=qnx
   11372   need_lib_prefix=no
   11373   need_version=no
   11374   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11375   soname_spec='$libname$release$shared_ext$major'
   11376   shlibpath_var=LD_LIBRARY_PATH
   11377   shlibpath_overrides_runpath=no
   11378   hardcode_into_libs=yes
   11379   dynamic_linker='ldqnx.so'
   11380   ;;
   11381 
   11382 openbsd* | bitrig*)
   11383   version_type=sunos
   11384   sys_lib_dlsearch_path_spec=/usr/lib
   11385   need_lib_prefix=no
   11386   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11387     need_version=no
   11388   else
   11389     need_version=yes
   11390   fi
   11391   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11392   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11393   shlibpath_var=LD_LIBRARY_PATH
   11394   shlibpath_overrides_runpath=yes
   11395   ;;
   11396 
   11397 os2*)
   11398   libname_spec='$name'
   11399   version_type=windows
   11400   shrext_cmds=.dll
   11401   need_version=no
   11402   need_lib_prefix=no
   11403   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11404   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11405     v=$($ECHO $release$versuffix | tr -d .-);
   11406     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11407     $ECHO $n$v`$shared_ext'
   11408   library_names_spec='${libname}_dll.$libext'
   11409   dynamic_linker='OS/2 ld.exe'
   11410   shlibpath_var=BEGINLIBPATH
   11411   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11412   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11413   postinstall_cmds='base_file=`basename \$file`~
   11414     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11415     dldir=$destdir/`dirname \$dlpath`~
   11416     test -d \$dldir || mkdir -p \$dldir~
   11417     $install_prog $dir/$dlname \$dldir/$dlname~
   11418     chmod a+x \$dldir/$dlname~
   11419     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11420       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11421     fi'
   11422   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11423     dlpath=$dir/\$dldll~
   11424     $RM \$dlpath'
   11425   ;;
   11426 
   11427 osf3* | osf4* | osf5*)
   11428   version_type=osf
   11429   need_lib_prefix=no
   11430   need_version=no
   11431   soname_spec='$libname$release$shared_ext$major'
   11432   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11433   shlibpath_var=LD_LIBRARY_PATH
   11434   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11435   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11436   ;;
   11437 
   11438 rdos*)
   11439   dynamic_linker=no
   11440   ;;
   11441 
   11442 solaris*)
   11443   version_type=linux # correct to gnu/linux during the next big refactor
   11444   need_lib_prefix=no
   11445   need_version=no
   11446   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11447   soname_spec='$libname$release$shared_ext$major'
   11448   shlibpath_var=LD_LIBRARY_PATH
   11449   shlibpath_overrides_runpath=yes
   11450   hardcode_into_libs=yes
   11451   # ldd complains unless libraries are executable
   11452   postinstall_cmds='chmod +x $lib'
   11453   ;;
   11454 
   11455 sunos4*)
   11456   version_type=sunos
   11457   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11458   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11459   shlibpath_var=LD_LIBRARY_PATH
   11460   shlibpath_overrides_runpath=yes
   11461   if test yes = "$with_gnu_ld"; then
   11462     need_lib_prefix=no
   11463   fi
   11464   need_version=yes
   11465   ;;
   11466 
   11467 sysv4 | sysv4.3*)
   11468   version_type=linux # correct to gnu/linux during the next big refactor
   11469   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11470   soname_spec='$libname$release$shared_ext$major'
   11471   shlibpath_var=LD_LIBRARY_PATH
   11472   case $host_vendor in
   11473     sni)
   11474       shlibpath_overrides_runpath=no
   11475       need_lib_prefix=no
   11476       runpath_var=LD_RUN_PATH
   11477       ;;
   11478     siemens)
   11479       need_lib_prefix=no
   11480       ;;
   11481     motorola)
   11482       need_lib_prefix=no
   11483       need_version=no
   11484       shlibpath_overrides_runpath=no
   11485       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11486       ;;
   11487   esac
   11488   ;;
   11489 
   11490 sysv4*MP*)
   11491   if test -d /usr/nec; then
   11492     version_type=linux # correct to gnu/linux during the next big refactor
   11493     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11494     soname_spec='$libname$shared_ext.$major'
   11495     shlibpath_var=LD_LIBRARY_PATH
   11496   fi
   11497   ;;
   11498 
   11499 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11500   version_type=sco
   11501   need_lib_prefix=no
   11502   need_version=no
   11503   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11504   soname_spec='$libname$release$shared_ext$major'
   11505   shlibpath_var=LD_LIBRARY_PATH
   11506   shlibpath_overrides_runpath=yes
   11507   hardcode_into_libs=yes
   11508   if test yes = "$with_gnu_ld"; then
   11509     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11510   else
   11511     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11512     case $host_os in
   11513       sco3.2v5*)
   11514         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11515 	;;
   11516     esac
   11517   fi
   11518   sys_lib_dlsearch_path_spec='/usr/lib'
   11519   ;;
   11520 
   11521 tpf*)
   11522   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11523   version_type=linux # correct to gnu/linux during the next big refactor
   11524   need_lib_prefix=no
   11525   need_version=no
   11526   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11527   shlibpath_var=LD_LIBRARY_PATH
   11528   shlibpath_overrides_runpath=no
   11529   hardcode_into_libs=yes
   11530   ;;
   11531 
   11532 uts4*)
   11533   version_type=linux # correct to gnu/linux during the next big refactor
   11534   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11535   soname_spec='$libname$release$shared_ext$major'
   11536   shlibpath_var=LD_LIBRARY_PATH
   11537   ;;
   11538 
   11539 *)
   11540   dynamic_linker=no
   11541   ;;
   11542 esac
   11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11544 $as_echo "$dynamic_linker" >&6; }
   11545 test no = "$dynamic_linker" && can_build_shared=no
   11546 
   11547 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11548 if test yes = "$GCC"; then
   11549   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11550 fi
   11551 
   11552 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11553   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11554 fi
   11555 
   11556 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11557   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11558 fi
   11559 
   11560 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11561 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11562 
   11563 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11564 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11565 
   11566 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11567 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11568 
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 
   11586 
   11587 
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 
   11642 
   11643 
   11644 
   11645 
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 
   11664 
   11665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11666 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11667 hardcode_action=
   11668 if test -n "$hardcode_libdir_flag_spec" ||
   11669    test -n "$runpath_var" ||
   11670    test yes = "$hardcode_automatic"; then
   11671 
   11672   # We can hardcode non-existent directories.
   11673   if test no != "$hardcode_direct" &&
   11674      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11675      # have to relink, otherwise we might link with an installed library
   11676      # when we should be linking with a yet-to-be-installed one
   11677      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11678      test no != "$hardcode_minus_L"; then
   11679     # Linking always hardcodes the temporary library directory.
   11680     hardcode_action=relink
   11681   else
   11682     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11683     hardcode_action=immediate
   11684   fi
   11685 else
   11686   # We cannot hardcode anything, or else we can only hardcode existing
   11687   # directories.
   11688   hardcode_action=unsupported
   11689 fi
   11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11691 $as_echo "$hardcode_action" >&6; }
   11692 
   11693 if test relink = "$hardcode_action" ||
   11694    test yes = "$inherit_rpath"; then
   11695   # Fast installation is not supported
   11696   enable_fast_install=no
   11697 elif test yes = "$shlibpath_overrides_runpath" ||
   11698      test no = "$enable_shared"; then
   11699   # Fast installation is not necessary
   11700   enable_fast_install=needless
   11701 fi
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 
   11708   if test yes != "$enable_dlopen"; then
   11709   enable_dlopen=unknown
   11710   enable_dlopen_self=unknown
   11711   enable_dlopen_self_static=unknown
   11712 else
   11713   lt_cv_dlopen=no
   11714   lt_cv_dlopen_libs=
   11715 
   11716   case $host_os in
   11717   beos*)
   11718     lt_cv_dlopen=load_add_on
   11719     lt_cv_dlopen_libs=
   11720     lt_cv_dlopen_self=yes
   11721     ;;
   11722 
   11723   mingw* | pw32* | cegcc*)
   11724     lt_cv_dlopen=LoadLibrary
   11725     lt_cv_dlopen_libs=
   11726     ;;
   11727 
   11728   cygwin*)
   11729     lt_cv_dlopen=dlopen
   11730     lt_cv_dlopen_libs=
   11731     ;;
   11732 
   11733   darwin*)
   11734     # if libdl is installed we need to link against it
   11735     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11736 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11737 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11738   $as_echo_n "(cached) " >&6
   11739 else
   11740   ac_check_lib_save_LIBS=$LIBS
   11741 LIBS="-ldl  $LIBS"
   11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11743 /* end confdefs.h.  */
   11744 
   11745 /* Override any GCC internal prototype to avoid an error.
   11746    Use char because int might match the return type of a GCC
   11747    builtin and then its argument prototype would still apply.  */
   11748 #ifdef __cplusplus
   11749 extern "C"
   11750 #endif
   11751 char dlopen ();
   11752 int
   11753 main ()
   11754 {
   11755 return dlopen ();
   11756   ;
   11757   return 0;
   11758 }
   11759 _ACEOF
   11760 if ac_fn_c_try_link "$LINENO"; then :
   11761   ac_cv_lib_dl_dlopen=yes
   11762 else
   11763   ac_cv_lib_dl_dlopen=no
   11764 fi
   11765 rm -f core conftest.err conftest.$ac_objext \
   11766     conftest$ac_exeext conftest.$ac_ext
   11767 LIBS=$ac_check_lib_save_LIBS
   11768 fi
   11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11770 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11771 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11772   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11773 else
   11774 
   11775     lt_cv_dlopen=dyld
   11776     lt_cv_dlopen_libs=
   11777     lt_cv_dlopen_self=yes
   11778 
   11779 fi
   11780 
   11781     ;;
   11782 
   11783   tpf*)
   11784     # Don't try to run any link tests for TPF.  We know it's impossible
   11785     # because TPF is a cross-compiler, and we know how we open DSOs.
   11786     lt_cv_dlopen=dlopen
   11787     lt_cv_dlopen_libs=
   11788     lt_cv_dlopen_self=no
   11789     ;;
   11790 
   11791   *)
   11792     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11793 if test "x$ac_cv_func_shl_load" = xyes; then :
   11794   lt_cv_dlopen=shl_load
   11795 else
   11796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11797 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11798 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11799   $as_echo_n "(cached) " >&6
   11800 else
   11801   ac_check_lib_save_LIBS=$LIBS
   11802 LIBS="-ldld  $LIBS"
   11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11804 /* end confdefs.h.  */
   11805 
   11806 /* Override any GCC internal prototype to avoid an error.
   11807    Use char because int might match the return type of a GCC
   11808    builtin and then its argument prototype would still apply.  */
   11809 #ifdef __cplusplus
   11810 extern "C"
   11811 #endif
   11812 char shl_load ();
   11813 int
   11814 main ()
   11815 {
   11816 return shl_load ();
   11817   ;
   11818   return 0;
   11819 }
   11820 _ACEOF
   11821 if ac_fn_c_try_link "$LINENO"; then :
   11822   ac_cv_lib_dld_shl_load=yes
   11823 else
   11824   ac_cv_lib_dld_shl_load=no
   11825 fi
   11826 rm -f core conftest.err conftest.$ac_objext \
   11827     conftest$ac_exeext conftest.$ac_ext
   11828 LIBS=$ac_check_lib_save_LIBS
   11829 fi
   11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11831 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11832 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11833   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11834 else
   11835   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11836 if test "x$ac_cv_func_dlopen" = xyes; then :
   11837   lt_cv_dlopen=dlopen
   11838 else
   11839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11840 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11841 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11842   $as_echo_n "(cached) " >&6
   11843 else
   11844   ac_check_lib_save_LIBS=$LIBS
   11845 LIBS="-ldl  $LIBS"
   11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11847 /* end confdefs.h.  */
   11848 
   11849 /* Override any GCC internal prototype to avoid an error.
   11850    Use char because int might match the return type of a GCC
   11851    builtin and then its argument prototype would still apply.  */
   11852 #ifdef __cplusplus
   11853 extern "C"
   11854 #endif
   11855 char dlopen ();
   11856 int
   11857 main ()
   11858 {
   11859 return dlopen ();
   11860   ;
   11861   return 0;
   11862 }
   11863 _ACEOF
   11864 if ac_fn_c_try_link "$LINENO"; then :
   11865   ac_cv_lib_dl_dlopen=yes
   11866 else
   11867   ac_cv_lib_dl_dlopen=no
   11868 fi
   11869 rm -f core conftest.err conftest.$ac_objext \
   11870     conftest$ac_exeext conftest.$ac_ext
   11871 LIBS=$ac_check_lib_save_LIBS
   11872 fi
   11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11874 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11875 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11876   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11877 else
   11878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11879 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11880 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11881   $as_echo_n "(cached) " >&6
   11882 else
   11883   ac_check_lib_save_LIBS=$LIBS
   11884 LIBS="-lsvld  $LIBS"
   11885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11886 /* end confdefs.h.  */
   11887 
   11888 /* Override any GCC internal prototype to avoid an error.
   11889    Use char because int might match the return type of a GCC
   11890    builtin and then its argument prototype would still apply.  */
   11891 #ifdef __cplusplus
   11892 extern "C"
   11893 #endif
   11894 char dlopen ();
   11895 int
   11896 main ()
   11897 {
   11898 return dlopen ();
   11899   ;
   11900   return 0;
   11901 }
   11902 _ACEOF
   11903 if ac_fn_c_try_link "$LINENO"; then :
   11904   ac_cv_lib_svld_dlopen=yes
   11905 else
   11906   ac_cv_lib_svld_dlopen=no
   11907 fi
   11908 rm -f core conftest.err conftest.$ac_objext \
   11909     conftest$ac_exeext conftest.$ac_ext
   11910 LIBS=$ac_check_lib_save_LIBS
   11911 fi
   11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11913 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11914 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11915   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   11916 else
   11917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11918 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11919 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11920   $as_echo_n "(cached) " >&6
   11921 else
   11922   ac_check_lib_save_LIBS=$LIBS
   11923 LIBS="-ldld  $LIBS"
   11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11925 /* end confdefs.h.  */
   11926 
   11927 /* Override any GCC internal prototype to avoid an error.
   11928    Use char because int might match the return type of a GCC
   11929    builtin and then its argument prototype would still apply.  */
   11930 #ifdef __cplusplus
   11931 extern "C"
   11932 #endif
   11933 char dld_link ();
   11934 int
   11935 main ()
   11936 {
   11937 return dld_link ();
   11938   ;
   11939   return 0;
   11940 }
   11941 _ACEOF
   11942 if ac_fn_c_try_link "$LINENO"; then :
   11943   ac_cv_lib_dld_dld_link=yes
   11944 else
   11945   ac_cv_lib_dld_dld_link=no
   11946 fi
   11947 rm -f core conftest.err conftest.$ac_objext \
   11948     conftest$ac_exeext conftest.$ac_ext
   11949 LIBS=$ac_check_lib_save_LIBS
   11950 fi
   11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11952 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11953 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11954   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   11955 fi
   11956 
   11957 
   11958 fi
   11959 
   11960 
   11961 fi
   11962 
   11963 
   11964 fi
   11965 
   11966 
   11967 fi
   11968 
   11969 
   11970 fi
   11971 
   11972     ;;
   11973   esac
   11974 
   11975   if test no = "$lt_cv_dlopen"; then
   11976     enable_dlopen=no
   11977   else
   11978     enable_dlopen=yes
   11979   fi
   11980 
   11981   case $lt_cv_dlopen in
   11982   dlopen)
   11983     save_CPPFLAGS=$CPPFLAGS
   11984     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11985 
   11986     save_LDFLAGS=$LDFLAGS
   11987     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11988 
   11989     save_LIBS=$LIBS
   11990     LIBS="$lt_cv_dlopen_libs $LIBS"
   11991 
   11992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11993 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11994 if ${lt_cv_dlopen_self+:} false; then :
   11995   $as_echo_n "(cached) " >&6
   11996 else
   11997   	  if test yes = "$cross_compiling"; then :
   11998   lt_cv_dlopen_self=cross
   11999 else
   12000   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12001   lt_status=$lt_dlunknown
   12002   cat > conftest.$ac_ext <<_LT_EOF
   12003 #line $LINENO "configure"
   12004 #include "confdefs.h"
   12005 
   12006 #if HAVE_DLFCN_H
   12007 #include <dlfcn.h>
   12008 #endif
   12009 
   12010 #include <stdio.h>
   12011 
   12012 #ifdef RTLD_GLOBAL
   12013 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12014 #else
   12015 #  ifdef DL_GLOBAL
   12016 #    define LT_DLGLOBAL		DL_GLOBAL
   12017 #  else
   12018 #    define LT_DLGLOBAL		0
   12019 #  endif
   12020 #endif
   12021 
   12022 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12023    find out it does not work in some platform. */
   12024 #ifndef LT_DLLAZY_OR_NOW
   12025 #  ifdef RTLD_LAZY
   12026 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12027 #  else
   12028 #    ifdef DL_LAZY
   12029 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12030 #    else
   12031 #      ifdef RTLD_NOW
   12032 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12033 #      else
   12034 #        ifdef DL_NOW
   12035 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12036 #        else
   12037 #          define LT_DLLAZY_OR_NOW	0
   12038 #        endif
   12039 #      endif
   12040 #    endif
   12041 #  endif
   12042 #endif
   12043 
   12044 /* When -fvisibility=hidden is used, assume the code has been annotated
   12045    correspondingly for the symbols needed.  */
   12046 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12047 int fnord () __attribute__((visibility("default")));
   12048 #endif
   12049 
   12050 int fnord () { return 42; }
   12051 int main ()
   12052 {
   12053   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12054   int status = $lt_dlunknown;
   12055 
   12056   if (self)
   12057     {
   12058       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12059       else
   12060         {
   12061 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12062           else puts (dlerror ());
   12063 	}
   12064       /* dlclose (self); */
   12065     }
   12066   else
   12067     puts (dlerror ());
   12068 
   12069   return status;
   12070 }
   12071 _LT_EOF
   12072   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12073   (eval $ac_link) 2>&5
   12074   ac_status=$?
   12075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12076   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12077     (./conftest; exit; ) >&5 2>/dev/null
   12078     lt_status=$?
   12079     case x$lt_status in
   12080       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12081       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12082       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12083     esac
   12084   else :
   12085     # compilation failed
   12086     lt_cv_dlopen_self=no
   12087   fi
   12088 fi
   12089 rm -fr conftest*
   12090 
   12091 
   12092 fi
   12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12094 $as_echo "$lt_cv_dlopen_self" >&6; }
   12095 
   12096     if test yes = "$lt_cv_dlopen_self"; then
   12097       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12098       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12099 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12100 if ${lt_cv_dlopen_self_static+:} false; then :
   12101   $as_echo_n "(cached) " >&6
   12102 else
   12103   	  if test yes = "$cross_compiling"; then :
   12104   lt_cv_dlopen_self_static=cross
   12105 else
   12106   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12107   lt_status=$lt_dlunknown
   12108   cat > conftest.$ac_ext <<_LT_EOF
   12109 #line $LINENO "configure"
   12110 #include "confdefs.h"
   12111 
   12112 #if HAVE_DLFCN_H
   12113 #include <dlfcn.h>
   12114 #endif
   12115 
   12116 #include <stdio.h>
   12117 
   12118 #ifdef RTLD_GLOBAL
   12119 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12120 #else
   12121 #  ifdef DL_GLOBAL
   12122 #    define LT_DLGLOBAL		DL_GLOBAL
   12123 #  else
   12124 #    define LT_DLGLOBAL		0
   12125 #  endif
   12126 #endif
   12127 
   12128 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12129    find out it does not work in some platform. */
   12130 #ifndef LT_DLLAZY_OR_NOW
   12131 #  ifdef RTLD_LAZY
   12132 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12133 #  else
   12134 #    ifdef DL_LAZY
   12135 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12136 #    else
   12137 #      ifdef RTLD_NOW
   12138 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12139 #      else
   12140 #        ifdef DL_NOW
   12141 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12142 #        else
   12143 #          define LT_DLLAZY_OR_NOW	0
   12144 #        endif
   12145 #      endif
   12146 #    endif
   12147 #  endif
   12148 #endif
   12149 
   12150 /* When -fvisibility=hidden is used, assume the code has been annotated
   12151    correspondingly for the symbols needed.  */
   12152 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12153 int fnord () __attribute__((visibility("default")));
   12154 #endif
   12155 
   12156 int fnord () { return 42; }
   12157 int main ()
   12158 {
   12159   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12160   int status = $lt_dlunknown;
   12161 
   12162   if (self)
   12163     {
   12164       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12165       else
   12166         {
   12167 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12168           else puts (dlerror ());
   12169 	}
   12170       /* dlclose (self); */
   12171     }
   12172   else
   12173     puts (dlerror ());
   12174 
   12175   return status;
   12176 }
   12177 _LT_EOF
   12178   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12179   (eval $ac_link) 2>&5
   12180   ac_status=$?
   12181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12182   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12183     (./conftest; exit; ) >&5 2>/dev/null
   12184     lt_status=$?
   12185     case x$lt_status in
   12186       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12187       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12188       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12189     esac
   12190   else :
   12191     # compilation failed
   12192     lt_cv_dlopen_self_static=no
   12193   fi
   12194 fi
   12195 rm -fr conftest*
   12196 
   12197 
   12198 fi
   12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12200 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12201     fi
   12202 
   12203     CPPFLAGS=$save_CPPFLAGS
   12204     LDFLAGS=$save_LDFLAGS
   12205     LIBS=$save_LIBS
   12206     ;;
   12207   esac
   12208 
   12209   case $lt_cv_dlopen_self in
   12210   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12211   *) enable_dlopen_self=unknown ;;
   12212   esac
   12213 
   12214   case $lt_cv_dlopen_self_static in
   12215   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12216   *) enable_dlopen_self_static=unknown ;;
   12217   esac
   12218 fi
   12219 
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 striplib=
   12237 old_striplib=
   12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12239 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12240 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12241   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12242   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12244 $as_echo "yes" >&6; }
   12245 else
   12246 # FIXME - insert some real tests, host_os isn't really good enough
   12247   case $host_os in
   12248   darwin*)
   12249     if test -n "$STRIP"; then
   12250       striplib="$STRIP -x"
   12251       old_striplib="$STRIP -S"
   12252       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12253 $as_echo "yes" >&6; }
   12254     else
   12255       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12256 $as_echo "no" >&6; }
   12257     fi
   12258     ;;
   12259   *)
   12260     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12261 $as_echo "no" >&6; }
   12262     ;;
   12263   esac
   12264 fi
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271 
   12272 
   12273 
   12274 
   12275 
   12276 
   12277   # Report what library types will actually be built
   12278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12279 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12281 $as_echo "$can_build_shared" >&6; }
   12282 
   12283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12284 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12285   test no = "$can_build_shared" && enable_shared=no
   12286 
   12287   # On AIX, shared libraries and static libraries use the same namespace, and
   12288   # are all built from PIC.
   12289   case $host_os in
   12290   aix3*)
   12291     test yes = "$enable_shared" && enable_static=no
   12292     if test -n "$RANLIB"; then
   12293       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12294       postinstall_cmds='$RANLIB $lib'
   12295     fi
   12296     ;;
   12297 
   12298   aix[4-9]*)
   12299     if test ia64 != "$host_cpu"; then
   12300       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12301       yes,aix,yes) ;;			# shared object as lib.so file only
   12302       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12303       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12304       esac
   12305     fi
   12306     ;;
   12307   esac
   12308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12309 $as_echo "$enable_shared" >&6; }
   12310 
   12311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12312 $as_echo_n "checking whether to build static libraries... " >&6; }
   12313   # Make sure either enable_shared or enable_static is yes.
   12314   test yes = "$enable_shared" || enable_static=yes
   12315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12316 $as_echo "$enable_static" >&6; }
   12317 
   12318 
   12319 
   12320 
   12321 fi
   12322 ac_ext=c
   12323 ac_cpp='$CPP $CPPFLAGS'
   12324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12327 
   12328 CC=$lt_save_CC
   12329 
   12330 
   12331 
   12332 
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344         ac_config_commands="$ac_config_commands libtool"
   12345 
   12346 
   12347 
   12348 
   12349 # Only expand once:
   12350 
   12351 
   12352 
   12353 # Require xorg-macros minimum of 1.10 for DocBook XML documentation
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 
   12361 
   12362 
   12363 
   12364 
   12365    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   12366 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   12367 if ${ac_cv_prog_cc_c99+:} false; then :
   12368   $as_echo_n "(cached) " >&6
   12369 else
   12370   ac_cv_prog_cc_c99=no
   12371 ac_save_CC=$CC
   12372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12373 /* end confdefs.h.  */
   12374 #include <stdarg.h>
   12375 #include <stdbool.h>
   12376 #include <stdlib.h>
   12377 #include <wchar.h>
   12378 #include <stdio.h>
   12379 
   12380 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12381 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12382 #define showlist(...) puts (#__VA_ARGS__)
   12383 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12384 static void
   12385 test_varargs_macros (void)
   12386 {
   12387   int x = 1234;
   12388   int y = 5678;
   12389   debug ("Flag");
   12390   debug ("X = %d\n", x);
   12391   showlist (The first, second, and third items.);
   12392   report (x>y, "x is %d but y is %d", x, y);
   12393 }
   12394 
   12395 // Check long long types.
   12396 #define BIG64 18446744073709551615ull
   12397 #define BIG32 4294967295ul
   12398 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12399 #if !BIG_OK
   12400   your preprocessor is broken;
   12401 #endif
   12402 #if BIG_OK
   12403 #else
   12404   your preprocessor is broken;
   12405 #endif
   12406 static long long int bignum = -9223372036854775807LL;
   12407 static unsigned long long int ubignum = BIG64;
   12408 
   12409 struct incomplete_array
   12410 {
   12411   int datasize;
   12412   double data[];
   12413 };
   12414 
   12415 struct named_init {
   12416   int number;
   12417   const wchar_t *name;
   12418   double average;
   12419 };
   12420 
   12421 typedef const char *ccp;
   12422 
   12423 static inline int
   12424 test_restrict (ccp restrict text)
   12425 {
   12426   // See if C++-style comments work.
   12427   // Iterate through items via the restricted pointer.
   12428   // Also check for declarations in for loops.
   12429   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12430     continue;
   12431   return 0;
   12432 }
   12433 
   12434 // Check varargs and va_copy.
   12435 static void
   12436 test_varargs (const char *format, ...)
   12437 {
   12438   va_list args;
   12439   va_start (args, format);
   12440   va_list args_copy;
   12441   va_copy (args_copy, args);
   12442 
   12443   const char *str;
   12444   int number;
   12445   float fnumber;
   12446 
   12447   while (*format)
   12448     {
   12449       switch (*format++)
   12450 	{
   12451 	case 's': // string
   12452 	  str = va_arg (args_copy, const char *);
   12453 	  break;
   12454 	case 'd': // int
   12455 	  number = va_arg (args_copy, int);
   12456 	  break;
   12457 	case 'f': // float
   12458 	  fnumber = va_arg (args_copy, double);
   12459 	  break;
   12460 	default:
   12461 	  break;
   12462 	}
   12463     }
   12464   va_end (args_copy);
   12465   va_end (args);
   12466 }
   12467 
   12468 int
   12469 main ()
   12470 {
   12471 
   12472   // Check bool.
   12473   _Bool success = false;
   12474 
   12475   // Check restrict.
   12476   if (test_restrict ("String literal") == 0)
   12477     success = true;
   12478   char *restrict newvar = "Another string";
   12479 
   12480   // Check varargs.
   12481   test_varargs ("s, d' f .", "string", 65, 34.234);
   12482   test_varargs_macros ();
   12483 
   12484   // Check flexible array members.
   12485   struct incomplete_array *ia =
   12486     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12487   ia->datasize = 10;
   12488   for (int i = 0; i < ia->datasize; ++i)
   12489     ia->data[i] = i * 1.234;
   12490 
   12491   // Check named initializers.
   12492   struct named_init ni = {
   12493     .number = 34,
   12494     .name = L"Test wide string",
   12495     .average = 543.34343,
   12496   };
   12497 
   12498   ni.number = 58;
   12499 
   12500   int dynamic_array[ni.number];
   12501   dynamic_array[ni.number - 1] = 543;
   12502 
   12503   // work around unused variable warnings
   12504   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12505 	  || dynamic_array[ni.number - 1] != 543);
   12506 
   12507   ;
   12508   return 0;
   12509 }
   12510 _ACEOF
   12511 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12512 do
   12513   CC="$ac_save_CC $ac_arg"
   12514   if ac_fn_c_try_compile "$LINENO"; then :
   12515   ac_cv_prog_cc_c99=$ac_arg
   12516 fi
   12517 rm -f core conftest.err conftest.$ac_objext
   12518   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12519 done
   12520 rm -f conftest.$ac_ext
   12521 CC=$ac_save_CC
   12522 
   12523 fi
   12524 # AC_CACHE_VAL
   12525 case "x$ac_cv_prog_cc_c99" in
   12526   x)
   12527     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12528 $as_echo "none needed" >&6; } ;;
   12529   xno)
   12530     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12531 $as_echo "unsupported" >&6; } ;;
   12532   *)
   12533     CC="$CC $ac_cv_prog_cc_c99"
   12534     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12535 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12536 esac
   12537 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12538 
   12539 fi
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 
   12546 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12547 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12548   CLANGCC="yes"
   12549 else
   12550   CLANGCC="no"
   12551 fi
   12552 
   12553 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12554 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12555   INTELCC="yes"
   12556 else
   12557   INTELCC="no"
   12558 fi
   12559 
   12560 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12561 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12562   SUNCC="yes"
   12563 else
   12564   SUNCC="no"
   12565 fi
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12576 	if test -n "$ac_tool_prefix"; then
   12577   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12578 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12580 $as_echo_n "checking for $ac_word... " >&6; }
   12581 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12582   $as_echo_n "(cached) " >&6
   12583 else
   12584   case $PKG_CONFIG in
   12585   [\\/]* | ?:[\\/]*)
   12586   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12587   ;;
   12588   *)
   12589   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12590 for as_dir in $PATH
   12591 do
   12592   IFS=$as_save_IFS
   12593   test -z "$as_dir" && as_dir=.
   12594     for ac_exec_ext in '' $ac_executable_extensions; do
   12595   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12596     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12598     break 2
   12599   fi
   12600 done
   12601   done
   12602 IFS=$as_save_IFS
   12603 
   12604   ;;
   12605 esac
   12606 fi
   12607 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12608 if test -n "$PKG_CONFIG"; then
   12609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12610 $as_echo "$PKG_CONFIG" >&6; }
   12611 else
   12612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12613 $as_echo "no" >&6; }
   12614 fi
   12615 
   12616 
   12617 fi
   12618 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12619   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12620   # Extract the first word of "pkg-config", so it can be a program name with args.
   12621 set dummy pkg-config; ac_word=$2
   12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12623 $as_echo_n "checking for $ac_word... " >&6; }
   12624 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12625   $as_echo_n "(cached) " >&6
   12626 else
   12627   case $ac_pt_PKG_CONFIG in
   12628   [\\/]* | ?:[\\/]*)
   12629   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12630   ;;
   12631   *)
   12632   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12633 for as_dir in $PATH
   12634 do
   12635   IFS=$as_save_IFS
   12636   test -z "$as_dir" && as_dir=.
   12637     for ac_exec_ext in '' $ac_executable_extensions; do
   12638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12639     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12641     break 2
   12642   fi
   12643 done
   12644   done
   12645 IFS=$as_save_IFS
   12646 
   12647   ;;
   12648 esac
   12649 fi
   12650 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12651 if test -n "$ac_pt_PKG_CONFIG"; then
   12652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12653 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12654 else
   12655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12656 $as_echo "no" >&6; }
   12657 fi
   12658 
   12659   if test "x$ac_pt_PKG_CONFIG" = x; then
   12660     PKG_CONFIG=""
   12661   else
   12662     case $cross_compiling:$ac_tool_warned in
   12663 yes:)
   12664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12666 ac_tool_warned=yes ;;
   12667 esac
   12668     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12669   fi
   12670 else
   12671   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12672 fi
   12673 
   12674 fi
   12675 if test -n "$PKG_CONFIG"; then
   12676 	_pkg_min_version=0.9.0
   12677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12678 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12679 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12681 $as_echo "yes" >&6; }
   12682 	else
   12683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12684 $as_echo "no" >&6; }
   12685 		PKG_CONFIG=""
   12686 	fi
   12687 fi
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 # Check whether --enable-selective-werror was given.
   12694 if test "${enable_selective_werror+set}" = set; then :
   12695   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12696 else
   12697   SELECTIVE_WERROR=yes
   12698 fi
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12705 if test "x$SUNCC" = "xyes"; then
   12706     BASE_CFLAGS="-v"
   12707 else
   12708     BASE_CFLAGS=""
   12709 fi
   12710 
   12711 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723 
   12724 
   12725 xorg_testset_save_CFLAGS="$CFLAGS"
   12726 
   12727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12730 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12731 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12732   $as_echo_n "(cached) " >&6
   12733 else
   12734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12735 /* end confdefs.h.  */
   12736 int i;
   12737 _ACEOF
   12738 if ac_fn_c_try_compile "$LINENO"; then :
   12739   xorg_cv_cc_flag_unknown_warning_option=yes
   12740 else
   12741   xorg_cv_cc_flag_unknown_warning_option=no
   12742 fi
   12743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12744 fi
   12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12746 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12747 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12748 	CFLAGS="$xorg_testset_save_CFLAGS"
   12749 fi
   12750 
   12751 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12752 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12753 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12754 	fi
   12755 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12757 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12758 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12759   $as_echo_n "(cached) " >&6
   12760 else
   12761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12762 /* end confdefs.h.  */
   12763 int i;
   12764 _ACEOF
   12765 if ac_fn_c_try_compile "$LINENO"; then :
   12766   xorg_cv_cc_flag_unused_command_line_argument=yes
   12767 else
   12768   xorg_cv_cc_flag_unused_command_line_argument=no
   12769 fi
   12770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12771 fi
   12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12773 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12774 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12775 	CFLAGS="$xorg_testset_save_CFLAGS"
   12776 fi
   12777 
   12778 found="no"
   12779 
   12780 	if test $found = "no" ; then
   12781 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12782 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12783 		fi
   12784 
   12785 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12786 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12787 		fi
   12788 
   12789 		CFLAGS="$CFLAGS -Wall"
   12790 
   12791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12792 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12793 		cacheid=xorg_cv_cc_flag__Wall
   12794 		if eval \${$cacheid+:} false; then :
   12795   $as_echo_n "(cached) " >&6
   12796 else
   12797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12798 /* end confdefs.h.  */
   12799 int i;
   12800 int
   12801 main ()
   12802 {
   12803 
   12804   ;
   12805   return 0;
   12806 }
   12807 _ACEOF
   12808 if ac_fn_c_try_link "$LINENO"; then :
   12809   eval $cacheid=yes
   12810 else
   12811   eval $cacheid=no
   12812 fi
   12813 rm -f core conftest.err conftest.$ac_objext \
   12814     conftest$ac_exeext conftest.$ac_ext
   12815 fi
   12816 
   12817 
   12818 		CFLAGS="$xorg_testset_save_CFLAGS"
   12819 
   12820 		eval supported=\$$cacheid
   12821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12822 $as_echo "$supported" >&6; }
   12823 		if test "$supported" = "yes" ; then
   12824 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12825 			found="yes"
   12826 		fi
   12827 	fi
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 
   12842 
   12843 xorg_testset_save_CFLAGS="$CFLAGS"
   12844 
   12845 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12846 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12848 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12849 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12850   $as_echo_n "(cached) " >&6
   12851 else
   12852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12853 /* end confdefs.h.  */
   12854 int i;
   12855 _ACEOF
   12856 if ac_fn_c_try_compile "$LINENO"; then :
   12857   xorg_cv_cc_flag_unknown_warning_option=yes
   12858 else
   12859   xorg_cv_cc_flag_unknown_warning_option=no
   12860 fi
   12861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12862 fi
   12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12864 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12866 	CFLAGS="$xorg_testset_save_CFLAGS"
   12867 fi
   12868 
   12869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12872 	fi
   12873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12874 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12875 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12876 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12877   $as_echo_n "(cached) " >&6
   12878 else
   12879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12880 /* end confdefs.h.  */
   12881 int i;
   12882 _ACEOF
   12883 if ac_fn_c_try_compile "$LINENO"; then :
   12884   xorg_cv_cc_flag_unused_command_line_argument=yes
   12885 else
   12886   xorg_cv_cc_flag_unused_command_line_argument=no
   12887 fi
   12888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12889 fi
   12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12891 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12892 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12893 	CFLAGS="$xorg_testset_save_CFLAGS"
   12894 fi
   12895 
   12896 found="no"
   12897 
   12898 	if test $found = "no" ; then
   12899 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12901 		fi
   12902 
   12903 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12905 		fi
   12906 
   12907 		CFLAGS="$CFLAGS -Wpointer-arith"
   12908 
   12909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12910 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12911 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12912 		if eval \${$cacheid+:} false; then :
   12913   $as_echo_n "(cached) " >&6
   12914 else
   12915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12916 /* end confdefs.h.  */
   12917 int i;
   12918 int
   12919 main ()
   12920 {
   12921 
   12922   ;
   12923   return 0;
   12924 }
   12925 _ACEOF
   12926 if ac_fn_c_try_link "$LINENO"; then :
   12927   eval $cacheid=yes
   12928 else
   12929   eval $cacheid=no
   12930 fi
   12931 rm -f core conftest.err conftest.$ac_objext \
   12932     conftest$ac_exeext conftest.$ac_ext
   12933 fi
   12934 
   12935 
   12936 		CFLAGS="$xorg_testset_save_CFLAGS"
   12937 
   12938 		eval supported=\$$cacheid
   12939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12940 $as_echo "$supported" >&6; }
   12941 		if test "$supported" = "yes" ; then
   12942 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12943 			found="yes"
   12944 		fi
   12945 	fi
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 xorg_testset_save_CFLAGS="$CFLAGS"
   12962 
   12963 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12964 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12966 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12967 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12968   $as_echo_n "(cached) " >&6
   12969 else
   12970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12971 /* end confdefs.h.  */
   12972 int i;
   12973 _ACEOF
   12974 if ac_fn_c_try_compile "$LINENO"; then :
   12975   xorg_cv_cc_flag_unknown_warning_option=yes
   12976 else
   12977   xorg_cv_cc_flag_unknown_warning_option=no
   12978 fi
   12979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12980 fi
   12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12982 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12983 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12984 	CFLAGS="$xorg_testset_save_CFLAGS"
   12985 fi
   12986 
   12987 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12988 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12989 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12990 	fi
   12991 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12992 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12993 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12994 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12995   $as_echo_n "(cached) " >&6
   12996 else
   12997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12998 /* end confdefs.h.  */
   12999 int i;
   13000 _ACEOF
   13001 if ac_fn_c_try_compile "$LINENO"; then :
   13002   xorg_cv_cc_flag_unused_command_line_argument=yes
   13003 else
   13004   xorg_cv_cc_flag_unused_command_line_argument=no
   13005 fi
   13006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13007 fi
   13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13009 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13010 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13011 	CFLAGS="$xorg_testset_save_CFLAGS"
   13012 fi
   13013 
   13014 found="no"
   13015 
   13016 	if test $found = "no" ; then
   13017 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13019 		fi
   13020 
   13021 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13023 		fi
   13024 
   13025 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13026 
   13027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13028 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   13029 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13030 		if eval \${$cacheid+:} false; then :
   13031   $as_echo_n "(cached) " >&6
   13032 else
   13033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13034 /* end confdefs.h.  */
   13035 int i;
   13036 int
   13037 main ()
   13038 {
   13039 
   13040   ;
   13041   return 0;
   13042 }
   13043 _ACEOF
   13044 if ac_fn_c_try_link "$LINENO"; then :
   13045   eval $cacheid=yes
   13046 else
   13047   eval $cacheid=no
   13048 fi
   13049 rm -f core conftest.err conftest.$ac_objext \
   13050     conftest$ac_exeext conftest.$ac_ext
   13051 fi
   13052 
   13053 
   13054 		CFLAGS="$xorg_testset_save_CFLAGS"
   13055 
   13056 		eval supported=\$$cacheid
   13057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13058 $as_echo "$supported" >&6; }
   13059 		if test "$supported" = "yes" ; then
   13060 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13061 			found="yes"
   13062 		fi
   13063 	fi
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 
   13077 
   13078 
   13079 xorg_testset_save_CFLAGS="$CFLAGS"
   13080 
   13081 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13082 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13084 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13085 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13086   $as_echo_n "(cached) " >&6
   13087 else
   13088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13089 /* end confdefs.h.  */
   13090 int i;
   13091 _ACEOF
   13092 if ac_fn_c_try_compile "$LINENO"; then :
   13093   xorg_cv_cc_flag_unknown_warning_option=yes
   13094 else
   13095   xorg_cv_cc_flag_unknown_warning_option=no
   13096 fi
   13097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13098 fi
   13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13100 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13101 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13102 	CFLAGS="$xorg_testset_save_CFLAGS"
   13103 fi
   13104 
   13105 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13106 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13107 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13108 	fi
   13109 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13110 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13111 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13112 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13113   $as_echo_n "(cached) " >&6
   13114 else
   13115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13116 /* end confdefs.h.  */
   13117 int i;
   13118 _ACEOF
   13119 if ac_fn_c_try_compile "$LINENO"; then :
   13120   xorg_cv_cc_flag_unused_command_line_argument=yes
   13121 else
   13122   xorg_cv_cc_flag_unused_command_line_argument=no
   13123 fi
   13124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13125 fi
   13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13127 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13128 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13129 	CFLAGS="$xorg_testset_save_CFLAGS"
   13130 fi
   13131 
   13132 found="no"
   13133 
   13134 	if test $found = "no" ; then
   13135 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13136 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13137 		fi
   13138 
   13139 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13140 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13141 		fi
   13142 
   13143 		CFLAGS="$CFLAGS -Wformat=2"
   13144 
   13145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13146 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   13147 		cacheid=xorg_cv_cc_flag__Wformat_2
   13148 		if eval \${$cacheid+:} false; then :
   13149   $as_echo_n "(cached) " >&6
   13150 else
   13151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13152 /* end confdefs.h.  */
   13153 int i;
   13154 int
   13155 main ()
   13156 {
   13157 
   13158   ;
   13159   return 0;
   13160 }
   13161 _ACEOF
   13162 if ac_fn_c_try_link "$LINENO"; then :
   13163   eval $cacheid=yes
   13164 else
   13165   eval $cacheid=no
   13166 fi
   13167 rm -f core conftest.err conftest.$ac_objext \
   13168     conftest$ac_exeext conftest.$ac_ext
   13169 fi
   13170 
   13171 
   13172 		CFLAGS="$xorg_testset_save_CFLAGS"
   13173 
   13174 		eval supported=\$$cacheid
   13175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13176 $as_echo "$supported" >&6; }
   13177 		if test "$supported" = "yes" ; then
   13178 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13179 			found="yes"
   13180 		fi
   13181 	fi
   13182 
   13183 	if test $found = "no" ; then
   13184 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13185 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13186 		fi
   13187 
   13188 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13189 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13190 		fi
   13191 
   13192 		CFLAGS="$CFLAGS -Wformat"
   13193 
   13194 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13195 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   13196 		cacheid=xorg_cv_cc_flag__Wformat
   13197 		if eval \${$cacheid+:} false; then :
   13198   $as_echo_n "(cached) " >&6
   13199 else
   13200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13201 /* end confdefs.h.  */
   13202 int i;
   13203 int
   13204 main ()
   13205 {
   13206 
   13207   ;
   13208   return 0;
   13209 }
   13210 _ACEOF
   13211 if ac_fn_c_try_link "$LINENO"; then :
   13212   eval $cacheid=yes
   13213 else
   13214   eval $cacheid=no
   13215 fi
   13216 rm -f core conftest.err conftest.$ac_objext \
   13217     conftest$ac_exeext conftest.$ac_ext
   13218 fi
   13219 
   13220 
   13221 		CFLAGS="$xorg_testset_save_CFLAGS"
   13222 
   13223 		eval supported=\$$cacheid
   13224 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13225 $as_echo "$supported" >&6; }
   13226 		if test "$supported" = "yes" ; then
   13227 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13228 			found="yes"
   13229 		fi
   13230 	fi
   13231 
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 
   13247 
   13248 xorg_testset_save_CFLAGS="$CFLAGS"
   13249 
   13250 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13251 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13253 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13254 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13255   $as_echo_n "(cached) " >&6
   13256 else
   13257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13258 /* end confdefs.h.  */
   13259 int i;
   13260 _ACEOF
   13261 if ac_fn_c_try_compile "$LINENO"; then :
   13262   xorg_cv_cc_flag_unknown_warning_option=yes
   13263 else
   13264   xorg_cv_cc_flag_unknown_warning_option=no
   13265 fi
   13266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13267 fi
   13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13269 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13270 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13271 	CFLAGS="$xorg_testset_save_CFLAGS"
   13272 fi
   13273 
   13274 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13275 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13276 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13277 	fi
   13278 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13280 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13281 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13282   $as_echo_n "(cached) " >&6
   13283 else
   13284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13285 /* end confdefs.h.  */
   13286 int i;
   13287 _ACEOF
   13288 if ac_fn_c_try_compile "$LINENO"; then :
   13289   xorg_cv_cc_flag_unused_command_line_argument=yes
   13290 else
   13291   xorg_cv_cc_flag_unused_command_line_argument=no
   13292 fi
   13293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13294 fi
   13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13296 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13297 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13298 	CFLAGS="$xorg_testset_save_CFLAGS"
   13299 fi
   13300 
   13301 found="no"
   13302 
   13303 	if test $found = "no" ; then
   13304 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13305 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13306 		fi
   13307 
   13308 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13309 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13310 		fi
   13311 
   13312 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13313 
   13314 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13315 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13316 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13317 		if eval \${$cacheid+:} false; then :
   13318   $as_echo_n "(cached) " >&6
   13319 else
   13320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13321 /* end confdefs.h.  */
   13322 int i;
   13323 int
   13324 main ()
   13325 {
   13326 
   13327   ;
   13328   return 0;
   13329 }
   13330 _ACEOF
   13331 if ac_fn_c_try_link "$LINENO"; then :
   13332   eval $cacheid=yes
   13333 else
   13334   eval $cacheid=no
   13335 fi
   13336 rm -f core conftest.err conftest.$ac_objext \
   13337     conftest$ac_exeext conftest.$ac_ext
   13338 fi
   13339 
   13340 
   13341 		CFLAGS="$xorg_testset_save_CFLAGS"
   13342 
   13343 		eval supported=\$$cacheid
   13344 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13345 $as_echo "$supported" >&6; }
   13346 		if test "$supported" = "yes" ; then
   13347 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13348 			found="yes"
   13349 		fi
   13350 	fi
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 
   13365 
   13366 xorg_testset_save_CFLAGS="$CFLAGS"
   13367 
   13368 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13369 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13370 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13371 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13372 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13373   $as_echo_n "(cached) " >&6
   13374 else
   13375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13376 /* end confdefs.h.  */
   13377 int i;
   13378 _ACEOF
   13379 if ac_fn_c_try_compile "$LINENO"; then :
   13380   xorg_cv_cc_flag_unknown_warning_option=yes
   13381 else
   13382   xorg_cv_cc_flag_unknown_warning_option=no
   13383 fi
   13384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13385 fi
   13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13387 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13388 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13389 	CFLAGS="$xorg_testset_save_CFLAGS"
   13390 fi
   13391 
   13392 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13393 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13394 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13395 	fi
   13396 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13397 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13398 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13399 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13400   $as_echo_n "(cached) " >&6
   13401 else
   13402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13403 /* end confdefs.h.  */
   13404 int i;
   13405 _ACEOF
   13406 if ac_fn_c_try_compile "$LINENO"; then :
   13407   xorg_cv_cc_flag_unused_command_line_argument=yes
   13408 else
   13409   xorg_cv_cc_flag_unused_command_line_argument=no
   13410 fi
   13411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13412 fi
   13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13414 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13415 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13416 	CFLAGS="$xorg_testset_save_CFLAGS"
   13417 fi
   13418 
   13419 found="no"
   13420 
   13421 	if test $found = "no" ; then
   13422 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13423 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13424 		fi
   13425 
   13426 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13427 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13428 		fi
   13429 
   13430 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13431 
   13432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13433 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13434 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13435 		if eval \${$cacheid+:} false; then :
   13436   $as_echo_n "(cached) " >&6
   13437 else
   13438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13439 /* end confdefs.h.  */
   13440 int i;
   13441 int
   13442 main ()
   13443 {
   13444 
   13445   ;
   13446   return 0;
   13447 }
   13448 _ACEOF
   13449 if ac_fn_c_try_link "$LINENO"; then :
   13450   eval $cacheid=yes
   13451 else
   13452   eval $cacheid=no
   13453 fi
   13454 rm -f core conftest.err conftest.$ac_objext \
   13455     conftest$ac_exeext conftest.$ac_ext
   13456 fi
   13457 
   13458 
   13459 		CFLAGS="$xorg_testset_save_CFLAGS"
   13460 
   13461 		eval supported=\$$cacheid
   13462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13463 $as_echo "$supported" >&6; }
   13464 		if test "$supported" = "yes" ; then
   13465 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13466 			found="yes"
   13467 		fi
   13468 	fi
   13469 
   13470 
   13471 
   13472 
   13473 
   13474 
   13475 
   13476 
   13477 
   13478 
   13479 
   13480 
   13481 
   13482 
   13483 
   13484 xorg_testset_save_CFLAGS="$CFLAGS"
   13485 
   13486 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13487 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13488 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13489 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13490 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13491   $as_echo_n "(cached) " >&6
   13492 else
   13493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13494 /* end confdefs.h.  */
   13495 int i;
   13496 _ACEOF
   13497 if ac_fn_c_try_compile "$LINENO"; then :
   13498   xorg_cv_cc_flag_unknown_warning_option=yes
   13499 else
   13500   xorg_cv_cc_flag_unknown_warning_option=no
   13501 fi
   13502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13503 fi
   13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13505 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13506 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13507 	CFLAGS="$xorg_testset_save_CFLAGS"
   13508 fi
   13509 
   13510 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13511 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13512 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13513 	fi
   13514 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13516 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13517 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   13526 else
   13527   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   13532 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13533 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13534 	CFLAGS="$xorg_testset_save_CFLAGS"
   13535 fi
   13536 
   13537 found="no"
   13538 
   13539 	if test $found = "no" ; then
   13540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13542 		fi
   13543 
   13544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13546 		fi
   13547 
   13548 		CFLAGS="$CFLAGS -Wnested-externs"
   13549 
   13550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13551 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13552 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13553 		if eval \${$cacheid+:} false; then :
   13554   $as_echo_n "(cached) " >&6
   13555 else
   13556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13557 /* end confdefs.h.  */
   13558 int i;
   13559 int
   13560 main ()
   13561 {
   13562 
   13563   ;
   13564   return 0;
   13565 }
   13566 _ACEOF
   13567 if ac_fn_c_try_link "$LINENO"; then :
   13568   eval $cacheid=yes
   13569 else
   13570   eval $cacheid=no
   13571 fi
   13572 rm -f core conftest.err conftest.$ac_objext \
   13573     conftest$ac_exeext conftest.$ac_ext
   13574 fi
   13575 
   13576 
   13577 		CFLAGS="$xorg_testset_save_CFLAGS"
   13578 
   13579 		eval supported=\$$cacheid
   13580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13581 $as_echo "$supported" >&6; }
   13582 		if test "$supported" = "yes" ; then
   13583 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13584 			found="yes"
   13585 		fi
   13586 	fi
   13587 
   13588 
   13589 
   13590 
   13591 
   13592 
   13593 
   13594 
   13595 
   13596 
   13597 
   13598 
   13599 
   13600 
   13601 
   13602 xorg_testset_save_CFLAGS="$CFLAGS"
   13603 
   13604 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13605 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13607 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13608 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13609   $as_echo_n "(cached) " >&6
   13610 else
   13611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13612 /* end confdefs.h.  */
   13613 int i;
   13614 _ACEOF
   13615 if ac_fn_c_try_compile "$LINENO"; then :
   13616   xorg_cv_cc_flag_unknown_warning_option=yes
   13617 else
   13618   xorg_cv_cc_flag_unknown_warning_option=no
   13619 fi
   13620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13621 fi
   13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13623 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13624 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13625 	CFLAGS="$xorg_testset_save_CFLAGS"
   13626 fi
   13627 
   13628 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13629 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13630 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13631 	fi
   13632 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13633 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13634 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13635 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13636   $as_echo_n "(cached) " >&6
   13637 else
   13638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13639 /* end confdefs.h.  */
   13640 int i;
   13641 _ACEOF
   13642 if ac_fn_c_try_compile "$LINENO"; then :
   13643   xorg_cv_cc_flag_unused_command_line_argument=yes
   13644 else
   13645   xorg_cv_cc_flag_unused_command_line_argument=no
   13646 fi
   13647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13648 fi
   13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13650 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13651 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13652 	CFLAGS="$xorg_testset_save_CFLAGS"
   13653 fi
   13654 
   13655 found="no"
   13656 
   13657 	if test $found = "no" ; then
   13658 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13659 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13660 		fi
   13661 
   13662 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13663 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13664 		fi
   13665 
   13666 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13667 
   13668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13669 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13670 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13671 		if eval \${$cacheid+:} false; then :
   13672   $as_echo_n "(cached) " >&6
   13673 else
   13674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13675 /* end confdefs.h.  */
   13676 int i;
   13677 int
   13678 main ()
   13679 {
   13680 
   13681   ;
   13682   return 0;
   13683 }
   13684 _ACEOF
   13685 if ac_fn_c_try_link "$LINENO"; then :
   13686   eval $cacheid=yes
   13687 else
   13688   eval $cacheid=no
   13689 fi
   13690 rm -f core conftest.err conftest.$ac_objext \
   13691     conftest$ac_exeext conftest.$ac_ext
   13692 fi
   13693 
   13694 
   13695 		CFLAGS="$xorg_testset_save_CFLAGS"
   13696 
   13697 		eval supported=\$$cacheid
   13698 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13699 $as_echo "$supported" >&6; }
   13700 		if test "$supported" = "yes" ; then
   13701 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13702 			found="yes"
   13703 		fi
   13704 	fi
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 
   13711 
   13712 
   13713 
   13714 
   13715 
   13716 
   13717 
   13718 
   13719 
   13720 xorg_testset_save_CFLAGS="$CFLAGS"
   13721 
   13722 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13723 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13725 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13726 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13727   $as_echo_n "(cached) " >&6
   13728 else
   13729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13730 /* end confdefs.h.  */
   13731 int i;
   13732 _ACEOF
   13733 if ac_fn_c_try_compile "$LINENO"; then :
   13734   xorg_cv_cc_flag_unknown_warning_option=yes
   13735 else
   13736   xorg_cv_cc_flag_unknown_warning_option=no
   13737 fi
   13738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13739 fi
   13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13741 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13742 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13743 	CFLAGS="$xorg_testset_save_CFLAGS"
   13744 fi
   13745 
   13746 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13747 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13749 	fi
   13750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13752 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13753 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13754   $as_echo_n "(cached) " >&6
   13755 else
   13756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13757 /* end confdefs.h.  */
   13758 int i;
   13759 _ACEOF
   13760 if ac_fn_c_try_compile "$LINENO"; then :
   13761   xorg_cv_cc_flag_unused_command_line_argument=yes
   13762 else
   13763   xorg_cv_cc_flag_unused_command_line_argument=no
   13764 fi
   13765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13766 fi
   13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13768 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13769 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13770 	CFLAGS="$xorg_testset_save_CFLAGS"
   13771 fi
   13772 
   13773 found="no"
   13774 
   13775 	if test $found = "no" ; then
   13776 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13777 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13778 		fi
   13779 
   13780 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13781 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13782 		fi
   13783 
   13784 		CFLAGS="$CFLAGS -Wold-style-definition"
   13785 
   13786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13787 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13788 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13789 		if eval \${$cacheid+:} false; then :
   13790   $as_echo_n "(cached) " >&6
   13791 else
   13792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13793 /* end confdefs.h.  */
   13794 int i;
   13795 int
   13796 main ()
   13797 {
   13798 
   13799   ;
   13800   return 0;
   13801 }
   13802 _ACEOF
   13803 if ac_fn_c_try_link "$LINENO"; then :
   13804   eval $cacheid=yes
   13805 else
   13806   eval $cacheid=no
   13807 fi
   13808 rm -f core conftest.err conftest.$ac_objext \
   13809     conftest$ac_exeext conftest.$ac_ext
   13810 fi
   13811 
   13812 
   13813 		CFLAGS="$xorg_testset_save_CFLAGS"
   13814 
   13815 		eval supported=\$$cacheid
   13816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13817 $as_echo "$supported" >&6; }
   13818 		if test "$supported" = "yes" ; then
   13819 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13820 			found="yes"
   13821 		fi
   13822 	fi
   13823 
   13824 	if test $found = "no" ; then
   13825 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13827 		fi
   13828 
   13829 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13831 		fi
   13832 
   13833 		CFLAGS="$CFLAGS -fd"
   13834 
   13835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13836 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13837 		cacheid=xorg_cv_cc_flag__fd
   13838 		if eval \${$cacheid+:} false; then :
   13839   $as_echo_n "(cached) " >&6
   13840 else
   13841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13842 /* end confdefs.h.  */
   13843 int i;
   13844 int
   13845 main ()
   13846 {
   13847 
   13848   ;
   13849   return 0;
   13850 }
   13851 _ACEOF
   13852 if ac_fn_c_try_link "$LINENO"; then :
   13853   eval $cacheid=yes
   13854 else
   13855   eval $cacheid=no
   13856 fi
   13857 rm -f core conftest.err conftest.$ac_objext \
   13858     conftest$ac_exeext conftest.$ac_ext
   13859 fi
   13860 
   13861 
   13862 		CFLAGS="$xorg_testset_save_CFLAGS"
   13863 
   13864 		eval supported=\$$cacheid
   13865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13866 $as_echo "$supported" >&6; }
   13867 		if test "$supported" = "yes" ; then
   13868 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13869 			found="yes"
   13870 		fi
   13871 	fi
   13872 
   13873 
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 
   13885 
   13886 
   13887 xorg_testset_save_CFLAGS="$CFLAGS"
   13888 
   13889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13892 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13893 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13894   $as_echo_n "(cached) " >&6
   13895 else
   13896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13897 /* end confdefs.h.  */
   13898 int i;
   13899 _ACEOF
   13900 if ac_fn_c_try_compile "$LINENO"; then :
   13901   xorg_cv_cc_flag_unknown_warning_option=yes
   13902 else
   13903   xorg_cv_cc_flag_unknown_warning_option=no
   13904 fi
   13905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13906 fi
   13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13908 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13910 	CFLAGS="$xorg_testset_save_CFLAGS"
   13911 fi
   13912 
   13913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13916 	fi
   13917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13919 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13920 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13921   $as_echo_n "(cached) " >&6
   13922 else
   13923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13924 /* end confdefs.h.  */
   13925 int i;
   13926 _ACEOF
   13927 if ac_fn_c_try_compile "$LINENO"; then :
   13928   xorg_cv_cc_flag_unused_command_line_argument=yes
   13929 else
   13930   xorg_cv_cc_flag_unused_command_line_argument=no
   13931 fi
   13932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13933 fi
   13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13935 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13937 	CFLAGS="$xorg_testset_save_CFLAGS"
   13938 fi
   13939 
   13940 found="no"
   13941 
   13942 	if test $found = "no" ; then
   13943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13945 		fi
   13946 
   13947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13949 		fi
   13950 
   13951 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13952 
   13953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13954 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13955 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13956 		if eval \${$cacheid+:} false; then :
   13957   $as_echo_n "(cached) " >&6
   13958 else
   13959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13960 /* end confdefs.h.  */
   13961 int i;
   13962 int
   13963 main ()
   13964 {
   13965 
   13966   ;
   13967   return 0;
   13968 }
   13969 _ACEOF
   13970 if ac_fn_c_try_link "$LINENO"; then :
   13971   eval $cacheid=yes
   13972 else
   13973   eval $cacheid=no
   13974 fi
   13975 rm -f core conftest.err conftest.$ac_objext \
   13976     conftest$ac_exeext conftest.$ac_ext
   13977 fi
   13978 
   13979 
   13980 		CFLAGS="$xorg_testset_save_CFLAGS"
   13981 
   13982 		eval supported=\$$cacheid
   13983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13984 $as_echo "$supported" >&6; }
   13985 		if test "$supported" = "yes" ; then
   13986 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13987 			found="yes"
   13988 		fi
   13989 	fi
   13990 
   13991 
   13992 
   13993 
   13994 
   13995 # This chunk adds additional warnings that could catch undesired effects.
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 xorg_testset_save_CFLAGS="$CFLAGS"
   14010 
   14011 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14012 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14014 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14015 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14016   $as_echo_n "(cached) " >&6
   14017 else
   14018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14019 /* end confdefs.h.  */
   14020 int i;
   14021 _ACEOF
   14022 if ac_fn_c_try_compile "$LINENO"; then :
   14023   xorg_cv_cc_flag_unknown_warning_option=yes
   14024 else
   14025   xorg_cv_cc_flag_unknown_warning_option=no
   14026 fi
   14027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14028 fi
   14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14030 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14031 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14032 	CFLAGS="$xorg_testset_save_CFLAGS"
   14033 fi
   14034 
   14035 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14036 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14037 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14038 	fi
   14039 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14040 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14041 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14042 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14043   $as_echo_n "(cached) " >&6
   14044 else
   14045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14046 /* end confdefs.h.  */
   14047 int i;
   14048 _ACEOF
   14049 if ac_fn_c_try_compile "$LINENO"; then :
   14050   xorg_cv_cc_flag_unused_command_line_argument=yes
   14051 else
   14052   xorg_cv_cc_flag_unused_command_line_argument=no
   14053 fi
   14054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14055 fi
   14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14057 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14059 	CFLAGS="$xorg_testset_save_CFLAGS"
   14060 fi
   14061 
   14062 found="no"
   14063 
   14064 	if test $found = "no" ; then
   14065 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14067 		fi
   14068 
   14069 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14071 		fi
   14072 
   14073 		CFLAGS="$CFLAGS -Wunused"
   14074 
   14075 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14076 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   14077 		cacheid=xorg_cv_cc_flag__Wunused
   14078 		if eval \${$cacheid+:} false; then :
   14079   $as_echo_n "(cached) " >&6
   14080 else
   14081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14082 /* end confdefs.h.  */
   14083 int i;
   14084 int
   14085 main ()
   14086 {
   14087 
   14088   ;
   14089   return 0;
   14090 }
   14091 _ACEOF
   14092 if ac_fn_c_try_link "$LINENO"; then :
   14093   eval $cacheid=yes
   14094 else
   14095   eval $cacheid=no
   14096 fi
   14097 rm -f core conftest.err conftest.$ac_objext \
   14098     conftest$ac_exeext conftest.$ac_ext
   14099 fi
   14100 
   14101 
   14102 		CFLAGS="$xorg_testset_save_CFLAGS"
   14103 
   14104 		eval supported=\$$cacheid
   14105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14106 $as_echo "$supported" >&6; }
   14107 		if test "$supported" = "yes" ; then
   14108 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14109 			found="yes"
   14110 		fi
   14111 	fi
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 
   14127 xorg_testset_save_CFLAGS="$CFLAGS"
   14128 
   14129 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14130 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14132 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14133 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14134   $as_echo_n "(cached) " >&6
   14135 else
   14136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14137 /* end confdefs.h.  */
   14138 int i;
   14139 _ACEOF
   14140 if ac_fn_c_try_compile "$LINENO"; then :
   14141   xorg_cv_cc_flag_unknown_warning_option=yes
   14142 else
   14143   xorg_cv_cc_flag_unknown_warning_option=no
   14144 fi
   14145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14146 fi
   14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14148 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14149 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14150 	CFLAGS="$xorg_testset_save_CFLAGS"
   14151 fi
   14152 
   14153 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14154 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14155 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14156 	fi
   14157 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14158 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14159 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14160 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14161   $as_echo_n "(cached) " >&6
   14162 else
   14163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14164 /* end confdefs.h.  */
   14165 int i;
   14166 _ACEOF
   14167 if ac_fn_c_try_compile "$LINENO"; then :
   14168   xorg_cv_cc_flag_unused_command_line_argument=yes
   14169 else
   14170   xorg_cv_cc_flag_unused_command_line_argument=no
   14171 fi
   14172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14173 fi
   14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14175 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14176 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14177 	CFLAGS="$xorg_testset_save_CFLAGS"
   14178 fi
   14179 
   14180 found="no"
   14181 
   14182 	if test $found = "no" ; then
   14183 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14184 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14185 		fi
   14186 
   14187 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14188 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14189 		fi
   14190 
   14191 		CFLAGS="$CFLAGS -Wuninitialized"
   14192 
   14193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14194 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   14195 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14196 		if eval \${$cacheid+:} false; then :
   14197   $as_echo_n "(cached) " >&6
   14198 else
   14199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14200 /* end confdefs.h.  */
   14201 int i;
   14202 int
   14203 main ()
   14204 {
   14205 
   14206   ;
   14207   return 0;
   14208 }
   14209 _ACEOF
   14210 if ac_fn_c_try_link "$LINENO"; then :
   14211   eval $cacheid=yes
   14212 else
   14213   eval $cacheid=no
   14214 fi
   14215 rm -f core conftest.err conftest.$ac_objext \
   14216     conftest$ac_exeext conftest.$ac_ext
   14217 fi
   14218 
   14219 
   14220 		CFLAGS="$xorg_testset_save_CFLAGS"
   14221 
   14222 		eval supported=\$$cacheid
   14223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14224 $as_echo "$supported" >&6; }
   14225 		if test "$supported" = "yes" ; then
   14226 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14227 			found="yes"
   14228 		fi
   14229 	fi
   14230 
   14231 
   14232 
   14233 
   14234 
   14235 
   14236 
   14237 
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 
   14245 xorg_testset_save_CFLAGS="$CFLAGS"
   14246 
   14247 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14248 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14250 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14251 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14252   $as_echo_n "(cached) " >&6
   14253 else
   14254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14255 /* end confdefs.h.  */
   14256 int i;
   14257 _ACEOF
   14258 if ac_fn_c_try_compile "$LINENO"; then :
   14259   xorg_cv_cc_flag_unknown_warning_option=yes
   14260 else
   14261   xorg_cv_cc_flag_unknown_warning_option=no
   14262 fi
   14263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14264 fi
   14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14266 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14267 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14268 	CFLAGS="$xorg_testset_save_CFLAGS"
   14269 fi
   14270 
   14271 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14272 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14273 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14274 	fi
   14275 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14276 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14277 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14278 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14279   $as_echo_n "(cached) " >&6
   14280 else
   14281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14282 /* end confdefs.h.  */
   14283 int i;
   14284 _ACEOF
   14285 if ac_fn_c_try_compile "$LINENO"; then :
   14286   xorg_cv_cc_flag_unused_command_line_argument=yes
   14287 else
   14288   xorg_cv_cc_flag_unused_command_line_argument=no
   14289 fi
   14290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14291 fi
   14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14293 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14294 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14295 	CFLAGS="$xorg_testset_save_CFLAGS"
   14296 fi
   14297 
   14298 found="no"
   14299 
   14300 	if test $found = "no" ; then
   14301 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14302 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14303 		fi
   14304 
   14305 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14306 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14307 		fi
   14308 
   14309 		CFLAGS="$CFLAGS -Wshadow"
   14310 
   14311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14312 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   14313 		cacheid=xorg_cv_cc_flag__Wshadow
   14314 		if eval \${$cacheid+:} false; then :
   14315   $as_echo_n "(cached) " >&6
   14316 else
   14317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14318 /* end confdefs.h.  */
   14319 int i;
   14320 int
   14321 main ()
   14322 {
   14323 
   14324   ;
   14325   return 0;
   14326 }
   14327 _ACEOF
   14328 if ac_fn_c_try_link "$LINENO"; then :
   14329   eval $cacheid=yes
   14330 else
   14331   eval $cacheid=no
   14332 fi
   14333 rm -f core conftest.err conftest.$ac_objext \
   14334     conftest$ac_exeext conftest.$ac_ext
   14335 fi
   14336 
   14337 
   14338 		CFLAGS="$xorg_testset_save_CFLAGS"
   14339 
   14340 		eval supported=\$$cacheid
   14341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14342 $as_echo "$supported" >&6; }
   14343 		if test "$supported" = "yes" ; then
   14344 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14345 			found="yes"
   14346 		fi
   14347 	fi
   14348 
   14349 
   14350 
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 xorg_testset_save_CFLAGS="$CFLAGS"
   14364 
   14365 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14366 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14367 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14368 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14369 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14370   $as_echo_n "(cached) " >&6
   14371 else
   14372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14373 /* end confdefs.h.  */
   14374 int i;
   14375 _ACEOF
   14376 if ac_fn_c_try_compile "$LINENO"; then :
   14377   xorg_cv_cc_flag_unknown_warning_option=yes
   14378 else
   14379   xorg_cv_cc_flag_unknown_warning_option=no
   14380 fi
   14381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14382 fi
   14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14384 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14385 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14386 	CFLAGS="$xorg_testset_save_CFLAGS"
   14387 fi
   14388 
   14389 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14390 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14391 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14392 	fi
   14393 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14394 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14395 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14396 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14397   $as_echo_n "(cached) " >&6
   14398 else
   14399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14400 /* end confdefs.h.  */
   14401 int i;
   14402 _ACEOF
   14403 if ac_fn_c_try_compile "$LINENO"; then :
   14404   xorg_cv_cc_flag_unused_command_line_argument=yes
   14405 else
   14406   xorg_cv_cc_flag_unused_command_line_argument=no
   14407 fi
   14408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14409 fi
   14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14411 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14412 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14413 	CFLAGS="$xorg_testset_save_CFLAGS"
   14414 fi
   14415 
   14416 found="no"
   14417 
   14418 	if test $found = "no" ; then
   14419 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14420 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14421 		fi
   14422 
   14423 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14424 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14425 		fi
   14426 
   14427 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14428 
   14429 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14430 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14431 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14432 		if eval \${$cacheid+:} false; then :
   14433   $as_echo_n "(cached) " >&6
   14434 else
   14435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14436 /* end confdefs.h.  */
   14437 int i;
   14438 int
   14439 main ()
   14440 {
   14441 
   14442   ;
   14443   return 0;
   14444 }
   14445 _ACEOF
   14446 if ac_fn_c_try_link "$LINENO"; then :
   14447   eval $cacheid=yes
   14448 else
   14449   eval $cacheid=no
   14450 fi
   14451 rm -f core conftest.err conftest.$ac_objext \
   14452     conftest$ac_exeext conftest.$ac_ext
   14453 fi
   14454 
   14455 
   14456 		CFLAGS="$xorg_testset_save_CFLAGS"
   14457 
   14458 		eval supported=\$$cacheid
   14459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14460 $as_echo "$supported" >&6; }
   14461 		if test "$supported" = "yes" ; then
   14462 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14463 			found="yes"
   14464 		fi
   14465 	fi
   14466 
   14467 
   14468 
   14469 
   14470 
   14471 
   14472 
   14473 
   14474 
   14475 
   14476 
   14477 
   14478 
   14479 
   14480 
   14481 xorg_testset_save_CFLAGS="$CFLAGS"
   14482 
   14483 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14484 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14486 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14487 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14488   $as_echo_n "(cached) " >&6
   14489 else
   14490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14491 /* end confdefs.h.  */
   14492 int i;
   14493 _ACEOF
   14494 if ac_fn_c_try_compile "$LINENO"; then :
   14495   xorg_cv_cc_flag_unknown_warning_option=yes
   14496 else
   14497   xorg_cv_cc_flag_unknown_warning_option=no
   14498 fi
   14499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14500 fi
   14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14502 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14503 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14504 	CFLAGS="$xorg_testset_save_CFLAGS"
   14505 fi
   14506 
   14507 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14508 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14509 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14510 	fi
   14511 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14512 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14513 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14514 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14515   $as_echo_n "(cached) " >&6
   14516 else
   14517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14518 /* end confdefs.h.  */
   14519 int i;
   14520 _ACEOF
   14521 if ac_fn_c_try_compile "$LINENO"; then :
   14522   xorg_cv_cc_flag_unused_command_line_argument=yes
   14523 else
   14524   xorg_cv_cc_flag_unused_command_line_argument=no
   14525 fi
   14526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14527 fi
   14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14529 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14530 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14531 	CFLAGS="$xorg_testset_save_CFLAGS"
   14532 fi
   14533 
   14534 found="no"
   14535 
   14536 	if test $found = "no" ; then
   14537 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14538 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14539 		fi
   14540 
   14541 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14542 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14543 		fi
   14544 
   14545 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14546 
   14547 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14548 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14549 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14550 		if eval \${$cacheid+:} false; then :
   14551   $as_echo_n "(cached) " >&6
   14552 else
   14553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14554 /* end confdefs.h.  */
   14555 int i;
   14556 int
   14557 main ()
   14558 {
   14559 
   14560   ;
   14561   return 0;
   14562 }
   14563 _ACEOF
   14564 if ac_fn_c_try_link "$LINENO"; then :
   14565   eval $cacheid=yes
   14566 else
   14567   eval $cacheid=no
   14568 fi
   14569 rm -f core conftest.err conftest.$ac_objext \
   14570     conftest$ac_exeext conftest.$ac_ext
   14571 fi
   14572 
   14573 
   14574 		CFLAGS="$xorg_testset_save_CFLAGS"
   14575 
   14576 		eval supported=\$$cacheid
   14577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14578 $as_echo "$supported" >&6; }
   14579 		if test "$supported" = "yes" ; then
   14580 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14581 			found="yes"
   14582 		fi
   14583 	fi
   14584 
   14585 
   14586 
   14587 
   14588 
   14589 
   14590 
   14591 
   14592 
   14593 
   14594 
   14595 
   14596 
   14597 
   14598 
   14599 xorg_testset_save_CFLAGS="$CFLAGS"
   14600 
   14601 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14602 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14604 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14605 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14606   $as_echo_n "(cached) " >&6
   14607 else
   14608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14609 /* end confdefs.h.  */
   14610 int i;
   14611 _ACEOF
   14612 if ac_fn_c_try_compile "$LINENO"; then :
   14613   xorg_cv_cc_flag_unknown_warning_option=yes
   14614 else
   14615   xorg_cv_cc_flag_unknown_warning_option=no
   14616 fi
   14617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14618 fi
   14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14620 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14621 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14622 	CFLAGS="$xorg_testset_save_CFLAGS"
   14623 fi
   14624 
   14625 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14626 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14627 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14628 	fi
   14629 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14630 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14631 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14632 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14633   $as_echo_n "(cached) " >&6
   14634 else
   14635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14636 /* end confdefs.h.  */
   14637 int i;
   14638 _ACEOF
   14639 if ac_fn_c_try_compile "$LINENO"; then :
   14640   xorg_cv_cc_flag_unused_command_line_argument=yes
   14641 else
   14642   xorg_cv_cc_flag_unused_command_line_argument=no
   14643 fi
   14644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14645 fi
   14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14647 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14648 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14649 	CFLAGS="$xorg_testset_save_CFLAGS"
   14650 fi
   14651 
   14652 found="no"
   14653 
   14654 	if test $found = "no" ; then
   14655 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14656 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14657 		fi
   14658 
   14659 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14660 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14661 		fi
   14662 
   14663 		CFLAGS="$CFLAGS -Wredundant-decls"
   14664 
   14665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14666 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14667 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14668 		if eval \${$cacheid+:} false; then :
   14669   $as_echo_n "(cached) " >&6
   14670 else
   14671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14672 /* end confdefs.h.  */
   14673 int i;
   14674 int
   14675 main ()
   14676 {
   14677 
   14678   ;
   14679   return 0;
   14680 }
   14681 _ACEOF
   14682 if ac_fn_c_try_link "$LINENO"; then :
   14683   eval $cacheid=yes
   14684 else
   14685   eval $cacheid=no
   14686 fi
   14687 rm -f core conftest.err conftest.$ac_objext \
   14688     conftest$ac_exeext conftest.$ac_ext
   14689 fi
   14690 
   14691 
   14692 		CFLAGS="$xorg_testset_save_CFLAGS"
   14693 
   14694 		eval supported=\$$cacheid
   14695 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14696 $as_echo "$supported" >&6; }
   14697 		if test "$supported" = "yes" ; then
   14698 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14699 			found="yes"
   14700 		fi
   14701 	fi
   14702 
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 
   14714 
   14715 
   14716 
   14717 xorg_testset_save_CFLAGS="$CFLAGS"
   14718 
   14719 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14720 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14722 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14723 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14724   $as_echo_n "(cached) " >&6
   14725 else
   14726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14727 /* end confdefs.h.  */
   14728 int i;
   14729 _ACEOF
   14730 if ac_fn_c_try_compile "$LINENO"; then :
   14731   xorg_cv_cc_flag_unknown_warning_option=yes
   14732 else
   14733   xorg_cv_cc_flag_unknown_warning_option=no
   14734 fi
   14735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14736 fi
   14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14738 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14740 	CFLAGS="$xorg_testset_save_CFLAGS"
   14741 fi
   14742 
   14743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14746 	fi
   14747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14748 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14749 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14750 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14751   $as_echo_n "(cached) " >&6
   14752 else
   14753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14754 /* end confdefs.h.  */
   14755 int i;
   14756 _ACEOF
   14757 if ac_fn_c_try_compile "$LINENO"; then :
   14758   xorg_cv_cc_flag_unused_command_line_argument=yes
   14759 else
   14760   xorg_cv_cc_flag_unused_command_line_argument=no
   14761 fi
   14762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14763 fi
   14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14765 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14766 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14767 	CFLAGS="$xorg_testset_save_CFLAGS"
   14768 fi
   14769 
   14770 found="no"
   14771 
   14772 	if test $found = "no" ; then
   14773 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14774 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14775 		fi
   14776 
   14777 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14778 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14779 		fi
   14780 
   14781 		CFLAGS="$CFLAGS -Wlogical-op"
   14782 
   14783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14784 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14785 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14786 		if eval \${$cacheid+:} false; then :
   14787   $as_echo_n "(cached) " >&6
   14788 else
   14789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14790 /* end confdefs.h.  */
   14791 int i;
   14792 int
   14793 main ()
   14794 {
   14795 
   14796   ;
   14797   return 0;
   14798 }
   14799 _ACEOF
   14800 if ac_fn_c_try_link "$LINENO"; then :
   14801   eval $cacheid=yes
   14802 else
   14803   eval $cacheid=no
   14804 fi
   14805 rm -f core conftest.err conftest.$ac_objext \
   14806     conftest$ac_exeext conftest.$ac_ext
   14807 fi
   14808 
   14809 
   14810 		CFLAGS="$xorg_testset_save_CFLAGS"
   14811 
   14812 		eval supported=\$$cacheid
   14813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14814 $as_echo "$supported" >&6; }
   14815 		if test "$supported" = "yes" ; then
   14816 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14817 			found="yes"
   14818 		fi
   14819 	fi
   14820 
   14821 
   14822 
   14823 # These are currently disabled because they are noisy.  They will be enabled
   14824 # in the future once the codebase is sufficiently modernized to silence
   14825 # them.  For now, I don't want them to drown out the other warnings.
   14826 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14827 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14828 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14829 
   14830 # Turn some warnings into errors, so we don't accidently get successful builds
   14831 # when there are problems that should be fixed.
   14832 
   14833 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 xorg_testset_save_CFLAGS="$CFLAGS"
   14848 
   14849 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14850 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14851 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14852 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14853 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14854   $as_echo_n "(cached) " >&6
   14855 else
   14856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14857 /* end confdefs.h.  */
   14858 int i;
   14859 _ACEOF
   14860 if ac_fn_c_try_compile "$LINENO"; then :
   14861   xorg_cv_cc_flag_unknown_warning_option=yes
   14862 else
   14863   xorg_cv_cc_flag_unknown_warning_option=no
   14864 fi
   14865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14866 fi
   14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14868 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14869 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14870 	CFLAGS="$xorg_testset_save_CFLAGS"
   14871 fi
   14872 
   14873 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14874 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14875 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14876 	fi
   14877 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14878 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14879 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14880 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   14889 else
   14890   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   14895 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14896 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14897 	CFLAGS="$xorg_testset_save_CFLAGS"
   14898 fi
   14899 
   14900 found="no"
   14901 
   14902 	if test $found = "no" ; then
   14903 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14904 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14905 		fi
   14906 
   14907 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14908 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14909 		fi
   14910 
   14911 		CFLAGS="$CFLAGS -Werror=implicit"
   14912 
   14913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14914 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14915 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14916 		if eval \${$cacheid+:} false; then :
   14917   $as_echo_n "(cached) " >&6
   14918 else
   14919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14920 /* end confdefs.h.  */
   14921 int i;
   14922 int
   14923 main ()
   14924 {
   14925 
   14926   ;
   14927   return 0;
   14928 }
   14929 _ACEOF
   14930 if ac_fn_c_try_link "$LINENO"; then :
   14931   eval $cacheid=yes
   14932 else
   14933   eval $cacheid=no
   14934 fi
   14935 rm -f core conftest.err conftest.$ac_objext \
   14936     conftest$ac_exeext conftest.$ac_ext
   14937 fi
   14938 
   14939 
   14940 		CFLAGS="$xorg_testset_save_CFLAGS"
   14941 
   14942 		eval supported=\$$cacheid
   14943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14944 $as_echo "$supported" >&6; }
   14945 		if test "$supported" = "yes" ; then
   14946 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14947 			found="yes"
   14948 		fi
   14949 	fi
   14950 
   14951 	if test $found = "no" ; then
   14952 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14953 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14954 		fi
   14955 
   14956 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14957 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14958 		fi
   14959 
   14960 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14961 
   14962 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14963 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14964 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14965 		if eval \${$cacheid+:} false; then :
   14966   $as_echo_n "(cached) " >&6
   14967 else
   14968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14969 /* end confdefs.h.  */
   14970 int i;
   14971 int
   14972 main ()
   14973 {
   14974 
   14975   ;
   14976   return 0;
   14977 }
   14978 _ACEOF
   14979 if ac_fn_c_try_link "$LINENO"; then :
   14980   eval $cacheid=yes
   14981 else
   14982   eval $cacheid=no
   14983 fi
   14984 rm -f core conftest.err conftest.$ac_objext \
   14985     conftest$ac_exeext conftest.$ac_ext
   14986 fi
   14987 
   14988 
   14989 		CFLAGS="$xorg_testset_save_CFLAGS"
   14990 
   14991 		eval supported=\$$cacheid
   14992 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14993 $as_echo "$supported" >&6; }
   14994 		if test "$supported" = "yes" ; then
   14995 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14996 			found="yes"
   14997 		fi
   14998 	fi
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 
   15011 
   15012 
   15013 
   15014 xorg_testset_save_CFLAGS="$CFLAGS"
   15015 
   15016 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15017 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15018 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15019 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15020 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15021   $as_echo_n "(cached) " >&6
   15022 else
   15023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15024 /* end confdefs.h.  */
   15025 int i;
   15026 _ACEOF
   15027 if ac_fn_c_try_compile "$LINENO"; then :
   15028   xorg_cv_cc_flag_unknown_warning_option=yes
   15029 else
   15030   xorg_cv_cc_flag_unknown_warning_option=no
   15031 fi
   15032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15033 fi
   15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15035 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15036 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15037 	CFLAGS="$xorg_testset_save_CFLAGS"
   15038 fi
   15039 
   15040 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15041 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15042 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15043 	fi
   15044 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15046 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15047 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15048   $as_echo_n "(cached) " >&6
   15049 else
   15050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15051 /* end confdefs.h.  */
   15052 int i;
   15053 _ACEOF
   15054 if ac_fn_c_try_compile "$LINENO"; then :
   15055   xorg_cv_cc_flag_unused_command_line_argument=yes
   15056 else
   15057   xorg_cv_cc_flag_unused_command_line_argument=no
   15058 fi
   15059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15060 fi
   15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15062 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15063 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15064 	CFLAGS="$xorg_testset_save_CFLAGS"
   15065 fi
   15066 
   15067 found="no"
   15068 
   15069 	if test $found = "no" ; then
   15070 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15071 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15072 		fi
   15073 
   15074 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15075 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15076 		fi
   15077 
   15078 		CFLAGS="$CFLAGS -Werror=nonnull"
   15079 
   15080 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15081 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   15082 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15083 		if eval \${$cacheid+:} false; then :
   15084   $as_echo_n "(cached) " >&6
   15085 else
   15086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15087 /* end confdefs.h.  */
   15088 int i;
   15089 int
   15090 main ()
   15091 {
   15092 
   15093   ;
   15094   return 0;
   15095 }
   15096 _ACEOF
   15097 if ac_fn_c_try_link "$LINENO"; then :
   15098   eval $cacheid=yes
   15099 else
   15100   eval $cacheid=no
   15101 fi
   15102 rm -f core conftest.err conftest.$ac_objext \
   15103     conftest$ac_exeext conftest.$ac_ext
   15104 fi
   15105 
   15106 
   15107 		CFLAGS="$xorg_testset_save_CFLAGS"
   15108 
   15109 		eval supported=\$$cacheid
   15110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15111 $as_echo "$supported" >&6; }
   15112 		if test "$supported" = "yes" ; then
   15113 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15114 			found="yes"
   15115 		fi
   15116 	fi
   15117 
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 
   15127 
   15128 
   15129 
   15130 
   15131 
   15132 xorg_testset_save_CFLAGS="$CFLAGS"
   15133 
   15134 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15135 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15136 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15137 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15138 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15139   $as_echo_n "(cached) " >&6
   15140 else
   15141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15142 /* end confdefs.h.  */
   15143 int i;
   15144 _ACEOF
   15145 if ac_fn_c_try_compile "$LINENO"; then :
   15146   xorg_cv_cc_flag_unknown_warning_option=yes
   15147 else
   15148   xorg_cv_cc_flag_unknown_warning_option=no
   15149 fi
   15150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15151 fi
   15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15153 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15154 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15155 	CFLAGS="$xorg_testset_save_CFLAGS"
   15156 fi
   15157 
   15158 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15159 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15160 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15161 	fi
   15162 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15164 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15165 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15166   $as_echo_n "(cached) " >&6
   15167 else
   15168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15169 /* end confdefs.h.  */
   15170 int i;
   15171 _ACEOF
   15172 if ac_fn_c_try_compile "$LINENO"; then :
   15173   xorg_cv_cc_flag_unused_command_line_argument=yes
   15174 else
   15175   xorg_cv_cc_flag_unused_command_line_argument=no
   15176 fi
   15177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15178 fi
   15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15180 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15181 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15182 	CFLAGS="$xorg_testset_save_CFLAGS"
   15183 fi
   15184 
   15185 found="no"
   15186 
   15187 	if test $found = "no" ; then
   15188 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15189 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15190 		fi
   15191 
   15192 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15193 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15194 		fi
   15195 
   15196 		CFLAGS="$CFLAGS -Werror=init-self"
   15197 
   15198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15199 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   15200 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15201 		if eval \${$cacheid+:} false; then :
   15202   $as_echo_n "(cached) " >&6
   15203 else
   15204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15205 /* end confdefs.h.  */
   15206 int i;
   15207 int
   15208 main ()
   15209 {
   15210 
   15211   ;
   15212   return 0;
   15213 }
   15214 _ACEOF
   15215 if ac_fn_c_try_link "$LINENO"; then :
   15216   eval $cacheid=yes
   15217 else
   15218   eval $cacheid=no
   15219 fi
   15220 rm -f core conftest.err conftest.$ac_objext \
   15221     conftest$ac_exeext conftest.$ac_ext
   15222 fi
   15223 
   15224 
   15225 		CFLAGS="$xorg_testset_save_CFLAGS"
   15226 
   15227 		eval supported=\$$cacheid
   15228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15229 $as_echo "$supported" >&6; }
   15230 		if test "$supported" = "yes" ; then
   15231 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15232 			found="yes"
   15233 		fi
   15234 	fi
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 
   15246 
   15247 
   15248 
   15249 
   15250 xorg_testset_save_CFLAGS="$CFLAGS"
   15251 
   15252 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15253 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15254 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15255 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15256 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15257   $as_echo_n "(cached) " >&6
   15258 else
   15259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15260 /* end confdefs.h.  */
   15261 int i;
   15262 _ACEOF
   15263 if ac_fn_c_try_compile "$LINENO"; then :
   15264   xorg_cv_cc_flag_unknown_warning_option=yes
   15265 else
   15266   xorg_cv_cc_flag_unknown_warning_option=no
   15267 fi
   15268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15269 fi
   15270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15271 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15272 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15273 	CFLAGS="$xorg_testset_save_CFLAGS"
   15274 fi
   15275 
   15276 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15277 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15278 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15279 	fi
   15280 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15282 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15283 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15284   $as_echo_n "(cached) " >&6
   15285 else
   15286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15287 /* end confdefs.h.  */
   15288 int i;
   15289 _ACEOF
   15290 if ac_fn_c_try_compile "$LINENO"; then :
   15291   xorg_cv_cc_flag_unused_command_line_argument=yes
   15292 else
   15293   xorg_cv_cc_flag_unused_command_line_argument=no
   15294 fi
   15295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15296 fi
   15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15298 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15299 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15300 	CFLAGS="$xorg_testset_save_CFLAGS"
   15301 fi
   15302 
   15303 found="no"
   15304 
   15305 	if test $found = "no" ; then
   15306 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15307 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15308 		fi
   15309 
   15310 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15311 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15312 		fi
   15313 
   15314 		CFLAGS="$CFLAGS -Werror=main"
   15315 
   15316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15317 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   15318 		cacheid=xorg_cv_cc_flag__Werror_main
   15319 		if eval \${$cacheid+:} false; then :
   15320   $as_echo_n "(cached) " >&6
   15321 else
   15322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15323 /* end confdefs.h.  */
   15324 int i;
   15325 int
   15326 main ()
   15327 {
   15328 
   15329   ;
   15330   return 0;
   15331 }
   15332 _ACEOF
   15333 if ac_fn_c_try_link "$LINENO"; then :
   15334   eval $cacheid=yes
   15335 else
   15336   eval $cacheid=no
   15337 fi
   15338 rm -f core conftest.err conftest.$ac_objext \
   15339     conftest$ac_exeext conftest.$ac_ext
   15340 fi
   15341 
   15342 
   15343 		CFLAGS="$xorg_testset_save_CFLAGS"
   15344 
   15345 		eval supported=\$$cacheid
   15346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15347 $as_echo "$supported" >&6; }
   15348 		if test "$supported" = "yes" ; then
   15349 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15350 			found="yes"
   15351 		fi
   15352 	fi
   15353 
   15354 
   15355 
   15356 
   15357 
   15358 
   15359 
   15360 
   15361 
   15362 
   15363 
   15364 
   15365 
   15366 
   15367 
   15368 xorg_testset_save_CFLAGS="$CFLAGS"
   15369 
   15370 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15371 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15372 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15373 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15374 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15375   $as_echo_n "(cached) " >&6
   15376 else
   15377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15378 /* end confdefs.h.  */
   15379 int i;
   15380 _ACEOF
   15381 if ac_fn_c_try_compile "$LINENO"; then :
   15382   xorg_cv_cc_flag_unknown_warning_option=yes
   15383 else
   15384   xorg_cv_cc_flag_unknown_warning_option=no
   15385 fi
   15386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15387 fi
   15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15389 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15390 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15391 	CFLAGS="$xorg_testset_save_CFLAGS"
   15392 fi
   15393 
   15394 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15395 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15396 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15397 	fi
   15398 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15400 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15401 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   15410 else
   15411   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   15416 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15417 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15418 	CFLAGS="$xorg_testset_save_CFLAGS"
   15419 fi
   15420 
   15421 found="no"
   15422 
   15423 	if test $found = "no" ; then
   15424 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15426 		fi
   15427 
   15428 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15430 		fi
   15431 
   15432 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15433 
   15434 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15435 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15436 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15437 		if eval \${$cacheid+:} false; then :
   15438   $as_echo_n "(cached) " >&6
   15439 else
   15440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15441 /* end confdefs.h.  */
   15442 int i;
   15443 int
   15444 main ()
   15445 {
   15446 
   15447   ;
   15448   return 0;
   15449 }
   15450 _ACEOF
   15451 if ac_fn_c_try_link "$LINENO"; then :
   15452   eval $cacheid=yes
   15453 else
   15454   eval $cacheid=no
   15455 fi
   15456 rm -f core conftest.err conftest.$ac_objext \
   15457     conftest$ac_exeext conftest.$ac_ext
   15458 fi
   15459 
   15460 
   15461 		CFLAGS="$xorg_testset_save_CFLAGS"
   15462 
   15463 		eval supported=\$$cacheid
   15464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15465 $as_echo "$supported" >&6; }
   15466 		if test "$supported" = "yes" ; then
   15467 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15468 			found="yes"
   15469 		fi
   15470 	fi
   15471 
   15472 
   15473 
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 
   15485 
   15486 xorg_testset_save_CFLAGS="$CFLAGS"
   15487 
   15488 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15489 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15490 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15491 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15492 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15493   $as_echo_n "(cached) " >&6
   15494 else
   15495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15496 /* end confdefs.h.  */
   15497 int i;
   15498 _ACEOF
   15499 if ac_fn_c_try_compile "$LINENO"; then :
   15500   xorg_cv_cc_flag_unknown_warning_option=yes
   15501 else
   15502   xorg_cv_cc_flag_unknown_warning_option=no
   15503 fi
   15504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15505 fi
   15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15507 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15508 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15509 	CFLAGS="$xorg_testset_save_CFLAGS"
   15510 fi
   15511 
   15512 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15513 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15514 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15515 	fi
   15516 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15517 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15518 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15519 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   15528 else
   15529   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   15534 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15535 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15536 	CFLAGS="$xorg_testset_save_CFLAGS"
   15537 fi
   15538 
   15539 found="no"
   15540 
   15541 	if test $found = "no" ; then
   15542 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15543 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15544 		fi
   15545 
   15546 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15547 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15548 		fi
   15549 
   15550 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15551 
   15552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15553 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15554 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15555 		if eval \${$cacheid+:} false; then :
   15556   $as_echo_n "(cached) " >&6
   15557 else
   15558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15559 /* end confdefs.h.  */
   15560 int i;
   15561 int
   15562 main ()
   15563 {
   15564 
   15565   ;
   15566   return 0;
   15567 }
   15568 _ACEOF
   15569 if ac_fn_c_try_link "$LINENO"; then :
   15570   eval $cacheid=yes
   15571 else
   15572   eval $cacheid=no
   15573 fi
   15574 rm -f core conftest.err conftest.$ac_objext \
   15575     conftest$ac_exeext conftest.$ac_ext
   15576 fi
   15577 
   15578 
   15579 		CFLAGS="$xorg_testset_save_CFLAGS"
   15580 
   15581 		eval supported=\$$cacheid
   15582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15583 $as_echo "$supported" >&6; }
   15584 		if test "$supported" = "yes" ; then
   15585 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15586 			found="yes"
   15587 		fi
   15588 	fi
   15589 
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 
   15600 
   15601 
   15602 
   15603 
   15604 xorg_testset_save_CFLAGS="$CFLAGS"
   15605 
   15606 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15607 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15609 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15610 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15611   $as_echo_n "(cached) " >&6
   15612 else
   15613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15614 /* end confdefs.h.  */
   15615 int i;
   15616 _ACEOF
   15617 if ac_fn_c_try_compile "$LINENO"; then :
   15618   xorg_cv_cc_flag_unknown_warning_option=yes
   15619 else
   15620   xorg_cv_cc_flag_unknown_warning_option=no
   15621 fi
   15622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15623 fi
   15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15625 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15626 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15627 	CFLAGS="$xorg_testset_save_CFLAGS"
   15628 fi
   15629 
   15630 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15631 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15632 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15633 	fi
   15634 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15636 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15637 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   15646 else
   15647   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   15652 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15653 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15654 	CFLAGS="$xorg_testset_save_CFLAGS"
   15655 fi
   15656 
   15657 found="no"
   15658 
   15659 	if test $found = "no" ; then
   15660 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15662 		fi
   15663 
   15664 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15666 		fi
   15667 
   15668 		CFLAGS="$CFLAGS -Werror=return-type"
   15669 
   15670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15671 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15672 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15673 		if eval \${$cacheid+:} false; then :
   15674   $as_echo_n "(cached) " >&6
   15675 else
   15676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15677 /* end confdefs.h.  */
   15678 int i;
   15679 int
   15680 main ()
   15681 {
   15682 
   15683   ;
   15684   return 0;
   15685 }
   15686 _ACEOF
   15687 if ac_fn_c_try_link "$LINENO"; then :
   15688   eval $cacheid=yes
   15689 else
   15690   eval $cacheid=no
   15691 fi
   15692 rm -f core conftest.err conftest.$ac_objext \
   15693     conftest$ac_exeext conftest.$ac_ext
   15694 fi
   15695 
   15696 
   15697 		CFLAGS="$xorg_testset_save_CFLAGS"
   15698 
   15699 		eval supported=\$$cacheid
   15700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15701 $as_echo "$supported" >&6; }
   15702 		if test "$supported" = "yes" ; then
   15703 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15704 			found="yes"
   15705 		fi
   15706 	fi
   15707 
   15708 	if test $found = "no" ; then
   15709 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15710 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15711 		fi
   15712 
   15713 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15714 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15715 		fi
   15716 
   15717 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15718 
   15719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15720 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15721 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15722 		if eval \${$cacheid+:} false; then :
   15723   $as_echo_n "(cached) " >&6
   15724 else
   15725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15726 /* end confdefs.h.  */
   15727 int i;
   15728 int
   15729 main ()
   15730 {
   15731 
   15732   ;
   15733   return 0;
   15734 }
   15735 _ACEOF
   15736 if ac_fn_c_try_link "$LINENO"; then :
   15737   eval $cacheid=yes
   15738 else
   15739   eval $cacheid=no
   15740 fi
   15741 rm -f core conftest.err conftest.$ac_objext \
   15742     conftest$ac_exeext conftest.$ac_ext
   15743 fi
   15744 
   15745 
   15746 		CFLAGS="$xorg_testset_save_CFLAGS"
   15747 
   15748 		eval supported=\$$cacheid
   15749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15750 $as_echo "$supported" >&6; }
   15751 		if test "$supported" = "yes" ; then
   15752 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15753 			found="yes"
   15754 		fi
   15755 	fi
   15756 
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 
   15766 
   15767 
   15768 
   15769 
   15770 
   15771 xorg_testset_save_CFLAGS="$CFLAGS"
   15772 
   15773 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15774 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15775 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15776 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15777 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15778   $as_echo_n "(cached) " >&6
   15779 else
   15780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15781 /* end confdefs.h.  */
   15782 int i;
   15783 _ACEOF
   15784 if ac_fn_c_try_compile "$LINENO"; then :
   15785   xorg_cv_cc_flag_unknown_warning_option=yes
   15786 else
   15787   xorg_cv_cc_flag_unknown_warning_option=no
   15788 fi
   15789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15790 fi
   15791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15792 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15793 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15794 	CFLAGS="$xorg_testset_save_CFLAGS"
   15795 fi
   15796 
   15797 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15798 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15799 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15800 	fi
   15801 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15803 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15804 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15805   $as_echo_n "(cached) " >&6
   15806 else
   15807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15808 /* end confdefs.h.  */
   15809 int i;
   15810 _ACEOF
   15811 if ac_fn_c_try_compile "$LINENO"; then :
   15812   xorg_cv_cc_flag_unused_command_line_argument=yes
   15813 else
   15814   xorg_cv_cc_flag_unused_command_line_argument=no
   15815 fi
   15816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15817 fi
   15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15819 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15820 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15821 	CFLAGS="$xorg_testset_save_CFLAGS"
   15822 fi
   15823 
   15824 found="no"
   15825 
   15826 	if test $found = "no" ; then
   15827 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15828 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15829 		fi
   15830 
   15831 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15832 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15833 		fi
   15834 
   15835 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15836 
   15837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15838 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15839 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15840 		if eval \${$cacheid+:} false; then :
   15841   $as_echo_n "(cached) " >&6
   15842 else
   15843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15844 /* end confdefs.h.  */
   15845 int i;
   15846 int
   15847 main ()
   15848 {
   15849 
   15850   ;
   15851   return 0;
   15852 }
   15853 _ACEOF
   15854 if ac_fn_c_try_link "$LINENO"; then :
   15855   eval $cacheid=yes
   15856 else
   15857   eval $cacheid=no
   15858 fi
   15859 rm -f core conftest.err conftest.$ac_objext \
   15860     conftest$ac_exeext conftest.$ac_ext
   15861 fi
   15862 
   15863 
   15864 		CFLAGS="$xorg_testset_save_CFLAGS"
   15865 
   15866 		eval supported=\$$cacheid
   15867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15868 $as_echo "$supported" >&6; }
   15869 		if test "$supported" = "yes" ; then
   15870 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15871 			found="yes"
   15872 		fi
   15873 	fi
   15874 
   15875 
   15876 
   15877 
   15878 
   15879 
   15880 
   15881 
   15882 
   15883 
   15884 
   15885 
   15886 
   15887 
   15888 
   15889 xorg_testset_save_CFLAGS="$CFLAGS"
   15890 
   15891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15894 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15895 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15896   $as_echo_n "(cached) " >&6
   15897 else
   15898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15899 /* end confdefs.h.  */
   15900 int i;
   15901 _ACEOF
   15902 if ac_fn_c_try_compile "$LINENO"; then :
   15903   xorg_cv_cc_flag_unknown_warning_option=yes
   15904 else
   15905   xorg_cv_cc_flag_unknown_warning_option=no
   15906 fi
   15907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15908 fi
   15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15910 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15912 	CFLAGS="$xorg_testset_save_CFLAGS"
   15913 fi
   15914 
   15915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15918 	fi
   15919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15921 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15922 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15923   $as_echo_n "(cached) " >&6
   15924 else
   15925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15926 /* end confdefs.h.  */
   15927 int i;
   15928 _ACEOF
   15929 if ac_fn_c_try_compile "$LINENO"; then :
   15930   xorg_cv_cc_flag_unused_command_line_argument=yes
   15931 else
   15932   xorg_cv_cc_flag_unused_command_line_argument=no
   15933 fi
   15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15935 fi
   15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15937 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15938 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15939 	CFLAGS="$xorg_testset_save_CFLAGS"
   15940 fi
   15941 
   15942 found="no"
   15943 
   15944 	if test $found = "no" ; then
   15945 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15947 		fi
   15948 
   15949 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15951 		fi
   15952 
   15953 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15954 
   15955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15956 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15957 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15958 		if eval \${$cacheid+:} false; then :
   15959   $as_echo_n "(cached) " >&6
   15960 else
   15961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15962 /* end confdefs.h.  */
   15963 int i;
   15964 int
   15965 main ()
   15966 {
   15967 
   15968   ;
   15969   return 0;
   15970 }
   15971 _ACEOF
   15972 if ac_fn_c_try_link "$LINENO"; then :
   15973   eval $cacheid=yes
   15974 else
   15975   eval $cacheid=no
   15976 fi
   15977 rm -f core conftest.err conftest.$ac_objext \
   15978     conftest$ac_exeext conftest.$ac_ext
   15979 fi
   15980 
   15981 
   15982 		CFLAGS="$xorg_testset_save_CFLAGS"
   15983 
   15984 		eval supported=\$$cacheid
   15985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15986 $as_echo "$supported" >&6; }
   15987 		if test "$supported" = "yes" ; then
   15988 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15989 			found="yes"
   15990 		fi
   15991 	fi
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 
   16005 
   16006 
   16007 xorg_testset_save_CFLAGS="$CFLAGS"
   16008 
   16009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16012 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16013 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16014   $as_echo_n "(cached) " >&6
   16015 else
   16016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16017 /* end confdefs.h.  */
   16018 int i;
   16019 _ACEOF
   16020 if ac_fn_c_try_compile "$LINENO"; then :
   16021   xorg_cv_cc_flag_unknown_warning_option=yes
   16022 else
   16023   xorg_cv_cc_flag_unknown_warning_option=no
   16024 fi
   16025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16026 fi
   16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16028 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16030 	CFLAGS="$xorg_testset_save_CFLAGS"
   16031 fi
   16032 
   16033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16036 	fi
   16037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16039 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16040 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   16049 else
   16050   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   16055 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16057 	CFLAGS="$xorg_testset_save_CFLAGS"
   16058 fi
   16059 
   16060 found="no"
   16061 
   16062 	if test $found = "no" ; then
   16063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16065 		fi
   16066 
   16067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16069 		fi
   16070 
   16071 		CFLAGS="$CFLAGS -Werror=write-strings"
   16072 
   16073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16074 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   16075 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16076 		if eval \${$cacheid+:} false; then :
   16077   $as_echo_n "(cached) " >&6
   16078 else
   16079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16080 /* end confdefs.h.  */
   16081 int i;
   16082 int
   16083 main ()
   16084 {
   16085 
   16086   ;
   16087   return 0;
   16088 }
   16089 _ACEOF
   16090 if ac_fn_c_try_link "$LINENO"; then :
   16091   eval $cacheid=yes
   16092 else
   16093   eval $cacheid=no
   16094 fi
   16095 rm -f core conftest.err conftest.$ac_objext \
   16096     conftest$ac_exeext conftest.$ac_ext
   16097 fi
   16098 
   16099 
   16100 		CFLAGS="$xorg_testset_save_CFLAGS"
   16101 
   16102 		eval supported=\$$cacheid
   16103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16104 $as_echo "$supported" >&6; }
   16105 		if test "$supported" = "yes" ; then
   16106 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16107 			found="yes"
   16108 		fi
   16109 	fi
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 
   16124 
   16125 xorg_testset_save_CFLAGS="$CFLAGS"
   16126 
   16127 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16128 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16130 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16131 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16132   $as_echo_n "(cached) " >&6
   16133 else
   16134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16135 /* end confdefs.h.  */
   16136 int i;
   16137 _ACEOF
   16138 if ac_fn_c_try_compile "$LINENO"; then :
   16139   xorg_cv_cc_flag_unknown_warning_option=yes
   16140 else
   16141   xorg_cv_cc_flag_unknown_warning_option=no
   16142 fi
   16143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16144 fi
   16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16146 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16147 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16148 	CFLAGS="$xorg_testset_save_CFLAGS"
   16149 fi
   16150 
   16151 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16152 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16153 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16154 	fi
   16155 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16157 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16158 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16159   $as_echo_n "(cached) " >&6
   16160 else
   16161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16162 /* end confdefs.h.  */
   16163 int i;
   16164 _ACEOF
   16165 if ac_fn_c_try_compile "$LINENO"; then :
   16166   xorg_cv_cc_flag_unused_command_line_argument=yes
   16167 else
   16168   xorg_cv_cc_flag_unused_command_line_argument=no
   16169 fi
   16170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16171 fi
   16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16173 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16175 	CFLAGS="$xorg_testset_save_CFLAGS"
   16176 fi
   16177 
   16178 found="no"
   16179 
   16180 	if test $found = "no" ; then
   16181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16183 		fi
   16184 
   16185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16187 		fi
   16188 
   16189 		CFLAGS="$CFLAGS -Werror=address"
   16190 
   16191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16192 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   16193 		cacheid=xorg_cv_cc_flag__Werror_address
   16194 		if eval \${$cacheid+:} false; then :
   16195   $as_echo_n "(cached) " >&6
   16196 else
   16197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16198 /* end confdefs.h.  */
   16199 int i;
   16200 int
   16201 main ()
   16202 {
   16203 
   16204   ;
   16205   return 0;
   16206 }
   16207 _ACEOF
   16208 if ac_fn_c_try_link "$LINENO"; then :
   16209   eval $cacheid=yes
   16210 else
   16211   eval $cacheid=no
   16212 fi
   16213 rm -f core conftest.err conftest.$ac_objext \
   16214     conftest$ac_exeext conftest.$ac_ext
   16215 fi
   16216 
   16217 
   16218 		CFLAGS="$xorg_testset_save_CFLAGS"
   16219 
   16220 		eval supported=\$$cacheid
   16221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16222 $as_echo "$supported" >&6; }
   16223 		if test "$supported" = "yes" ; then
   16224 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16225 			found="yes"
   16226 		fi
   16227 	fi
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 
   16235 
   16236 
   16237 
   16238 
   16239 
   16240 
   16241 
   16242 
   16243 xorg_testset_save_CFLAGS="$CFLAGS"
   16244 
   16245 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16246 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16247 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16248 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16249 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16250   $as_echo_n "(cached) " >&6
   16251 else
   16252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16253 /* end confdefs.h.  */
   16254 int i;
   16255 _ACEOF
   16256 if ac_fn_c_try_compile "$LINENO"; then :
   16257   xorg_cv_cc_flag_unknown_warning_option=yes
   16258 else
   16259   xorg_cv_cc_flag_unknown_warning_option=no
   16260 fi
   16261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16262 fi
   16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16264 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16266 	CFLAGS="$xorg_testset_save_CFLAGS"
   16267 fi
   16268 
   16269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16272 	fi
   16273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16275 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16276 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16277   $as_echo_n "(cached) " >&6
   16278 else
   16279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16280 /* end confdefs.h.  */
   16281 int i;
   16282 _ACEOF
   16283 if ac_fn_c_try_compile "$LINENO"; then :
   16284   xorg_cv_cc_flag_unused_command_line_argument=yes
   16285 else
   16286   xorg_cv_cc_flag_unused_command_line_argument=no
   16287 fi
   16288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16289 fi
   16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16291 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16292 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16293 	CFLAGS="$xorg_testset_save_CFLAGS"
   16294 fi
   16295 
   16296 found="no"
   16297 
   16298 	if test $found = "no" ; then
   16299 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16300 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16301 		fi
   16302 
   16303 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16304 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16305 		fi
   16306 
   16307 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16308 
   16309 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16310 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16311 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16312 		if eval \${$cacheid+:} false; then :
   16313   $as_echo_n "(cached) " >&6
   16314 else
   16315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16316 /* end confdefs.h.  */
   16317 int i;
   16318 int
   16319 main ()
   16320 {
   16321 
   16322   ;
   16323   return 0;
   16324 }
   16325 _ACEOF
   16326 if ac_fn_c_try_link "$LINENO"; then :
   16327   eval $cacheid=yes
   16328 else
   16329   eval $cacheid=no
   16330 fi
   16331 rm -f core conftest.err conftest.$ac_objext \
   16332     conftest$ac_exeext conftest.$ac_ext
   16333 fi
   16334 
   16335 
   16336 		CFLAGS="$xorg_testset_save_CFLAGS"
   16337 
   16338 		eval supported=\$$cacheid
   16339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16340 $as_echo "$supported" >&6; }
   16341 		if test "$supported" = "yes" ; then
   16342 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16343 			found="yes"
   16344 		fi
   16345 	fi
   16346 
   16347 	if test $found = "no" ; then
   16348 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16350 		fi
   16351 
   16352 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16354 		fi
   16355 
   16356 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16357 
   16358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16359 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16360 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16361 		if eval \${$cacheid+:} false; then :
   16362   $as_echo_n "(cached) " >&6
   16363 else
   16364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16365 /* end confdefs.h.  */
   16366 int i;
   16367 int
   16368 main ()
   16369 {
   16370 
   16371   ;
   16372   return 0;
   16373 }
   16374 _ACEOF
   16375 if ac_fn_c_try_link "$LINENO"; then :
   16376   eval $cacheid=yes
   16377 else
   16378   eval $cacheid=no
   16379 fi
   16380 rm -f core conftest.err conftest.$ac_objext \
   16381     conftest$ac_exeext conftest.$ac_ext
   16382 fi
   16383 
   16384 
   16385 		CFLAGS="$xorg_testset_save_CFLAGS"
   16386 
   16387 		eval supported=\$$cacheid
   16388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16389 $as_echo "$supported" >&6; }
   16390 		if test "$supported" = "yes" ; then
   16391 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16392 			found="yes"
   16393 		fi
   16394 	fi
   16395 
   16396 
   16397 
   16398 
   16399 
   16400 
   16401 
   16402 
   16403 
   16404 
   16405 
   16406 
   16407 
   16408 
   16409 
   16410 xorg_testset_save_CFLAGS="$CFLAGS"
   16411 
   16412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16415 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16416 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16417   $as_echo_n "(cached) " >&6
   16418 else
   16419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16420 /* end confdefs.h.  */
   16421 int i;
   16422 _ACEOF
   16423 if ac_fn_c_try_compile "$LINENO"; then :
   16424   xorg_cv_cc_flag_unknown_warning_option=yes
   16425 else
   16426   xorg_cv_cc_flag_unknown_warning_option=no
   16427 fi
   16428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16429 fi
   16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16431 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16433 	CFLAGS="$xorg_testset_save_CFLAGS"
   16434 fi
   16435 
   16436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16439 	fi
   16440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16442 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16443 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16444   $as_echo_n "(cached) " >&6
   16445 else
   16446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16447 /* end confdefs.h.  */
   16448 int i;
   16449 _ACEOF
   16450 if ac_fn_c_try_compile "$LINENO"; then :
   16451   xorg_cv_cc_flag_unused_command_line_argument=yes
   16452 else
   16453   xorg_cv_cc_flag_unused_command_line_argument=no
   16454 fi
   16455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16456 fi
   16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16458 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16460 	CFLAGS="$xorg_testset_save_CFLAGS"
   16461 fi
   16462 
   16463 found="no"
   16464 
   16465 	if test $found = "no" ; then
   16466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16468 		fi
   16469 
   16470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16472 		fi
   16473 
   16474 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16475 
   16476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16477 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16478 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16479 		if eval \${$cacheid+:} false; then :
   16480   $as_echo_n "(cached) " >&6
   16481 else
   16482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16483 /* end confdefs.h.  */
   16484 int i;
   16485 int
   16486 main ()
   16487 {
   16488 
   16489   ;
   16490   return 0;
   16491 }
   16492 _ACEOF
   16493 if ac_fn_c_try_link "$LINENO"; then :
   16494   eval $cacheid=yes
   16495 else
   16496   eval $cacheid=no
   16497 fi
   16498 rm -f core conftest.err conftest.$ac_objext \
   16499     conftest$ac_exeext conftest.$ac_ext
   16500 fi
   16501 
   16502 
   16503 		CFLAGS="$xorg_testset_save_CFLAGS"
   16504 
   16505 		eval supported=\$$cacheid
   16506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16507 $as_echo "$supported" >&6; }
   16508 		if test "$supported" = "yes" ; then
   16509 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16510 			found="yes"
   16511 		fi
   16512 	fi
   16513 
   16514  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16515 else
   16516 { $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
   16517 $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;}
   16518 
   16519 
   16520 
   16521 
   16522 
   16523 
   16524 
   16525 
   16526 
   16527 
   16528 
   16529 
   16530 
   16531 xorg_testset_save_CFLAGS="$CFLAGS"
   16532 
   16533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16536 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16537 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16538   $as_echo_n "(cached) " >&6
   16539 else
   16540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16541 /* end confdefs.h.  */
   16542 int i;
   16543 _ACEOF
   16544 if ac_fn_c_try_compile "$LINENO"; then :
   16545   xorg_cv_cc_flag_unknown_warning_option=yes
   16546 else
   16547   xorg_cv_cc_flag_unknown_warning_option=no
   16548 fi
   16549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16550 fi
   16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16552 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16554 	CFLAGS="$xorg_testset_save_CFLAGS"
   16555 fi
   16556 
   16557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16560 	fi
   16561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16563 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16564 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16565   $as_echo_n "(cached) " >&6
   16566 else
   16567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16568 /* end confdefs.h.  */
   16569 int i;
   16570 _ACEOF
   16571 if ac_fn_c_try_compile "$LINENO"; then :
   16572   xorg_cv_cc_flag_unused_command_line_argument=yes
   16573 else
   16574   xorg_cv_cc_flag_unused_command_line_argument=no
   16575 fi
   16576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16577 fi
   16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16579 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16581 	CFLAGS="$xorg_testset_save_CFLAGS"
   16582 fi
   16583 
   16584 found="no"
   16585 
   16586 	if test $found = "no" ; then
   16587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16589 		fi
   16590 
   16591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16593 		fi
   16594 
   16595 		CFLAGS="$CFLAGS -Wimplicit"
   16596 
   16597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16598 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16599 		cacheid=xorg_cv_cc_flag__Wimplicit
   16600 		if eval \${$cacheid+:} false; then :
   16601   $as_echo_n "(cached) " >&6
   16602 else
   16603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16604 /* end confdefs.h.  */
   16605 int i;
   16606 int
   16607 main ()
   16608 {
   16609 
   16610   ;
   16611   return 0;
   16612 }
   16613 _ACEOF
   16614 if ac_fn_c_try_link "$LINENO"; then :
   16615   eval $cacheid=yes
   16616 else
   16617   eval $cacheid=no
   16618 fi
   16619 rm -f core conftest.err conftest.$ac_objext \
   16620     conftest$ac_exeext conftest.$ac_ext
   16621 fi
   16622 
   16623 
   16624 		CFLAGS="$xorg_testset_save_CFLAGS"
   16625 
   16626 		eval supported=\$$cacheid
   16627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16628 $as_echo "$supported" >&6; }
   16629 		if test "$supported" = "yes" ; then
   16630 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16631 			found="yes"
   16632 		fi
   16633 	fi
   16634 
   16635 
   16636 
   16637 
   16638 
   16639 
   16640 
   16641 
   16642 
   16643 
   16644 
   16645 
   16646 
   16647 
   16648 
   16649 xorg_testset_save_CFLAGS="$CFLAGS"
   16650 
   16651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16654 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16655 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16656   $as_echo_n "(cached) " >&6
   16657 else
   16658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16659 /* end confdefs.h.  */
   16660 int i;
   16661 _ACEOF
   16662 if ac_fn_c_try_compile "$LINENO"; then :
   16663   xorg_cv_cc_flag_unknown_warning_option=yes
   16664 else
   16665   xorg_cv_cc_flag_unknown_warning_option=no
   16666 fi
   16667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16668 fi
   16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16670 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16671 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16672 	CFLAGS="$xorg_testset_save_CFLAGS"
   16673 fi
   16674 
   16675 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16676 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16678 	fi
   16679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16681 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16682 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16683   $as_echo_n "(cached) " >&6
   16684 else
   16685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16686 /* end confdefs.h.  */
   16687 int i;
   16688 _ACEOF
   16689 if ac_fn_c_try_compile "$LINENO"; then :
   16690   xorg_cv_cc_flag_unused_command_line_argument=yes
   16691 else
   16692   xorg_cv_cc_flag_unused_command_line_argument=no
   16693 fi
   16694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16695 fi
   16696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16697 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16698 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16699 	CFLAGS="$xorg_testset_save_CFLAGS"
   16700 fi
   16701 
   16702 found="no"
   16703 
   16704 	if test $found = "no" ; then
   16705 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16707 		fi
   16708 
   16709 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16711 		fi
   16712 
   16713 		CFLAGS="$CFLAGS -Wnonnull"
   16714 
   16715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16716 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16717 		cacheid=xorg_cv_cc_flag__Wnonnull
   16718 		if eval \${$cacheid+:} false; then :
   16719   $as_echo_n "(cached) " >&6
   16720 else
   16721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16722 /* end confdefs.h.  */
   16723 int i;
   16724 int
   16725 main ()
   16726 {
   16727 
   16728   ;
   16729   return 0;
   16730 }
   16731 _ACEOF
   16732 if ac_fn_c_try_link "$LINENO"; then :
   16733   eval $cacheid=yes
   16734 else
   16735   eval $cacheid=no
   16736 fi
   16737 rm -f core conftest.err conftest.$ac_objext \
   16738     conftest$ac_exeext conftest.$ac_ext
   16739 fi
   16740 
   16741 
   16742 		CFLAGS="$xorg_testset_save_CFLAGS"
   16743 
   16744 		eval supported=\$$cacheid
   16745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16746 $as_echo "$supported" >&6; }
   16747 		if test "$supported" = "yes" ; then
   16748 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16749 			found="yes"
   16750 		fi
   16751 	fi
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 xorg_testset_save_CFLAGS="$CFLAGS"
   16768 
   16769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16772 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16773 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16774   $as_echo_n "(cached) " >&6
   16775 else
   16776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16777 /* end confdefs.h.  */
   16778 int i;
   16779 _ACEOF
   16780 if ac_fn_c_try_compile "$LINENO"; then :
   16781   xorg_cv_cc_flag_unknown_warning_option=yes
   16782 else
   16783   xorg_cv_cc_flag_unknown_warning_option=no
   16784 fi
   16785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16786 fi
   16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16788 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16789 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16790 	CFLAGS="$xorg_testset_save_CFLAGS"
   16791 fi
   16792 
   16793 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16794 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16796 	fi
   16797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16799 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16800 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16801   $as_echo_n "(cached) " >&6
   16802 else
   16803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16804 /* end confdefs.h.  */
   16805 int i;
   16806 _ACEOF
   16807 if ac_fn_c_try_compile "$LINENO"; then :
   16808   xorg_cv_cc_flag_unused_command_line_argument=yes
   16809 else
   16810   xorg_cv_cc_flag_unused_command_line_argument=no
   16811 fi
   16812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16813 fi
   16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16815 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16816 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16817 	CFLAGS="$xorg_testset_save_CFLAGS"
   16818 fi
   16819 
   16820 found="no"
   16821 
   16822 	if test $found = "no" ; then
   16823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16825 		fi
   16826 
   16827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16829 		fi
   16830 
   16831 		CFLAGS="$CFLAGS -Winit-self"
   16832 
   16833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16834 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16835 		cacheid=xorg_cv_cc_flag__Winit_self
   16836 		if eval \${$cacheid+:} false; then :
   16837   $as_echo_n "(cached) " >&6
   16838 else
   16839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16840 /* end confdefs.h.  */
   16841 int i;
   16842 int
   16843 main ()
   16844 {
   16845 
   16846   ;
   16847   return 0;
   16848 }
   16849 _ACEOF
   16850 if ac_fn_c_try_link "$LINENO"; then :
   16851   eval $cacheid=yes
   16852 else
   16853   eval $cacheid=no
   16854 fi
   16855 rm -f core conftest.err conftest.$ac_objext \
   16856     conftest$ac_exeext conftest.$ac_ext
   16857 fi
   16858 
   16859 
   16860 		CFLAGS="$xorg_testset_save_CFLAGS"
   16861 
   16862 		eval supported=\$$cacheid
   16863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16864 $as_echo "$supported" >&6; }
   16865 		if test "$supported" = "yes" ; then
   16866 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16867 			found="yes"
   16868 		fi
   16869 	fi
   16870 
   16871 
   16872 
   16873 
   16874 
   16875 
   16876 
   16877 
   16878 
   16879 
   16880 
   16881 
   16882 
   16883 
   16884 
   16885 xorg_testset_save_CFLAGS="$CFLAGS"
   16886 
   16887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16890 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16891 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16892   $as_echo_n "(cached) " >&6
   16893 else
   16894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16895 /* end confdefs.h.  */
   16896 int i;
   16897 _ACEOF
   16898 if ac_fn_c_try_compile "$LINENO"; then :
   16899   xorg_cv_cc_flag_unknown_warning_option=yes
   16900 else
   16901   xorg_cv_cc_flag_unknown_warning_option=no
   16902 fi
   16903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16904 fi
   16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16906 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16908 	CFLAGS="$xorg_testset_save_CFLAGS"
   16909 fi
   16910 
   16911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16914 	fi
   16915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16917 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16918 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16919   $as_echo_n "(cached) " >&6
   16920 else
   16921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16922 /* end confdefs.h.  */
   16923 int i;
   16924 _ACEOF
   16925 if ac_fn_c_try_compile "$LINENO"; then :
   16926   xorg_cv_cc_flag_unused_command_line_argument=yes
   16927 else
   16928   xorg_cv_cc_flag_unused_command_line_argument=no
   16929 fi
   16930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16931 fi
   16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16933 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16935 	CFLAGS="$xorg_testset_save_CFLAGS"
   16936 fi
   16937 
   16938 found="no"
   16939 
   16940 	if test $found = "no" ; then
   16941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16943 		fi
   16944 
   16945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16947 		fi
   16948 
   16949 		CFLAGS="$CFLAGS -Wmain"
   16950 
   16951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16952 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16953 		cacheid=xorg_cv_cc_flag__Wmain
   16954 		if eval \${$cacheid+:} false; then :
   16955   $as_echo_n "(cached) " >&6
   16956 else
   16957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16958 /* end confdefs.h.  */
   16959 int i;
   16960 int
   16961 main ()
   16962 {
   16963 
   16964   ;
   16965   return 0;
   16966 }
   16967 _ACEOF
   16968 if ac_fn_c_try_link "$LINENO"; then :
   16969   eval $cacheid=yes
   16970 else
   16971   eval $cacheid=no
   16972 fi
   16973 rm -f core conftest.err conftest.$ac_objext \
   16974     conftest$ac_exeext conftest.$ac_ext
   16975 fi
   16976 
   16977 
   16978 		CFLAGS="$xorg_testset_save_CFLAGS"
   16979 
   16980 		eval supported=\$$cacheid
   16981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16982 $as_echo "$supported" >&6; }
   16983 		if test "$supported" = "yes" ; then
   16984 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16985 			found="yes"
   16986 		fi
   16987 	fi
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 
   17003 xorg_testset_save_CFLAGS="$CFLAGS"
   17004 
   17005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17008 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17009 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17010   $as_echo_n "(cached) " >&6
   17011 else
   17012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17013 /* end confdefs.h.  */
   17014 int i;
   17015 _ACEOF
   17016 if ac_fn_c_try_compile "$LINENO"; then :
   17017   xorg_cv_cc_flag_unknown_warning_option=yes
   17018 else
   17019   xorg_cv_cc_flag_unknown_warning_option=no
   17020 fi
   17021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17022 fi
   17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17024 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17026 	CFLAGS="$xorg_testset_save_CFLAGS"
   17027 fi
   17028 
   17029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17032 	fi
   17033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17035 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17036 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17037   $as_echo_n "(cached) " >&6
   17038 else
   17039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17040 /* end confdefs.h.  */
   17041 int i;
   17042 _ACEOF
   17043 if ac_fn_c_try_compile "$LINENO"; then :
   17044   xorg_cv_cc_flag_unused_command_line_argument=yes
   17045 else
   17046   xorg_cv_cc_flag_unused_command_line_argument=no
   17047 fi
   17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17049 fi
   17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17051 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17052 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17053 	CFLAGS="$xorg_testset_save_CFLAGS"
   17054 fi
   17055 
   17056 found="no"
   17057 
   17058 	if test $found = "no" ; then
   17059 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17060 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17061 		fi
   17062 
   17063 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17064 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17065 		fi
   17066 
   17067 		CFLAGS="$CFLAGS -Wmissing-braces"
   17068 
   17069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17070 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   17071 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17072 		if eval \${$cacheid+:} false; then :
   17073   $as_echo_n "(cached) " >&6
   17074 else
   17075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17076 /* end confdefs.h.  */
   17077 int i;
   17078 int
   17079 main ()
   17080 {
   17081 
   17082   ;
   17083   return 0;
   17084 }
   17085 _ACEOF
   17086 if ac_fn_c_try_link "$LINENO"; then :
   17087   eval $cacheid=yes
   17088 else
   17089   eval $cacheid=no
   17090 fi
   17091 rm -f core conftest.err conftest.$ac_objext \
   17092     conftest$ac_exeext conftest.$ac_ext
   17093 fi
   17094 
   17095 
   17096 		CFLAGS="$xorg_testset_save_CFLAGS"
   17097 
   17098 		eval supported=\$$cacheid
   17099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17100 $as_echo "$supported" >&6; }
   17101 		if test "$supported" = "yes" ; then
   17102 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17103 			found="yes"
   17104 		fi
   17105 	fi
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 
   17113 
   17114 
   17115 
   17116 
   17117 
   17118 
   17119 
   17120 
   17121 xorg_testset_save_CFLAGS="$CFLAGS"
   17122 
   17123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17126 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17127 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17128   $as_echo_n "(cached) " >&6
   17129 else
   17130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17131 /* end confdefs.h.  */
   17132 int i;
   17133 _ACEOF
   17134 if ac_fn_c_try_compile "$LINENO"; then :
   17135   xorg_cv_cc_flag_unknown_warning_option=yes
   17136 else
   17137   xorg_cv_cc_flag_unknown_warning_option=no
   17138 fi
   17139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17140 fi
   17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17142 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17143 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17144 	CFLAGS="$xorg_testset_save_CFLAGS"
   17145 fi
   17146 
   17147 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17148 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17149 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17150 	fi
   17151 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17153 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17154 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17155   $as_echo_n "(cached) " >&6
   17156 else
   17157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17158 /* end confdefs.h.  */
   17159 int i;
   17160 _ACEOF
   17161 if ac_fn_c_try_compile "$LINENO"; then :
   17162   xorg_cv_cc_flag_unused_command_line_argument=yes
   17163 else
   17164   xorg_cv_cc_flag_unused_command_line_argument=no
   17165 fi
   17166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17167 fi
   17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17169 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17171 	CFLAGS="$xorg_testset_save_CFLAGS"
   17172 fi
   17173 
   17174 found="no"
   17175 
   17176 	if test $found = "no" ; then
   17177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17179 		fi
   17180 
   17181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17183 		fi
   17184 
   17185 		CFLAGS="$CFLAGS -Wsequence-point"
   17186 
   17187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17188 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   17189 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17190 		if eval \${$cacheid+:} false; then :
   17191   $as_echo_n "(cached) " >&6
   17192 else
   17193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17194 /* end confdefs.h.  */
   17195 int i;
   17196 int
   17197 main ()
   17198 {
   17199 
   17200   ;
   17201   return 0;
   17202 }
   17203 _ACEOF
   17204 if ac_fn_c_try_link "$LINENO"; then :
   17205   eval $cacheid=yes
   17206 else
   17207   eval $cacheid=no
   17208 fi
   17209 rm -f core conftest.err conftest.$ac_objext \
   17210     conftest$ac_exeext conftest.$ac_ext
   17211 fi
   17212 
   17213 
   17214 		CFLAGS="$xorg_testset_save_CFLAGS"
   17215 
   17216 		eval supported=\$$cacheid
   17217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17218 $as_echo "$supported" >&6; }
   17219 		if test "$supported" = "yes" ; then
   17220 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17221 			found="yes"
   17222 		fi
   17223 	fi
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 
   17235 
   17236 
   17237 
   17238 
   17239 xorg_testset_save_CFLAGS="$CFLAGS"
   17240 
   17241 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17242 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17244 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17245 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17246   $as_echo_n "(cached) " >&6
   17247 else
   17248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17249 /* end confdefs.h.  */
   17250 int i;
   17251 _ACEOF
   17252 if ac_fn_c_try_compile "$LINENO"; then :
   17253   xorg_cv_cc_flag_unknown_warning_option=yes
   17254 else
   17255   xorg_cv_cc_flag_unknown_warning_option=no
   17256 fi
   17257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17258 fi
   17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17260 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17261 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17262 	CFLAGS="$xorg_testset_save_CFLAGS"
   17263 fi
   17264 
   17265 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17266 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17267 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17268 	fi
   17269 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17270 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17271 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17272 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17273   $as_echo_n "(cached) " >&6
   17274 else
   17275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17276 /* end confdefs.h.  */
   17277 int i;
   17278 _ACEOF
   17279 if ac_fn_c_try_compile "$LINENO"; then :
   17280   xorg_cv_cc_flag_unused_command_line_argument=yes
   17281 else
   17282   xorg_cv_cc_flag_unused_command_line_argument=no
   17283 fi
   17284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17285 fi
   17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17287 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17288 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17289 	CFLAGS="$xorg_testset_save_CFLAGS"
   17290 fi
   17291 
   17292 found="no"
   17293 
   17294 	if test $found = "no" ; then
   17295 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17296 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17297 		fi
   17298 
   17299 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17300 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17301 		fi
   17302 
   17303 		CFLAGS="$CFLAGS -Wreturn-type"
   17304 
   17305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17306 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   17307 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17308 		if eval \${$cacheid+:} false; then :
   17309   $as_echo_n "(cached) " >&6
   17310 else
   17311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17312 /* end confdefs.h.  */
   17313 int i;
   17314 int
   17315 main ()
   17316 {
   17317 
   17318   ;
   17319   return 0;
   17320 }
   17321 _ACEOF
   17322 if ac_fn_c_try_link "$LINENO"; then :
   17323   eval $cacheid=yes
   17324 else
   17325   eval $cacheid=no
   17326 fi
   17327 rm -f core conftest.err conftest.$ac_objext \
   17328     conftest$ac_exeext conftest.$ac_ext
   17329 fi
   17330 
   17331 
   17332 		CFLAGS="$xorg_testset_save_CFLAGS"
   17333 
   17334 		eval supported=\$$cacheid
   17335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17336 $as_echo "$supported" >&6; }
   17337 		if test "$supported" = "yes" ; then
   17338 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17339 			found="yes"
   17340 		fi
   17341 	fi
   17342 
   17343 
   17344 
   17345 
   17346 
   17347 
   17348 
   17349 
   17350 
   17351 
   17352 
   17353 
   17354 
   17355 
   17356 
   17357 xorg_testset_save_CFLAGS="$CFLAGS"
   17358 
   17359 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17360 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17362 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17363 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17364   $as_echo_n "(cached) " >&6
   17365 else
   17366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17367 /* end confdefs.h.  */
   17368 int i;
   17369 _ACEOF
   17370 if ac_fn_c_try_compile "$LINENO"; then :
   17371   xorg_cv_cc_flag_unknown_warning_option=yes
   17372 else
   17373   xorg_cv_cc_flag_unknown_warning_option=no
   17374 fi
   17375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17376 fi
   17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17378 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17379 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17380 	CFLAGS="$xorg_testset_save_CFLAGS"
   17381 fi
   17382 
   17383 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17384 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17385 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17386 	fi
   17387 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17388 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17389 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17390 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17391   $as_echo_n "(cached) " >&6
   17392 else
   17393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17394 /* end confdefs.h.  */
   17395 int i;
   17396 _ACEOF
   17397 if ac_fn_c_try_compile "$LINENO"; then :
   17398   xorg_cv_cc_flag_unused_command_line_argument=yes
   17399 else
   17400   xorg_cv_cc_flag_unused_command_line_argument=no
   17401 fi
   17402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17403 fi
   17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17405 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17406 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17407 	CFLAGS="$xorg_testset_save_CFLAGS"
   17408 fi
   17409 
   17410 found="no"
   17411 
   17412 	if test $found = "no" ; then
   17413 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17415 		fi
   17416 
   17417 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17419 		fi
   17420 
   17421 		CFLAGS="$CFLAGS -Wtrigraphs"
   17422 
   17423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17424 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17425 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17426 		if eval \${$cacheid+:} false; then :
   17427   $as_echo_n "(cached) " >&6
   17428 else
   17429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17430 /* end confdefs.h.  */
   17431 int i;
   17432 int
   17433 main ()
   17434 {
   17435 
   17436   ;
   17437   return 0;
   17438 }
   17439 _ACEOF
   17440 if ac_fn_c_try_link "$LINENO"; then :
   17441   eval $cacheid=yes
   17442 else
   17443   eval $cacheid=no
   17444 fi
   17445 rm -f core conftest.err conftest.$ac_objext \
   17446     conftest$ac_exeext conftest.$ac_ext
   17447 fi
   17448 
   17449 
   17450 		CFLAGS="$xorg_testset_save_CFLAGS"
   17451 
   17452 		eval supported=\$$cacheid
   17453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17454 $as_echo "$supported" >&6; }
   17455 		if test "$supported" = "yes" ; then
   17456 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17457 			found="yes"
   17458 		fi
   17459 	fi
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 
   17466 
   17467 
   17468 
   17469 
   17470 
   17471 
   17472 
   17473 
   17474 
   17475 xorg_testset_save_CFLAGS="$CFLAGS"
   17476 
   17477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17480 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17481 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17482   $as_echo_n "(cached) " >&6
   17483 else
   17484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17485 /* end confdefs.h.  */
   17486 int i;
   17487 _ACEOF
   17488 if ac_fn_c_try_compile "$LINENO"; then :
   17489   xorg_cv_cc_flag_unknown_warning_option=yes
   17490 else
   17491   xorg_cv_cc_flag_unknown_warning_option=no
   17492 fi
   17493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17494 fi
   17495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17496 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17498 	CFLAGS="$xorg_testset_save_CFLAGS"
   17499 fi
   17500 
   17501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17504 	fi
   17505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17507 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17508 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17509   $as_echo_n "(cached) " >&6
   17510 else
   17511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17512 /* end confdefs.h.  */
   17513 int i;
   17514 _ACEOF
   17515 if ac_fn_c_try_compile "$LINENO"; then :
   17516   xorg_cv_cc_flag_unused_command_line_argument=yes
   17517 else
   17518   xorg_cv_cc_flag_unused_command_line_argument=no
   17519 fi
   17520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17521 fi
   17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17523 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17524 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17525 	CFLAGS="$xorg_testset_save_CFLAGS"
   17526 fi
   17527 
   17528 found="no"
   17529 
   17530 	if test $found = "no" ; then
   17531 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17532 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17533 		fi
   17534 
   17535 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17536 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17537 		fi
   17538 
   17539 		CFLAGS="$CFLAGS -Warray-bounds"
   17540 
   17541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17542 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17543 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17544 		if eval \${$cacheid+:} false; then :
   17545   $as_echo_n "(cached) " >&6
   17546 else
   17547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17548 /* end confdefs.h.  */
   17549 int i;
   17550 int
   17551 main ()
   17552 {
   17553 
   17554   ;
   17555   return 0;
   17556 }
   17557 _ACEOF
   17558 if ac_fn_c_try_link "$LINENO"; then :
   17559   eval $cacheid=yes
   17560 else
   17561   eval $cacheid=no
   17562 fi
   17563 rm -f core conftest.err conftest.$ac_objext \
   17564     conftest$ac_exeext conftest.$ac_ext
   17565 fi
   17566 
   17567 
   17568 		CFLAGS="$xorg_testset_save_CFLAGS"
   17569 
   17570 		eval supported=\$$cacheid
   17571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17572 $as_echo "$supported" >&6; }
   17573 		if test "$supported" = "yes" ; then
   17574 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17575 			found="yes"
   17576 		fi
   17577 	fi
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 
   17593 xorg_testset_save_CFLAGS="$CFLAGS"
   17594 
   17595 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17596 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17597 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17598 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17599 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17600   $as_echo_n "(cached) " >&6
   17601 else
   17602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17603 /* end confdefs.h.  */
   17604 int i;
   17605 _ACEOF
   17606 if ac_fn_c_try_compile "$LINENO"; then :
   17607   xorg_cv_cc_flag_unknown_warning_option=yes
   17608 else
   17609   xorg_cv_cc_flag_unknown_warning_option=no
   17610 fi
   17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17612 fi
   17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17614 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17616 	CFLAGS="$xorg_testset_save_CFLAGS"
   17617 fi
   17618 
   17619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17622 	fi
   17623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17624 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17625 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17626 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17627   $as_echo_n "(cached) " >&6
   17628 else
   17629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17630 /* end confdefs.h.  */
   17631 int i;
   17632 _ACEOF
   17633 if ac_fn_c_try_compile "$LINENO"; then :
   17634   xorg_cv_cc_flag_unused_command_line_argument=yes
   17635 else
   17636   xorg_cv_cc_flag_unused_command_line_argument=no
   17637 fi
   17638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17639 fi
   17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17641 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17642 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17643 	CFLAGS="$xorg_testset_save_CFLAGS"
   17644 fi
   17645 
   17646 found="no"
   17647 
   17648 	if test $found = "no" ; then
   17649 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17650 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17651 		fi
   17652 
   17653 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17654 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17655 		fi
   17656 
   17657 		CFLAGS="$CFLAGS -Wwrite-strings"
   17658 
   17659 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17660 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17661 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17662 		if eval \${$cacheid+:} false; then :
   17663   $as_echo_n "(cached) " >&6
   17664 else
   17665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17666 /* end confdefs.h.  */
   17667 int i;
   17668 int
   17669 main ()
   17670 {
   17671 
   17672   ;
   17673   return 0;
   17674 }
   17675 _ACEOF
   17676 if ac_fn_c_try_link "$LINENO"; then :
   17677   eval $cacheid=yes
   17678 else
   17679   eval $cacheid=no
   17680 fi
   17681 rm -f core conftest.err conftest.$ac_objext \
   17682     conftest$ac_exeext conftest.$ac_ext
   17683 fi
   17684 
   17685 
   17686 		CFLAGS="$xorg_testset_save_CFLAGS"
   17687 
   17688 		eval supported=\$$cacheid
   17689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17690 $as_echo "$supported" >&6; }
   17691 		if test "$supported" = "yes" ; then
   17692 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17693 			found="yes"
   17694 		fi
   17695 	fi
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 xorg_testset_save_CFLAGS="$CFLAGS"
   17712 
   17713 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17714 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17716 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17717 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17718   $as_echo_n "(cached) " >&6
   17719 else
   17720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17721 /* end confdefs.h.  */
   17722 int i;
   17723 _ACEOF
   17724 if ac_fn_c_try_compile "$LINENO"; then :
   17725   xorg_cv_cc_flag_unknown_warning_option=yes
   17726 else
   17727   xorg_cv_cc_flag_unknown_warning_option=no
   17728 fi
   17729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17730 fi
   17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17732 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17733 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17734 	CFLAGS="$xorg_testset_save_CFLAGS"
   17735 fi
   17736 
   17737 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17738 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17739 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17740 	fi
   17741 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17743 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17744 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17745   $as_echo_n "(cached) " >&6
   17746 else
   17747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17748 /* end confdefs.h.  */
   17749 int i;
   17750 _ACEOF
   17751 if ac_fn_c_try_compile "$LINENO"; then :
   17752   xorg_cv_cc_flag_unused_command_line_argument=yes
   17753 else
   17754   xorg_cv_cc_flag_unused_command_line_argument=no
   17755 fi
   17756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17757 fi
   17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17759 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17760 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17761 	CFLAGS="$xorg_testset_save_CFLAGS"
   17762 fi
   17763 
   17764 found="no"
   17765 
   17766 	if test $found = "no" ; then
   17767 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17768 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17769 		fi
   17770 
   17771 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17772 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17773 		fi
   17774 
   17775 		CFLAGS="$CFLAGS -Waddress"
   17776 
   17777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17778 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17779 		cacheid=xorg_cv_cc_flag__Waddress
   17780 		if eval \${$cacheid+:} false; then :
   17781   $as_echo_n "(cached) " >&6
   17782 else
   17783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17784 /* end confdefs.h.  */
   17785 int i;
   17786 int
   17787 main ()
   17788 {
   17789 
   17790   ;
   17791   return 0;
   17792 }
   17793 _ACEOF
   17794 if ac_fn_c_try_link "$LINENO"; then :
   17795   eval $cacheid=yes
   17796 else
   17797   eval $cacheid=no
   17798 fi
   17799 rm -f core conftest.err conftest.$ac_objext \
   17800     conftest$ac_exeext conftest.$ac_ext
   17801 fi
   17802 
   17803 
   17804 		CFLAGS="$xorg_testset_save_CFLAGS"
   17805 
   17806 		eval supported=\$$cacheid
   17807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17808 $as_echo "$supported" >&6; }
   17809 		if test "$supported" = "yes" ; then
   17810 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17811 			found="yes"
   17812 		fi
   17813 	fi
   17814 
   17815 
   17816 
   17817 
   17818 
   17819 
   17820 
   17821 
   17822 
   17823 
   17824 
   17825 
   17826 
   17827 
   17828 
   17829 xorg_testset_save_CFLAGS="$CFLAGS"
   17830 
   17831 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17832 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17834 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17835 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17836   $as_echo_n "(cached) " >&6
   17837 else
   17838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17839 /* end confdefs.h.  */
   17840 int i;
   17841 _ACEOF
   17842 if ac_fn_c_try_compile "$LINENO"; then :
   17843   xorg_cv_cc_flag_unknown_warning_option=yes
   17844 else
   17845   xorg_cv_cc_flag_unknown_warning_option=no
   17846 fi
   17847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17848 fi
   17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17850 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17851 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17852 	CFLAGS="$xorg_testset_save_CFLAGS"
   17853 fi
   17854 
   17855 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17856 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17857 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17858 	fi
   17859 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17861 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17862 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17863   $as_echo_n "(cached) " >&6
   17864 else
   17865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17866 /* end confdefs.h.  */
   17867 int i;
   17868 _ACEOF
   17869 if ac_fn_c_try_compile "$LINENO"; then :
   17870   xorg_cv_cc_flag_unused_command_line_argument=yes
   17871 else
   17872   xorg_cv_cc_flag_unused_command_line_argument=no
   17873 fi
   17874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17875 fi
   17876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17877 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17878 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17879 	CFLAGS="$xorg_testset_save_CFLAGS"
   17880 fi
   17881 
   17882 found="no"
   17883 
   17884 	if test $found = "no" ; then
   17885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17887 		fi
   17888 
   17889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17891 		fi
   17892 
   17893 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17894 
   17895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17896 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17897 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17898 		if eval \${$cacheid+:} false; then :
   17899   $as_echo_n "(cached) " >&6
   17900 else
   17901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17902 /* end confdefs.h.  */
   17903 int i;
   17904 int
   17905 main ()
   17906 {
   17907 
   17908   ;
   17909   return 0;
   17910 }
   17911 _ACEOF
   17912 if ac_fn_c_try_link "$LINENO"; then :
   17913   eval $cacheid=yes
   17914 else
   17915   eval $cacheid=no
   17916 fi
   17917 rm -f core conftest.err conftest.$ac_objext \
   17918     conftest$ac_exeext conftest.$ac_ext
   17919 fi
   17920 
   17921 
   17922 		CFLAGS="$xorg_testset_save_CFLAGS"
   17923 
   17924 		eval supported=\$$cacheid
   17925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17926 $as_echo "$supported" >&6; }
   17927 		if test "$supported" = "yes" ; then
   17928 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17929 			found="yes"
   17930 		fi
   17931 	fi
   17932 
   17933 
   17934 
   17935 
   17936 
   17937 
   17938 
   17939 
   17940 
   17941 
   17942 
   17943 
   17944 
   17945 
   17946 
   17947 xorg_testset_save_CFLAGS="$CFLAGS"
   17948 
   17949 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17950 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17952 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17953 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17954   $as_echo_n "(cached) " >&6
   17955 else
   17956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17957 /* end confdefs.h.  */
   17958 int i;
   17959 _ACEOF
   17960 if ac_fn_c_try_compile "$LINENO"; then :
   17961   xorg_cv_cc_flag_unknown_warning_option=yes
   17962 else
   17963   xorg_cv_cc_flag_unknown_warning_option=no
   17964 fi
   17965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17966 fi
   17967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17968 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17970 	CFLAGS="$xorg_testset_save_CFLAGS"
   17971 fi
   17972 
   17973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17976 	fi
   17977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17979 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17980 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17981   $as_echo_n "(cached) " >&6
   17982 else
   17983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17984 /* end confdefs.h.  */
   17985 int i;
   17986 _ACEOF
   17987 if ac_fn_c_try_compile "$LINENO"; then :
   17988   xorg_cv_cc_flag_unused_command_line_argument=yes
   17989 else
   17990   xorg_cv_cc_flag_unused_command_line_argument=no
   17991 fi
   17992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17993 fi
   17994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17995 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17997 	CFLAGS="$xorg_testset_save_CFLAGS"
   17998 fi
   17999 
   18000 found="no"
   18001 
   18002 	if test $found = "no" ; then
   18003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18005 		fi
   18006 
   18007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18009 		fi
   18010 
   18011 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18012 
   18013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18014 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18015 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18016 		if eval \${$cacheid+:} 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 int
   18023 main ()
   18024 {
   18025 
   18026   ;
   18027   return 0;
   18028 }
   18029 _ACEOF
   18030 if ac_fn_c_try_link "$LINENO"; then :
   18031   eval $cacheid=yes
   18032 else
   18033   eval $cacheid=no
   18034 fi
   18035 rm -f core conftest.err conftest.$ac_objext \
   18036     conftest$ac_exeext conftest.$ac_ext
   18037 fi
   18038 
   18039 
   18040 		CFLAGS="$xorg_testset_save_CFLAGS"
   18041 
   18042 		eval supported=\$$cacheid
   18043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18044 $as_echo "$supported" >&6; }
   18045 		if test "$supported" = "yes" ; then
   18046 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18047 			found="yes"
   18048 		fi
   18049 	fi
   18050 
   18051 
   18052 fi
   18053 
   18054 
   18055 
   18056 
   18057 
   18058 
   18059 
   18060 		CWARNFLAGS="$BASE_CFLAGS"
   18061 		if  test "x$GCC" = xyes ; then
   18062 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18063 		fi
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 
   18070 
   18071 
   18072 # Check whether --enable-strict-compilation was given.
   18073 if test "${enable_strict_compilation+set}" = set; then :
   18074   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18075 else
   18076   STRICT_COMPILE=no
   18077 fi
   18078 
   18079 
   18080 
   18081 
   18082 
   18083 
   18084 STRICT_CFLAGS=""
   18085 
   18086 
   18087 
   18088 
   18089 
   18090 
   18091 
   18092 
   18093 
   18094 
   18095 
   18096 
   18097 
   18098 xorg_testset_save_CFLAGS="$CFLAGS"
   18099 
   18100 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18101 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18103 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18104 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18105   $as_echo_n "(cached) " >&6
   18106 else
   18107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18108 /* end confdefs.h.  */
   18109 int i;
   18110 _ACEOF
   18111 if ac_fn_c_try_compile "$LINENO"; then :
   18112   xorg_cv_cc_flag_unknown_warning_option=yes
   18113 else
   18114   xorg_cv_cc_flag_unknown_warning_option=no
   18115 fi
   18116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18117 fi
   18118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18119 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18120 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18121 	CFLAGS="$xorg_testset_save_CFLAGS"
   18122 fi
   18123 
   18124 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18125 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18126 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18127 	fi
   18128 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18130 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18131 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18132   $as_echo_n "(cached) " >&6
   18133 else
   18134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18135 /* end confdefs.h.  */
   18136 int i;
   18137 _ACEOF
   18138 if ac_fn_c_try_compile "$LINENO"; then :
   18139   xorg_cv_cc_flag_unused_command_line_argument=yes
   18140 else
   18141   xorg_cv_cc_flag_unused_command_line_argument=no
   18142 fi
   18143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18144 fi
   18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18146 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18148 	CFLAGS="$xorg_testset_save_CFLAGS"
   18149 fi
   18150 
   18151 found="no"
   18152 
   18153 	if test $found = "no" ; then
   18154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18156 		fi
   18157 
   18158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18160 		fi
   18161 
   18162 		CFLAGS="$CFLAGS -pedantic"
   18163 
   18164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18165 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   18166 		cacheid=xorg_cv_cc_flag__pedantic
   18167 		if eval \${$cacheid+:} false; then :
   18168   $as_echo_n "(cached) " >&6
   18169 else
   18170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18171 /* end confdefs.h.  */
   18172 int i;
   18173 int
   18174 main ()
   18175 {
   18176 
   18177   ;
   18178   return 0;
   18179 }
   18180 _ACEOF
   18181 if ac_fn_c_try_link "$LINENO"; then :
   18182   eval $cacheid=yes
   18183 else
   18184   eval $cacheid=no
   18185 fi
   18186 rm -f core conftest.err conftest.$ac_objext \
   18187     conftest$ac_exeext conftest.$ac_ext
   18188 fi
   18189 
   18190 
   18191 		CFLAGS="$xorg_testset_save_CFLAGS"
   18192 
   18193 		eval supported=\$$cacheid
   18194 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18195 $as_echo "$supported" >&6; }
   18196 		if test "$supported" = "yes" ; then
   18197 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18198 			found="yes"
   18199 		fi
   18200 	fi
   18201 
   18202 
   18203 
   18204 
   18205 
   18206 
   18207 
   18208 
   18209 
   18210 
   18211 
   18212 
   18213 
   18214 
   18215 
   18216 xorg_testset_save_CFLAGS="$CFLAGS"
   18217 
   18218 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18221 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18222 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18223   $as_echo_n "(cached) " >&6
   18224 else
   18225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18226 /* end confdefs.h.  */
   18227 int i;
   18228 _ACEOF
   18229 if ac_fn_c_try_compile "$LINENO"; then :
   18230   xorg_cv_cc_flag_unknown_warning_option=yes
   18231 else
   18232   xorg_cv_cc_flag_unknown_warning_option=no
   18233 fi
   18234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18235 fi
   18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18237 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18238 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18239 	CFLAGS="$xorg_testset_save_CFLAGS"
   18240 fi
   18241 
   18242 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18243 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18245 	fi
   18246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18247 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18248 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18249 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18250   $as_echo_n "(cached) " >&6
   18251 else
   18252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18253 /* end confdefs.h.  */
   18254 int i;
   18255 _ACEOF
   18256 if ac_fn_c_try_compile "$LINENO"; then :
   18257   xorg_cv_cc_flag_unused_command_line_argument=yes
   18258 else
   18259   xorg_cv_cc_flag_unused_command_line_argument=no
   18260 fi
   18261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18262 fi
   18263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18264 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18265 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18266 	CFLAGS="$xorg_testset_save_CFLAGS"
   18267 fi
   18268 
   18269 found="no"
   18270 
   18271 	if test $found = "no" ; then
   18272 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18273 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18274 		fi
   18275 
   18276 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18277 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18278 		fi
   18279 
   18280 		CFLAGS="$CFLAGS -Werror"
   18281 
   18282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18283 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   18284 		cacheid=xorg_cv_cc_flag__Werror
   18285 		if eval \${$cacheid+:} false; then :
   18286   $as_echo_n "(cached) " >&6
   18287 else
   18288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18289 /* end confdefs.h.  */
   18290 int i;
   18291 int
   18292 main ()
   18293 {
   18294 
   18295   ;
   18296   return 0;
   18297 }
   18298 _ACEOF
   18299 if ac_fn_c_try_link "$LINENO"; then :
   18300   eval $cacheid=yes
   18301 else
   18302   eval $cacheid=no
   18303 fi
   18304 rm -f core conftest.err conftest.$ac_objext \
   18305     conftest$ac_exeext conftest.$ac_ext
   18306 fi
   18307 
   18308 
   18309 		CFLAGS="$xorg_testset_save_CFLAGS"
   18310 
   18311 		eval supported=\$$cacheid
   18312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18313 $as_echo "$supported" >&6; }
   18314 		if test "$supported" = "yes" ; then
   18315 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18316 			found="yes"
   18317 		fi
   18318 	fi
   18319 
   18320 	if test $found = "no" ; then
   18321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18323 		fi
   18324 
   18325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18327 		fi
   18328 
   18329 		CFLAGS="$CFLAGS -errwarn"
   18330 
   18331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18332 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   18333 		cacheid=xorg_cv_cc_flag__errwarn
   18334 		if eval \${$cacheid+:} false; then :
   18335   $as_echo_n "(cached) " >&6
   18336 else
   18337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18338 /* end confdefs.h.  */
   18339 int i;
   18340 int
   18341 main ()
   18342 {
   18343 
   18344   ;
   18345   return 0;
   18346 }
   18347 _ACEOF
   18348 if ac_fn_c_try_link "$LINENO"; then :
   18349   eval $cacheid=yes
   18350 else
   18351   eval $cacheid=no
   18352 fi
   18353 rm -f core conftest.err conftest.$ac_objext \
   18354     conftest$ac_exeext conftest.$ac_ext
   18355 fi
   18356 
   18357 
   18358 		CFLAGS="$xorg_testset_save_CFLAGS"
   18359 
   18360 		eval supported=\$$cacheid
   18361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18362 $as_echo "$supported" >&6; }
   18363 		if test "$supported" = "yes" ; then
   18364 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18365 			found="yes"
   18366 		fi
   18367 	fi
   18368 
   18369 
   18370 
   18371 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18372 # activate it with -Werror, so we add it here explicitly.
   18373 
   18374 
   18375 
   18376 
   18377 
   18378 
   18379 
   18380 
   18381 
   18382 
   18383 
   18384 
   18385 
   18386 xorg_testset_save_CFLAGS="$CFLAGS"
   18387 
   18388 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18389 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18391 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18392 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18393   $as_echo_n "(cached) " >&6
   18394 else
   18395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18396 /* end confdefs.h.  */
   18397 int i;
   18398 _ACEOF
   18399 if ac_fn_c_try_compile "$LINENO"; then :
   18400   xorg_cv_cc_flag_unknown_warning_option=yes
   18401 else
   18402   xorg_cv_cc_flag_unknown_warning_option=no
   18403 fi
   18404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18405 fi
   18406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18407 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18408 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18409 	CFLAGS="$xorg_testset_save_CFLAGS"
   18410 fi
   18411 
   18412 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18413 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18414 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18415 	fi
   18416 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18418 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18419 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18420   $as_echo_n "(cached) " >&6
   18421 else
   18422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18423 /* end confdefs.h.  */
   18424 int i;
   18425 _ACEOF
   18426 if ac_fn_c_try_compile "$LINENO"; then :
   18427   xorg_cv_cc_flag_unused_command_line_argument=yes
   18428 else
   18429   xorg_cv_cc_flag_unused_command_line_argument=no
   18430 fi
   18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18432 fi
   18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18434 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18435 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18436 	CFLAGS="$xorg_testset_save_CFLAGS"
   18437 fi
   18438 
   18439 found="no"
   18440 
   18441 	if test $found = "no" ; then
   18442 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18444 		fi
   18445 
   18446 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18448 		fi
   18449 
   18450 		CFLAGS="$CFLAGS -Werror=attributes"
   18451 
   18452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18453 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18454 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18455 		if eval \${$cacheid+:} false; then :
   18456   $as_echo_n "(cached) " >&6
   18457 else
   18458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18459 /* end confdefs.h.  */
   18460 int i;
   18461 int
   18462 main ()
   18463 {
   18464 
   18465   ;
   18466   return 0;
   18467 }
   18468 _ACEOF
   18469 if ac_fn_c_try_link "$LINENO"; then :
   18470   eval $cacheid=yes
   18471 else
   18472   eval $cacheid=no
   18473 fi
   18474 rm -f core conftest.err conftest.$ac_objext \
   18475     conftest$ac_exeext conftest.$ac_ext
   18476 fi
   18477 
   18478 
   18479 		CFLAGS="$xorg_testset_save_CFLAGS"
   18480 
   18481 		eval supported=\$$cacheid
   18482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18483 $as_echo "$supported" >&6; }
   18484 		if test "$supported" = "yes" ; then
   18485 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18486 			found="yes"
   18487 		fi
   18488 	fi
   18489 
   18490 
   18491 
   18492 if test "x$STRICT_COMPILE" = "xyes"; then
   18493     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18494     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18495 fi
   18496 
   18497 
   18498 
   18499 
   18500 
   18501 
   18502 cat >>confdefs.h <<_ACEOF
   18503 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18504 _ACEOF
   18505 
   18506 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18507 	if test "x$PVM" = "x"; then
   18508 		PVM="0"
   18509 	fi
   18510 
   18511 cat >>confdefs.h <<_ACEOF
   18512 #define PACKAGE_VERSION_MINOR $PVM
   18513 _ACEOF
   18514 
   18515 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18516 	if test "x$PVP" = "x"; then
   18517 		PVP="0"
   18518 	fi
   18519 
   18520 cat >>confdefs.h <<_ACEOF
   18521 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18522 _ACEOF
   18523 
   18524 
   18525 
   18526 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   18527 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18528 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   18529 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   18530 
   18531 
   18532 
   18533 
   18534 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18535 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18536 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18537 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   18538 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   18539 
   18540 
   18541 
   18542 
   18543 
   18544 
   18545 if test x$APP_MAN_SUFFIX = x    ; then
   18546     APP_MAN_SUFFIX=1
   18547 fi
   18548 if test x$APP_MAN_DIR = x    ; then
   18549     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18550 fi
   18551 
   18552 if test x$LIB_MAN_SUFFIX = x    ; then
   18553     LIB_MAN_SUFFIX=3
   18554 fi
   18555 if test x$LIB_MAN_DIR = x    ; then
   18556     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18557 fi
   18558 
   18559 if test x$FILE_MAN_SUFFIX = x    ; then
   18560     case $host_os in
   18561 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   18562 	*)		FILE_MAN_SUFFIX=5  ;;
   18563     esac
   18564 fi
   18565 if test x$FILE_MAN_DIR = x    ; then
   18566     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18567 fi
   18568 
   18569 if test x$MISC_MAN_SUFFIX = x    ; then
   18570     case $host_os in
   18571 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   18572 	*)		MISC_MAN_SUFFIX=7  ;;
   18573     esac
   18574 fi
   18575 if test x$MISC_MAN_DIR = x    ; then
   18576     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18577 fi
   18578 
   18579 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18580     case $host_os in
   18581 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   18582 	*)		DRIVER_MAN_SUFFIX=4  ;;
   18583     esac
   18584 fi
   18585 if test x$DRIVER_MAN_DIR = x    ; then
   18586     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18587 fi
   18588 
   18589 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18590     case $host_os in
   18591 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   18592 	*)		ADMIN_MAN_SUFFIX=8  ;;
   18593     esac
   18594 fi
   18595 if test x$ADMIN_MAN_DIR = x    ; then
   18596     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18597 fi
   18598 
   18599 
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 
   18606 
   18607 
   18608 
   18609 
   18610 
   18611 
   18612 
   18613 XORG_MAN_PAGE="X Version 11"
   18614 
   18615 MAN_SUBSTS="\
   18616 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18617 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18618 	-e 's|__xservername__|Xorg|g' \
   18619 	-e 's|__xconfigfile__|xorg.conf|g' \
   18620 	-e 's|__projectroot__|\$(prefix)|g' \
   18621 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18622 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18623 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18624 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18625 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18626 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18627 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18628 
   18629 
   18630 
   18631 # Check whether --enable-silent-rules was given.
   18632 if test "${enable_silent_rules+set}" = set; then :
   18633   enableval=$enable_silent_rules;
   18634 fi
   18635 
   18636 case $enable_silent_rules in # (((
   18637   yes) AM_DEFAULT_VERBOSITY=0;;
   18638    no) AM_DEFAULT_VERBOSITY=1;;
   18639     *) AM_DEFAULT_VERBOSITY=0;;
   18640 esac
   18641 am_make=${MAKE-make}
   18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18643 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18644 if ${am_cv_make_support_nested_variables+:} false; then :
   18645   $as_echo_n "(cached) " >&6
   18646 else
   18647   if $as_echo 'TRUE=$(BAR$(V))
   18648 BAR0=false
   18649 BAR1=true
   18650 V=1
   18651 am__doit:
   18652 	@$(TRUE)
   18653 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18654   am_cv_make_support_nested_variables=yes
   18655 else
   18656   am_cv_make_support_nested_variables=no
   18657 fi
   18658 fi
   18659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18660 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18661 if test $am_cv_make_support_nested_variables = yes; then
   18662     AM_V='$(V)'
   18663   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18664 else
   18665   AM_V=$AM_DEFAULT_VERBOSITY
   18666   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18667 fi
   18668 AM_BACKSLASH='\'
   18669 
   18670 
   18671 
   18672 
   18673 # Check whether --enable-devel-docs was given.
   18674 if test "${enable_devel_docs+set}" = set; then :
   18675   enableval=$enable_devel_docs; build_devel_docs=$enableval
   18676 else
   18677   build_devel_docs=yes
   18678 fi
   18679 
   18680 
   18681  if test x$build_devel_docs = xyes; then
   18682   ENABLE_DEVEL_DOCS_TRUE=
   18683   ENABLE_DEVEL_DOCS_FALSE='#'
   18684 else
   18685   ENABLE_DEVEL_DOCS_TRUE='#'
   18686   ENABLE_DEVEL_DOCS_FALSE=
   18687 fi
   18688 
   18689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   18690 $as_echo_n "checking whether to build developer documentation... " >&6; }
   18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   18692 $as_echo "$build_devel_docs" >&6; }
   18693 
   18694 
   18695 
   18696 
   18697 
   18698 # Check whether --with-xmlto was given.
   18699 if test "${with_xmlto+set}" = set; then :
   18700   withval=$with_xmlto; use_xmlto=$withval
   18701 else
   18702   use_xmlto=auto
   18703 fi
   18704 
   18705 
   18706 
   18707 if test "x$use_xmlto" = x"auto"; then
   18708    # Extract the first word of "xmlto", so it can be a program name with args.
   18709 set dummy xmlto; ac_word=$2
   18710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18711 $as_echo_n "checking for $ac_word... " >&6; }
   18712 if ${ac_cv_path_XMLTO+:} false; then :
   18713   $as_echo_n "(cached) " >&6
   18714 else
   18715   case $XMLTO in
   18716   [\\/]* | ?:[\\/]*)
   18717   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18718   ;;
   18719   *)
   18720   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18721 for as_dir in $PATH
   18722 do
   18723   IFS=$as_save_IFS
   18724   test -z "$as_dir" && as_dir=.
   18725     for ac_exec_ext in '' $ac_executable_extensions; do
   18726   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18727     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18729     break 2
   18730   fi
   18731 done
   18732   done
   18733 IFS=$as_save_IFS
   18734 
   18735   ;;
   18736 esac
   18737 fi
   18738 XMLTO=$ac_cv_path_XMLTO
   18739 if test -n "$XMLTO"; then
   18740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18741 $as_echo "$XMLTO" >&6; }
   18742 else
   18743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18744 $as_echo "no" >&6; }
   18745 fi
   18746 
   18747 
   18748    if test "x$XMLTO" = "x"; then
   18749         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   18750 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   18751 	have_xmlto=no
   18752    else
   18753         have_xmlto=yes
   18754    fi
   18755 elif test "x$use_xmlto" = x"yes" ; then
   18756    # Extract the first word of "xmlto", so it can be a program name with args.
   18757 set dummy xmlto; ac_word=$2
   18758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18759 $as_echo_n "checking for $ac_word... " >&6; }
   18760 if ${ac_cv_path_XMLTO+:} false; then :
   18761   $as_echo_n "(cached) " >&6
   18762 else
   18763   case $XMLTO in
   18764   [\\/]* | ?:[\\/]*)
   18765   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18766   ;;
   18767   *)
   18768   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18769 for as_dir in $PATH
   18770 do
   18771   IFS=$as_save_IFS
   18772   test -z "$as_dir" && as_dir=.
   18773     for ac_exec_ext in '' $ac_executable_extensions; do
   18774   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18775     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18777     break 2
   18778   fi
   18779 done
   18780   done
   18781 IFS=$as_save_IFS
   18782 
   18783   ;;
   18784 esac
   18785 fi
   18786 XMLTO=$ac_cv_path_XMLTO
   18787 if test -n "$XMLTO"; then
   18788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18789 $as_echo "$XMLTO" >&6; }
   18790 else
   18791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18792 $as_echo "no" >&6; }
   18793 fi
   18794 
   18795 
   18796    if test "x$XMLTO" = "x"; then
   18797         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   18798    fi
   18799    have_xmlto=yes
   18800 elif test "x$use_xmlto" = x"no" ; then
   18801    if test "x$XMLTO" != "x"; then
   18802       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   18803 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   18804    fi
   18805    have_xmlto=no
   18806 else
   18807    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   18808 fi
   18809 
   18810 # Test for a minimum version of xmlto, if provided.
   18811 if test "$have_xmlto" = yes; then
   18812     # scrape the xmlto version
   18813     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   18814 $as_echo_n "checking the xmlto version... " >&6; }
   18815     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   18816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   18817 $as_echo "$xmlto_version" >&6; }
   18818     as_arg_v1=$xmlto_version
   18819 as_arg_v2=0.0.22
   18820 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   18821 case $? in #(
   18822   1) :
   18823     if test "x$use_xmlto" = xauto; then
   18824             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   18825 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   18826             have_xmlto=no
   18827         else
   18828             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   18829         fi ;; #(
   18830   0) :
   18831      ;; #(
   18832   2) :
   18833      ;; #(
   18834   *) :
   18835      ;;
   18836 esac
   18837 fi
   18838 
   18839 # Test for the ability of xmlto to generate a text target
   18840 have_xmlto_text=no
   18841 cat > conftest.xml << "EOF"
   18842 EOF
   18843 if test "$have_xmlto" = yes; then :
   18844   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18845   have_xmlto_text=yes
   18846 else
   18847   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   18848 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   18849 fi
   18850 fi
   18851 rm -f conftest.xml
   18852  if test $have_xmlto_text = yes; then
   18853   HAVE_XMLTO_TEXT_TRUE=
   18854   HAVE_XMLTO_TEXT_FALSE='#'
   18855 else
   18856   HAVE_XMLTO_TEXT_TRUE='#'
   18857   HAVE_XMLTO_TEXT_FALSE=
   18858 fi
   18859 
   18860  if test "$have_xmlto" = yes; then
   18861   HAVE_XMLTO_TRUE=
   18862   HAVE_XMLTO_FALSE='#'
   18863 else
   18864   HAVE_XMLTO_TRUE='#'
   18865   HAVE_XMLTO_FALSE=
   18866 fi
   18867 
   18868 
   18869 
   18870 
   18871 
   18872 
   18873 # Check whether --with-fop was given.
   18874 if test "${with_fop+set}" = set; then :
   18875   withval=$with_fop; use_fop=$withval
   18876 else
   18877   use_fop=auto
   18878 fi
   18879 
   18880 
   18881 
   18882 if test "x$use_fop" = x"auto"; then
   18883    # Extract the first word of "fop", so it can be a program name with args.
   18884 set dummy fop; ac_word=$2
   18885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18886 $as_echo_n "checking for $ac_word... " >&6; }
   18887 if ${ac_cv_path_FOP+:} false; then :
   18888   $as_echo_n "(cached) " >&6
   18889 else
   18890   case $FOP in
   18891   [\\/]* | ?:[\\/]*)
   18892   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18893   ;;
   18894   *)
   18895   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18896 for as_dir in $PATH
   18897 do
   18898   IFS=$as_save_IFS
   18899   test -z "$as_dir" && as_dir=.
   18900     for ac_exec_ext in '' $ac_executable_extensions; do
   18901   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18902     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18904     break 2
   18905   fi
   18906 done
   18907   done
   18908 IFS=$as_save_IFS
   18909 
   18910   ;;
   18911 esac
   18912 fi
   18913 FOP=$ac_cv_path_FOP
   18914 if test -n "$FOP"; then
   18915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18916 $as_echo "$FOP" >&6; }
   18917 else
   18918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18919 $as_echo "no" >&6; }
   18920 fi
   18921 
   18922 
   18923    if test "x$FOP" = "x"; then
   18924         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   18925 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   18926 	have_fop=no
   18927    else
   18928         have_fop=yes
   18929    fi
   18930 elif test "x$use_fop" = x"yes" ; then
   18931    # Extract the first word of "fop", so it can be a program name with args.
   18932 set dummy fop; ac_word=$2
   18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18934 $as_echo_n "checking for $ac_word... " >&6; }
   18935 if ${ac_cv_path_FOP+:} false; then :
   18936   $as_echo_n "(cached) " >&6
   18937 else
   18938   case $FOP in
   18939   [\\/]* | ?:[\\/]*)
   18940   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18941   ;;
   18942   *)
   18943   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18944 for as_dir in $PATH
   18945 do
   18946   IFS=$as_save_IFS
   18947   test -z "$as_dir" && as_dir=.
   18948     for ac_exec_ext in '' $ac_executable_extensions; do
   18949   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18950     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18951     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18952     break 2
   18953   fi
   18954 done
   18955   done
   18956 IFS=$as_save_IFS
   18957 
   18958   ;;
   18959 esac
   18960 fi
   18961 FOP=$ac_cv_path_FOP
   18962 if test -n "$FOP"; then
   18963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18964 $as_echo "$FOP" >&6; }
   18965 else
   18966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18967 $as_echo "no" >&6; }
   18968 fi
   18969 
   18970 
   18971    if test "x$FOP" = "x"; then
   18972         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   18973    fi
   18974    have_fop=yes
   18975 elif test "x$use_fop" = x"no" ; then
   18976    if test "x$FOP" != "x"; then
   18977       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   18978 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   18979    fi
   18980    have_fop=no
   18981 else
   18982    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   18983 fi
   18984 
   18985 # Test for a minimum version of fop, if provided.
   18986 
   18987  if test "$have_fop" = yes; then
   18988   HAVE_FOP_TRUE=
   18989   HAVE_FOP_FALSE='#'
   18990 else
   18991   HAVE_FOP_TRUE='#'
   18992   HAVE_FOP_FALSE=
   18993 fi
   18994 
   18995 
   18996 
   18997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.7" >&5
   18998 $as_echo_n "checking for X.Org SGML entities >= 1.7... " >&6; }
   18999 XORG_SGML_PATH=
   19000 if test -n "$PKG_CONFIG" && \
   19001     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.7\""; } >&5
   19002   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.7") 2>&5
   19003   ac_status=$?
   19004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19005   test $ac_status = 0; }; then
   19006   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   19007 else
   19008   :
   19009 
   19010 fi
   19011 
   19012 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   19013 # the path and the name of the doc stylesheet
   19014 if test "x$XORG_SGML_PATH" != "x" ; then
   19015    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   19016 $as_echo "$XORG_SGML_PATH" >&6; }
   19017    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   19018    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   19019 else
   19020    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19021 $as_echo "no" >&6; }
   19022 fi
   19023 
   19024 
   19025 
   19026 
   19027  if test "x$XSL_STYLESHEET" != "x"; then
   19028   HAVE_STYLESHEETS_TRUE=
   19029   HAVE_STYLESHEETS_FALSE='#'
   19030 else
   19031   HAVE_STYLESHEETS_TRUE='#'
   19032   HAVE_STYLESHEETS_FALSE=
   19033 fi
   19034 
   19035 
   19036 
   19037 # Checks for header files.
   19038 for ac_header in endian.h poll.h sys/poll.h
   19039 do :
   19040   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   19041 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   19042 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   19043   cat >>confdefs.h <<_ACEOF
   19044 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   19045 _ACEOF
   19046 
   19047 fi
   19048 
   19049 done
   19050 
   19051 
   19052 # Checks for library functions.
   19053 for ac_func in poll readlink
   19054 do :
   19055   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   19056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   19057 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   19058   cat >>confdefs.h <<_ACEOF
   19059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   19060 _ACEOF
   19061 
   19062 fi
   19063 done
   19064 
   19065 
   19066 # If the first PKG_CHECK_MODULES appears inside a conditional, pkg-config
   19067 # must first be located explicitly.
   19068 
   19069 
   19070 
   19071 
   19072 
   19073 
   19074 
   19075 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19076 	if test -n "$ac_tool_prefix"; then
   19077   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19078 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19080 $as_echo_n "checking for $ac_word... " >&6; }
   19081 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   19082   $as_echo_n "(cached) " >&6
   19083 else
   19084   case $PKG_CONFIG in
   19085   [\\/]* | ?:[\\/]*)
   19086   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19087   ;;
   19088   *)
   19089   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19090 for as_dir in $PATH
   19091 do
   19092   IFS=$as_save_IFS
   19093   test -z "$as_dir" && as_dir=.
   19094     for ac_exec_ext in '' $ac_executable_extensions; do
   19095   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19096     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19098     break 2
   19099   fi
   19100 done
   19101   done
   19102 IFS=$as_save_IFS
   19103 
   19104   ;;
   19105 esac
   19106 fi
   19107 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19108 if test -n "$PKG_CONFIG"; then
   19109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   19110 $as_echo "$PKG_CONFIG" >&6; }
   19111 else
   19112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19113 $as_echo "no" >&6; }
   19114 fi
   19115 
   19116 
   19117 fi
   19118 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19119   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19120   # Extract the first word of "pkg-config", so it can be a program name with args.
   19121 set dummy pkg-config; ac_word=$2
   19122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19123 $as_echo_n "checking for $ac_word... " >&6; }
   19124 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   19125   $as_echo_n "(cached) " >&6
   19126 else
   19127   case $ac_pt_PKG_CONFIG in
   19128   [\\/]* | ?:[\\/]*)
   19129   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19130   ;;
   19131   *)
   19132   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19133 for as_dir in $PATH
   19134 do
   19135   IFS=$as_save_IFS
   19136   test -z "$as_dir" && as_dir=.
   19137     for ac_exec_ext in '' $ac_executable_extensions; do
   19138   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19139     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19141     break 2
   19142   fi
   19143 done
   19144   done
   19145 IFS=$as_save_IFS
   19146 
   19147   ;;
   19148 esac
   19149 fi
   19150 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19151 if test -n "$ac_pt_PKG_CONFIG"; then
   19152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   19153 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   19154 else
   19155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19156 $as_echo "no" >&6; }
   19157 fi
   19158 
   19159   if test "x$ac_pt_PKG_CONFIG" = x; then
   19160     PKG_CONFIG=""
   19161   else
   19162     case $cross_compiling:$ac_tool_warned in
   19163 yes:)
   19164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   19165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   19166 ac_tool_warned=yes ;;
   19167 esac
   19168     PKG_CONFIG=$ac_pt_PKG_CONFIG
   19169   fi
   19170 else
   19171   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19172 fi
   19173 
   19174 fi
   19175 if test -n "$PKG_CONFIG"; then
   19176 	_pkg_min_version=0.9.0
   19177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   19178 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   19179 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19181 $as_echo "yes" >&6; }
   19182 	else
   19183 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19184 $as_echo "no" >&6; }
   19185 		PKG_CONFIG=""
   19186 	fi
   19187 fi
   19188 
   19189 #
   19190 # select libraries to include
   19191 #
   19192 
   19193 XFONT_FONTFILE=no
   19194 
   19195 #
   19196 # FreeType for all scalable (OpenType, TrueType, PostScript) and
   19197 # some bitmap formats (BDF & PCF)
   19198 #
   19199 # Check whether --enable-freetype was given.
   19200 if test "${enable_freetype+set}" = set; then :
   19201   enableval=$enable_freetype; XFONT_FREETYPE=$enableval
   19202 else
   19203   XFONT_FREETYPE=yes
   19204 fi
   19205 
   19206  if test x$XFONT_FREETYPE = xyes; then
   19207   XFONT_FREETYPE_TRUE=
   19208   XFONT_FREETYPE_FALSE='#'
   19209 else
   19210   XFONT_FREETYPE_TRUE='#'
   19211   XFONT_FREETYPE_FALSE=
   19212 fi
   19213 
   19214 if test x$XFONT_FREETYPE = xyes; then
   19215 
   19216 $as_echo "#define XFONT_FREETYPE 1" >>confdefs.h
   19217 
   19218 
   19219 # Check whether --with-freetype-config was given.
   19220 if test "${with_freetype_config+set}" = set; then :
   19221   withval=$with_freetype_config; freetype_config=$withval
   19222 else
   19223   freetype_config=auto
   19224 fi
   19225 
   19226 
   19227 	if test "$freetype_config" = "auto" ; then
   19228 
   19229 pkg_failed=no
   19230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
   19231 $as_echo_n "checking for FREETYPE... " >&6; }
   19232 
   19233 if test -n "$FREETYPE_CFLAGS"; then
   19234     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   19235  elif test -n "$PKG_CONFIG"; then
   19236     if test -n "$PKG_CONFIG" && \
   19237     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   19238   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   19239   ac_status=$?
   19240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19241   test $ac_status = 0; }; then
   19242   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
   19243 		      test "x$?" != "x0" && pkg_failed=yes
   19244 else
   19245   pkg_failed=yes
   19246 fi
   19247  else
   19248     pkg_failed=untried
   19249 fi
   19250 if test -n "$FREETYPE_LIBS"; then
   19251     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   19252  elif test -n "$PKG_CONFIG"; then
   19253     if test -n "$PKG_CONFIG" && \
   19254     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   19255   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   19256   ac_status=$?
   19257   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19258   test $ac_status = 0; }; then
   19259   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
   19260 		      test "x$?" != "x0" && pkg_failed=yes
   19261 else
   19262   pkg_failed=yes
   19263 fi
   19264  else
   19265     pkg_failed=untried
   19266 fi
   19267 
   19268 
   19269 
   19270 if test $pkg_failed = yes; then
   19271    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19272 $as_echo "no" >&6; }
   19273 
   19274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19275         _pkg_short_errors_supported=yes
   19276 else
   19277         _pkg_short_errors_supported=no
   19278 fi
   19279         if test $_pkg_short_errors_supported = yes; then
   19280 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
   19281         else
   19282 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
   19283         fi
   19284 	# Put the nasty error message in config.log where it belongs
   19285 	echo "$FREETYPE_PKG_ERRORS" >&5
   19286 
   19287 	freetype_config=yes
   19288 elif test $pkg_failed = untried; then
   19289      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19290 $as_echo "no" >&6; }
   19291 	freetype_config=yes
   19292 else
   19293 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   19294 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   19295         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19296 $as_echo "yes" >&6; }
   19297 	freetype_config=no
   19298 fi
   19299 	fi
   19300 
   19301 	if test "$freetype_config" = "yes"; then
   19302 		# Extract the first word of "freetype-config", so it can be a program name with args.
   19303 set dummy freetype-config; ac_word=$2
   19304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19305 $as_echo_n "checking for $ac_word... " >&6; }
   19306 if ${ac_cv_path_ft_config+:} false; then :
   19307   $as_echo_n "(cached) " >&6
   19308 else
   19309   case $ft_config in
   19310   [\\/]* | ?:[\\/]*)
   19311   ac_cv_path_ft_config="$ft_config" # Let the user override the test with a path.
   19312   ;;
   19313   *)
   19314   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19315 for as_dir in $PATH
   19316 do
   19317   IFS=$as_save_IFS
   19318   test -z "$as_dir" && as_dir=.
   19319     for ac_exec_ext in '' $ac_executable_extensions; do
   19320   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19321     ac_cv_path_ft_config="$as_dir/$ac_word$ac_exec_ext"
   19322     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19323     break 2
   19324   fi
   19325 done
   19326   done
   19327 IFS=$as_save_IFS
   19328 
   19329   test -z "$ac_cv_path_ft_config" && ac_cv_path_ft_config="no"
   19330   ;;
   19331 esac
   19332 fi
   19333 ft_config=$ac_cv_path_ft_config
   19334 if test -n "$ft_config"; then
   19335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_config" >&5
   19336 $as_echo "$ft_config" >&6; }
   19337 else
   19338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19339 $as_echo "no" >&6; }
   19340 fi
   19341 
   19342 
   19343 		if test "$ft_config" = "no"; then
   19344 			as_fn_error $? "You must have freetype installed; see http://www.freetype.org/" "$LINENO" 5
   19345 		fi
   19346 	else
   19347 		ft_config="$freetype_config"
   19348 	fi
   19349 
   19350 	if test "$freetype_config" != "no"; then
   19351 		FREETYPE_CFLAGS="`$ft_config --cflags`"
   19352 		FREETYPE_LIBS="`$ft_config --libs`"
   19353 	fi
   19354 	FREETYPE_REQUIRES="freetype2"
   19355 	XFONT_FONTFILE=yes
   19356 else
   19357 	FREETYPE_CFLAGS=""
   19358 	FREETYPE_LIBS=""
   19359 	FREETYPE_REQUIRES=""
   19360 fi
   19361 
   19362 
   19363 
   19364 
   19365 #
   19366 # Bitmap fonts in files:
   19367 #	Builtins (gzipped pcf format in .text segment)
   19368 #	PCF
   19369 #	BDF
   19370 #	SNF
   19371 #
   19372 
   19373 
   19374 $as_echo "#define X_GZIP_FONT_COMPRESSION 1" >>confdefs.h
   19375 
   19376 X_GZIP_FONT_COMPRESSION=1
   19377 
   19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
   19379 $as_echo_n "checking for gzopen in -lz... " >&6; }
   19380 if ${ac_cv_lib_z_gzopen+:} false; then :
   19381   $as_echo_n "(cached) " >&6
   19382 else
   19383   ac_check_lib_save_LIBS=$LIBS
   19384 LIBS="-lz  $LIBS"
   19385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19386 /* end confdefs.h.  */
   19387 
   19388 /* Override any GCC internal prototype to avoid an error.
   19389    Use char because int might match the return type of a GCC
   19390    builtin and then its argument prototype would still apply.  */
   19391 #ifdef __cplusplus
   19392 extern "C"
   19393 #endif
   19394 char gzopen ();
   19395 int
   19396 main ()
   19397 {
   19398 return gzopen ();
   19399   ;
   19400   return 0;
   19401 }
   19402 _ACEOF
   19403 if ac_fn_c_try_link "$LINENO"; then :
   19404   ac_cv_lib_z_gzopen=yes
   19405 else
   19406   ac_cv_lib_z_gzopen=no
   19407 fi
   19408 rm -f core conftest.err conftest.$ac_objext \
   19409     conftest$ac_exeext conftest.$ac_ext
   19410 LIBS=$ac_check_lib_save_LIBS
   19411 fi
   19412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
   19413 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
   19414 if test "x$ac_cv_lib_z_gzopen" = xyes; then :
   19415   Z_LIBS=-lz
   19416 else
   19417   as_fn_error $? "*** zlib is required" "$LINENO" 5
   19418 fi
   19419 
   19420 
   19421 
   19422 # Check whether --with-bzip2 was given.
   19423 if test "${with_bzip2+set}" = set; then :
   19424   withval=$with_bzip2;
   19425 else
   19426   with_bzip2=no
   19427 fi
   19428 
   19429 if test "x$with_bzip2" = xyes; then
   19430 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzopen in -lbz2" >&5
   19431 $as_echo_n "checking for BZ2_bzopen in -lbz2... " >&6; }
   19432 if ${ac_cv_lib_bz2_BZ2_bzopen+:} false; then :
   19433   $as_echo_n "(cached) " >&6
   19434 else
   19435   ac_check_lib_save_LIBS=$LIBS
   19436 LIBS="-lbz2  $LIBS"
   19437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19438 /* end confdefs.h.  */
   19439 
   19440 /* Override any GCC internal prototype to avoid an error.
   19441    Use char because int might match the return type of a GCC
   19442    builtin and then its argument prototype would still apply.  */
   19443 #ifdef __cplusplus
   19444 extern "C"
   19445 #endif
   19446 char BZ2_bzopen ();
   19447 int
   19448 main ()
   19449 {
   19450 return BZ2_bzopen ();
   19451   ;
   19452   return 0;
   19453 }
   19454 _ACEOF
   19455 if ac_fn_c_try_link "$LINENO"; then :
   19456   ac_cv_lib_bz2_BZ2_bzopen=yes
   19457 else
   19458   ac_cv_lib_bz2_BZ2_bzopen=no
   19459 fi
   19460 rm -f core conftest.err conftest.$ac_objext \
   19461     conftest$ac_exeext conftest.$ac_ext
   19462 LIBS=$ac_check_lib_save_LIBS
   19463 fi
   19464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
   19465 $as_echo "$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
   19466 if test "x$ac_cv_lib_bz2_BZ2_bzopen" = xyes; then :
   19467   Z_LIBS="$Z_LIBS -lbz2"
   19468 else
   19469   as_fn_error $? "*** libbz2 is required for bzip2 support" "$LINENO" 5
   19470 fi
   19471 
   19472 
   19473 $as_echo "#define X_BZIP2_FONT_COMPRESSION 1" >>confdefs.h
   19474 
   19475 fi
   19476  if test "x$with_bzip2" = xyes ; then
   19477   X_BZIP2_FONT_COMPRESSION_TRUE=
   19478   X_BZIP2_FONT_COMPRESSION_FALSE='#'
   19479 else
   19480   X_BZIP2_FONT_COMPRESSION_TRUE='#'
   19481   X_BZIP2_FONT_COMPRESSION_FALSE=
   19482 fi
   19483 
   19484 
   19485 
   19486 # Check whether --enable-builtins was given.
   19487 if test "${enable_builtins+set}" = set; then :
   19488   enableval=$enable_builtins; XFONT_BUILTINS=$enableval
   19489 else
   19490   XFONT_BUILTINS=yes
   19491 fi
   19492 
   19493  if test "x$XFONT_BUILTINS" = xyes ; then
   19494   XFONT_BUILTINS_TRUE=
   19495   XFONT_BUILTINS_FALSE='#'
   19496 else
   19497   XFONT_BUILTINS_TRUE='#'
   19498   XFONT_BUILTINS_FALSE=
   19499 fi
   19500 
   19501 if test "x$XFONT_BUILTINS" = xyes; then
   19502 
   19503 $as_echo "#define XFONT_BUILTINS 1" >>confdefs.h
   19504 
   19505 	XFONT_BITMAP=yes
   19506 fi
   19507 
   19508 # Check whether --enable-pcfformat was given.
   19509 if test "${enable_pcfformat+set}" = set; then :
   19510   enableval=$enable_pcfformat; XFONT_PCFFORMAT=$enableval
   19511 else
   19512   XFONT_PCFFORMAT=yes
   19513 fi
   19514 
   19515  if test "x$XFONT_PCFFORMAT" = xyes; then
   19516   XFONT_PCFFORMAT_TRUE=
   19517   XFONT_PCFFORMAT_FALSE='#'
   19518 else
   19519   XFONT_PCFFORMAT_TRUE='#'
   19520   XFONT_PCFFORMAT_FALSE=
   19521 fi
   19522 
   19523 if test "x$XFONT_PCFFORMAT" = xyes; then
   19524 
   19525 $as_echo "#define XFONT_PCFFORMAT 1" >>confdefs.h
   19526 
   19527 	XFONT_BITMAP=yes
   19528 fi
   19529 
   19530  if test "x$XFONT_PCFFORMAT" = xyes -o "x$XFONT_BUILTINS" = xyes; then
   19531   XFONT_PCF_OR_BUILTIN_TRUE=
   19532   XFONT_PCF_OR_BUILTIN_FALSE='#'
   19533 else
   19534   XFONT_PCF_OR_BUILTIN_TRUE='#'
   19535   XFONT_PCF_OR_BUILTIN_FALSE=
   19536 fi
   19537 
   19538 
   19539 # Check whether --enable-bdfformat was given.
   19540 if test "${enable_bdfformat+set}" = set; then :
   19541   enableval=$enable_bdfformat; XFONT_BDFFORMAT=$enableval
   19542 else
   19543   XFONT_BDFFORMAT=yes
   19544 fi
   19545 
   19546  if test "x$XFONT_BDFFORMAT" = xyes; then
   19547   XFONT_BDFFORMAT_TRUE=
   19548   XFONT_BDFFORMAT_FALSE='#'
   19549 else
   19550   XFONT_BDFFORMAT_TRUE='#'
   19551   XFONT_BDFFORMAT_FALSE=
   19552 fi
   19553 
   19554 if test "x$XFONT_BDFFORMAT" = xyes; then
   19555 
   19556 $as_echo "#define XFONT_BDFFORMAT 1" >>confdefs.h
   19557 
   19558 	XFONT_BITMAP=yes
   19559 fi
   19560 
   19561 # Check whether --enable-snfformat was given.
   19562 if test "${enable_snfformat+set}" = set; then :
   19563   enableval=$enable_snfformat; XFONT_SNFFORMAT=$enableval
   19564 else
   19565   XFONT_SNFFORMAT=no
   19566 fi
   19567 
   19568  if test "x$XFONT_SNFFORMAT" = xyes; then
   19569   XFONT_SNFFORMAT_TRUE=
   19570   XFONT_SNFFORMAT_FALSE='#'
   19571 else
   19572   XFONT_SNFFORMAT_TRUE='#'
   19573   XFONT_SNFFORMAT_FALSE=
   19574 fi
   19575 
   19576 if test "x$XFONT_SNFFORMAT" = xyes; then
   19577 
   19578 $as_echo "#define XFONT_SNFFORMAT 1" >>confdefs.h
   19579 
   19580 	XFONT_BITMAP=yes
   19581 fi
   19582 
   19583  if test "x$XFONT_BITMAP" = xyes ; then
   19584   XFONT_BITMAP_TRUE=
   19585   XFONT_BITMAP_FALSE='#'
   19586 else
   19587   XFONT_BITMAP_TRUE='#'
   19588   XFONT_BITMAP_FALSE=
   19589 fi
   19590 
   19591 if test "x$XFONT_BITMAP" = xyes; then
   19592 
   19593 $as_echo "#define XFONT_BITMAP 1" >>confdefs.h
   19594 
   19595 	XFONT_FONTFILE=yes
   19596 fi
   19597 
   19598  if test "x$XFONT_FONTFILE" = xyes; then
   19599   XFONT_FONTFILE_TRUE=
   19600   XFONT_FONTFILE_FALSE='#'
   19601 else
   19602   XFONT_FONTFILE_TRUE='#'
   19603   XFONT_FONTFILE_FALSE=
   19604 fi
   19605 
   19606 if test "x$XFONT_FONTFILE" = xyes; then
   19607 
   19608 $as_echo "#define XFONT_FONTFILE 1" >>confdefs.h
   19609 
   19610 fi
   19611 
   19612 #
   19613 # Support connection to font servers?
   19614 #
   19615 
   19616 # Check whether --enable-fc was given.
   19617 if test "${enable_fc+set}" = set; then :
   19618   enableval=$enable_fc; XFONT_FC=$enableval
   19619 else
   19620   XFONT_FC=yes
   19621 fi
   19622 
   19623  if test "x$XFONT_FC" = xyes; then
   19624   XFONT_FC_TRUE=
   19625   XFONT_FC_FALSE='#'
   19626 else
   19627   XFONT_FC_TRUE='#'
   19628   XFONT_FC_FALSE=
   19629 fi
   19630 
   19631 if test "x$XFONT_FC" = xyes; then
   19632 
   19633 $as_echo "#define XFONT_FC 1" >>confdefs.h
   19634 
   19635 fi
   19636 
   19637 
   19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
   19639 $as_echo_n "checking for hypot in -lm... " >&6; }
   19640 if ${ac_cv_lib_m_hypot+:} false; then :
   19641   $as_echo_n "(cached) " >&6
   19642 else
   19643   ac_check_lib_save_LIBS=$LIBS
   19644 LIBS="-lm  $LIBS"
   19645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19646 /* end confdefs.h.  */
   19647 
   19648 /* Override any GCC internal prototype to avoid an error.
   19649    Use char because int might match the return type of a GCC
   19650    builtin and then its argument prototype would still apply.  */
   19651 #ifdef __cplusplus
   19652 extern "C"
   19653 #endif
   19654 char hypot ();
   19655 int
   19656 main ()
   19657 {
   19658 return hypot ();
   19659   ;
   19660   return 0;
   19661 }
   19662 _ACEOF
   19663 if ac_fn_c_try_link "$LINENO"; then :
   19664   ac_cv_lib_m_hypot=yes
   19665 else
   19666   ac_cv_lib_m_hypot=no
   19667 fi
   19668 rm -f core conftest.err conftest.$ac_objext \
   19669     conftest$ac_exeext conftest.$ac_ext
   19670 LIBS=$ac_check_lib_save_LIBS
   19671 fi
   19672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
   19673 $as_echo "$ac_cv_lib_m_hypot" >&6; }
   19674 if test "x$ac_cv_lib_m_hypot" = xyes; then :
   19675   MATH_LIBS=-lm
   19676 
   19677 else
   19678   as_fn_error $? "*** libm is required" "$LINENO" 5
   19679 fi
   19680 
   19681 
   19682 
   19683 pkg_failed=no
   19684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFONT" >&5
   19685 $as_echo_n "checking for XFONT... " >&6; }
   19686 
   19687 if test -n "$XFONT_CFLAGS"; then
   19688     pkg_cv_XFONT_CFLAGS="$XFONT_CFLAGS"
   19689  elif test -n "$PKG_CONFIG"; then
   19690     if test -n "$PKG_CONFIG" && \
   19691     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto >= 2.1.3 fontenc\""; } >&5
   19692   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto >= 2.1.3 fontenc") 2>&5
   19693   ac_status=$?
   19694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19695   test $ac_status = 0; }; then
   19696   pkg_cv_XFONT_CFLAGS=`$PKG_CONFIG --cflags "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>/dev/null`
   19697 		      test "x$?" != "x0" && pkg_failed=yes
   19698 else
   19699   pkg_failed=yes
   19700 fi
   19701  else
   19702     pkg_failed=untried
   19703 fi
   19704 if test -n "$XFONT_LIBS"; then
   19705     pkg_cv_XFONT_LIBS="$XFONT_LIBS"
   19706  elif test -n "$PKG_CONFIG"; then
   19707     if test -n "$PKG_CONFIG" && \
   19708     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto >= 2.1.3 fontenc\""; } >&5
   19709   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto >= 2.1.3 fontenc") 2>&5
   19710   ac_status=$?
   19711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19712   test $ac_status = 0; }; then
   19713   pkg_cv_XFONT_LIBS=`$PKG_CONFIG --libs "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>/dev/null`
   19714 		      test "x$?" != "x0" && pkg_failed=yes
   19715 else
   19716   pkg_failed=yes
   19717 fi
   19718  else
   19719     pkg_failed=untried
   19720 fi
   19721 
   19722 
   19723 
   19724 if test $pkg_failed = yes; then
   19725    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19726 $as_echo "no" >&6; }
   19727 
   19728 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19729         _pkg_short_errors_supported=yes
   19730 else
   19731         _pkg_short_errors_supported=no
   19732 fi
   19733         if test $_pkg_short_errors_supported = yes; then
   19734 	        XFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>&1`
   19735         else
   19736 	        XFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>&1`
   19737         fi
   19738 	# Put the nasty error message in config.log where it belongs
   19739 	echo "$XFONT_PKG_ERRORS" >&5
   19740 
   19741 	as_fn_error $? "Package requirements (xproto xtrans fontsproto >= 2.1.3 fontenc) were not met:
   19742 
   19743 $XFONT_PKG_ERRORS
   19744 
   19745 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19746 installed software in a non-standard prefix.
   19747 
   19748 Alternatively, you may set the environment variables XFONT_CFLAGS
   19749 and XFONT_LIBS to avoid the need to call pkg-config.
   19750 See the pkg-config man page for more details." "$LINENO" 5
   19751 elif test $pkg_failed = untried; then
   19752      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19753 $as_echo "no" >&6; }
   19754 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19756 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19757 is in your PATH or set the PKG_CONFIG environment variable to the full
   19758 path to pkg-config.
   19759 
   19760 Alternatively, you may set the environment variables XFONT_CFLAGS
   19761 and XFONT_LIBS to avoid the need to call pkg-config.
   19762 See the pkg-config man page for more details.
   19763 
   19764 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19765 See \`config.log' for more details" "$LINENO" 5; }
   19766 else
   19767 	XFONT_CFLAGS=$pkg_cv_XFONT_CFLAGS
   19768 	XFONT_LIBS=$pkg_cv_XFONT_LIBS
   19769         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19770 $as_echo "yes" >&6; }
   19771 
   19772 fi
   19773 
   19774 # Transport selection macro from xtrans.m4
   19775 
   19776 
   19777  case $host_os in
   19778 	mingw*)	unixdef="no"   ;;
   19779 	*)	unixdef="yes"  ;;
   19780  esac
   19781  # Check whether --enable-unix-transport was given.
   19782 if test "${enable_unix_transport+set}" = set; then :
   19783   enableval=$enable_unix_transport; UNIXCONN=$enableval
   19784 else
   19785   UNIXCONN=$unixdef
   19786 fi
   19787 
   19788  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   19789 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   19790  if test "$UNIXCONN" = "yes"; then
   19791 
   19792 $as_echo "#define UNIXCONN 1" >>confdefs.h
   19793 
   19794  fi
   19795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   19796 $as_echo "$UNIXCONN" >&6; }
   19797  # Check whether --enable-tcp-transport was given.
   19798 if test "${enable_tcp_transport+set}" = set; then :
   19799   enableval=$enable_tcp_transport; TCPCONN=$enableval
   19800 else
   19801   TCPCONN=yes
   19802 fi
   19803 
   19804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   19805 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   19806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   19807 $as_echo "$TCPCONN" >&6; }
   19808  if test "$TCPCONN" = "yes"; then
   19809 
   19810 $as_echo "#define TCPCONN 1" >>confdefs.h
   19811 
   19812 
   19813  # SVR4 hides these in libraries other than libc
   19814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   19815 $as_echo_n "checking for library containing socket... " >&6; }
   19816 if ${ac_cv_search_socket+:} false; then :
   19817   $as_echo_n "(cached) " >&6
   19818 else
   19819   ac_func_search_save_LIBS=$LIBS
   19820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19821 /* end confdefs.h.  */
   19822 
   19823 /* Override any GCC internal prototype to avoid an error.
   19824    Use char because int might match the return type of a GCC
   19825    builtin and then its argument prototype would still apply.  */
   19826 #ifdef __cplusplus
   19827 extern "C"
   19828 #endif
   19829 char socket ();
   19830 int
   19831 main ()
   19832 {
   19833 return socket ();
   19834   ;
   19835   return 0;
   19836 }
   19837 _ACEOF
   19838 for ac_lib in '' socket; do
   19839   if test -z "$ac_lib"; then
   19840     ac_res="none required"
   19841   else
   19842     ac_res=-l$ac_lib
   19843     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19844   fi
   19845   if ac_fn_c_try_link "$LINENO"; then :
   19846   ac_cv_search_socket=$ac_res
   19847 fi
   19848 rm -f core conftest.err conftest.$ac_objext \
   19849     conftest$ac_exeext
   19850   if ${ac_cv_search_socket+:} false; then :
   19851   break
   19852 fi
   19853 done
   19854 if ${ac_cv_search_socket+:} false; then :
   19855 
   19856 else
   19857   ac_cv_search_socket=no
   19858 fi
   19859 rm conftest.$ac_ext
   19860 LIBS=$ac_func_search_save_LIBS
   19861 fi
   19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   19863 $as_echo "$ac_cv_search_socket" >&6; }
   19864 ac_res=$ac_cv_search_socket
   19865 if test "$ac_res" != no; then :
   19866   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19867 
   19868 fi
   19869 
   19870  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   19871 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   19872 if ${ac_cv_search_gethostbyname+:} false; then :
   19873   $as_echo_n "(cached) " >&6
   19874 else
   19875   ac_func_search_save_LIBS=$LIBS
   19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19877 /* end confdefs.h.  */
   19878 
   19879 /* Override any GCC internal prototype to avoid an error.
   19880    Use char because int might match the return type of a GCC
   19881    builtin and then its argument prototype would still apply.  */
   19882 #ifdef __cplusplus
   19883 extern "C"
   19884 #endif
   19885 char gethostbyname ();
   19886 int
   19887 main ()
   19888 {
   19889 return gethostbyname ();
   19890   ;
   19891   return 0;
   19892 }
   19893 _ACEOF
   19894 for ac_lib in '' nsl; do
   19895   if test -z "$ac_lib"; then
   19896     ac_res="none required"
   19897   else
   19898     ac_res=-l$ac_lib
   19899     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19900   fi
   19901   if ac_fn_c_try_link "$LINENO"; then :
   19902   ac_cv_search_gethostbyname=$ac_res
   19903 fi
   19904 rm -f core conftest.err conftest.$ac_objext \
   19905     conftest$ac_exeext
   19906   if ${ac_cv_search_gethostbyname+:} false; then :
   19907   break
   19908 fi
   19909 done
   19910 if ${ac_cv_search_gethostbyname+:} false; then :
   19911 
   19912 else
   19913   ac_cv_search_gethostbyname=no
   19914 fi
   19915 rm conftest.$ac_ext
   19916 LIBS=$ac_func_search_save_LIBS
   19917 fi
   19918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   19919 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   19920 ac_res=$ac_cv_search_gethostbyname
   19921 if test "$ac_res" != no; then :
   19922   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19923 
   19924 fi
   19925 
   19926  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   19927    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   19928 $as_echo_n "checking for main in -lws2_32... " >&6; }
   19929 if ${ac_cv_lib_ws2_32_main+:} false; then :
   19930   $as_echo_n "(cached) " >&6
   19931 else
   19932   ac_check_lib_save_LIBS=$LIBS
   19933 LIBS="-lws2_32  $LIBS"
   19934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19935 /* end confdefs.h.  */
   19936 
   19937 
   19938 int
   19939 main ()
   19940 {
   19941 return main ();
   19942   ;
   19943   return 0;
   19944 }
   19945 _ACEOF
   19946 if ac_fn_c_try_link "$LINENO"; then :
   19947   ac_cv_lib_ws2_32_main=yes
   19948 else
   19949   ac_cv_lib_ws2_32_main=no
   19950 fi
   19951 rm -f core conftest.err conftest.$ac_objext \
   19952     conftest$ac_exeext conftest.$ac_ext
   19953 LIBS=$ac_check_lib_save_LIBS
   19954 fi
   19955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   19956 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   19957 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   19958   cat >>confdefs.h <<_ACEOF
   19959 #define HAVE_LIBWS2_32 1
   19960 _ACEOF
   19961 
   19962   LIBS="-lws2_32 $LIBS"
   19963 
   19964 fi
   19965 
   19966  fi
   19967 
   19968  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   19969  # Check whether --enable-ipv6 was given.
   19970 if test "${enable_ipv6+set}" = set; then :
   19971   enableval=$enable_ipv6; IPV6CONN=$enableval
   19972 else
   19973   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   19974 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   19975   IPV6CONN=yes
   19976 else
   19977   IPV6CONN=no
   19978 fi
   19979 
   19980 fi
   19981 
   19982  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   19983 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   19984  if test "$IPV6CONN" = "yes"; then
   19985 
   19986 $as_echo "#define IPv6 1" >>confdefs.h
   19987 
   19988  fi
   19989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   19990 $as_echo "$IPV6CONN" >&6; }
   19991 
   19992  # 4.3BSD-Reno added a new member to struct sockaddr_in
   19993  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   19994 #include <sys/types.h>
   19995 #include <sys/socket.h>
   19996 #include <netinet/in.h>
   19997 
   19998 "
   19999 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   20000 
   20001 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   20002 
   20003 fi
   20004 
   20005 
   20006  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   20007  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   20008 $ac_includes_default
   20009 #include <sys/socket.h>
   20010 "
   20011 if test "x$ac_cv_type_socklen_t" = xyes; then :
   20012 
   20013 cat >>confdefs.h <<_ACEOF
   20014 #define HAVE_SOCKLEN_T 1
   20015 _ACEOF
   20016 
   20017 
   20018 fi
   20019 
   20020 
   20021  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   20022  # _XOPEN_SOURCE to get it (such as on Solaris)
   20023  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20024 $ac_includes_default
   20025 #include <sys/socket.h>
   20026 
   20027 "
   20028 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20029 
   20030 fi
   20031 
   20032  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   20033  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   20034      unset ac_cv_member_struct_msghdr_msg_control
   20035      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   20036 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   20037      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20038 #define _XOPEN_SOURCE 600
   20039 $ac_includes_default
   20040 #include <sys/socket.h>
   20041 
   20042 "
   20043 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20044 
   20045 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   20046 
   20047 
   20048 fi
   20049 
   20050  fi
   20051  # If that didn't work, fall back to XPG5/UNIX98 with C89
   20052  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   20053      unset ac_cv_member_struct_msghdr_msg_control
   20054      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   20055 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   20056      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20057 #define _XOPEN_SOURCE 500
   20058 $ac_includes_default
   20059 #include <sys/socket.h>
   20060 
   20061 "
   20062 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20063 
   20064 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   20065 
   20066 
   20067 fi
   20068 
   20069  fi
   20070 
   20071 
   20072 
   20073  fi
   20074  case $host_os in
   20075 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   20076 	*)			localdef="no"  ;;
   20077  esac
   20078  # Check whether --enable-local-transport was given.
   20079 if test "${enable_local_transport+set}" = set; then :
   20080   enableval=$enable_local_transport; LOCALCONN=$enableval
   20081 else
   20082   LOCALCONN=$localdef
   20083 fi
   20084 
   20085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   20086 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   20087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   20088 $as_echo "$LOCALCONN" >&6; }
   20089  if test "$LOCALCONN" = "yes"; then
   20090 
   20091 $as_echo "#define LOCALCONN 1" >>confdefs.h
   20092 
   20093  fi
   20094 
   20095 
   20096 
   20097 case $host_os in
   20098     linux*)
   20099         OS_CFLAGS="-D_XOPEN_SOURCE"
   20100         ;;
   20101     *)
   20102         OS_CFLAGS=
   20103         ;;
   20104 esac
   20105 
   20106 
   20107 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/fontfile/Makefile src/FreeType/Makefile src/builtins/Makefile src/bitmap/Makefile src/fc/Makefile src/util/Makefile src/stubs/Makefile xfont.pc"
   20108 
   20109 cat >confcache <<\_ACEOF
   20110 # This file is a shell script that caches the results of configure
   20111 # tests run on this system so they can be shared between configure
   20112 # scripts and configure runs, see configure's option --config-cache.
   20113 # It is not useful on other systems.  If it contains results you don't
   20114 # want to keep, you may remove or edit it.
   20115 #
   20116 # config.status only pays attention to the cache file if you give it
   20117 # the --recheck option to rerun configure.
   20118 #
   20119 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20120 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20121 # following values.
   20122 
   20123 _ACEOF
   20124 
   20125 # The following way of writing the cache mishandles newlines in values,
   20126 # but we know of no workaround that is simple, portable, and efficient.
   20127 # So, we kill variables containing newlines.
   20128 # Ultrix sh set writes to stderr and can't be redirected directly,
   20129 # and sets the high bit in the cache file unless we assign to the vars.
   20130 (
   20131   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20132     eval ac_val=\$$ac_var
   20133     case $ac_val in #(
   20134     *${as_nl}*)
   20135       case $ac_var in #(
   20136       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20137 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20138       esac
   20139       case $ac_var in #(
   20140       _ | IFS | as_nl) ;; #(
   20141       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20142       *) { eval $ac_var=; unset $ac_var;} ;;
   20143       esac ;;
   20144     esac
   20145   done
   20146 
   20147   (set) 2>&1 |
   20148     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20149     *${as_nl}ac_space=\ *)
   20150       # `set' does not quote correctly, so add quotes: double-quote
   20151       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20152       sed -n \
   20153 	"s/'/'\\\\''/g;
   20154 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20155       ;; #(
   20156     *)
   20157       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20158       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20159       ;;
   20160     esac |
   20161     sort
   20162 ) |
   20163   sed '
   20164      /^ac_cv_env_/b end
   20165      t clear
   20166      :clear
   20167      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20168      t end
   20169      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20170      :end' >>confcache
   20171 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20172   if test -w "$cache_file"; then
   20173     if test "x$cache_file" != "x/dev/null"; then
   20174       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20175 $as_echo "$as_me: updating cache $cache_file" >&6;}
   20176       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20177 	cat confcache >"$cache_file"
   20178       else
   20179         case $cache_file in #(
   20180         */* | ?:*)
   20181 	  mv -f confcache "$cache_file"$$ &&
   20182 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20183         *)
   20184 	  mv -f confcache "$cache_file" ;;
   20185 	esac
   20186       fi
   20187     fi
   20188   else
   20189     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20190 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20191   fi
   20192 fi
   20193 rm -f confcache
   20194 
   20195 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20196 # Let make expand exec_prefix.
   20197 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20198 
   20199 DEFS=-DHAVE_CONFIG_H
   20200 
   20201 ac_libobjs=
   20202 ac_ltlibobjs=
   20203 U=
   20204 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20205   # 1. Remove the extension, and $U if already installed.
   20206   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20207   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   20208   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20209   #    will be set to the directory where LIBOBJS objects are built.
   20210   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20211   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20212 done
   20213 LIBOBJS=$ac_libobjs
   20214 
   20215 LTLIBOBJS=$ac_ltlibobjs
   20216 
   20217 
   20218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20219 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   20220    if test -n "$am_sleep_pid"; then
   20221      # Hide warnings about reused PIDs.
   20222      wait $am_sleep_pid 2>/dev/null
   20223    fi
   20224    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20225 $as_echo "done" >&6; }
   20226  if test -n "$EXEEXT"; then
   20227   am__EXEEXT_TRUE=
   20228   am__EXEEXT_FALSE='#'
   20229 else
   20230   am__EXEEXT_TRUE='#'
   20231   am__EXEEXT_FALSE=
   20232 fi
   20233 
   20234 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20235   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20237 fi
   20238 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20239   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20241 fi
   20242 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   20243   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   20244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20245 fi
   20246 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   20247   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   20248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20249 fi
   20250 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   20251   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   20252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20253 fi
   20254 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   20255   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   20256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20257 fi
   20258 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   20259   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   20260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20261 fi
   20262 if test -z "${XFONT_FREETYPE_TRUE}" && test -z "${XFONT_FREETYPE_FALSE}"; then
   20263   as_fn_error $? "conditional \"XFONT_FREETYPE\" was never defined.
   20264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20265 fi
   20266 if test -z "${X_BZIP2_FONT_COMPRESSION_TRUE}" && test -z "${X_BZIP2_FONT_COMPRESSION_FALSE}"; then
   20267   as_fn_error $? "conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined.
   20268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20269 fi
   20270 if test -z "${XFONT_BUILTINS_TRUE}" && test -z "${XFONT_BUILTINS_FALSE}"; then
   20271   as_fn_error $? "conditional \"XFONT_BUILTINS\" was never defined.
   20272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20273 fi
   20274 if test -z "${XFONT_PCFFORMAT_TRUE}" && test -z "${XFONT_PCFFORMAT_FALSE}"; then
   20275   as_fn_error $? "conditional \"XFONT_PCFFORMAT\" was never defined.
   20276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20277 fi
   20278 if test -z "${XFONT_PCF_OR_BUILTIN_TRUE}" && test -z "${XFONT_PCF_OR_BUILTIN_FALSE}"; then
   20279   as_fn_error $? "conditional \"XFONT_PCF_OR_BUILTIN\" was never defined.
   20280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20281 fi
   20282 if test -z "${XFONT_BDFFORMAT_TRUE}" && test -z "${XFONT_BDFFORMAT_FALSE}"; then
   20283   as_fn_error $? "conditional \"XFONT_BDFFORMAT\" was never defined.
   20284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20285 fi
   20286 if test -z "${XFONT_SNFFORMAT_TRUE}" && test -z "${XFONT_SNFFORMAT_FALSE}"; then
   20287   as_fn_error $? "conditional \"XFONT_SNFFORMAT\" was never defined.
   20288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20289 fi
   20290 if test -z "${XFONT_BITMAP_TRUE}" && test -z "${XFONT_BITMAP_FALSE}"; then
   20291   as_fn_error $? "conditional \"XFONT_BITMAP\" was never defined.
   20292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20293 fi
   20294 if test -z "${XFONT_FONTFILE_TRUE}" && test -z "${XFONT_FONTFILE_FALSE}"; then
   20295   as_fn_error $? "conditional \"XFONT_FONTFILE\" was never defined.
   20296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20297 fi
   20298 if test -z "${XFONT_FC_TRUE}" && test -z "${XFONT_FC_FALSE}"; then
   20299   as_fn_error $? "conditional \"XFONT_FC\" was never defined.
   20300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20301 fi
   20302 
   20303 : "${CONFIG_STATUS=./config.status}"
   20304 ac_write_fail=0
   20305 ac_clean_files_save=$ac_clean_files
   20306 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20307 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20308 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20309 as_write_fail=0
   20310 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20311 #! $SHELL
   20312 # Generated by $as_me.
   20313 # Run this file to recreate the current configuration.
   20314 # Compiler output produced by configure, useful for debugging
   20315 # configure, is in config.log if it exists.
   20316 
   20317 debug=false
   20318 ac_cs_recheck=false
   20319 ac_cs_silent=false
   20320 
   20321 SHELL=\${CONFIG_SHELL-$SHELL}
   20322 export SHELL
   20323 _ASEOF
   20324 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20325 ## -------------------- ##
   20326 ## M4sh Initialization. ##
   20327 ## -------------------- ##
   20328 
   20329 # Be more Bourne compatible
   20330 DUALCASE=1; export DUALCASE # for MKS sh
   20331 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20332   emulate sh
   20333   NULLCMD=:
   20334   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20335   # is contrary to our usage.  Disable this feature.
   20336   alias -g '${1+"$@"}'='"$@"'
   20337   setopt NO_GLOB_SUBST
   20338 else
   20339   case `(set -o) 2>/dev/null` in #(
   20340   *posix*) :
   20341     set -o posix ;; #(
   20342   *) :
   20343      ;;
   20344 esac
   20345 fi
   20346 
   20347 
   20348 as_nl='
   20349 '
   20350 export as_nl
   20351 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   20352 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   20353 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   20354 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   20355 # Prefer a ksh shell builtin over an external printf program on Solaris,
   20356 # but without wasting forks for bash or zsh.
   20357 if test -z "$BASH_VERSION$ZSH_VERSION" \
   20358     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   20359   as_echo='print -r --'
   20360   as_echo_n='print -rn --'
   20361 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   20362   as_echo='printf %s\n'
   20363   as_echo_n='printf %s'
   20364 else
   20365   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   20366     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   20367     as_echo_n='/usr/ucb/echo -n'
   20368   else
   20369     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   20370     as_echo_n_body='eval
   20371       arg=$1;
   20372       case $arg in #(
   20373       *"$as_nl"*)
   20374 	expr "X$arg" : "X\\(.*\\)$as_nl";
   20375 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   20376       esac;
   20377       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   20378     '
   20379     export as_echo_n_body
   20380     as_echo_n='sh -c $as_echo_n_body as_echo'
   20381   fi
   20382   export as_echo_body
   20383   as_echo='sh -c $as_echo_body as_echo'
   20384 fi
   20385 
   20386 # The user is always right.
   20387 if test "${PATH_SEPARATOR+set}" != set; then
   20388   PATH_SEPARATOR=:
   20389   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20390     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20391       PATH_SEPARATOR=';'
   20392   }
   20393 fi
   20394 
   20395 
   20396 # IFS
   20397 # We need space, tab and new line, in precisely that order.  Quoting is
   20398 # there to prevent editors from complaining about space-tab.
   20399 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   20400 # splitting by setting IFS to empty value.)
   20401 IFS=" ""	$as_nl"
   20402 
   20403 # Find who we are.  Look in the path if we contain no directory separator.
   20404 as_myself=
   20405 case $0 in #((
   20406   *[\\/]* ) as_myself=$0 ;;
   20407   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20408 for as_dir in $PATH
   20409 do
   20410   IFS=$as_save_IFS
   20411   test -z "$as_dir" && as_dir=.
   20412     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   20413   done
   20414 IFS=$as_save_IFS
   20415 
   20416      ;;
   20417 esac
   20418 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20419 # in which case we are not to be found in the path.
   20420 if test "x$as_myself" = x; then
   20421   as_myself=$0
   20422 fi
   20423 if test ! -f "$as_myself"; then
   20424   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20425   exit 1
   20426 fi
   20427 
   20428 # Unset variables that we do not need and which cause bugs (e.g. in
   20429 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   20430 # suppresses any "Segmentation fault" message there.  '((' could
   20431 # trigger a bug in pdksh 5.2.14.
   20432 for as_var in BASH_ENV ENV MAIL MAILPATH
   20433 do eval test x\${$as_var+set} = xset \
   20434   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20435 done
   20436 PS1='$ '
   20437 PS2='> '
   20438 PS4='+ '
   20439 
   20440 # NLS nuisances.
   20441 LC_ALL=C
   20442 export LC_ALL
   20443 LANGUAGE=C
   20444 export LANGUAGE
   20445 
   20446 # CDPATH.
   20447 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20448 
   20449 
   20450 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20451 # ----------------------------------------
   20452 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20453 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20454 # script with STATUS, using 1 if that was 0.
   20455 as_fn_error ()
   20456 {
   20457   as_status=$1; test $as_status -eq 0 && as_status=1
   20458   if test "$4"; then
   20459     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20460     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20461   fi
   20462   $as_echo "$as_me: error: $2" >&2
   20463   as_fn_exit $as_status
   20464 } # as_fn_error
   20465 
   20466 
   20467 # as_fn_set_status STATUS
   20468 # -----------------------
   20469 # Set $? to STATUS, without forking.
   20470 as_fn_set_status ()
   20471 {
   20472   return $1
   20473 } # as_fn_set_status
   20474 
   20475 # as_fn_exit STATUS
   20476 # -----------------
   20477 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20478 as_fn_exit ()
   20479 {
   20480   set +e
   20481   as_fn_set_status $1
   20482   exit $1
   20483 } # as_fn_exit
   20484 
   20485 # as_fn_unset VAR
   20486 # ---------------
   20487 # Portably unset VAR.
   20488 as_fn_unset ()
   20489 {
   20490   { eval $1=; unset $1;}
   20491 }
   20492 as_unset=as_fn_unset
   20493 # as_fn_append VAR VALUE
   20494 # ----------------------
   20495 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20496 # advantage of any shell optimizations that allow amortized linear growth over
   20497 # repeated appends, instead of the typical quadratic growth present in naive
   20498 # implementations.
   20499 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   20500   eval 'as_fn_append ()
   20501   {
   20502     eval $1+=\$2
   20503   }'
   20504 else
   20505   as_fn_append ()
   20506   {
   20507     eval $1=\$$1\$2
   20508   }
   20509 fi # as_fn_append
   20510 
   20511 # as_fn_arith ARG...
   20512 # ------------------
   20513 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20514 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20515 # must be portable across $(()) and expr.
   20516 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   20517   eval 'as_fn_arith ()
   20518   {
   20519     as_val=$(( $* ))
   20520   }'
   20521 else
   20522   as_fn_arith ()
   20523   {
   20524     as_val=`expr "$@" || test $? -eq 1`
   20525   }
   20526 fi # as_fn_arith
   20527 
   20528 
   20529 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20530    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20531   as_expr=expr
   20532 else
   20533   as_expr=false
   20534 fi
   20535 
   20536 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20537   as_basename=basename
   20538 else
   20539   as_basename=false
   20540 fi
   20541 
   20542 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20543   as_dirname=dirname
   20544 else
   20545   as_dirname=false
   20546 fi
   20547 
   20548 as_me=`$as_basename -- "$0" ||
   20549 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20550 	 X"$0" : 'X\(//\)$' \| \
   20551 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20552 $as_echo X/"$0" |
   20553     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20554 	    s//\1/
   20555 	    q
   20556 	  }
   20557 	  /^X\/\(\/\/\)$/{
   20558 	    s//\1/
   20559 	    q
   20560 	  }
   20561 	  /^X\/\(\/\).*/{
   20562 	    s//\1/
   20563 	    q
   20564 	  }
   20565 	  s/.*/./; q'`
   20566 
   20567 # Avoid depending upon Character Ranges.
   20568 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20569 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20570 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20571 as_cr_digits='0123456789'
   20572 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20573 
   20574 ECHO_C= ECHO_N= ECHO_T=
   20575 case `echo -n x` in #(((((
   20576 -n*)
   20577   case `echo 'xy\c'` in
   20578   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20579   xy)  ECHO_C='\c';;
   20580   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20581        ECHO_T='	';;
   20582   esac;;
   20583 *)
   20584   ECHO_N='-n';;
   20585 esac
   20586 
   20587 rm -f conf$$ conf$$.exe conf$$.file
   20588 if test -d conf$$.dir; then
   20589   rm -f conf$$.dir/conf$$.file
   20590 else
   20591   rm -f conf$$.dir
   20592   mkdir conf$$.dir 2>/dev/null
   20593 fi
   20594 if (echo >conf$$.file) 2>/dev/null; then
   20595   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20596     as_ln_s='ln -s'
   20597     # ... but there are two gotchas:
   20598     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20599     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20600     # In both cases, we have to default to `cp -pR'.
   20601     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20602       as_ln_s='cp -pR'
   20603   elif ln conf$$.file conf$$ 2>/dev/null; then
   20604     as_ln_s=ln
   20605   else
   20606     as_ln_s='cp -pR'
   20607   fi
   20608 else
   20609   as_ln_s='cp -pR'
   20610 fi
   20611 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20612 rmdir conf$$.dir 2>/dev/null
   20613 
   20614 
   20615 # as_fn_mkdir_p
   20616 # -------------
   20617 # Create "$as_dir" as a directory, including parents if necessary.
   20618 as_fn_mkdir_p ()
   20619 {
   20620 
   20621   case $as_dir in #(
   20622   -*) as_dir=./$as_dir;;
   20623   esac
   20624   test -d "$as_dir" || eval $as_mkdir_p || {
   20625     as_dirs=
   20626     while :; do
   20627       case $as_dir in #(
   20628       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20629       *) as_qdir=$as_dir;;
   20630       esac
   20631       as_dirs="'$as_qdir' $as_dirs"
   20632       as_dir=`$as_dirname -- "$as_dir" ||
   20633 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20634 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20635 	 X"$as_dir" : 'X\(//\)$' \| \
   20636 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20637 $as_echo X"$as_dir" |
   20638     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20639 	    s//\1/
   20640 	    q
   20641 	  }
   20642 	  /^X\(\/\/\)[^/].*/{
   20643 	    s//\1/
   20644 	    q
   20645 	  }
   20646 	  /^X\(\/\/\)$/{
   20647 	    s//\1/
   20648 	    q
   20649 	  }
   20650 	  /^X\(\/\).*/{
   20651 	    s//\1/
   20652 	    q
   20653 	  }
   20654 	  s/.*/./; q'`
   20655       test -d "$as_dir" && break
   20656     done
   20657     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20658   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20659 
   20660 
   20661 } # as_fn_mkdir_p
   20662 if mkdir -p . 2>/dev/null; then
   20663   as_mkdir_p='mkdir -p "$as_dir"'
   20664 else
   20665   test -d ./-p && rmdir ./-p
   20666   as_mkdir_p=false
   20667 fi
   20668 
   20669 
   20670 # as_fn_executable_p FILE
   20671 # -----------------------
   20672 # Test if FILE is an executable regular file.
   20673 as_fn_executable_p ()
   20674 {
   20675   test -f "$1" && test -x "$1"
   20676 } # as_fn_executable_p
   20677 as_test_x='test -x'
   20678 as_executable_p=as_fn_executable_p
   20679 
   20680 # Sed expression to map a string onto a valid CPP name.
   20681 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20682 
   20683 # Sed expression to map a string onto a valid variable name.
   20684 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20685 
   20686 
   20687 exec 6>&1
   20688 ## ----------------------------------- ##
   20689 ## Main body of $CONFIG_STATUS script. ##
   20690 ## ----------------------------------- ##
   20691 _ASEOF
   20692 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20693 
   20694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20695 # Save the log message, to keep $0 and so on meaningful, and to
   20696 # report actual input values of CONFIG_FILES etc. instead of their
   20697 # values after options handling.
   20698 ac_log="
   20699 This file was extended by libXfont $as_me 1.5.2, which was
   20700 generated by GNU Autoconf 2.69.  Invocation command line was
   20701 
   20702   CONFIG_FILES    = $CONFIG_FILES
   20703   CONFIG_HEADERS  = $CONFIG_HEADERS
   20704   CONFIG_LINKS    = $CONFIG_LINKS
   20705   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20706   $ $0 $@
   20707 
   20708 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20709 "
   20710 
   20711 _ACEOF
   20712 
   20713 case $ac_config_files in *"
   20714 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20715 esac
   20716 
   20717 case $ac_config_headers in *"
   20718 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20719 esac
   20720 
   20721 
   20722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20723 # Files that config.status was made for.
   20724 config_files="$ac_config_files"
   20725 config_headers="$ac_config_headers"
   20726 config_commands="$ac_config_commands"
   20727 
   20728 _ACEOF
   20729 
   20730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20731 ac_cs_usage="\
   20732 \`$as_me' instantiates files and other configuration actions
   20733 from templates according to the current configuration.  Unless the files
   20734 and actions are specified as TAGs, all are instantiated by default.
   20735 
   20736 Usage: $0 [OPTION]... [TAG]...
   20737 
   20738   -h, --help       print this help, then exit
   20739   -V, --version    print version number and configuration settings, then exit
   20740       --config     print configuration, then exit
   20741   -q, --quiet, --silent
   20742                    do not print progress messages
   20743   -d, --debug      don't remove temporary files
   20744       --recheck    update $as_me by reconfiguring in the same conditions
   20745       --file=FILE[:TEMPLATE]
   20746                    instantiate the configuration file FILE
   20747       --header=FILE[:TEMPLATE]
   20748                    instantiate the configuration header FILE
   20749 
   20750 Configuration files:
   20751 $config_files
   20752 
   20753 Configuration headers:
   20754 $config_headers
   20755 
   20756 Configuration commands:
   20757 $config_commands
   20758 
   20759 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   20760 
   20761 _ACEOF
   20762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20763 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   20764 ac_cs_version="\\
   20765 libXfont config.status 1.5.2
   20766 configured by $0, generated by GNU Autoconf 2.69,
   20767   with options \\"\$ac_cs_config\\"
   20768 
   20769 Copyright (C) 2012 Free Software Foundation, Inc.
   20770 This config.status script is free software; the Free Software Foundation
   20771 gives unlimited permission to copy, distribute and modify it."
   20772 
   20773 ac_pwd='$ac_pwd'
   20774 srcdir='$srcdir'
   20775 INSTALL='$INSTALL'
   20776 MKDIR_P='$MKDIR_P'
   20777 AWK='$AWK'
   20778 test -n "\$AWK" || AWK=awk
   20779 _ACEOF
   20780 
   20781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20782 # The default lists apply if the user does not specify any file.
   20783 ac_need_defaults=:
   20784 while test $# != 0
   20785 do
   20786   case $1 in
   20787   --*=?*)
   20788     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20789     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20790     ac_shift=:
   20791     ;;
   20792   --*=)
   20793     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20794     ac_optarg=
   20795     ac_shift=:
   20796     ;;
   20797   *)
   20798     ac_option=$1
   20799     ac_optarg=$2
   20800     ac_shift=shift
   20801     ;;
   20802   esac
   20803 
   20804   case $ac_option in
   20805   # Handling of the options.
   20806   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20807     ac_cs_recheck=: ;;
   20808   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20809     $as_echo "$ac_cs_version"; exit ;;
   20810   --config | --confi | --conf | --con | --co | --c )
   20811     $as_echo "$ac_cs_config"; exit ;;
   20812   --debug | --debu | --deb | --de | --d | -d )
   20813     debug=: ;;
   20814   --file | --fil | --fi | --f )
   20815     $ac_shift
   20816     case $ac_optarg in
   20817     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20818     '') as_fn_error $? "missing file argument" ;;
   20819     esac
   20820     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20821     ac_need_defaults=false;;
   20822   --header | --heade | --head | --hea )
   20823     $ac_shift
   20824     case $ac_optarg in
   20825     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20826     esac
   20827     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20828     ac_need_defaults=false;;
   20829   --he | --h)
   20830     # Conflict between --help and --header
   20831     as_fn_error $? "ambiguous option: \`$1'
   20832 Try \`$0 --help' for more information.";;
   20833   --help | --hel | -h )
   20834     $as_echo "$ac_cs_usage"; exit ;;
   20835   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20836   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20837     ac_cs_silent=: ;;
   20838 
   20839   # This is an error.
   20840   -*) as_fn_error $? "unrecognized option: \`$1'
   20841 Try \`$0 --help' for more information." ;;
   20842 
   20843   *) as_fn_append ac_config_targets " $1"
   20844      ac_need_defaults=false ;;
   20845 
   20846   esac
   20847   shift
   20848 done
   20849 
   20850 ac_configure_extra_args=
   20851 
   20852 if $ac_cs_silent; then
   20853   exec 6>/dev/null
   20854   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20855 fi
   20856 
   20857 _ACEOF
   20858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20859 if \$ac_cs_recheck; then
   20860   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20861   shift
   20862   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   20863   CONFIG_SHELL='$SHELL'
   20864   export CONFIG_SHELL
   20865   exec "\$@"
   20866 fi
   20867 
   20868 _ACEOF
   20869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20870 exec 5>>config.log
   20871 {
   20872   echo
   20873   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20874 ## Running $as_me. ##
   20875 _ASBOX
   20876   $as_echo "$ac_log"
   20877 } >&5
   20878 
   20879 _ACEOF
   20880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20881 #
   20882 # INIT-COMMANDS
   20883 #
   20884 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20885 
   20886 
   20887 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20888 # if CDPATH is set.
   20889 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20890 
   20891 sed_quote_subst='$sed_quote_subst'
   20892 double_quote_subst='$double_quote_subst'
   20893 delay_variable_subst='$delay_variable_subst'
   20894 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20895 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20896 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20897 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20898 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20899 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20900 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20901 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20902 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20903 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20904 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20905 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20906 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20907 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20908 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20909 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20910 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20911 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20912 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20913 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20914 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20915 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20916 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20917 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20918 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20919 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20920 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20921 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20922 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20923 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20924 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20925 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20926 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20927 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20928 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20929 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20930 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20931 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20932 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20933 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20934 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20935 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20936 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20937 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20938 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20939 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20940 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20941 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20942 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20943 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20944 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20945 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20946 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20947 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20948 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20949 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20950 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20951 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20952 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"`'
   20953 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20954 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20955 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20956 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20957 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20958 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20959 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20960 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20961 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20962 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20963 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20964 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20965 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20966 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20967 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20968 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20969 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20970 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20971 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20972 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20973 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20974 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20975 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20976 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20977 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20978 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20979 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20980 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20981 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20982 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20983 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20984 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20985 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20986 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20987 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20988 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20989 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20990 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20991 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20992 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20993 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20994 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20995 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20996 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20997 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20998 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20999 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21000 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21001 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21002 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21003 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21004 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21005 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21006 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21007 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21008 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21009 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21010 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21011 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21012 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21013 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21014 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21015 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21016 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21017 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21018 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21019 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21020 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21021 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21022 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21023 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21024 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21025 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21026 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21027 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21028 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21029 
   21030 LTCC='$LTCC'
   21031 LTCFLAGS='$LTCFLAGS'
   21032 compiler='$compiler_DEFAULT'
   21033 
   21034 # A function that is used when there is no print builtin or printf.
   21035 func_fallback_echo ()
   21036 {
   21037   eval 'cat <<_LTECHO_EOF
   21038 \$1
   21039 _LTECHO_EOF'
   21040 }
   21041 
   21042 # Quote evaled strings.
   21043 for var in SHELL \
   21044 ECHO \
   21045 PATH_SEPARATOR \
   21046 SED \
   21047 GREP \
   21048 EGREP \
   21049 FGREP \
   21050 LD \
   21051 NM \
   21052 LN_S \
   21053 lt_SP2NL \
   21054 lt_NL2SP \
   21055 reload_flag \
   21056 OBJDUMP \
   21057 deplibs_check_method \
   21058 file_magic_cmd \
   21059 file_magic_glob \
   21060 want_nocaseglob \
   21061 DLLTOOL \
   21062 sharedlib_from_linklib_cmd \
   21063 AR \
   21064 AR_FLAGS \
   21065 archiver_list_spec \
   21066 STRIP \
   21067 RANLIB \
   21068 CC \
   21069 CFLAGS \
   21070 compiler \
   21071 lt_cv_sys_global_symbol_pipe \
   21072 lt_cv_sys_global_symbol_to_cdecl \
   21073 lt_cv_sys_global_symbol_to_import \
   21074 lt_cv_sys_global_symbol_to_c_name_address \
   21075 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21076 lt_cv_nm_interface \
   21077 nm_file_list_spec \
   21078 lt_cv_truncate_bin \
   21079 lt_prog_compiler_no_builtin_flag \
   21080 lt_prog_compiler_pic \
   21081 lt_prog_compiler_wl \
   21082 lt_prog_compiler_static \
   21083 lt_cv_prog_compiler_c_o \
   21084 need_locks \
   21085 MANIFEST_TOOL \
   21086 DSYMUTIL \
   21087 NMEDIT \
   21088 LIPO \
   21089 OTOOL \
   21090 OTOOL64 \
   21091 shrext_cmds \
   21092 export_dynamic_flag_spec \
   21093 whole_archive_flag_spec \
   21094 compiler_needs_object \
   21095 with_gnu_ld \
   21096 allow_undefined_flag \
   21097 no_undefined_flag \
   21098 hardcode_libdir_flag_spec \
   21099 hardcode_libdir_separator \
   21100 exclude_expsyms \
   21101 include_expsyms \
   21102 file_list_spec \
   21103 variables_saved_for_relink \
   21104 libname_spec \
   21105 library_names_spec \
   21106 soname_spec \
   21107 install_override_mode \
   21108 finish_eval \
   21109 old_striplib \
   21110 striplib; do
   21111     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21112     *[\\\\\\\`\\"\\\$]*)
   21113       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21114       ;;
   21115     *)
   21116       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21117       ;;
   21118     esac
   21119 done
   21120 
   21121 # Double-quote double-evaled strings.
   21122 for var in reload_cmds \
   21123 old_postinstall_cmds \
   21124 old_postuninstall_cmds \
   21125 old_archive_cmds \
   21126 extract_expsyms_cmds \
   21127 old_archive_from_new_cmds \
   21128 old_archive_from_expsyms_cmds \
   21129 archive_cmds \
   21130 archive_expsym_cmds \
   21131 module_cmds \
   21132 module_expsym_cmds \
   21133 export_symbols_cmds \
   21134 prelink_cmds \
   21135 postlink_cmds \
   21136 postinstall_cmds \
   21137 postuninstall_cmds \
   21138 finish_cmds \
   21139 sys_lib_search_path_spec \
   21140 configure_time_dlsearch_path \
   21141 configure_time_lt_sys_library_path; do
   21142     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21143     *[\\\\\\\`\\"\\\$]*)
   21144       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21145       ;;
   21146     *)
   21147       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21148       ;;
   21149     esac
   21150 done
   21151 
   21152 ac_aux_dir='$ac_aux_dir'
   21153 
   21154 # See if we are running on zsh, and set the options that allow our
   21155 # commands through without removal of \ escapes INIT.
   21156 if test -n "\${ZSH_VERSION+set}"; then
   21157    setopt NO_GLOB_SUBST
   21158 fi
   21159 
   21160 
   21161     PACKAGE='$PACKAGE'
   21162     VERSION='$VERSION'
   21163     RM='$RM'
   21164     ofile='$ofile'
   21165 
   21166 
   21167 
   21168 
   21169 _ACEOF
   21170 
   21171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21172 
   21173 # Handling of arguments.
   21174 for ac_config_target in $ac_config_targets
   21175 do
   21176   case $ac_config_target in
   21177     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21178     "include/X11/fonts/fontconf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/fonts/fontconf.h" ;;
   21179     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21180     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21181     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21182     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   21183     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21184     "src/fontfile/Makefile") CONFIG_FILES="$CONFIG_FILES src/fontfile/Makefile" ;;
   21185     "src/FreeType/Makefile") CONFIG_FILES="$CONFIG_FILES src/FreeType/Makefile" ;;
   21186     "src/builtins/Makefile") CONFIG_FILES="$CONFIG_FILES src/builtins/Makefile" ;;
   21187     "src/bitmap/Makefile") CONFIG_FILES="$CONFIG_FILES src/bitmap/Makefile" ;;
   21188     "src/fc/Makefile") CONFIG_FILES="$CONFIG_FILES src/fc/Makefile" ;;
   21189     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   21190     "src/stubs/Makefile") CONFIG_FILES="$CONFIG_FILES src/stubs/Makefile" ;;
   21191     "xfont.pc") CONFIG_FILES="$CONFIG_FILES xfont.pc" ;;
   21192 
   21193   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21194   esac
   21195 done
   21196 
   21197 
   21198 # If the user did not use the arguments to specify the items to instantiate,
   21199 # then the envvar interface is used.  Set only those that are not.
   21200 # We use the long form for the default assignment because of an extremely
   21201 # bizarre bug on SunOS 4.1.3.
   21202 if $ac_need_defaults; then
   21203   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21204   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21205   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21206 fi
   21207 
   21208 # Have a temporary directory for convenience.  Make it in the build tree
   21209 # simply because there is no reason against having it here, and in addition,
   21210 # creating and moving files from /tmp can sometimes cause problems.
   21211 # Hook for its removal unless debugging.
   21212 # Note that there is a small window in which the directory will not be cleaned:
   21213 # after its creation but before its name has been assigned to `$tmp'.
   21214 $debug ||
   21215 {
   21216   tmp= ac_tmp=
   21217   trap 'exit_status=$?
   21218   : "${ac_tmp:=$tmp}"
   21219   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21220 ' 0
   21221   trap 'as_fn_exit 1' 1 2 13 15
   21222 }
   21223 # Create a (secure) tmp directory for tmp files.
   21224 
   21225 {
   21226   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21227   test -d "$tmp"
   21228 }  ||
   21229 {
   21230   tmp=./conf$$-$RANDOM
   21231   (umask 077 && mkdir "$tmp")
   21232 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21233 ac_tmp=$tmp
   21234 
   21235 # Set up the scripts for CONFIG_FILES section.
   21236 # No need to generate them if there are no CONFIG_FILES.
   21237 # This happens for instance with `./config.status config.h'.
   21238 if test -n "$CONFIG_FILES"; then
   21239 
   21240 
   21241 ac_cr=`echo X | tr X '\015'`
   21242 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21243 # But we know of no other shell where ac_cr would be empty at this
   21244 # point, so we can use a bashism as a fallback.
   21245 if test "x$ac_cr" = x; then
   21246   eval ac_cr=\$\'\\r\'
   21247 fi
   21248 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21249 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21250   ac_cs_awk_cr='\\r'
   21251 else
   21252   ac_cs_awk_cr=$ac_cr
   21253 fi
   21254 
   21255 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21256 _ACEOF
   21257 
   21258 
   21259 {
   21260   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21261   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21262   echo "_ACEOF"
   21263 } >conf$$subs.sh ||
   21264   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21265 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21266 ac_delim='%!_!# '
   21267 for ac_last_try in false false false false false :; do
   21268   . ./conf$$subs.sh ||
   21269     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21270 
   21271   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21272   if test $ac_delim_n = $ac_delim_num; then
   21273     break
   21274   elif $ac_last_try; then
   21275     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21276   else
   21277     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21278   fi
   21279 done
   21280 rm -f conf$$subs.sh
   21281 
   21282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21283 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21284 _ACEOF
   21285 sed -n '
   21286 h
   21287 s/^/S["/; s/!.*/"]=/
   21288 p
   21289 g
   21290 s/^[^!]*!//
   21291 :repl
   21292 t repl
   21293 s/'"$ac_delim"'$//
   21294 t delim
   21295 :nl
   21296 h
   21297 s/\(.\{148\}\)..*/\1/
   21298 t more1
   21299 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21300 p
   21301 n
   21302 b repl
   21303 :more1
   21304 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21305 p
   21306 g
   21307 s/.\{148\}//
   21308 t nl
   21309 :delim
   21310 h
   21311 s/\(.\{148\}\)..*/\1/
   21312 t more2
   21313 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21314 p
   21315 b
   21316 :more2
   21317 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21318 p
   21319 g
   21320 s/.\{148\}//
   21321 t delim
   21322 ' <conf$$subs.awk | sed '
   21323 /^[^""]/{
   21324   N
   21325   s/\n//
   21326 }
   21327 ' >>$CONFIG_STATUS || ac_write_fail=1
   21328 rm -f conf$$subs.awk
   21329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21330 _ACAWK
   21331 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21332   for (key in S) S_is_set[key] = 1
   21333   FS = ""
   21334 
   21335 }
   21336 {
   21337   line = $ 0
   21338   nfields = split(line, field, "@")
   21339   substed = 0
   21340   len = length(field[1])
   21341   for (i = 2; i < nfields; i++) {
   21342     key = field[i]
   21343     keylen = length(key)
   21344     if (S_is_set[key]) {
   21345       value = S[key]
   21346       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21347       len += length(value) + length(field[++i])
   21348       substed = 1
   21349     } else
   21350       len += 1 + keylen
   21351   }
   21352 
   21353   print line
   21354 }
   21355 
   21356 _ACAWK
   21357 _ACEOF
   21358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21359 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21360   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21361 else
   21362   cat
   21363 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21364   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21365 _ACEOF
   21366 
   21367 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21368 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21369 # trailing colons and then remove the whole line if VPATH becomes empty
   21370 # (actually we leave an empty line to preserve line numbers).
   21371 if test "x$srcdir" = x.; then
   21372   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21373 h
   21374 s///
   21375 s/^/:/
   21376 s/[	 ]*$/:/
   21377 s/:\$(srcdir):/:/g
   21378 s/:\${srcdir}:/:/g
   21379 s/:@srcdir@:/:/g
   21380 s/^:*//
   21381 s/:*$//
   21382 x
   21383 s/\(=[	 ]*\).*/\1/
   21384 G
   21385 s/\n//
   21386 s/^[^=]*=[	 ]*$//
   21387 }'
   21388 fi
   21389 
   21390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21391 fi # test -n "$CONFIG_FILES"
   21392 
   21393 # Set up the scripts for CONFIG_HEADERS section.
   21394 # No need to generate them if there are no CONFIG_HEADERS.
   21395 # This happens for instance with `./config.status Makefile'.
   21396 if test -n "$CONFIG_HEADERS"; then
   21397 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21398 BEGIN {
   21399 _ACEOF
   21400 
   21401 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21402 # here-document in config.status, that substitutes the proper values into
   21403 # config.h.in to produce config.h.
   21404 
   21405 # Create a delimiter string that does not exist in confdefs.h, to ease
   21406 # handling of long lines.
   21407 ac_delim='%!_!# '
   21408 for ac_last_try in false false :; do
   21409   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21410   if test -z "$ac_tt"; then
   21411     break
   21412   elif $ac_last_try; then
   21413     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21414   else
   21415     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21416   fi
   21417 done
   21418 
   21419 # For the awk script, D is an array of macro values keyed by name,
   21420 # likewise P contains macro parameters if any.  Preserve backslash
   21421 # newline sequences.
   21422 
   21423 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21424 sed -n '
   21425 s/.\{148\}/&'"$ac_delim"'/g
   21426 t rset
   21427 :rset
   21428 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21429 t def
   21430 d
   21431 :def
   21432 s/\\$//
   21433 t bsnl
   21434 s/["\\]/\\&/g
   21435 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21436 D["\1"]=" \3"/p
   21437 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21438 d
   21439 :bsnl
   21440 s/["\\]/\\&/g
   21441 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21442 D["\1"]=" \3\\\\\\n"\\/p
   21443 t cont
   21444 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21445 t cont
   21446 d
   21447 :cont
   21448 n
   21449 s/.\{148\}/&'"$ac_delim"'/g
   21450 t clear
   21451 :clear
   21452 s/\\$//
   21453 t bsnlc
   21454 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21455 d
   21456 :bsnlc
   21457 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21458 b cont
   21459 ' <confdefs.h | sed '
   21460 s/'"$ac_delim"'/"\\\
   21461 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21462 
   21463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21464   for (key in D) D_is_set[key] = 1
   21465   FS = ""
   21466 }
   21467 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21468   line = \$ 0
   21469   split(line, arg, " ")
   21470   if (arg[1] == "#") {
   21471     defundef = arg[2]
   21472     mac1 = arg[3]
   21473   } else {
   21474     defundef = substr(arg[1], 2)
   21475     mac1 = arg[2]
   21476   }
   21477   split(mac1, mac2, "(") #)
   21478   macro = mac2[1]
   21479   prefix = substr(line, 1, index(line, defundef) - 1)
   21480   if (D_is_set[macro]) {
   21481     # Preserve the white space surrounding the "#".
   21482     print prefix "define", macro P[macro] D[macro]
   21483     next
   21484   } else {
   21485     # Replace #undef with comments.  This is necessary, for example,
   21486     # in the case of _POSIX_SOURCE, which is predefined and required
   21487     # on some systems where configure will not decide to define it.
   21488     if (defundef == "undef") {
   21489       print "/*", prefix defundef, macro, "*/"
   21490       next
   21491     }
   21492   }
   21493 }
   21494 { print }
   21495 _ACAWK
   21496 _ACEOF
   21497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21498   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21499 fi # test -n "$CONFIG_HEADERS"
   21500 
   21501 
   21502 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21503 shift
   21504 for ac_tag
   21505 do
   21506   case $ac_tag in
   21507   :[FHLC]) ac_mode=$ac_tag; continue;;
   21508   esac
   21509   case $ac_mode$ac_tag in
   21510   :[FHL]*:*);;
   21511   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21512   :[FH]-) ac_tag=-:-;;
   21513   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21514   esac
   21515   ac_save_IFS=$IFS
   21516   IFS=:
   21517   set x $ac_tag
   21518   IFS=$ac_save_IFS
   21519   shift
   21520   ac_file=$1
   21521   shift
   21522 
   21523   case $ac_mode in
   21524   :L) ac_source=$1;;
   21525   :[FH])
   21526     ac_file_inputs=
   21527     for ac_f
   21528     do
   21529       case $ac_f in
   21530       -) ac_f="$ac_tmp/stdin";;
   21531       *) # Look for the file first in the build tree, then in the source tree
   21532 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21533 	 # because $ac_f cannot contain `:'.
   21534 	 test -f "$ac_f" ||
   21535 	   case $ac_f in
   21536 	   [\\/$]*) false;;
   21537 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21538 	   esac ||
   21539 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21540       esac
   21541       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21542       as_fn_append ac_file_inputs " '$ac_f'"
   21543     done
   21544 
   21545     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21546     # use $as_me), people would be surprised to read:
   21547     #    /* config.h.  Generated by config.status.  */
   21548     configure_input='Generated from '`
   21549 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21550 	`' by configure.'
   21551     if test x"$ac_file" != x-; then
   21552       configure_input="$ac_file.  $configure_input"
   21553       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21554 $as_echo "$as_me: creating $ac_file" >&6;}
   21555     fi
   21556     # Neutralize special characters interpreted by sed in replacement strings.
   21557     case $configure_input in #(
   21558     *\&* | *\|* | *\\* )
   21559        ac_sed_conf_input=`$as_echo "$configure_input" |
   21560        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21561     *) ac_sed_conf_input=$configure_input;;
   21562     esac
   21563 
   21564     case $ac_tag in
   21565     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21566       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21567     esac
   21568     ;;
   21569   esac
   21570 
   21571   ac_dir=`$as_dirname -- "$ac_file" ||
   21572 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21573 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21574 	 X"$ac_file" : 'X\(//\)$' \| \
   21575 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21576 $as_echo X"$ac_file" |
   21577     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21578 	    s//\1/
   21579 	    q
   21580 	  }
   21581 	  /^X\(\/\/\)[^/].*/{
   21582 	    s//\1/
   21583 	    q
   21584 	  }
   21585 	  /^X\(\/\/\)$/{
   21586 	    s//\1/
   21587 	    q
   21588 	  }
   21589 	  /^X\(\/\).*/{
   21590 	    s//\1/
   21591 	    q
   21592 	  }
   21593 	  s/.*/./; q'`
   21594   as_dir="$ac_dir"; as_fn_mkdir_p
   21595   ac_builddir=.
   21596 
   21597 case "$ac_dir" in
   21598 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21599 *)
   21600   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   21601   # A ".." for each directory in $ac_dir_suffix.
   21602   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21603   case $ac_top_builddir_sub in
   21604   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21605   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21606   esac ;;
   21607 esac
   21608 ac_abs_top_builddir=$ac_pwd
   21609 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21610 # for backward compatibility:
   21611 ac_top_builddir=$ac_top_build_prefix
   21612 
   21613 case $srcdir in
   21614   .)  # We are building in place.
   21615     ac_srcdir=.
   21616     ac_top_srcdir=$ac_top_builddir_sub
   21617     ac_abs_top_srcdir=$ac_pwd ;;
   21618   [\\/]* | ?:[\\/]* )  # Absolute name.
   21619     ac_srcdir=$srcdir$ac_dir_suffix;
   21620     ac_top_srcdir=$srcdir
   21621     ac_abs_top_srcdir=$srcdir ;;
   21622   *) # Relative name.
   21623     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21624     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21625     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21626 esac
   21627 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21628 
   21629 
   21630   case $ac_mode in
   21631   :F)
   21632   #
   21633   # CONFIG_FILE
   21634   #
   21635 
   21636   case $INSTALL in
   21637   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21638   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21639   esac
   21640   ac_MKDIR_P=$MKDIR_P
   21641   case $MKDIR_P in
   21642   [\\/$]* | ?:[\\/]* ) ;;
   21643   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21644   esac
   21645 _ACEOF
   21646 
   21647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21648 # If the template does not know about datarootdir, expand it.
   21649 # FIXME: This hack should be removed a few years after 2.60.
   21650 ac_datarootdir_hack=; ac_datarootdir_seen=
   21651 ac_sed_dataroot='
   21652 /datarootdir/ {
   21653   p
   21654   q
   21655 }
   21656 /@datadir@/p
   21657 /@docdir@/p
   21658 /@infodir@/p
   21659 /@localedir@/p
   21660 /@mandir@/p'
   21661 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21662 *datarootdir*) ac_datarootdir_seen=yes;;
   21663 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21664   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21665 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21666 _ACEOF
   21667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21668   ac_datarootdir_hack='
   21669   s&@datadir@&$datadir&g
   21670   s&@docdir@&$docdir&g
   21671   s&@infodir@&$infodir&g
   21672   s&@localedir@&$localedir&g
   21673   s&@mandir@&$mandir&g
   21674   s&\\\${datarootdir}&$datarootdir&g' ;;
   21675 esac
   21676 _ACEOF
   21677 
   21678 # Neutralize VPATH when `$srcdir' = `.'.
   21679 # Shell code in configure.ac might set extrasub.
   21680 # FIXME: do we really want to maintain this feature?
   21681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21682 ac_sed_extra="$ac_vpsub
   21683 $extrasub
   21684 _ACEOF
   21685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21686 :t
   21687 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21688 s|@configure_input@|$ac_sed_conf_input|;t t
   21689 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21690 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21691 s&@srcdir@&$ac_srcdir&;t t
   21692 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21693 s&@top_srcdir@&$ac_top_srcdir&;t t
   21694 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21695 s&@builddir@&$ac_builddir&;t t
   21696 s&@abs_builddir@&$ac_abs_builddir&;t t
   21697 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21698 s&@INSTALL@&$ac_INSTALL&;t t
   21699 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21700 $ac_datarootdir_hack
   21701 "
   21702 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21703   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21704 
   21705 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21706   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21707   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21708       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21709   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21710 which seems to be undefined.  Please make sure it is defined" >&5
   21711 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21712 which seems to be undefined.  Please make sure it is defined" >&2;}
   21713 
   21714   rm -f "$ac_tmp/stdin"
   21715   case $ac_file in
   21716   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21717   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21718   esac \
   21719   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21720  ;;
   21721   :H)
   21722   #
   21723   # CONFIG_HEADER
   21724   #
   21725   if test x"$ac_file" != x-; then
   21726     {
   21727       $as_echo "/* $configure_input  */" \
   21728       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21729     } >"$ac_tmp/config.h" \
   21730       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21731     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21732       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21733 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   21734     else
   21735       rm -f "$ac_file"
   21736       mv "$ac_tmp/config.h" "$ac_file" \
   21737 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21738     fi
   21739   else
   21740     $as_echo "/* $configure_input  */" \
   21741       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21742       || as_fn_error $? "could not create -" "$LINENO" 5
   21743   fi
   21744 # Compute "$ac_file"'s index in $config_headers.
   21745 _am_arg="$ac_file"
   21746 _am_stamp_count=1
   21747 for _am_header in $config_headers :; do
   21748   case $_am_header in
   21749     $_am_arg | $_am_arg:* )
   21750       break ;;
   21751     * )
   21752       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21753   esac
   21754 done
   21755 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21756 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21757 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21758 	 X"$_am_arg" : 'X\(//\)$' \| \
   21759 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21760 $as_echo X"$_am_arg" |
   21761     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21762 	    s//\1/
   21763 	    q
   21764 	  }
   21765 	  /^X\(\/\/\)[^/].*/{
   21766 	    s//\1/
   21767 	    q
   21768 	  }
   21769 	  /^X\(\/\/\)$/{
   21770 	    s//\1/
   21771 	    q
   21772 	  }
   21773 	  /^X\(\/\).*/{
   21774 	    s//\1/
   21775 	    q
   21776 	  }
   21777 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21778  ;;
   21779 
   21780   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21781 $as_echo "$as_me: executing $ac_file commands" >&6;}
   21782  ;;
   21783   esac
   21784 
   21785 
   21786   case $ac_file$ac_mode in
   21787     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21788   # Older Autoconf quotes --file arguments for eval, but not when files
   21789   # are listed without --file.  Let's play safe and only enable the eval
   21790   # if we detect the quoting.
   21791   case $CONFIG_FILES in
   21792   *\'*) eval set x "$CONFIG_FILES" ;;
   21793   *)   set x $CONFIG_FILES ;;
   21794   esac
   21795   shift
   21796   for mf
   21797   do
   21798     # Strip MF so we end up with the name of the file.
   21799     mf=`echo "$mf" | sed -e 's/:.*$//'`
   21800     # Check whether this is an Automake generated Makefile or not.
   21801     # We used to match only the files named 'Makefile.in', but
   21802     # some people rename them; so instead we look at the file content.
   21803     # Grep'ing the first line is not enough: some people post-process
   21804     # each Makefile.in and add a new line on top of each file to say so.
   21805     # Grep'ing the whole file is not good either: AIX grep has a line
   21806     # limit of 2048, but all sed's we know have understand at least 4000.
   21807     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   21808       dirpart=`$as_dirname -- "$mf" ||
   21809 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21810 	 X"$mf" : 'X\(//\)[^/]' \| \
   21811 	 X"$mf" : 'X\(//\)$' \| \
   21812 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   21813 $as_echo X"$mf" |
   21814     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21815 	    s//\1/
   21816 	    q
   21817 	  }
   21818 	  /^X\(\/\/\)[^/].*/{
   21819 	    s//\1/
   21820 	    q
   21821 	  }
   21822 	  /^X\(\/\/\)$/{
   21823 	    s//\1/
   21824 	    q
   21825 	  }
   21826 	  /^X\(\/\).*/{
   21827 	    s//\1/
   21828 	    q
   21829 	  }
   21830 	  s/.*/./; q'`
   21831     else
   21832       continue
   21833     fi
   21834     # Extract the definition of DEPDIR, am__include, and am__quote
   21835     # from the Makefile without running 'make'.
   21836     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21837     test -z "$DEPDIR" && continue
   21838     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21839     test -z "$am__include" && continue
   21840     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21841     # Find all dependency output files, they are included files with
   21842     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21843     # simplest approach to changing $(DEPDIR) to its actual value in the
   21844     # expansion.
   21845     for file in `sed -n "
   21846       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21847 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   21848       # Make sure the directory exists.
   21849       test -f "$dirpart/$file" && continue
   21850       fdir=`$as_dirname -- "$file" ||
   21851 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21852 	 X"$file" : 'X\(//\)[^/]' \| \
   21853 	 X"$file" : 'X\(//\)$' \| \
   21854 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21855 $as_echo X"$file" |
   21856     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21857 	    s//\1/
   21858 	    q
   21859 	  }
   21860 	  /^X\(\/\/\)[^/].*/{
   21861 	    s//\1/
   21862 	    q
   21863 	  }
   21864 	  /^X\(\/\/\)$/{
   21865 	    s//\1/
   21866 	    q
   21867 	  }
   21868 	  /^X\(\/\).*/{
   21869 	    s//\1/
   21870 	    q
   21871 	  }
   21872 	  s/.*/./; q'`
   21873       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   21874       # echo "creating $dirpart/$file"
   21875       echo '# dummy' > "$dirpart/$file"
   21876     done
   21877   done
   21878 }
   21879  ;;
   21880     "libtool":C)
   21881 
   21882     # See if we are running on zsh, and set the options that allow our
   21883     # commands through without removal of \ escapes.
   21884     if test -n "${ZSH_VERSION+set}"; then
   21885       setopt NO_GLOB_SUBST
   21886     fi
   21887 
   21888     cfgfile=${ofile}T
   21889     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21890     $RM "$cfgfile"
   21891 
   21892     cat <<_LT_EOF >> "$cfgfile"
   21893 #! $SHELL
   21894 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21895 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21896 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21897 
   21898 # Provide generalized library-building support services.
   21899 # Written by Gordon Matzigkeit, 1996
   21900 
   21901 # Copyright (C) 2014 Free Software Foundation, Inc.
   21902 # This is free software; see the source for copying conditions.  There is NO
   21903 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21904 
   21905 # GNU Libtool is free software; you can redistribute it and/or modify
   21906 # it under the terms of the GNU General Public License as published by
   21907 # the Free Software Foundation; either version 2 of of the License, or
   21908 # (at your option) any later version.
   21909 #
   21910 # As a special exception to the GNU General Public License, if you
   21911 # distribute this file as part of a program or library that is built
   21912 # using GNU Libtool, you may include this file under the  same
   21913 # distribution terms that you use for the rest of that program.
   21914 #
   21915 # GNU Libtool is distributed in the hope that it will be useful, but
   21916 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21917 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21918 # GNU General Public License for more details.
   21919 #
   21920 # You should have received a copy of the GNU General Public License
   21921 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21922 
   21923 
   21924 # The names of the tagged configurations supported by this script.
   21925 available_tags=''
   21926 
   21927 # Configured defaults for sys_lib_dlsearch_path munging.
   21928 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21929 
   21930 # ### BEGIN LIBTOOL CONFIG
   21931 
   21932 # Which release of libtool.m4 was used?
   21933 macro_version=$macro_version
   21934 macro_revision=$macro_revision
   21935 
   21936 # Whether or not to build shared libraries.
   21937 build_libtool_libs=$enable_shared
   21938 
   21939 # Whether or not to build static libraries.
   21940 build_old_libs=$enable_static
   21941 
   21942 # What type of objects to build.
   21943 pic_mode=$pic_mode
   21944 
   21945 # Whether or not to optimize for fast installation.
   21946 fast_install=$enable_fast_install
   21947 
   21948 # Shared archive member basename,for filename based shared library versioning on AIX.
   21949 shared_archive_member_spec=$shared_archive_member_spec
   21950 
   21951 # Shell to use when invoking shell scripts.
   21952 SHELL=$lt_SHELL
   21953 
   21954 # An echo program that protects backslashes.
   21955 ECHO=$lt_ECHO
   21956 
   21957 # The PATH separator for the build system.
   21958 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21959 
   21960 # The host system.
   21961 host_alias=$host_alias
   21962 host=$host
   21963 host_os=$host_os
   21964 
   21965 # The build system.
   21966 build_alias=$build_alias
   21967 build=$build
   21968 build_os=$build_os
   21969 
   21970 # A sed program that does not truncate output.
   21971 SED=$lt_SED
   21972 
   21973 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21974 Xsed="\$SED -e 1s/^X//"
   21975 
   21976 # A grep program that handles long lines.
   21977 GREP=$lt_GREP
   21978 
   21979 # An ERE matcher.
   21980 EGREP=$lt_EGREP
   21981 
   21982 # A literal string matcher.
   21983 FGREP=$lt_FGREP
   21984 
   21985 # A BSD- or MS-compatible name lister.
   21986 NM=$lt_NM
   21987 
   21988 # Whether we need soft or hard links.
   21989 LN_S=$lt_LN_S
   21990 
   21991 # What is the maximum length of a command?
   21992 max_cmd_len=$max_cmd_len
   21993 
   21994 # Object file suffix (normally "o").
   21995 objext=$ac_objext
   21996 
   21997 # Executable file suffix (normally "").
   21998 exeext=$exeext
   21999 
   22000 # whether the shell understands "unset".
   22001 lt_unset=$lt_unset
   22002 
   22003 # turn spaces into newlines.
   22004 SP2NL=$lt_lt_SP2NL
   22005 
   22006 # turn newlines into spaces.
   22007 NL2SP=$lt_lt_NL2SP
   22008 
   22009 # convert \$build file names to \$host format.
   22010 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22011 
   22012 # convert \$build files to toolchain format.
   22013 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22014 
   22015 # An object symbol dumper.
   22016 OBJDUMP=$lt_OBJDUMP
   22017 
   22018 # Method to check whether dependent libraries are shared objects.
   22019 deplibs_check_method=$lt_deplibs_check_method
   22020 
   22021 # Command to use when deplibs_check_method = "file_magic".
   22022 file_magic_cmd=$lt_file_magic_cmd
   22023 
   22024 # How to find potential files when deplibs_check_method = "file_magic".
   22025 file_magic_glob=$lt_file_magic_glob
   22026 
   22027 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22028 want_nocaseglob=$lt_want_nocaseglob
   22029 
   22030 # DLL creation program.
   22031 DLLTOOL=$lt_DLLTOOL
   22032 
   22033 # Command to associate shared and link libraries.
   22034 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22035 
   22036 # The archiver.
   22037 AR=$lt_AR
   22038 
   22039 # Flags to create an archive.
   22040 AR_FLAGS=$lt_AR_FLAGS
   22041 
   22042 # How to feed a file listing to the archiver.
   22043 archiver_list_spec=$lt_archiver_list_spec
   22044 
   22045 # A symbol stripping program.
   22046 STRIP=$lt_STRIP
   22047 
   22048 # Commands used to install an old-style archive.
   22049 RANLIB=$lt_RANLIB
   22050 old_postinstall_cmds=$lt_old_postinstall_cmds
   22051 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22052 
   22053 # Whether to use a lock for old archive extraction.
   22054 lock_old_archive_extraction=$lock_old_archive_extraction
   22055 
   22056 # A C compiler.
   22057 LTCC=$lt_CC
   22058 
   22059 # LTCC compiler flags.
   22060 LTCFLAGS=$lt_CFLAGS
   22061 
   22062 # Take the output of nm and produce a listing of raw symbols and C names.
   22063 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22064 
   22065 # Transform the output of nm in a proper C declaration.
   22066 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22067 
   22068 # Transform the output of nm into a list of symbols to manually relocate.
   22069 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22070 
   22071 # Transform the output of nm in a C name address pair.
   22072 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22073 
   22074 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22075 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22076 
   22077 # The name lister interface.
   22078 nm_interface=$lt_lt_cv_nm_interface
   22079 
   22080 # Specify filename containing input files for \$NM.
   22081 nm_file_list_spec=$lt_nm_file_list_spec
   22082 
   22083 # The root where to search for dependent libraries,and where our libraries should be installed.
   22084 lt_sysroot=$lt_sysroot
   22085 
   22086 # Command to truncate a binary pipe.
   22087 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22088 
   22089 # The name of the directory that contains temporary libtool files.
   22090 objdir=$objdir
   22091 
   22092 # Used to examine libraries when file_magic_cmd begins with "file".
   22093 MAGIC_CMD=$MAGIC_CMD
   22094 
   22095 # Must we lock files when doing compilation?
   22096 need_locks=$lt_need_locks
   22097 
   22098 # Manifest tool.
   22099 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22100 
   22101 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22102 DSYMUTIL=$lt_DSYMUTIL
   22103 
   22104 # Tool to change global to local symbols on Mac OS X.
   22105 NMEDIT=$lt_NMEDIT
   22106 
   22107 # Tool to manipulate fat objects and archives on Mac OS X.
   22108 LIPO=$lt_LIPO
   22109 
   22110 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22111 OTOOL=$lt_OTOOL
   22112 
   22113 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22114 OTOOL64=$lt_OTOOL64
   22115 
   22116 # Old archive suffix (normally "a").
   22117 libext=$libext
   22118 
   22119 # Shared library suffix (normally ".so").
   22120 shrext_cmds=$lt_shrext_cmds
   22121 
   22122 # The commands to extract the exported symbol list from a shared archive.
   22123 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22124 
   22125 # Variables whose values should be saved in libtool wrapper scripts and
   22126 # restored at link time.
   22127 variables_saved_for_relink=$lt_variables_saved_for_relink
   22128 
   22129 # Do we need the "lib" prefix for modules?
   22130 need_lib_prefix=$need_lib_prefix
   22131 
   22132 # Do we need a version for libraries?
   22133 need_version=$need_version
   22134 
   22135 # Library versioning type.
   22136 version_type=$version_type
   22137 
   22138 # Shared library runtime path variable.
   22139 runpath_var=$runpath_var
   22140 
   22141 # Shared library path variable.
   22142 shlibpath_var=$shlibpath_var
   22143 
   22144 # Is shlibpath searched before the hard-coded library search path?
   22145 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22146 
   22147 # Format of library name prefix.
   22148 libname_spec=$lt_libname_spec
   22149 
   22150 # List of archive names.  First name is the real one, the rest are links.
   22151 # The last name is the one that the linker finds with -lNAME
   22152 library_names_spec=$lt_library_names_spec
   22153 
   22154 # The coded name of the library, if different from the real name.
   22155 soname_spec=$lt_soname_spec
   22156 
   22157 # Permission mode override for installation of shared libraries.
   22158 install_override_mode=$lt_install_override_mode
   22159 
   22160 # Command to use after installation of a shared archive.
   22161 postinstall_cmds=$lt_postinstall_cmds
   22162 
   22163 # Command to use after uninstallation of a shared archive.
   22164 postuninstall_cmds=$lt_postuninstall_cmds
   22165 
   22166 # Commands used to finish a libtool library installation in a directory.
   22167 finish_cmds=$lt_finish_cmds
   22168 
   22169 # As "finish_cmds", except a single script fragment to be evaled but
   22170 # not shown.
   22171 finish_eval=$lt_finish_eval
   22172 
   22173 # Whether we should hardcode library paths into libraries.
   22174 hardcode_into_libs=$hardcode_into_libs
   22175 
   22176 # Compile-time system search path for libraries.
   22177 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22178 
   22179 # Detected run-time system search path for libraries.
   22180 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22181 
   22182 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22183 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22184 
   22185 # Whether dlopen is supported.
   22186 dlopen_support=$enable_dlopen
   22187 
   22188 # Whether dlopen of programs is supported.
   22189 dlopen_self=$enable_dlopen_self
   22190 
   22191 # Whether dlopen of statically linked programs is supported.
   22192 dlopen_self_static=$enable_dlopen_self_static
   22193 
   22194 # Commands to strip libraries.
   22195 old_striplib=$lt_old_striplib
   22196 striplib=$lt_striplib
   22197 
   22198 
   22199 # The linker used to build libraries.
   22200 LD=$lt_LD
   22201 
   22202 # How to create reloadable object files.
   22203 reload_flag=$lt_reload_flag
   22204 reload_cmds=$lt_reload_cmds
   22205 
   22206 # Commands used to build an old-style archive.
   22207 old_archive_cmds=$lt_old_archive_cmds
   22208 
   22209 # A language specific compiler.
   22210 CC=$lt_compiler
   22211 
   22212 # Is the compiler the GNU compiler?
   22213 with_gcc=$GCC
   22214 
   22215 # Compiler flag to turn off builtin functions.
   22216 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22217 
   22218 # Additional compiler flags for building library objects.
   22219 pic_flag=$lt_lt_prog_compiler_pic
   22220 
   22221 # How to pass a linker flag through the compiler.
   22222 wl=$lt_lt_prog_compiler_wl
   22223 
   22224 # Compiler flag to prevent dynamic linking.
   22225 link_static_flag=$lt_lt_prog_compiler_static
   22226 
   22227 # Does compiler simultaneously support -c and -o options?
   22228 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22229 
   22230 # Whether or not to add -lc for building shared libraries.
   22231 build_libtool_need_lc=$archive_cmds_need_lc
   22232 
   22233 # Whether or not to disallow shared libs when runtime libs are static.
   22234 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22235 
   22236 # Compiler flag to allow reflexive dlopens.
   22237 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22238 
   22239 # Compiler flag to generate shared objects directly from archives.
   22240 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22241 
   22242 # Whether the compiler copes with passing no objects directly.
   22243 compiler_needs_object=$lt_compiler_needs_object
   22244 
   22245 # Create an old-style archive from a shared archive.
   22246 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22247 
   22248 # Create a temporary old-style archive to link instead of a shared archive.
   22249 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22250 
   22251 # Commands used to build a shared archive.
   22252 archive_cmds=$lt_archive_cmds
   22253 archive_expsym_cmds=$lt_archive_expsym_cmds
   22254 
   22255 # Commands used to build a loadable module if different from building
   22256 # a shared archive.
   22257 module_cmds=$lt_module_cmds
   22258 module_expsym_cmds=$lt_module_expsym_cmds
   22259 
   22260 # Whether we are building with GNU ld or not.
   22261 with_gnu_ld=$lt_with_gnu_ld
   22262 
   22263 # Flag that allows shared libraries with undefined symbols to be built.
   22264 allow_undefined_flag=$lt_allow_undefined_flag
   22265 
   22266 # Flag that enforces no undefined symbols.
   22267 no_undefined_flag=$lt_no_undefined_flag
   22268 
   22269 # Flag to hardcode \$libdir into a binary during linking.
   22270 # This must work even if \$libdir does not exist
   22271 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22272 
   22273 # Whether we need a single "-rpath" flag with a separated argument.
   22274 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22275 
   22276 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22277 # DIR into the resulting binary.
   22278 hardcode_direct=$hardcode_direct
   22279 
   22280 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22281 # DIR into the resulting binary and the resulting library dependency is
   22282 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22283 # library is relocated.
   22284 hardcode_direct_absolute=$hardcode_direct_absolute
   22285 
   22286 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22287 # into the resulting binary.
   22288 hardcode_minus_L=$hardcode_minus_L
   22289 
   22290 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22291 # into the resulting binary.
   22292 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22293 
   22294 # Set to "yes" if building a shared library automatically hardcodes DIR
   22295 # into the library and all subsequent libraries and executables linked
   22296 # against it.
   22297 hardcode_automatic=$hardcode_automatic
   22298 
   22299 # Set to yes if linker adds runtime paths of dependent libraries
   22300 # to runtime path list.
   22301 inherit_rpath=$inherit_rpath
   22302 
   22303 # Whether libtool must link a program against all its dependency libraries.
   22304 link_all_deplibs=$link_all_deplibs
   22305 
   22306 # Set to "yes" if exported symbols are required.
   22307 always_export_symbols=$always_export_symbols
   22308 
   22309 # The commands to list exported symbols.
   22310 export_symbols_cmds=$lt_export_symbols_cmds
   22311 
   22312 # Symbols that should not be listed in the preloaded symbols.
   22313 exclude_expsyms=$lt_exclude_expsyms
   22314 
   22315 # Symbols that must always be exported.
   22316 include_expsyms=$lt_include_expsyms
   22317 
   22318 # Commands necessary for linking programs (against libraries) with templates.
   22319 prelink_cmds=$lt_prelink_cmds
   22320 
   22321 # Commands necessary for finishing linking programs.
   22322 postlink_cmds=$lt_postlink_cmds
   22323 
   22324 # Specify filename containing input files.
   22325 file_list_spec=$lt_file_list_spec
   22326 
   22327 # How to hardcode a shared library path into an executable.
   22328 hardcode_action=$hardcode_action
   22329 
   22330 # ### END LIBTOOL CONFIG
   22331 
   22332 _LT_EOF
   22333 
   22334     cat <<'_LT_EOF' >> "$cfgfile"
   22335 
   22336 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22337 
   22338 # func_munge_path_list VARIABLE PATH
   22339 # -----------------------------------
   22340 # VARIABLE is name of variable containing _space_ separated list of
   22341 # directories to be munged by the contents of PATH, which is string
   22342 # having a format:
   22343 # "DIR[:DIR]:"
   22344 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22345 # ":DIR[:DIR]"
   22346 #       string "DIR[ DIR]" will be appended to VARIABLE
   22347 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22348 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22349 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22350 # "DIR[:DIR]"
   22351 #       VARIABLE will be replaced by "DIR[ DIR]"
   22352 func_munge_path_list ()
   22353 {
   22354     case x$2 in
   22355     x)
   22356         ;;
   22357     *:)
   22358         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22359         ;;
   22360     x:*)
   22361         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22362         ;;
   22363     *::*)
   22364         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22365         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22366         ;;
   22367     *)
   22368         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22369         ;;
   22370     esac
   22371 }
   22372 
   22373 
   22374 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22375 func_cc_basename ()
   22376 {
   22377     for cc_temp in $*""; do
   22378       case $cc_temp in
   22379         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22380         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22381         \-*) ;;
   22382         *) break;;
   22383       esac
   22384     done
   22385     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22386 }
   22387 
   22388 
   22389 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22390 
   22391 _LT_EOF
   22392 
   22393   case $host_os in
   22394   aix3*)
   22395     cat <<\_LT_EOF >> "$cfgfile"
   22396 # AIX sometimes has problems with the GCC collect2 program.  For some
   22397 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22398 # vanish in a puff of smoke.
   22399 if test set != "${COLLECT_NAMES+set}"; then
   22400   COLLECT_NAMES=
   22401   export COLLECT_NAMES
   22402 fi
   22403 _LT_EOF
   22404     ;;
   22405   esac
   22406 
   22407 
   22408 ltmain=$ac_aux_dir/ltmain.sh
   22409 
   22410 
   22411   # We use sed instead of cat because bash on DJGPP gets confused if
   22412   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22413   # text mode, it properly converts lines to CR/LF.  This bash problem
   22414   # is reportedly fixed, but why not run on old versions too?
   22415   sed '$q' "$ltmain" >> "$cfgfile" \
   22416      || (rm -f "$cfgfile"; exit 1)
   22417 
   22418    mv -f "$cfgfile" "$ofile" ||
   22419     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22420   chmod +x "$ofile"
   22421 
   22422  ;;
   22423 
   22424   esac
   22425 done # for ac_tag
   22426 
   22427 
   22428 as_fn_exit 0
   22429 _ACEOF
   22430 ac_clean_files=$ac_clean_files_save
   22431 
   22432 test $ac_write_fail = 0 ||
   22433   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22434 
   22435 
   22436 # configure is writing to config.log, and then calls config.status.
   22437 # config.status does its own redirection, appending to config.log.
   22438 # Unfortunately, on DOS this fails, as config.log is still kept open
   22439 # by configure, so config.status won't be able to write to it; its
   22440 # output is simply discarded.  So we exec the FD to /dev/null,
   22441 # effectively closing config.log, so it can be properly (re)opened and
   22442 # appended to by config.status.  When coming back to configure, we
   22443 # need to make the FD available again.
   22444 if test "$no_create" != yes; then
   22445   ac_cs_success=:
   22446   ac_config_status_args=
   22447   test "$silent" = yes &&
   22448     ac_config_status_args="$ac_config_status_args --quiet"
   22449   exec 5>/dev/null
   22450   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22451   exec 5>>config.log
   22452   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22453   # would make configure fail if this is the last instruction.
   22454   $ac_cs_success || as_fn_exit 1
   22455 fi
   22456 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22457   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22458 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22459 fi
   22460 
   22461