Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXfont2 2.0.4.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXfont/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 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://gitlab.freedesktop.org/xorg/lib/libXfont/issues
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 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='libXfont2'
    653 PACKAGE_TARNAME='libXfont2'
    654 PACKAGE_VERSION='2.0.4'
    655 PACKAGE_STRING='libXfont2 2.0.4'
    656 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXfont/issues'
    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_config_libobj_dir=src/util
    697 ac_subst_vars='am__EXEEXT_FALSE
    698 am__EXEEXT_TRUE
    699 LTLIBOBJS
    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 LIBOBJS
    731 HAVE_STYLESHEETS_FALSE
    732 HAVE_STYLESHEETS_TRUE
    733 XSL_STYLESHEET
    734 STYLESHEET_SRCDIR
    735 XORG_SGML_PATH
    736 HAVE_FOP_FALSE
    737 HAVE_FOP_TRUE
    738 FOP
    739 HAVE_XMLTO_FALSE
    740 HAVE_XMLTO_TRUE
    741 HAVE_XMLTO_TEXT_FALSE
    742 HAVE_XMLTO_TEXT_TRUE
    743 XMLTO
    744 ENABLE_DEVEL_DOCS_FALSE
    745 ENABLE_DEVEL_DOCS_TRUE
    746 MAN_SUBSTS
    747 XORG_MAN_PAGE
    748 ADMIN_MAN_DIR
    749 DRIVER_MAN_DIR
    750 MISC_MAN_DIR
    751 FILE_MAN_DIR
    752 LIB_MAN_DIR
    753 APP_MAN_DIR
    754 ADMIN_MAN_SUFFIX
    755 DRIVER_MAN_SUFFIX
    756 MISC_MAN_SUFFIX
    757 FILE_MAN_SUFFIX
    758 LIB_MAN_SUFFIX
    759 APP_MAN_SUFFIX
    760 INSTALL_CMD
    761 PKG_CONFIG_LIBDIR
    762 PKG_CONFIG_PATH
    763 PKG_CONFIG
    764 CHANGELOG_CMD
    765 STRICT_CFLAGS
    766 CWARNFLAGS
    767 BASE_CFLAGS
    768 LT_SYS_LIBRARY_PATH
    769 OTOOL64
    770 OTOOL
    771 LIPO
    772 NMEDIT
    773 DSYMUTIL
    774 MANIFEST_TOOL
    775 RANLIB
    776 ac_ct_AR
    777 AR
    778 DLLTOOL
    779 OBJDUMP
    780 LN_S
    781 NM
    782 ac_ct_DUMPBIN
    783 DUMPBIN
    784 LD
    785 FGREP
    786 SED
    787 host_os
    788 host_vendor
    789 host_cpu
    790 host
    791 build_os
    792 build_vendor
    793 build_cpu
    794 build
    795 LIBTOOL
    796 EGREP
    797 GREP
    798 CPP
    799 am__fastdepCC_FALSE
    800 am__fastdepCC_TRUE
    801 CCDEPMODE
    802 am__nodep
    803 AMDEPBACKSLASH
    804 AMDEP_FALSE
    805 AMDEP_TRUE
    806 am__quote
    807 am__include
    808 DEPDIR
    809 OBJEXT
    810 EXEEXT
    811 ac_ct_CC
    812 CPPFLAGS
    813 LDFLAGS
    814 CFLAGS
    815 CC
    816 AM_BACKSLASH
    817 AM_DEFAULT_VERBOSITY
    818 AM_DEFAULT_V
    819 AM_V
    820 am__untar
    821 am__tar
    822 AMTAR
    823 am__leading_dot
    824 SET_MAKE
    825 AWK
    826 mkdir_p
    827 MKDIR_P
    828 INSTALL_STRIP_PROGRAM
    829 STRIP
    830 install_sh
    831 MAKEINFO
    832 AUTOHEADER
    833 AUTOMAKE
    834 AUTOCONF
    835 ACLOCAL
    836 VERSION
    837 PACKAGE
    838 CYGPATH_W
    839 am__isrc
    840 INSTALL_DATA
    841 INSTALL_SCRIPT
    842 INSTALL_PROGRAM
    843 target_alias
    844 host_alias
    845 build_alias
    846 LIBS
    847 ECHO_T
    848 ECHO_N
    849 ECHO_C
    850 DEFS
    851 mandir
    852 localedir
    853 libdir
    854 psdir
    855 pdfdir
    856 dvidir
    857 htmldir
    858 infodir
    859 docdir
    860 oldincludedir
    861 includedir
    862 localstatedir
    863 sharedstatedir
    864 sysconfdir
    865 datadir
    866 datarootdir
    867 libexecdir
    868 sbindir
    869 bindir
    870 program_transform_name
    871 prefix
    872 exec_prefix
    873 PACKAGE_URL
    874 PACKAGE_BUGREPORT
    875 PACKAGE_STRING
    876 PACKAGE_VERSION
    877 PACKAGE_TARNAME
    878 PACKAGE_NAME
    879 PATH_SEPARATOR
    880 SHELL'
    881 ac_subst_files=''
    882 ac_user_opts='
    883 enable_option_checking
    884 enable_silent_rules
    885 enable_dependency_tracking
    886 enable_shared
    887 enable_static
    888 with_pic
    889 enable_fast_install
    890 with_aix_soname
    891 with_gnu_ld
    892 with_sysroot
    893 enable_libtool_lock
    894 enable_selective_werror
    895 enable_strict_compilation
    896 enable_devel_docs
    897 with_xmlto
    898 with_fop
    899 enable_freetype
    900 with_freetype_config
    901 with_bzip2
    902 enable_builtins
    903 enable_pcfformat
    904 enable_bdfformat
    905 enable_snfformat
    906 enable_fc
    907 enable_unix_transport
    908 enable_tcp_transport
    909 enable_ipv6
    910 enable_local_transport
    911 '
    912       ac_precious_vars='build_alias
    913 host_alias
    914 target_alias
    915 CC
    916 CFLAGS
    917 LDFLAGS
    918 LIBS
    919 CPPFLAGS
    920 CPP
    921 LT_SYS_LIBRARY_PATH
    922 PKG_CONFIG
    923 PKG_CONFIG_PATH
    924 PKG_CONFIG_LIBDIR
    925 XMLTO
    926 FOP
    927 FREETYPE_CFLAGS
    928 FREETYPE_LIBS
    929 XFONT_CFLAGS
    930 XFONT_LIBS'
    931 
    932 
    933 # Initialize some variables set by options.
    934 ac_init_help=
    935 ac_init_version=false
    936 ac_unrecognized_opts=
    937 ac_unrecognized_sep=
    938 # The variables have the same names as the options, with
    939 # dashes changed to underlines.
    940 cache_file=/dev/null
    941 exec_prefix=NONE
    942 no_create=
    943 no_recursion=
    944 prefix=NONE
    945 program_prefix=NONE
    946 program_suffix=NONE
    947 program_transform_name=s,x,x,
    948 silent=
    949 site=
    950 srcdir=
    951 verbose=
    952 x_includes=NONE
    953 x_libraries=NONE
    954 
    955 # Installation directory options.
    956 # These are left unexpanded so users can "make install exec_prefix=/foo"
    957 # and all the variables that are supposed to be based on exec_prefix
    958 # by default will actually change.
    959 # Use braces instead of parens because sh, perl, etc. also accept them.
    960 # (The list follows the same order as the GNU Coding Standards.)
    961 bindir='${exec_prefix}/bin'
    962 sbindir='${exec_prefix}/sbin'
    963 libexecdir='${exec_prefix}/libexec'
    964 datarootdir='${prefix}/share'
    965 datadir='${datarootdir}'
    966 sysconfdir='${prefix}/etc'
    967 sharedstatedir='${prefix}/com'
    968 localstatedir='${prefix}/var'
    969 includedir='${prefix}/include'
    970 oldincludedir='/usr/include'
    971 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    972 infodir='${datarootdir}/info'
    973 htmldir='${docdir}'
    974 dvidir='${docdir}'
    975 pdfdir='${docdir}'
    976 psdir='${docdir}'
    977 libdir='${exec_prefix}/lib'
    978 localedir='${datarootdir}/locale'
    979 mandir='${datarootdir}/man'
    980 
    981 ac_prev=
    982 ac_dashdash=
    983 for ac_option
    984 do
    985   # If the previous option needs an argument, assign it.
    986   if test -n "$ac_prev"; then
    987     eval $ac_prev=\$ac_option
    988     ac_prev=
    989     continue
    990   fi
    991 
    992   case $ac_option in
    993   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    994   *=)   ac_optarg= ;;
    995   *)    ac_optarg=yes ;;
    996   esac
    997 
    998   # Accept the important Cygnus configure options, so we can diagnose typos.
    999 
   1000   case $ac_dashdash$ac_option in
   1001   --)
   1002     ac_dashdash=yes ;;
   1003 
   1004   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1005     ac_prev=bindir ;;
   1006   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1007     bindir=$ac_optarg ;;
   1008 
   1009   -build | --build | --buil | --bui | --bu)
   1010     ac_prev=build_alias ;;
   1011   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1012     build_alias=$ac_optarg ;;
   1013 
   1014   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1015   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1016     ac_prev=cache_file ;;
   1017   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1018   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1019     cache_file=$ac_optarg ;;
   1020 
   1021   --config-cache | -C)
   1022     cache_file=config.cache ;;
   1023 
   1024   -datadir | --datadir | --datadi | --datad)
   1025     ac_prev=datadir ;;
   1026   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1027     datadir=$ac_optarg ;;
   1028 
   1029   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1030   | --dataroo | --dataro | --datar)
   1031     ac_prev=datarootdir ;;
   1032   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1033   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1034     datarootdir=$ac_optarg ;;
   1035 
   1036   -disable-* | --disable-*)
   1037     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1038     # Reject names that are not valid shell variable names.
   1039     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1040       as_fn_error $? "invalid feature name: $ac_useropt"
   1041     ac_useropt_orig=$ac_useropt
   1042     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1043     case $ac_user_opts in
   1044       *"
   1045 "enable_$ac_useropt"
   1046 "*) ;;
   1047       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1048 	 ac_unrecognized_sep=', ';;
   1049     esac
   1050     eval enable_$ac_useropt=no ;;
   1051 
   1052   -docdir | --docdir | --docdi | --doc | --do)
   1053     ac_prev=docdir ;;
   1054   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1055     docdir=$ac_optarg ;;
   1056 
   1057   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1058     ac_prev=dvidir ;;
   1059   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1060     dvidir=$ac_optarg ;;
   1061 
   1062   -enable-* | --enable-*)
   1063     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1064     # Reject names that are not valid shell variable names.
   1065     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1066       as_fn_error $? "invalid feature name: $ac_useropt"
   1067     ac_useropt_orig=$ac_useropt
   1068     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1069     case $ac_user_opts in
   1070       *"
   1071 "enable_$ac_useropt"
   1072 "*) ;;
   1073       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1074 	 ac_unrecognized_sep=', ';;
   1075     esac
   1076     eval enable_$ac_useropt=\$ac_optarg ;;
   1077 
   1078   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1079   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1080   | --exec | --exe | --ex)
   1081     ac_prev=exec_prefix ;;
   1082   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1083   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1084   | --exec=* | --exe=* | --ex=*)
   1085     exec_prefix=$ac_optarg ;;
   1086 
   1087   -gas | --gas | --ga | --g)
   1088     # Obsolete; use --with-gas.
   1089     with_gas=yes ;;
   1090 
   1091   -help | --help | --hel | --he | -h)
   1092     ac_init_help=long ;;
   1093   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1094     ac_init_help=recursive ;;
   1095   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1096     ac_init_help=short ;;
   1097 
   1098   -host | --host | --hos | --ho)
   1099     ac_prev=host_alias ;;
   1100   -host=* | --host=* | --hos=* | --ho=*)
   1101     host_alias=$ac_optarg ;;
   1102 
   1103   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1104     ac_prev=htmldir ;;
   1105   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1106   | --ht=*)
   1107     htmldir=$ac_optarg ;;
   1108 
   1109   -includedir | --includedir | --includedi | --included | --include \
   1110   | --includ | --inclu | --incl | --inc)
   1111     ac_prev=includedir ;;
   1112   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1113   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1114     includedir=$ac_optarg ;;
   1115 
   1116   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1117     ac_prev=infodir ;;
   1118   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1119     infodir=$ac_optarg ;;
   1120 
   1121   -libdir | --libdir | --libdi | --libd)
   1122     ac_prev=libdir ;;
   1123   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1124     libdir=$ac_optarg ;;
   1125 
   1126   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1127   | --libexe | --libex | --libe)
   1128     ac_prev=libexecdir ;;
   1129   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1130   | --libexe=* | --libex=* | --libe=*)
   1131     libexecdir=$ac_optarg ;;
   1132 
   1133   -localedir | --localedir | --localedi | --localed | --locale)
   1134     ac_prev=localedir ;;
   1135   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1136     localedir=$ac_optarg ;;
   1137 
   1138   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1139   | --localstate | --localstat | --localsta | --localst | --locals)
   1140     ac_prev=localstatedir ;;
   1141   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1142   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1143     localstatedir=$ac_optarg ;;
   1144 
   1145   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1146     ac_prev=mandir ;;
   1147   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1148     mandir=$ac_optarg ;;
   1149 
   1150   -nfp | --nfp | --nf)
   1151     # Obsolete; use --without-fp.
   1152     with_fp=no ;;
   1153 
   1154   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1155   | --no-cr | --no-c | -n)
   1156     no_create=yes ;;
   1157 
   1158   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1159   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1160     no_recursion=yes ;;
   1161 
   1162   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1163   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1164   | --oldin | --oldi | --old | --ol | --o)
   1165     ac_prev=oldincludedir ;;
   1166   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1167   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1168   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1169     oldincludedir=$ac_optarg ;;
   1170 
   1171   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1172     ac_prev=prefix ;;
   1173   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1174     prefix=$ac_optarg ;;
   1175 
   1176   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1177   | --program-pre | --program-pr | --program-p)
   1178     ac_prev=program_prefix ;;
   1179   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1180   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1181     program_prefix=$ac_optarg ;;
   1182 
   1183   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1184   | --program-suf | --program-su | --program-s)
   1185     ac_prev=program_suffix ;;
   1186   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1187   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1188     program_suffix=$ac_optarg ;;
   1189 
   1190   -program-transform-name | --program-transform-name \
   1191   | --program-transform-nam | --program-transform-na \
   1192   | --program-transform-n | --program-transform- \
   1193   | --program-transform | --program-transfor \
   1194   | --program-transfo | --program-transf \
   1195   | --program-trans | --program-tran \
   1196   | --progr-tra | --program-tr | --program-t)
   1197     ac_prev=program_transform_name ;;
   1198   -program-transform-name=* | --program-transform-name=* \
   1199   | --program-transform-nam=* | --program-transform-na=* \
   1200   | --program-transform-n=* | --program-transform-=* \
   1201   | --program-transform=* | --program-transfor=* \
   1202   | --program-transfo=* | --program-transf=* \
   1203   | --program-trans=* | --program-tran=* \
   1204   | --progr-tra=* | --program-tr=* | --program-t=*)
   1205     program_transform_name=$ac_optarg ;;
   1206 
   1207   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1208     ac_prev=pdfdir ;;
   1209   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1210     pdfdir=$ac_optarg ;;
   1211 
   1212   -psdir | --psdir | --psdi | --psd | --ps)
   1213     ac_prev=psdir ;;
   1214   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1215     psdir=$ac_optarg ;;
   1216 
   1217   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1218   | -silent | --silent | --silen | --sile | --sil)
   1219     silent=yes ;;
   1220 
   1221   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1222     ac_prev=sbindir ;;
   1223   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1224   | --sbi=* | --sb=*)
   1225     sbindir=$ac_optarg ;;
   1226 
   1227   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1228   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1229   | --sharedst | --shareds | --shared | --share | --shar \
   1230   | --sha | --sh)
   1231     ac_prev=sharedstatedir ;;
   1232   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1233   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1234   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1235   | --sha=* | --sh=*)
   1236     sharedstatedir=$ac_optarg ;;
   1237 
   1238   -site | --site | --sit)
   1239     ac_prev=site ;;
   1240   -site=* | --site=* | --sit=*)
   1241     site=$ac_optarg ;;
   1242 
   1243   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1244     ac_prev=srcdir ;;
   1245   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1246     srcdir=$ac_optarg ;;
   1247 
   1248   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1249   | --syscon | --sysco | --sysc | --sys | --sy)
   1250     ac_prev=sysconfdir ;;
   1251   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1252   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1253     sysconfdir=$ac_optarg ;;
   1254 
   1255   -target | --target | --targe | --targ | --tar | --ta | --t)
   1256     ac_prev=target_alias ;;
   1257   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1258     target_alias=$ac_optarg ;;
   1259 
   1260   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1261     verbose=yes ;;
   1262 
   1263   -version | --version | --versio | --versi | --vers | -V)
   1264     ac_init_version=: ;;
   1265 
   1266   -with-* | --with-*)
   1267     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1268     # Reject names that are not valid shell variable names.
   1269     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1270       as_fn_error $? "invalid package name: $ac_useropt"
   1271     ac_useropt_orig=$ac_useropt
   1272     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1273     case $ac_user_opts in
   1274       *"
   1275 "with_$ac_useropt"
   1276 "*) ;;
   1277       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1278 	 ac_unrecognized_sep=', ';;
   1279     esac
   1280     eval with_$ac_useropt=\$ac_optarg ;;
   1281 
   1282   -without-* | --without-*)
   1283     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1284     # Reject names that are not valid shell variable names.
   1285     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1286       as_fn_error $? "invalid package name: $ac_useropt"
   1287     ac_useropt_orig=$ac_useropt
   1288     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1289     case $ac_user_opts in
   1290       *"
   1291 "with_$ac_useropt"
   1292 "*) ;;
   1293       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1294 	 ac_unrecognized_sep=', ';;
   1295     esac
   1296     eval with_$ac_useropt=no ;;
   1297 
   1298   --x)
   1299     # Obsolete; use --with-x.
   1300     with_x=yes ;;
   1301 
   1302   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1303   | --x-incl | --x-inc | --x-in | --x-i)
   1304     ac_prev=x_includes ;;
   1305   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1306   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1307     x_includes=$ac_optarg ;;
   1308 
   1309   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1310   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1311     ac_prev=x_libraries ;;
   1312   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1313   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1314     x_libraries=$ac_optarg ;;
   1315 
   1316   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1317 Try \`$0 --help' for more information"
   1318     ;;
   1319 
   1320   *=*)
   1321     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1322     # Reject names that are not valid shell variable names.
   1323     case $ac_envvar in #(
   1324       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1325       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1326     esac
   1327     eval $ac_envvar=\$ac_optarg
   1328     export $ac_envvar ;;
   1329 
   1330   *)
   1331     # FIXME: should be removed in autoconf 3.0.
   1332     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1333     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1334       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1335     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1336     ;;
   1337 
   1338   esac
   1339 done
   1340 
   1341 if test -n "$ac_prev"; then
   1342   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1343   as_fn_error $? "missing argument to $ac_option"
   1344 fi
   1345 
   1346 if test -n "$ac_unrecognized_opts"; then
   1347   case $enable_option_checking in
   1348     no) ;;
   1349     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1350     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1351   esac
   1352 fi
   1353 
   1354 # Check all directory arguments for consistency.
   1355 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1356 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1357 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1358 		libdir localedir mandir
   1359 do
   1360   eval ac_val=\$$ac_var
   1361   # Remove trailing slashes.
   1362   case $ac_val in
   1363     */ )
   1364       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1365       eval $ac_var=\$ac_val;;
   1366   esac
   1367   # Be sure to have absolute directory names.
   1368   case $ac_val in
   1369     [\\/$]* | ?:[\\/]* )  continue;;
   1370     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1371   esac
   1372   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1373 done
   1374 
   1375 # There might be people who depend on the old broken behavior: `$host'
   1376 # used to hold the argument of --host etc.
   1377 # FIXME: To remove some day.
   1378 build=$build_alias
   1379 host=$host_alias
   1380 target=$target_alias
   1381 
   1382 # FIXME: To remove some day.
   1383 if test "x$host_alias" != x; then
   1384   if test "x$build_alias" = x; then
   1385     cross_compiling=maybe
   1386   elif test "x$build_alias" != "x$host_alias"; then
   1387     cross_compiling=yes
   1388   fi
   1389 fi
   1390 
   1391 ac_tool_prefix=
   1392 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1393 
   1394 test "$silent" = yes && exec 6>/dev/null
   1395 
   1396 
   1397 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1398 ac_ls_di=`ls -di .` &&
   1399 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1400   as_fn_error $? "working directory cannot be determined"
   1401 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1402   as_fn_error $? "pwd does not report name of working directory"
   1403 
   1404 
   1405 # Find the source files, if location was not specified.
   1406 if test -z "$srcdir"; then
   1407   ac_srcdir_defaulted=yes
   1408   # Try the directory containing this script, then the parent directory.
   1409   ac_confdir=`$as_dirname -- "$as_myself" ||
   1410 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1411 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1412 	 X"$as_myself" : 'X\(//\)$' \| \
   1413 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1414 $as_echo X"$as_myself" |
   1415     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1416 	    s//\1/
   1417 	    q
   1418 	  }
   1419 	  /^X\(\/\/\)[^/].*/{
   1420 	    s//\1/
   1421 	    q
   1422 	  }
   1423 	  /^X\(\/\/\)$/{
   1424 	    s//\1/
   1425 	    q
   1426 	  }
   1427 	  /^X\(\/\).*/{
   1428 	    s//\1/
   1429 	    q
   1430 	  }
   1431 	  s/.*/./; q'`
   1432   srcdir=$ac_confdir
   1433   if test ! -r "$srcdir/$ac_unique_file"; then
   1434     srcdir=..
   1435   fi
   1436 else
   1437   ac_srcdir_defaulted=no
   1438 fi
   1439 if test ! -r "$srcdir/$ac_unique_file"; then
   1440   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1441   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1442 fi
   1443 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1444 ac_abs_confdir=`(
   1445 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1446 	pwd)`
   1447 # When building in place, set srcdir=.
   1448 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1449   srcdir=.
   1450 fi
   1451 # Remove unnecessary trailing slashes from srcdir.
   1452 # Double slashes in file names in object file debugging info
   1453 # mess up M-x gdb in Emacs.
   1454 case $srcdir in
   1455 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1456 esac
   1457 for ac_var in $ac_precious_vars; do
   1458   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1459   eval ac_env_${ac_var}_value=\$${ac_var}
   1460   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1461   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1462 done
   1463 
   1464 #
   1465 # Report the --help message.
   1466 #
   1467 if test "$ac_init_help" = "long"; then
   1468   # Omit some internal or obsolete options to make the list less imposing.
   1469   # This message is too long to be a string in the A/UX 3.1 sh.
   1470   cat <<_ACEOF
   1471 \`configure' configures libXfont2 2.0.4 to adapt to many kinds of systems.
   1472 
   1473 Usage: $0 [OPTION]... [VAR=VALUE]...
   1474 
   1475 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1476 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1477 
   1478 Defaults for the options are specified in brackets.
   1479 
   1480 Configuration:
   1481   -h, --help              display this help and exit
   1482       --help=short        display options specific to this package
   1483       --help=recursive    display the short help of all the included packages
   1484   -V, --version           display version information and exit
   1485   -q, --quiet, --silent   do not print \`checking ...' messages
   1486       --cache-file=FILE   cache test results in FILE [disabled]
   1487   -C, --config-cache      alias for \`--cache-file=config.cache'
   1488   -n, --no-create         do not create output files
   1489       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1490 
   1491 Installation directories:
   1492   --prefix=PREFIX         install architecture-independent files in PREFIX
   1493                           [$ac_default_prefix]
   1494   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1495                           [PREFIX]
   1496 
   1497 By default, \`make install' will install all the files in
   1498 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1499 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1500 for instance \`--prefix=\$HOME'.
   1501 
   1502 For better control, use the options below.
   1503 
   1504 Fine tuning of the installation directories:
   1505   --bindir=DIR            user executables [EPREFIX/bin]
   1506   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1507   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1508   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1509   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1510   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1511   --libdir=DIR            object code libraries [EPREFIX/lib]
   1512   --includedir=DIR        C header files [PREFIX/include]
   1513   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1514   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1515   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1516   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1517   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1518   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1519   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXfont2]
   1520   --htmldir=DIR           html documentation [DOCDIR]
   1521   --dvidir=DIR            dvi documentation [DOCDIR]
   1522   --pdfdir=DIR            pdf documentation [DOCDIR]
   1523   --psdir=DIR             ps documentation [DOCDIR]
   1524 _ACEOF
   1525 
   1526   cat <<\_ACEOF
   1527 
   1528 Program names:
   1529   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1530   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1531   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1532 
   1533 System types:
   1534   --build=BUILD     configure for building on BUILD [guessed]
   1535   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1536 _ACEOF
   1537 fi
   1538 
   1539 if test -n "$ac_init_help"; then
   1540   case $ac_init_help in
   1541      short | recursive ) echo "Configuration of libXfont2 2.0.4:";;
   1542    esac
   1543   cat <<\_ACEOF
   1544 
   1545 Optional Features:
   1546   --disable-option-checking  ignore unrecognized --enable/--with options
   1547   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1548   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1549   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1550   --disable-silent-rules  verbose build output (undo: "make V=0")
   1551   --enable-dependency-tracking
   1552                           do not reject slow dependency extractors
   1553   --disable-dependency-tracking
   1554                           speeds up one-time build
   1555   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1556   --enable-static[=PKGS]  build static libraries [default=yes]
   1557   --enable-fast-install[=PKGS]
   1558                           optimize for fast installation [default=yes]
   1559   --disable-libtool-lock  avoid locking (might break parallel builds)
   1560   --disable-selective-werror
   1561                           Turn off selective compiler errors. (default:
   1562                           enabled)
   1563   --enable-strict-compilation
   1564                           Enable all warnings from compiler and make them
   1565                           errors (default: disabled)
   1566   --enable-devel-docs     Enable building the developer documentation
   1567                           (default: yes)
   1568   --disable-freetype      Build freetype backend (default: enabled)
   1569   --disable-builtins      Support builtin fonts (default: enabled)
   1570   --disable-pcfformat     Support PCF format bitmap fonts (default: enabled)
   1571   --disable-bdfformat     Support BDF format bitmap fonts (default: enabled)
   1572   --enable-snfformat      Support SNF format bitmap fonts (default: disabled)
   1573   --disable-fc            Support connections to xfs servers (default:
   1574                           enabled)
   1575   --enable-unix-transport Enable UNIX domain socket transport
   1576   --enable-tcp-transport  Enable TCP socket transport
   1577   --enable-ipv6           Enable IPv6 support
   1578   --enable-local-transport
   1579                           Enable os-specific local transport
   1580 
   1581 Optional Packages:
   1582   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1583   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1584   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1585                           both]
   1586   --with-aix-soname=aix|svr4|both
   1587                           shared library versioning (aka "SONAME") variant to
   1588                           provide on AIX, [default=aix].
   1589   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1590   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1591                           compiler's sysroot if not specified).
   1592   --with-xmlto            Use xmlto to regenerate documentation (default:
   1593                           auto)
   1594   --with-fop              Use fop to regenerate documentation (default: auto)
   1595   --with-freetype-config=PROG
   1596                           Use FreeType configuration program PROG
   1597   --with-bzip2            Use libbz2 to support bzip2 compressed bitmap fonts
   1598                           (default: no)
   1599 
   1600 Some influential environment variables:
   1601   CC          C compiler command
   1602   CFLAGS      C compiler flags
   1603   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1604               nonstandard directory <lib dir>
   1605   LIBS        libraries to pass to the linker, e.g. -l<library>
   1606   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1607               you have headers in a nonstandard directory <include dir>
   1608   CPP         C preprocessor
   1609   LT_SYS_LIBRARY_PATH
   1610               User-defined run-time library search path.
   1611   PKG_CONFIG  path to pkg-config utility
   1612   PKG_CONFIG_PATH
   1613               directories to add to pkg-config's search path
   1614   PKG_CONFIG_LIBDIR
   1615               path overriding pkg-config's built-in search path
   1616   XMLTO       Path to xmlto command
   1617   FOP         Path to fop command
   1618   FREETYPE_CFLAGS
   1619               C compiler flags for FREETYPE, overriding pkg-config
   1620   FREETYPE_LIBS
   1621               linker flags for FREETYPE, overriding pkg-config
   1622   XFONT_CFLAGS
   1623               C compiler flags for XFONT, overriding pkg-config
   1624   XFONT_LIBS  linker flags for XFONT, overriding pkg-config
   1625 
   1626 Use these variables to override the choices made by `configure' or to help
   1627 it to find libraries and programs with nonstandard names/locations.
   1628 
   1629 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXfont/issues>.
   1630 _ACEOF
   1631 ac_status=$?
   1632 fi
   1633 
   1634 if test "$ac_init_help" = "recursive"; then
   1635   # If there are subdirs, report their specific --help.
   1636   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1637     test -d "$ac_dir" ||
   1638       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1639       continue
   1640     ac_builddir=.
   1641 
   1642 case "$ac_dir" in
   1643 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1644 *)
   1645   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1646   # A ".." for each directory in $ac_dir_suffix.
   1647   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1648   case $ac_top_builddir_sub in
   1649   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1650   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1651   esac ;;
   1652 esac
   1653 ac_abs_top_builddir=$ac_pwd
   1654 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1655 # for backward compatibility:
   1656 ac_top_builddir=$ac_top_build_prefix
   1657 
   1658 case $srcdir in
   1659   .)  # We are building in place.
   1660     ac_srcdir=.
   1661     ac_top_srcdir=$ac_top_builddir_sub
   1662     ac_abs_top_srcdir=$ac_pwd ;;
   1663   [\\/]* | ?:[\\/]* )  # Absolute name.
   1664     ac_srcdir=$srcdir$ac_dir_suffix;
   1665     ac_top_srcdir=$srcdir
   1666     ac_abs_top_srcdir=$srcdir ;;
   1667   *) # Relative name.
   1668     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1669     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1670     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1671 esac
   1672 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1673 
   1674     cd "$ac_dir" || { ac_status=$?; continue; }
   1675     # Check for guested configure.
   1676     if test -f "$ac_srcdir/configure.gnu"; then
   1677       echo &&
   1678       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1679     elif test -f "$ac_srcdir/configure"; then
   1680       echo &&
   1681       $SHELL "$ac_srcdir/configure" --help=recursive
   1682     else
   1683       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1684     fi || ac_status=$?
   1685     cd "$ac_pwd" || { ac_status=$?; break; }
   1686   done
   1687 fi
   1688 
   1689 test -n "$ac_init_help" && exit $ac_status
   1690 if $ac_init_version; then
   1691   cat <<\_ACEOF
   1692 libXfont2 configure 2.0.4
   1693 generated by GNU Autoconf 2.69
   1694 
   1695 Copyright (C) 2012 Free Software Foundation, Inc.
   1696 This configure script is free software; the Free Software Foundation
   1697 gives unlimited permission to copy, distribute and modify it.
   1698 _ACEOF
   1699   exit
   1700 fi
   1701 
   1702 ## ------------------------ ##
   1703 ## Autoconf initialization. ##
   1704 ## ------------------------ ##
   1705 
   1706 # ac_fn_c_try_compile LINENO
   1707 # --------------------------
   1708 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1709 ac_fn_c_try_compile ()
   1710 {
   1711   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1712   rm -f conftest.$ac_objext
   1713   if { { ac_try="$ac_compile"
   1714 case "(($ac_try" in
   1715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1716   *) ac_try_echo=$ac_try;;
   1717 esac
   1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1719 $as_echo "$ac_try_echo"; } >&5
   1720   (eval "$ac_compile") 2>conftest.err
   1721   ac_status=$?
   1722   if test -s conftest.err; then
   1723     grep -v '^ *+' conftest.err >conftest.er1
   1724     cat conftest.er1 >&5
   1725     mv -f conftest.er1 conftest.err
   1726   fi
   1727   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1728   test $ac_status = 0; } && {
   1729 	 test -z "$ac_c_werror_flag" ||
   1730 	 test ! -s conftest.err
   1731        } && test -s conftest.$ac_objext; then :
   1732   ac_retval=0
   1733 else
   1734   $as_echo "$as_me: failed program was:" >&5
   1735 sed 's/^/| /' conftest.$ac_ext >&5
   1736 
   1737 	ac_retval=1
   1738 fi
   1739   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1740   as_fn_set_status $ac_retval
   1741 
   1742 } # ac_fn_c_try_compile
   1743 
   1744 # ac_fn_c_try_cpp LINENO
   1745 # ----------------------
   1746 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1747 ac_fn_c_try_cpp ()
   1748 {
   1749   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1750   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1751 case "(($ac_try" in
   1752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1753   *) ac_try_echo=$ac_try;;
   1754 esac
   1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1756 $as_echo "$ac_try_echo"; } >&5
   1757   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1758   ac_status=$?
   1759   if test -s conftest.err; then
   1760     grep -v '^ *+' conftest.err >conftest.er1
   1761     cat conftest.er1 >&5
   1762     mv -f conftest.er1 conftest.err
   1763   fi
   1764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1765   test $ac_status = 0; } > conftest.i && {
   1766 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1767 	 test ! -s conftest.err
   1768        }; then :
   1769   ac_retval=0
   1770 else
   1771   $as_echo "$as_me: failed program was:" >&5
   1772 sed 's/^/| /' conftest.$ac_ext >&5
   1773 
   1774     ac_retval=1
   1775 fi
   1776   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1777   as_fn_set_status $ac_retval
   1778 
   1779 } # ac_fn_c_try_cpp
   1780 
   1781 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1782 # -------------------------------------------------------
   1783 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1784 # the include files in INCLUDES and setting the cache variable VAR
   1785 # accordingly.
   1786 ac_fn_c_check_header_mongrel ()
   1787 {
   1788   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1789   if eval \${$3+:} false; then :
   1790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1791 $as_echo_n "checking for $2... " >&6; }
   1792 if eval \${$3+:} false; then :
   1793   $as_echo_n "(cached) " >&6
   1794 fi
   1795 eval ac_res=\$$3
   1796 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1797 $as_echo "$ac_res" >&6; }
   1798 else
   1799   # Is the header compilable?
   1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1801 $as_echo_n "checking $2 usability... " >&6; }
   1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1803 /* end confdefs.h.  */
   1804 $4
   1805 #include <$2>
   1806 _ACEOF
   1807 if ac_fn_c_try_compile "$LINENO"; then :
   1808   ac_header_compiler=yes
   1809 else
   1810   ac_header_compiler=no
   1811 fi
   1812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1814 $as_echo "$ac_header_compiler" >&6; }
   1815 
   1816 # Is the header present?
   1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1818 $as_echo_n "checking $2 presence... " >&6; }
   1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1820 /* end confdefs.h.  */
   1821 #include <$2>
   1822 _ACEOF
   1823 if ac_fn_c_try_cpp "$LINENO"; then :
   1824   ac_header_preproc=yes
   1825 else
   1826   ac_header_preproc=no
   1827 fi
   1828 rm -f conftest.err conftest.i conftest.$ac_ext
   1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1830 $as_echo "$ac_header_preproc" >&6; }
   1831 
   1832 # So?  What about this header?
   1833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1834   yes:no: )
   1835     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1836 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1837     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1838 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1839     ;;
   1840   no:yes:* )
   1841     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1842 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1843     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1844 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1845     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1846 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1847     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1848 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1849     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1850 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1851 ( $as_echo "## ---------------------------------------------------------------------- ##
   1852 ## Report this to https://gitlab.freedesktop.org/xorg/lib/libXfont/issues ##
   1853 ## ---------------------------------------------------------------------- ##"
   1854      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1855     ;;
   1856 esac
   1857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1858 $as_echo_n "checking for $2... " >&6; }
   1859 if eval \${$3+:} false; then :
   1860   $as_echo_n "(cached) " >&6
   1861 else
   1862   eval "$3=\$ac_header_compiler"
   1863 fi
   1864 eval ac_res=\$$3
   1865 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1866 $as_echo "$ac_res" >&6; }
   1867 fi
   1868   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1869 
   1870 } # ac_fn_c_check_header_mongrel
   1871 
   1872 # ac_fn_c_try_run LINENO
   1873 # ----------------------
   1874 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1875 # that executables *can* be run.
   1876 ac_fn_c_try_run ()
   1877 {
   1878   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1879   if { { ac_try="$ac_link"
   1880 case "(($ac_try" in
   1881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1882   *) ac_try_echo=$ac_try;;
   1883 esac
   1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1885 $as_echo "$ac_try_echo"; } >&5
   1886   (eval "$ac_link") 2>&5
   1887   ac_status=$?
   1888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1889   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1890   { { case "(($ac_try" in
   1891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1892   *) ac_try_echo=$ac_try;;
   1893 esac
   1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1895 $as_echo "$ac_try_echo"; } >&5
   1896   (eval "$ac_try") 2>&5
   1897   ac_status=$?
   1898   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1899   test $ac_status = 0; }; }; then :
   1900   ac_retval=0
   1901 else
   1902   $as_echo "$as_me: program exited with status $ac_status" >&5
   1903        $as_echo "$as_me: failed program was:" >&5
   1904 sed 's/^/| /' conftest.$ac_ext >&5
   1905 
   1906        ac_retval=$ac_status
   1907 fi
   1908   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1909   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1910   as_fn_set_status $ac_retval
   1911 
   1912 } # ac_fn_c_try_run
   1913 
   1914 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1915 # -------------------------------------------------------
   1916 # Tests whether HEADER exists and can be compiled using the include files in
   1917 # INCLUDES, setting the cache variable VAR accordingly.
   1918 ac_fn_c_check_header_compile ()
   1919 {
   1920   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1922 $as_echo_n "checking for $2... " >&6; }
   1923 if eval \${$3+:} false; then :
   1924   $as_echo_n "(cached) " >&6
   1925 else
   1926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1927 /* end confdefs.h.  */
   1928 $4
   1929 #include <$2>
   1930 _ACEOF
   1931 if ac_fn_c_try_compile "$LINENO"; then :
   1932   eval "$3=yes"
   1933 else
   1934   eval "$3=no"
   1935 fi
   1936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1937 fi
   1938 eval ac_res=\$$3
   1939 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1940 $as_echo "$ac_res" >&6; }
   1941   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1942 
   1943 } # ac_fn_c_check_header_compile
   1944 
   1945 # ac_fn_c_try_link LINENO
   1946 # -----------------------
   1947 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1948 ac_fn_c_try_link ()
   1949 {
   1950   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1951   rm -f conftest.$ac_objext conftest$ac_exeext
   1952   if { { ac_try="$ac_link"
   1953 case "(($ac_try" in
   1954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1955   *) ac_try_echo=$ac_try;;
   1956 esac
   1957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1958 $as_echo "$ac_try_echo"; } >&5
   1959   (eval "$ac_link") 2>conftest.err
   1960   ac_status=$?
   1961   if test -s conftest.err; then
   1962     grep -v '^ *+' conftest.err >conftest.er1
   1963     cat conftest.er1 >&5
   1964     mv -f conftest.er1 conftest.err
   1965   fi
   1966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1967   test $ac_status = 0; } && {
   1968 	 test -z "$ac_c_werror_flag" ||
   1969 	 test ! -s conftest.err
   1970        } && test -s conftest$ac_exeext && {
   1971 	 test "$cross_compiling" = yes ||
   1972 	 test -x conftest$ac_exeext
   1973        }; then :
   1974   ac_retval=0
   1975 else
   1976   $as_echo "$as_me: failed program was:" >&5
   1977 sed 's/^/| /' conftest.$ac_ext >&5
   1978 
   1979 	ac_retval=1
   1980 fi
   1981   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1982   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1983   # interfere with the next link command; also delete a directory that is
   1984   # left behind by Apple's compiler.  We do this before executing the actions.
   1985   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1986   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1987   as_fn_set_status $ac_retval
   1988 
   1989 } # ac_fn_c_try_link
   1990 
   1991 # ac_fn_c_check_func LINENO FUNC VAR
   1992 # ----------------------------------
   1993 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1994 ac_fn_c_check_func ()
   1995 {
   1996   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1998 $as_echo_n "checking for $2... " >&6; }
   1999 if eval \${$3+:} false; then :
   2000   $as_echo_n "(cached) " >&6
   2001 else
   2002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2003 /* end confdefs.h.  */
   2004 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2006 #define $2 innocuous_$2
   2007 
   2008 /* System header to define __stub macros and hopefully few prototypes,
   2009     which can conflict with char $2 (); below.
   2010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2011     <limits.h> exists even on freestanding compilers.  */
   2012 
   2013 #ifdef __STDC__
   2014 # include <limits.h>
   2015 #else
   2016 # include <assert.h>
   2017 #endif
   2018 
   2019 #undef $2
   2020 
   2021 /* Override any GCC internal prototype to avoid an error.
   2022    Use char because int might match the return type of a GCC
   2023    builtin and then its argument prototype would still apply.  */
   2024 #ifdef __cplusplus
   2025 extern "C"
   2026 #endif
   2027 char $2 ();
   2028 /* The GNU C library defines this for functions which it implements
   2029     to always fail with ENOSYS.  Some functions are actually named
   2030     something starting with __ and the normal name is an alias.  */
   2031 #if defined __stub_$2 || defined __stub___$2
   2032 choke me
   2033 #endif
   2034 
   2035 int
   2036 main ()
   2037 {
   2038 return $2 ();
   2039   ;
   2040   return 0;
   2041 }
   2042 _ACEOF
   2043 if ac_fn_c_try_link "$LINENO"; then :
   2044   eval "$3=yes"
   2045 else
   2046   eval "$3=no"
   2047 fi
   2048 rm -f core conftest.err conftest.$ac_objext \
   2049     conftest$ac_exeext conftest.$ac_ext
   2050 fi
   2051 eval ac_res=\$$3
   2052 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2053 $as_echo "$ac_res" >&6; }
   2054   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2055 
   2056 } # ac_fn_c_check_func
   2057 
   2058 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2059 # ---------------------------------------------
   2060 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2061 # accordingly.
   2062 ac_fn_c_check_decl ()
   2063 {
   2064   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2065   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2066   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2068 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2069 if eval \${$3+:} false; then :
   2070   $as_echo_n "(cached) " >&6
   2071 else
   2072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2073 /* end confdefs.h.  */
   2074 $4
   2075 int
   2076 main ()
   2077 {
   2078 #ifndef $as_decl_name
   2079 #ifdef __cplusplus
   2080   (void) $as_decl_use;
   2081 #else
   2082   (void) $as_decl_name;
   2083 #endif
   2084 #endif
   2085 
   2086   ;
   2087   return 0;
   2088 }
   2089 _ACEOF
   2090 if ac_fn_c_try_compile "$LINENO"; then :
   2091   eval "$3=yes"
   2092 else
   2093   eval "$3=no"
   2094 fi
   2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2096 fi
   2097 eval ac_res=\$$3
   2098 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2099 $as_echo "$ac_res" >&6; }
   2100   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2101 
   2102 } # ac_fn_c_check_decl
   2103 
   2104 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2105 # ----------------------------------------------------
   2106 # Tries to find if the field MEMBER exists in type AGGR, after including
   2107 # INCLUDES, setting cache variable VAR accordingly.
   2108 ac_fn_c_check_member ()
   2109 {
   2110   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2112 $as_echo_n "checking for $2.$3... " >&6; }
   2113 if eval \${$4+:} false; then :
   2114   $as_echo_n "(cached) " >&6
   2115 else
   2116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2117 /* end confdefs.h.  */
   2118 $5
   2119 int
   2120 main ()
   2121 {
   2122 static $2 ac_aggr;
   2123 if (ac_aggr.$3)
   2124 return 0;
   2125   ;
   2126   return 0;
   2127 }
   2128 _ACEOF
   2129 if ac_fn_c_try_compile "$LINENO"; then :
   2130   eval "$4=yes"
   2131 else
   2132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2133 /* end confdefs.h.  */
   2134 $5
   2135 int
   2136 main ()
   2137 {
   2138 static $2 ac_aggr;
   2139 if (sizeof ac_aggr.$3)
   2140 return 0;
   2141   ;
   2142   return 0;
   2143 }
   2144 _ACEOF
   2145 if ac_fn_c_try_compile "$LINENO"; then :
   2146   eval "$4=yes"
   2147 else
   2148   eval "$4=no"
   2149 fi
   2150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2151 fi
   2152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2153 fi
   2154 eval ac_res=\$$4
   2155 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2156 $as_echo "$ac_res" >&6; }
   2157   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2158 
   2159 } # ac_fn_c_check_member
   2160 
   2161 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2162 # -------------------------------------------
   2163 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2164 # variable VAR accordingly.
   2165 ac_fn_c_check_type ()
   2166 {
   2167   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2169 $as_echo_n "checking for $2... " >&6; }
   2170 if eval \${$3+:} false; then :
   2171   $as_echo_n "(cached) " >&6
   2172 else
   2173   eval "$3=no"
   2174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2175 /* end confdefs.h.  */
   2176 $4
   2177 int
   2178 main ()
   2179 {
   2180 if (sizeof ($2))
   2181 	 return 0;
   2182   ;
   2183   return 0;
   2184 }
   2185 _ACEOF
   2186 if ac_fn_c_try_compile "$LINENO"; then :
   2187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2188 /* end confdefs.h.  */
   2189 $4
   2190 int
   2191 main ()
   2192 {
   2193 if (sizeof (($2)))
   2194 	    return 0;
   2195   ;
   2196   return 0;
   2197 }
   2198 _ACEOF
   2199 if ac_fn_c_try_compile "$LINENO"; then :
   2200 
   2201 else
   2202   eval "$3=yes"
   2203 fi
   2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2205 fi
   2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2207 fi
   2208 eval ac_res=\$$3
   2209 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2210 $as_echo "$ac_res" >&6; }
   2211   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2212 
   2213 } # ac_fn_c_check_type
   2214 cat >config.log <<_ACEOF
   2215 This file contains any messages produced by compilers while
   2216 running configure, to aid debugging if configure makes a mistake.
   2217 
   2218 It was created by libXfont2 $as_me 2.0.4, which was
   2219 generated by GNU Autoconf 2.69.  Invocation command line was
   2220 
   2221   $ $0 $@
   2222 
   2223 _ACEOF
   2224 exec 5>>config.log
   2225 {
   2226 cat <<_ASUNAME
   2227 ## --------- ##
   2228 ## Platform. ##
   2229 ## --------- ##
   2230 
   2231 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2232 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2233 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2234 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2235 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2236 
   2237 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2238 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2239 
   2240 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2241 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2242 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2243 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2244 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2245 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2246 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2247 
   2248 _ASUNAME
   2249 
   2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2251 for as_dir in $PATH
   2252 do
   2253   IFS=$as_save_IFS
   2254   test -z "$as_dir" && as_dir=.
   2255     $as_echo "PATH: $as_dir"
   2256   done
   2257 IFS=$as_save_IFS
   2258 
   2259 } >&5
   2260 
   2261 cat >&5 <<_ACEOF
   2262 
   2263 
   2264 ## ----------- ##
   2265 ## Core tests. ##
   2266 ## ----------- ##
   2267 
   2268 _ACEOF
   2269 
   2270 
   2271 # Keep a trace of the command line.
   2272 # Strip out --no-create and --no-recursion so they do not pile up.
   2273 # Strip out --silent because we don't want to record it for future runs.
   2274 # Also quote any args containing shell meta-characters.
   2275 # Make two passes to allow for proper duplicate-argument suppression.
   2276 ac_configure_args=
   2277 ac_configure_args0=
   2278 ac_configure_args1=
   2279 ac_must_keep_next=false
   2280 for ac_pass in 1 2
   2281 do
   2282   for ac_arg
   2283   do
   2284     case $ac_arg in
   2285     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2286     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2287     | -silent | --silent | --silen | --sile | --sil)
   2288       continue ;;
   2289     *\'*)
   2290       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2291     esac
   2292     case $ac_pass in
   2293     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2294     2)
   2295       as_fn_append ac_configure_args1 " '$ac_arg'"
   2296       if test $ac_must_keep_next = true; then
   2297 	ac_must_keep_next=false # Got value, back to normal.
   2298       else
   2299 	case $ac_arg in
   2300 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2301 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2302 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2303 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2304 	    case "$ac_configure_args0 " in
   2305 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2306 	    esac
   2307 	    ;;
   2308 	  -* ) ac_must_keep_next=true ;;
   2309 	esac
   2310       fi
   2311       as_fn_append ac_configure_args " '$ac_arg'"
   2312       ;;
   2313     esac
   2314   done
   2315 done
   2316 { ac_configure_args0=; unset ac_configure_args0;}
   2317 { ac_configure_args1=; unset ac_configure_args1;}
   2318 
   2319 # When interrupted or exit'd, cleanup temporary files, and complete
   2320 # config.log.  We remove comments because anyway the quotes in there
   2321 # would cause problems or look ugly.
   2322 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2323 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2324 trap 'exit_status=$?
   2325   # Save into config.log some information that might help in debugging.
   2326   {
   2327     echo
   2328 
   2329     $as_echo "## ---------------- ##
   2330 ## Cache variables. ##
   2331 ## ---------------- ##"
   2332     echo
   2333     # The following way of writing the cache mishandles newlines in values,
   2334 (
   2335   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2336     eval ac_val=\$$ac_var
   2337     case $ac_val in #(
   2338     *${as_nl}*)
   2339       case $ac_var in #(
   2340       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2341 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2342       esac
   2343       case $ac_var in #(
   2344       _ | IFS | as_nl) ;; #(
   2345       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2346       *) { eval $ac_var=; unset $ac_var;} ;;
   2347       esac ;;
   2348     esac
   2349   done
   2350   (set) 2>&1 |
   2351     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2352     *${as_nl}ac_space=\ *)
   2353       sed -n \
   2354 	"s/'\''/'\''\\\\'\'''\''/g;
   2355 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2356       ;; #(
   2357     *)
   2358       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2359       ;;
   2360     esac |
   2361     sort
   2362 )
   2363     echo
   2364 
   2365     $as_echo "## ----------------- ##
   2366 ## Output variables. ##
   2367 ## ----------------- ##"
   2368     echo
   2369     for ac_var in $ac_subst_vars
   2370     do
   2371       eval ac_val=\$$ac_var
   2372       case $ac_val in
   2373       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2374       esac
   2375       $as_echo "$ac_var='\''$ac_val'\''"
   2376     done | sort
   2377     echo
   2378 
   2379     if test -n "$ac_subst_files"; then
   2380       $as_echo "## ------------------- ##
   2381 ## File substitutions. ##
   2382 ## ------------------- ##"
   2383       echo
   2384       for ac_var in $ac_subst_files
   2385       do
   2386 	eval ac_val=\$$ac_var
   2387 	case $ac_val in
   2388 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2389 	esac
   2390 	$as_echo "$ac_var='\''$ac_val'\''"
   2391       done | sort
   2392       echo
   2393     fi
   2394 
   2395     if test -s confdefs.h; then
   2396       $as_echo "## ----------- ##
   2397 ## confdefs.h. ##
   2398 ## ----------- ##"
   2399       echo
   2400       cat confdefs.h
   2401       echo
   2402     fi
   2403     test "$ac_signal" != 0 &&
   2404       $as_echo "$as_me: caught signal $ac_signal"
   2405     $as_echo "$as_me: exit $exit_status"
   2406   } >&5
   2407   rm -f core *.core core.conftest.* &&
   2408     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2409     exit $exit_status
   2410 ' 0
   2411 for ac_signal in 1 2 13 15; do
   2412   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2413 done
   2414 ac_signal=0
   2415 
   2416 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2417 rm -f -r conftest* confdefs.h
   2418 
   2419 $as_echo "/* confdefs.h */" > confdefs.h
   2420 
   2421 # Predefined preprocessor variables.
   2422 
   2423 cat >>confdefs.h <<_ACEOF
   2424 #define PACKAGE_NAME "$PACKAGE_NAME"
   2425 _ACEOF
   2426 
   2427 cat >>confdefs.h <<_ACEOF
   2428 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2429 _ACEOF
   2430 
   2431 cat >>confdefs.h <<_ACEOF
   2432 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2433 _ACEOF
   2434 
   2435 cat >>confdefs.h <<_ACEOF
   2436 #define PACKAGE_STRING "$PACKAGE_STRING"
   2437 _ACEOF
   2438 
   2439 cat >>confdefs.h <<_ACEOF
   2440 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2441 _ACEOF
   2442 
   2443 cat >>confdefs.h <<_ACEOF
   2444 #define PACKAGE_URL "$PACKAGE_URL"
   2445 _ACEOF
   2446 
   2447 
   2448 # Let the site file select an alternate cache file if it wants to.
   2449 # Prefer an explicitly selected file to automatically selected ones.
   2450 ac_site_file1=NONE
   2451 ac_site_file2=NONE
   2452 if test -n "$CONFIG_SITE"; then
   2453   # We do not want a PATH search for config.site.
   2454   case $CONFIG_SITE in #((
   2455     -*)  ac_site_file1=./$CONFIG_SITE;;
   2456     */*) ac_site_file1=$CONFIG_SITE;;
   2457     *)   ac_site_file1=./$CONFIG_SITE;;
   2458   esac
   2459 elif test "x$prefix" != xNONE; then
   2460   ac_site_file1=$prefix/share/config.site
   2461   ac_site_file2=$prefix/etc/config.site
   2462 else
   2463   ac_site_file1=$ac_default_prefix/share/config.site
   2464   ac_site_file2=$ac_default_prefix/etc/config.site
   2465 fi
   2466 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2467 do
   2468   test "x$ac_site_file" = xNONE && continue
   2469   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2470     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2471 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2472     sed 's/^/| /' "$ac_site_file" >&5
   2473     . "$ac_site_file" \
   2474       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2476 as_fn_error $? "failed to load site script $ac_site_file
   2477 See \`config.log' for more details" "$LINENO" 5; }
   2478   fi
   2479 done
   2480 
   2481 if test -r "$cache_file"; then
   2482   # Some versions of bash will fail to source /dev/null (special files
   2483   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2484   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2485     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2486 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2487     case $cache_file in
   2488       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2489       *)                      . "./$cache_file";;
   2490     esac
   2491   fi
   2492 else
   2493   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2494 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2495   >$cache_file
   2496 fi
   2497 
   2498 # Check that the precious variables saved in the cache have kept the same
   2499 # value.
   2500 ac_cache_corrupted=false
   2501 for ac_var in $ac_precious_vars; do
   2502   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2503   eval ac_new_set=\$ac_env_${ac_var}_set
   2504   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2505   eval ac_new_val=\$ac_env_${ac_var}_value
   2506   case $ac_old_set,$ac_new_set in
   2507     set,)
   2508       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2509 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2510       ac_cache_corrupted=: ;;
   2511     ,set)
   2512       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2513 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2514       ac_cache_corrupted=: ;;
   2515     ,);;
   2516     *)
   2517       if test "x$ac_old_val" != "x$ac_new_val"; then
   2518 	# differences in whitespace do not lead to failure.
   2519 	ac_old_val_w=`echo x $ac_old_val`
   2520 	ac_new_val_w=`echo x $ac_new_val`
   2521 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2522 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2523 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2524 	  ac_cache_corrupted=:
   2525 	else
   2526 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2527 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2528 	  eval $ac_var=\$ac_old_val
   2529 	fi
   2530 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2531 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2532 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2533 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2534       fi;;
   2535   esac
   2536   # Pass precious variables to config.status.
   2537   if test "$ac_new_set" = set; then
   2538     case $ac_new_val in
   2539     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2540     *) ac_arg=$ac_var=$ac_new_val ;;
   2541     esac
   2542     case " $ac_configure_args " in
   2543       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2544       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2545     esac
   2546   fi
   2547 done
   2548 if $ac_cache_corrupted; then
   2549   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2551   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2552 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2553   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2554 fi
   2555 ## -------------------- ##
   2556 ## Main body of script. ##
   2557 ## -------------------- ##
   2558 
   2559 ac_ext=c
   2560 ac_cpp='$CPP $CPPFLAGS'
   2561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2564 
   2565 
   2566 
   2567 ac_config_headers="$ac_config_headers config.h"
   2568 
   2569 
   2570 # Initialize Automake
   2571 am__api_version='1.15'
   2572 
   2573 ac_aux_dir=
   2574 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2575   if test -f "$ac_dir/install-sh"; then
   2576     ac_aux_dir=$ac_dir
   2577     ac_install_sh="$ac_aux_dir/install-sh -c"
   2578     break
   2579   elif test -f "$ac_dir/install.sh"; then
   2580     ac_aux_dir=$ac_dir
   2581     ac_install_sh="$ac_aux_dir/install.sh -c"
   2582     break
   2583   elif test -f "$ac_dir/shtool"; then
   2584     ac_aux_dir=$ac_dir
   2585     ac_install_sh="$ac_aux_dir/shtool install -c"
   2586     break
   2587   fi
   2588 done
   2589 if test -z "$ac_aux_dir"; then
   2590   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2591 fi
   2592 
   2593 # These three variables are undocumented and unsupported,
   2594 # and are intended to be withdrawn in a future Autoconf release.
   2595 # They can cause serious problems if a builder's source tree is in a directory
   2596 # whose full name contains unusual characters.
   2597 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2598 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2599 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2600 
   2601 
   2602 # Find a good install program.  We prefer a C program (faster),
   2603 # so one script is as good as another.  But avoid the broken or
   2604 # incompatible versions:
   2605 # SysV /etc/install, /usr/sbin/install
   2606 # SunOS /usr/etc/install
   2607 # IRIX /sbin/install
   2608 # AIX /bin/install
   2609 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2610 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2611 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2612 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2613 # OS/2's system install, which has a completely different semantic
   2614 # ./install, which can be erroneously created by make from ./install.sh.
   2615 # Reject install programs that cannot install multiple files.
   2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2617 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2618 if test -z "$INSTALL"; then
   2619 if ${ac_cv_path_install+:} false; then :
   2620   $as_echo_n "(cached) " >&6
   2621 else
   2622   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2623 for as_dir in $PATH
   2624 do
   2625   IFS=$as_save_IFS
   2626   test -z "$as_dir" && as_dir=.
   2627     # Account for people who put trailing slashes in PATH elements.
   2628 case $as_dir/ in #((
   2629   ./ | .// | /[cC]/* | \
   2630   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2631   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2632   /usr/ucb/* ) ;;
   2633   *)
   2634     # OSF1 and SCO ODT 3.0 have their own names for install.
   2635     # Don't use installbsd from OSF since it installs stuff as root
   2636     # by default.
   2637     for ac_prog in ginstall scoinst install; do
   2638       for ac_exec_ext in '' $ac_executable_extensions; do
   2639 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2640 	  if test $ac_prog = install &&
   2641 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2642 	    # AIX install.  It has an incompatible calling convention.
   2643 	    :
   2644 	  elif test $ac_prog = install &&
   2645 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2646 	    # program-specific install script used by HP pwplus--don't use.
   2647 	    :
   2648 	  else
   2649 	    rm -rf conftest.one conftest.two conftest.dir
   2650 	    echo one > conftest.one
   2651 	    echo two > conftest.two
   2652 	    mkdir conftest.dir
   2653 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2654 	      test -s conftest.one && test -s conftest.two &&
   2655 	      test -s conftest.dir/conftest.one &&
   2656 	      test -s conftest.dir/conftest.two
   2657 	    then
   2658 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2659 	      break 3
   2660 	    fi
   2661 	  fi
   2662 	fi
   2663       done
   2664     done
   2665     ;;
   2666 esac
   2667 
   2668   done
   2669 IFS=$as_save_IFS
   2670 
   2671 rm -rf conftest.one conftest.two conftest.dir
   2672 
   2673 fi
   2674   if test "${ac_cv_path_install+set}" = set; then
   2675     INSTALL=$ac_cv_path_install
   2676   else
   2677     # As a last resort, use the slow shell script.  Don't cache a
   2678     # value for INSTALL within a source directory, because that will
   2679     # break other packages using the cache if that directory is
   2680     # removed, or if the value is a relative name.
   2681     INSTALL=$ac_install_sh
   2682   fi
   2683 fi
   2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2685 $as_echo "$INSTALL" >&6; }
   2686 
   2687 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2688 # It thinks the first close brace ends the variable substitution.
   2689 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2690 
   2691 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2692 
   2693 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2694 
   2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2696 $as_echo_n "checking whether build environment is sane... " >&6; }
   2697 # Reject unsafe characters in $srcdir or the absolute working directory
   2698 # name.  Accept space and tab only in the latter.
   2699 am_lf='
   2700 '
   2701 case `pwd` in
   2702   *[\\\"\#\$\&\'\`$am_lf]*)
   2703     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2704 esac
   2705 case $srcdir in
   2706   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2707     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2708 esac
   2709 
   2710 # Do 'set' in a subshell so we don't clobber the current shell's
   2711 # arguments.  Must try -L first in case configure is actually a
   2712 # symlink; some systems play weird games with the mod time of symlinks
   2713 # (eg FreeBSD returns the mod time of the symlink's containing
   2714 # directory).
   2715 if (
   2716    am_has_slept=no
   2717    for am_try in 1 2; do
   2718      echo "timestamp, slept: $am_has_slept" > conftest.file
   2719      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2720      if test "$*" = "X"; then
   2721 	# -L didn't work.
   2722 	set X `ls -t "$srcdir/configure" conftest.file`
   2723      fi
   2724      if test "$*" != "X $srcdir/configure conftest.file" \
   2725 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2726 
   2727 	# If neither matched, then we have a broken ls.  This can happen
   2728 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2729 	# broken ls alias from the environment.  This has actually
   2730 	# happened.  Such a system could not be considered "sane".
   2731 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2732   alias in your environment" "$LINENO" 5
   2733      fi
   2734      if test "$2" = conftest.file || test $am_try -eq 2; then
   2735        break
   2736      fi
   2737      # Just in case.
   2738      sleep 1
   2739      am_has_slept=yes
   2740    done
   2741    test "$2" = conftest.file
   2742    )
   2743 then
   2744    # Ok.
   2745    :
   2746 else
   2747    as_fn_error $? "newly created file is older than distributed files!
   2748 Check your system clock" "$LINENO" 5
   2749 fi
   2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2751 $as_echo "yes" >&6; }
   2752 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2753 # generated files are strictly newer.
   2754 am_sleep_pid=
   2755 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2756   ( sleep 1 ) &
   2757   am_sleep_pid=$!
   2758 fi
   2759 
   2760 rm -f conftest.file
   2761 
   2762 test "$program_prefix" != NONE &&
   2763   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2764 # Use a double $ so make ignores it.
   2765 test "$program_suffix" != NONE &&
   2766   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2767 # Double any \ or $.
   2768 # By default was `s,x,x', remove it if useless.
   2769 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2770 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2771 
   2772 # Expand $ac_aux_dir to an absolute path.
   2773 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2774 
   2775 if test x"${MISSING+set}" != xset; then
   2776   case $am_aux_dir in
   2777   *\ * | *\	*)
   2778     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2779   *)
   2780     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2781   esac
   2782 fi
   2783 # Use eval to expand $SHELL
   2784 if eval "$MISSING --is-lightweight"; then
   2785   am_missing_run="$MISSING "
   2786 else
   2787   am_missing_run=
   2788   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2789 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2790 fi
   2791 
   2792 if test x"${install_sh+set}" != xset; then
   2793   case $am_aux_dir in
   2794   *\ * | *\	*)
   2795     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2796   *)
   2797     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2798   esac
   2799 fi
   2800 
   2801 # Installed binaries are usually stripped using 'strip' when the user
   2802 # run "make install-strip".  However 'strip' might not be the right
   2803 # tool to use in cross-compilation environments, therefore Automake
   2804 # will honor the 'STRIP' environment variable to overrule this program.
   2805 if test "$cross_compiling" != no; then
   2806   if test -n "$ac_tool_prefix"; then
   2807   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2808 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2810 $as_echo_n "checking for $ac_word... " >&6; }
   2811 if ${ac_cv_prog_STRIP+:} false; then :
   2812   $as_echo_n "(cached) " >&6
   2813 else
   2814   if test -n "$STRIP"; then
   2815   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2816 else
   2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2818 for as_dir in $PATH
   2819 do
   2820   IFS=$as_save_IFS
   2821   test -z "$as_dir" && as_dir=.
   2822     for ac_exec_ext in '' $ac_executable_extensions; do
   2823   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2824     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2826     break 2
   2827   fi
   2828 done
   2829   done
   2830 IFS=$as_save_IFS
   2831 
   2832 fi
   2833 fi
   2834 STRIP=$ac_cv_prog_STRIP
   2835 if test -n "$STRIP"; then
   2836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2837 $as_echo "$STRIP" >&6; }
   2838 else
   2839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2840 $as_echo "no" >&6; }
   2841 fi
   2842 
   2843 
   2844 fi
   2845 if test -z "$ac_cv_prog_STRIP"; then
   2846   ac_ct_STRIP=$STRIP
   2847   # Extract the first word of "strip", so it can be a program name with args.
   2848 set dummy strip; ac_word=$2
   2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2850 $as_echo_n "checking for $ac_word... " >&6; }
   2851 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2852   $as_echo_n "(cached) " >&6
   2853 else
   2854   if test -n "$ac_ct_STRIP"; then
   2855   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2856 else
   2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2858 for as_dir in $PATH
   2859 do
   2860   IFS=$as_save_IFS
   2861   test -z "$as_dir" && as_dir=.
   2862     for ac_exec_ext in '' $ac_executable_extensions; do
   2863   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2864     ac_cv_prog_ac_ct_STRIP="strip"
   2865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2866     break 2
   2867   fi
   2868 done
   2869   done
   2870 IFS=$as_save_IFS
   2871 
   2872 fi
   2873 fi
   2874 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2875 if test -n "$ac_ct_STRIP"; then
   2876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2877 $as_echo "$ac_ct_STRIP" >&6; }
   2878 else
   2879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2880 $as_echo "no" >&6; }
   2881 fi
   2882 
   2883   if test "x$ac_ct_STRIP" = x; then
   2884     STRIP=":"
   2885   else
   2886     case $cross_compiling:$ac_tool_warned in
   2887 yes:)
   2888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2890 ac_tool_warned=yes ;;
   2891 esac
   2892     STRIP=$ac_ct_STRIP
   2893   fi
   2894 else
   2895   STRIP="$ac_cv_prog_STRIP"
   2896 fi
   2897 
   2898 fi
   2899 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2900 
   2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2902 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2903 if test -z "$MKDIR_P"; then
   2904   if ${ac_cv_path_mkdir+:} false; then :
   2905   $as_echo_n "(cached) " >&6
   2906 else
   2907   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2908 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2909 do
   2910   IFS=$as_save_IFS
   2911   test -z "$as_dir" && as_dir=.
   2912     for ac_prog in mkdir gmkdir; do
   2913 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2914 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2915 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2916 	     'mkdir (GNU coreutils) '* | \
   2917 	     'mkdir (coreutils) '* | \
   2918 	     'mkdir (fileutils) '4.1*)
   2919 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2920 	       break 3;;
   2921 	   esac
   2922 	 done
   2923        done
   2924   done
   2925 IFS=$as_save_IFS
   2926 
   2927 fi
   2928 
   2929   test -d ./--version && rmdir ./--version
   2930   if test "${ac_cv_path_mkdir+set}" = set; then
   2931     MKDIR_P="$ac_cv_path_mkdir -p"
   2932   else
   2933     # As a last resort, use the slow shell script.  Don't cache a
   2934     # value for MKDIR_P within a source directory, because that will
   2935     # break other packages using the cache if that directory is
   2936     # removed, or if the value is a relative name.
   2937     MKDIR_P="$ac_install_sh -d"
   2938   fi
   2939 fi
   2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2941 $as_echo "$MKDIR_P" >&6; }
   2942 
   2943 for ac_prog in gawk mawk nawk awk
   2944 do
   2945   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2946 set dummy $ac_prog; ac_word=$2
   2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2948 $as_echo_n "checking for $ac_word... " >&6; }
   2949 if ${ac_cv_prog_AWK+:} false; then :
   2950   $as_echo_n "(cached) " >&6
   2951 else
   2952   if test -n "$AWK"; then
   2953   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2954 else
   2955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2956 for as_dir in $PATH
   2957 do
   2958   IFS=$as_save_IFS
   2959   test -z "$as_dir" && as_dir=.
   2960     for ac_exec_ext in '' $ac_executable_extensions; do
   2961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2962     ac_cv_prog_AWK="$ac_prog"
   2963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2964     break 2
   2965   fi
   2966 done
   2967   done
   2968 IFS=$as_save_IFS
   2969 
   2970 fi
   2971 fi
   2972 AWK=$ac_cv_prog_AWK
   2973 if test -n "$AWK"; then
   2974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2975 $as_echo "$AWK" >&6; }
   2976 else
   2977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2978 $as_echo "no" >&6; }
   2979 fi
   2980 
   2981 
   2982   test -n "$AWK" && break
   2983 done
   2984 
   2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2986 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2987 set x ${MAKE-make}
   2988 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2989 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2990   $as_echo_n "(cached) " >&6
   2991 else
   2992   cat >conftest.make <<\_ACEOF
   2993 SHELL = /bin/sh
   2994 all:
   2995 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2996 _ACEOF
   2997 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2998 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2999   *@@@%%%=?*=@@@%%%*)
   3000     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3001   *)
   3002     eval ac_cv_prog_make_${ac_make}_set=no;;
   3003 esac
   3004 rm -f conftest.make
   3005 fi
   3006 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3008 $as_echo "yes" >&6; }
   3009   SET_MAKE=
   3010 else
   3011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3012 $as_echo "no" >&6; }
   3013   SET_MAKE="MAKE=${MAKE-make}"
   3014 fi
   3015 
   3016 rm -rf .tst 2>/dev/null
   3017 mkdir .tst 2>/dev/null
   3018 if test -d .tst; then
   3019   am__leading_dot=.
   3020 else
   3021   am__leading_dot=_
   3022 fi
   3023 rmdir .tst 2>/dev/null
   3024 
   3025 # Check whether --enable-silent-rules was given.
   3026 if test "${enable_silent_rules+set}" = set; then :
   3027   enableval=$enable_silent_rules;
   3028 fi
   3029 
   3030 case $enable_silent_rules in # (((
   3031   yes) AM_DEFAULT_VERBOSITY=0;;
   3032    no) AM_DEFAULT_VERBOSITY=1;;
   3033     *) AM_DEFAULT_VERBOSITY=1;;
   3034 esac
   3035 am_make=${MAKE-make}
   3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3037 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3038 if ${am_cv_make_support_nested_variables+:} false; then :
   3039   $as_echo_n "(cached) " >&6
   3040 else
   3041   if $as_echo 'TRUE=$(BAR$(V))
   3042 BAR0=false
   3043 BAR1=true
   3044 V=1
   3045 am__doit:
   3046 	@$(TRUE)
   3047 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3048   am_cv_make_support_nested_variables=yes
   3049 else
   3050   am_cv_make_support_nested_variables=no
   3051 fi
   3052 fi
   3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3054 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3055 if test $am_cv_make_support_nested_variables = yes; then
   3056     AM_V='$(V)'
   3057   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3058 else
   3059   AM_V=$AM_DEFAULT_VERBOSITY
   3060   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3061 fi
   3062 AM_BACKSLASH='\'
   3063 
   3064 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3065   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3066   # is not polluted with repeated "-I."
   3067   am__isrc=' -I$(srcdir)'
   3068   # test to see if srcdir already configured
   3069   if test -f $srcdir/config.status; then
   3070     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3071   fi
   3072 fi
   3073 
   3074 # test whether we have cygpath
   3075 if test -z "$CYGPATH_W"; then
   3076   if (cygpath --version) >/dev/null 2>/dev/null; then
   3077     CYGPATH_W='cygpath -w'
   3078   else
   3079     CYGPATH_W=echo
   3080   fi
   3081 fi
   3082 
   3083 
   3084 # Define the identity of the package.
   3085  PACKAGE='libXfont2'
   3086  VERSION='2.0.4'
   3087 
   3088 
   3089 cat >>confdefs.h <<_ACEOF
   3090 #define PACKAGE "$PACKAGE"
   3091 _ACEOF
   3092 
   3093 
   3094 cat >>confdefs.h <<_ACEOF
   3095 #define VERSION "$VERSION"
   3096 _ACEOF
   3097 
   3098 # Some tools Automake needs.
   3099 
   3100 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3101 
   3102 
   3103 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3104 
   3105 
   3106 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3107 
   3108 
   3109 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3110 
   3111 
   3112 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3113 
   3114 # For better backward compatibility.  To be removed once Automake 1.9.x
   3115 # dies out for good.  For more background, see:
   3116 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3117 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3118 mkdir_p='$(MKDIR_P)'
   3119 
   3120 # We need awk for the "check" target (and possibly the TAP driver).  The
   3121 # system "awk" is bad on some platforms.
   3122 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3123 # in the wild :-(  We should find a proper way to deprecate it ...
   3124 AMTAR='$${TAR-tar}'
   3125 
   3126 
   3127 # We'll loop over all known methods to create a tar archive until one works.
   3128 _am_tools='gnutar  pax cpio none'
   3129 
   3130 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3131 
   3132 
   3133 
   3134 
   3135 
   3136 
   3137 # POSIX will say in a future version that running "rm -f" with no argument
   3138 # is OK; and we want to be able to make that assumption in our Makefile
   3139 # recipes.  So use an aggressive probe to check that the usage we want is
   3140 # actually supported "in the wild" to an acceptable degree.
   3141 # See automake bug#10828.
   3142 # To make any issue more visible, cause the running configure to be aborted
   3143 # by default if the 'rm' program in use doesn't match our expectations; the
   3144 # user can still override this though.
   3145 if rm -f && rm -fr && rm -rf; then : OK; else
   3146   cat >&2 <<'END'
   3147 Oops!
   3148 
   3149 Your 'rm' program seems unable to run without file operands specified
   3150 on the command line, even when the '-f' option is present.  This is contrary
   3151 to the behaviour of most rm programs out there, and not conforming with
   3152 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3153 
   3154 Please tell bug-automake@gnu.org about your system, including the value
   3155 of your $PATH and any error possibly output before this message.  This
   3156 can help us improve future automake versions.
   3157 
   3158 END
   3159   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3160     echo 'Configuration will proceed anyway, since you have set the' >&2
   3161     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3162     echo >&2
   3163   else
   3164     cat >&2 <<'END'
   3165 Aborting the configuration process, to ensure you take notice of the issue.
   3166 
   3167 You can download and install GNU coreutils to get an 'rm' implementation
   3168 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3169 
   3170 If you want to complete the configuration process using your problematic
   3171 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3172 to "yes", and re-run configure.
   3173 
   3174 END
   3175     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3176   fi
   3177 fi
   3178 
   3179 
   3180 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3181 # Must be called before any macros that run the compiler (like
   3182 # AC_PROG_LIBTOOL) to avoid autoconf errors.
   3183 DEPDIR="${am__leading_dot}deps"
   3184 
   3185 ac_config_commands="$ac_config_commands depfiles"
   3186 
   3187 
   3188 am_make=${MAKE-make}
   3189 cat > confinc << 'END'
   3190 am__doit:
   3191 	@echo this is the am__doit target
   3192 .PHONY: am__doit
   3193 END
   3194 # If we don't find an include directive, just comment out the code.
   3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3196 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3197 am__include="#"
   3198 am__quote=
   3199 _am_result=none
   3200 # First try GNU make style include.
   3201 echo "include confinc" > confmf
   3202 # Ignore all kinds of additional output from 'make'.
   3203 case `$am_make -s -f confmf 2> /dev/null` in #(
   3204 *the\ am__doit\ target*)
   3205   am__include=include
   3206   am__quote=
   3207   _am_result=GNU
   3208   ;;
   3209 esac
   3210 # Now try BSD make style include.
   3211 if test "$am__include" = "#"; then
   3212    echo '.include "confinc"' > confmf
   3213    case `$am_make -s -f confmf 2> /dev/null` in #(
   3214    *the\ am__doit\ target*)
   3215      am__include=.include
   3216      am__quote="\""
   3217      _am_result=BSD
   3218      ;;
   3219    esac
   3220 fi
   3221 
   3222 
   3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3224 $as_echo "$_am_result" >&6; }
   3225 rm -f confinc confmf
   3226 
   3227 # Check whether --enable-dependency-tracking was given.
   3228 if test "${enable_dependency_tracking+set}" = set; then :
   3229   enableval=$enable_dependency_tracking;
   3230 fi
   3231 
   3232 if test "x$enable_dependency_tracking" != xno; then
   3233   am_depcomp="$ac_aux_dir/depcomp"
   3234   AMDEPBACKSLASH='\'
   3235   am__nodep='_no'
   3236 fi
   3237  if test "x$enable_dependency_tracking" != xno; then
   3238   AMDEP_TRUE=
   3239   AMDEP_FALSE='#'
   3240 else
   3241   AMDEP_TRUE='#'
   3242   AMDEP_FALSE=
   3243 fi
   3244 
   3245 
   3246 ac_ext=c
   3247 ac_cpp='$CPP $CPPFLAGS'
   3248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3251 if test -n "$ac_tool_prefix"; then
   3252   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3253 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3255 $as_echo_n "checking for $ac_word... " >&6; }
   3256 if ${ac_cv_prog_CC+:} false; then :
   3257   $as_echo_n "(cached) " >&6
   3258 else
   3259   if test -n "$CC"; then
   3260   ac_cv_prog_CC="$CC" # Let the user override the test.
   3261 else
   3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3263 for as_dir in $PATH
   3264 do
   3265   IFS=$as_save_IFS
   3266   test -z "$as_dir" && as_dir=.
   3267     for ac_exec_ext in '' $ac_executable_extensions; do
   3268   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3269     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3271     break 2
   3272   fi
   3273 done
   3274   done
   3275 IFS=$as_save_IFS
   3276 
   3277 fi
   3278 fi
   3279 CC=$ac_cv_prog_CC
   3280 if test -n "$CC"; then
   3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3282 $as_echo "$CC" >&6; }
   3283 else
   3284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3285 $as_echo "no" >&6; }
   3286 fi
   3287 
   3288 
   3289 fi
   3290 if test -z "$ac_cv_prog_CC"; then
   3291   ac_ct_CC=$CC
   3292   # Extract the first word of "gcc", so it can be a program name with args.
   3293 set dummy gcc; ac_word=$2
   3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3295 $as_echo_n "checking for $ac_word... " >&6; }
   3296 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3297   $as_echo_n "(cached) " >&6
   3298 else
   3299   if test -n "$ac_ct_CC"; then
   3300   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3301 else
   3302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3303 for as_dir in $PATH
   3304 do
   3305   IFS=$as_save_IFS
   3306   test -z "$as_dir" && as_dir=.
   3307     for ac_exec_ext in '' $ac_executable_extensions; do
   3308   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3309     ac_cv_prog_ac_ct_CC="gcc"
   3310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3311     break 2
   3312   fi
   3313 done
   3314   done
   3315 IFS=$as_save_IFS
   3316 
   3317 fi
   3318 fi
   3319 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3320 if test -n "$ac_ct_CC"; then
   3321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3322 $as_echo "$ac_ct_CC" >&6; }
   3323 else
   3324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3325 $as_echo "no" >&6; }
   3326 fi
   3327 
   3328   if test "x$ac_ct_CC" = x; then
   3329     CC=""
   3330   else
   3331     case $cross_compiling:$ac_tool_warned in
   3332 yes:)
   3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3335 ac_tool_warned=yes ;;
   3336 esac
   3337     CC=$ac_ct_CC
   3338   fi
   3339 else
   3340   CC="$ac_cv_prog_CC"
   3341 fi
   3342 
   3343 if test -z "$CC"; then
   3344           if test -n "$ac_tool_prefix"; then
   3345     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3346 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3348 $as_echo_n "checking for $ac_word... " >&6; }
   3349 if ${ac_cv_prog_CC+:} false; then :
   3350   $as_echo_n "(cached) " >&6
   3351 else
   3352   if test -n "$CC"; then
   3353   ac_cv_prog_CC="$CC" # Let the user override the test.
   3354 else
   3355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3356 for as_dir in $PATH
   3357 do
   3358   IFS=$as_save_IFS
   3359   test -z "$as_dir" && as_dir=.
   3360     for ac_exec_ext in '' $ac_executable_extensions; do
   3361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3362     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3364     break 2
   3365   fi
   3366 done
   3367   done
   3368 IFS=$as_save_IFS
   3369 
   3370 fi
   3371 fi
   3372 CC=$ac_cv_prog_CC
   3373 if test -n "$CC"; then
   3374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3375 $as_echo "$CC" >&6; }
   3376 else
   3377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3378 $as_echo "no" >&6; }
   3379 fi
   3380 
   3381 
   3382   fi
   3383 fi
   3384 if test -z "$CC"; then
   3385   # Extract the first word of "cc", so it can be a program name with args.
   3386 set dummy cc; ac_word=$2
   3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3388 $as_echo_n "checking for $ac_word... " >&6; }
   3389 if ${ac_cv_prog_CC+:} false; then :
   3390   $as_echo_n "(cached) " >&6
   3391 else
   3392   if test -n "$CC"; then
   3393   ac_cv_prog_CC="$CC" # Let the user override the test.
   3394 else
   3395   ac_prog_rejected=no
   3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3397 for as_dir in $PATH
   3398 do
   3399   IFS=$as_save_IFS
   3400   test -z "$as_dir" && as_dir=.
   3401     for ac_exec_ext in '' $ac_executable_extensions; do
   3402   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3403     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3404        ac_prog_rejected=yes
   3405        continue
   3406      fi
   3407     ac_cv_prog_CC="cc"
   3408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3409     break 2
   3410   fi
   3411 done
   3412   done
   3413 IFS=$as_save_IFS
   3414 
   3415 if test $ac_prog_rejected = yes; then
   3416   # We found a bogon in the path, so make sure we never use it.
   3417   set dummy $ac_cv_prog_CC
   3418   shift
   3419   if test $# != 0; then
   3420     # We chose a different compiler from the bogus one.
   3421     # However, it has the same basename, so the bogon will be chosen
   3422     # first if we set CC to just the basename; use the full file name.
   3423     shift
   3424     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3425   fi
   3426 fi
   3427 fi
   3428 fi
   3429 CC=$ac_cv_prog_CC
   3430 if test -n "$CC"; then
   3431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3432 $as_echo "$CC" >&6; }
   3433 else
   3434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3435 $as_echo "no" >&6; }
   3436 fi
   3437 
   3438 
   3439 fi
   3440 if test -z "$CC"; then
   3441   if test -n "$ac_tool_prefix"; then
   3442   for ac_prog in cl.exe
   3443   do
   3444     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3445 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3447 $as_echo_n "checking for $ac_word... " >&6; }
   3448 if ${ac_cv_prog_CC+:} false; then :
   3449   $as_echo_n "(cached) " >&6
   3450 else
   3451   if test -n "$CC"; then
   3452   ac_cv_prog_CC="$CC" # Let the user override the test.
   3453 else
   3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3455 for as_dir in $PATH
   3456 do
   3457   IFS=$as_save_IFS
   3458   test -z "$as_dir" && as_dir=.
   3459     for ac_exec_ext in '' $ac_executable_extensions; do
   3460   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3461     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3462     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3463     break 2
   3464   fi
   3465 done
   3466   done
   3467 IFS=$as_save_IFS
   3468 
   3469 fi
   3470 fi
   3471 CC=$ac_cv_prog_CC
   3472 if test -n "$CC"; then
   3473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3474 $as_echo "$CC" >&6; }
   3475 else
   3476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3477 $as_echo "no" >&6; }
   3478 fi
   3479 
   3480 
   3481     test -n "$CC" && break
   3482   done
   3483 fi
   3484 if test -z "$CC"; then
   3485   ac_ct_CC=$CC
   3486   for ac_prog in cl.exe
   3487 do
   3488   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3489 set dummy $ac_prog; ac_word=$2
   3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3491 $as_echo_n "checking for $ac_word... " >&6; }
   3492 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3493   $as_echo_n "(cached) " >&6
   3494 else
   3495   if test -n "$ac_ct_CC"; then
   3496   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3497 else
   3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3499 for as_dir in $PATH
   3500 do
   3501   IFS=$as_save_IFS
   3502   test -z "$as_dir" && as_dir=.
   3503     for ac_exec_ext in '' $ac_executable_extensions; do
   3504   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3505     ac_cv_prog_ac_ct_CC="$ac_prog"
   3506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3507     break 2
   3508   fi
   3509 done
   3510   done
   3511 IFS=$as_save_IFS
   3512 
   3513 fi
   3514 fi
   3515 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3516 if test -n "$ac_ct_CC"; then
   3517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3518 $as_echo "$ac_ct_CC" >&6; }
   3519 else
   3520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3521 $as_echo "no" >&6; }
   3522 fi
   3523 
   3524 
   3525   test -n "$ac_ct_CC" && break
   3526 done
   3527 
   3528   if test "x$ac_ct_CC" = x; then
   3529     CC=""
   3530   else
   3531     case $cross_compiling:$ac_tool_warned in
   3532 yes:)
   3533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3535 ac_tool_warned=yes ;;
   3536 esac
   3537     CC=$ac_ct_CC
   3538   fi
   3539 fi
   3540 
   3541 fi
   3542 
   3543 
   3544 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3546 as_fn_error $? "no acceptable C compiler found in \$PATH
   3547 See \`config.log' for more details" "$LINENO" 5; }
   3548 
   3549 # Provide some information about the compiler.
   3550 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3551 set X $ac_compile
   3552 ac_compiler=$2
   3553 for ac_option in --version -v -V -qversion; do
   3554   { { ac_try="$ac_compiler $ac_option >&5"
   3555 case "(($ac_try" in
   3556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3557   *) ac_try_echo=$ac_try;;
   3558 esac
   3559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3560 $as_echo "$ac_try_echo"; } >&5
   3561   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3562   ac_status=$?
   3563   if test -s conftest.err; then
   3564     sed '10a\
   3565 ... rest of stderr output deleted ...
   3566          10q' conftest.err >conftest.er1
   3567     cat conftest.er1 >&5
   3568   fi
   3569   rm -f conftest.er1 conftest.err
   3570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3571   test $ac_status = 0; }
   3572 done
   3573 
   3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3575 /* end confdefs.h.  */
   3576 
   3577 int
   3578 main ()
   3579 {
   3580 
   3581   ;
   3582   return 0;
   3583 }
   3584 _ACEOF
   3585 ac_clean_files_save=$ac_clean_files
   3586 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3587 # Try to create an executable without -o first, disregard a.out.
   3588 # It will help us diagnose broken compilers, and finding out an intuition
   3589 # of exeext.
   3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3591 $as_echo_n "checking whether the C compiler works... " >&6; }
   3592 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3593 
   3594 # The possible output files:
   3595 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3596 
   3597 ac_rmfiles=
   3598 for ac_file in $ac_files
   3599 do
   3600   case $ac_file in
   3601     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3602     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3603   esac
   3604 done
   3605 rm -f $ac_rmfiles
   3606 
   3607 if { { ac_try="$ac_link_default"
   3608 case "(($ac_try" in
   3609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3610   *) ac_try_echo=$ac_try;;
   3611 esac
   3612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3613 $as_echo "$ac_try_echo"; } >&5
   3614   (eval "$ac_link_default") 2>&5
   3615   ac_status=$?
   3616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3617   test $ac_status = 0; }; then :
   3618   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3619 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3620 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3621 # so that the user can short-circuit this test for compilers unknown to
   3622 # Autoconf.
   3623 for ac_file in $ac_files ''
   3624 do
   3625   test -f "$ac_file" || continue
   3626   case $ac_file in
   3627     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3628 	;;
   3629     [ab].out )
   3630 	# We found the default executable, but exeext='' is most
   3631 	# certainly right.
   3632 	break;;
   3633     *.* )
   3634 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3635 	then :; else
   3636 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3637 	fi
   3638 	# We set ac_cv_exeext here because the later test for it is not
   3639 	# safe: cross compilers may not add the suffix if given an `-o'
   3640 	# argument, so we may need to know it at that point already.
   3641 	# Even if this section looks crufty: it has the advantage of
   3642 	# actually working.
   3643 	break;;
   3644     * )
   3645 	break;;
   3646   esac
   3647 done
   3648 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3649 
   3650 else
   3651   ac_file=''
   3652 fi
   3653 if test -z "$ac_file"; then :
   3654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3655 $as_echo "no" >&6; }
   3656 $as_echo "$as_me: failed program was:" >&5
   3657 sed 's/^/| /' conftest.$ac_ext >&5
   3658 
   3659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3661 as_fn_error 77 "C compiler cannot create executables
   3662 See \`config.log' for more details" "$LINENO" 5; }
   3663 else
   3664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3665 $as_echo "yes" >&6; }
   3666 fi
   3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3668 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3670 $as_echo "$ac_file" >&6; }
   3671 ac_exeext=$ac_cv_exeext
   3672 
   3673 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3674 ac_clean_files=$ac_clean_files_save
   3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3676 $as_echo_n "checking for suffix of executables... " >&6; }
   3677 if { { ac_try="$ac_link"
   3678 case "(($ac_try" in
   3679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3680   *) ac_try_echo=$ac_try;;
   3681 esac
   3682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3683 $as_echo "$ac_try_echo"; } >&5
   3684   (eval "$ac_link") 2>&5
   3685   ac_status=$?
   3686   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3687   test $ac_status = 0; }; then :
   3688   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3689 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3690 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3691 # `rm'.
   3692 for ac_file in conftest.exe conftest conftest.*; do
   3693   test -f "$ac_file" || continue
   3694   case $ac_file in
   3695     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3696     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3697 	  break;;
   3698     * ) break;;
   3699   esac
   3700 done
   3701 else
   3702   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3704 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3705 See \`config.log' for more details" "$LINENO" 5; }
   3706 fi
   3707 rm -f conftest conftest$ac_cv_exeext
   3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3709 $as_echo "$ac_cv_exeext" >&6; }
   3710 
   3711 rm -f conftest.$ac_ext
   3712 EXEEXT=$ac_cv_exeext
   3713 ac_exeext=$EXEEXT
   3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3715 /* end confdefs.h.  */
   3716 #include <stdio.h>
   3717 int
   3718 main ()
   3719 {
   3720 FILE *f = fopen ("conftest.out", "w");
   3721  return ferror (f) || fclose (f) != 0;
   3722 
   3723   ;
   3724   return 0;
   3725 }
   3726 _ACEOF
   3727 ac_clean_files="$ac_clean_files conftest.out"
   3728 # Check that the compiler produces executables we can run.  If not, either
   3729 # the compiler is broken, or we cross compile.
   3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3731 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3732 if test "$cross_compiling" != yes; then
   3733   { { ac_try="$ac_link"
   3734 case "(($ac_try" in
   3735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3736   *) ac_try_echo=$ac_try;;
   3737 esac
   3738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3739 $as_echo "$ac_try_echo"; } >&5
   3740   (eval "$ac_link") 2>&5
   3741   ac_status=$?
   3742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3743   test $ac_status = 0; }
   3744   if { ac_try='./conftest$ac_cv_exeext'
   3745   { { case "(($ac_try" in
   3746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3747   *) ac_try_echo=$ac_try;;
   3748 esac
   3749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3750 $as_echo "$ac_try_echo"; } >&5
   3751   (eval "$ac_try") 2>&5
   3752   ac_status=$?
   3753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3754   test $ac_status = 0; }; }; then
   3755     cross_compiling=no
   3756   else
   3757     if test "$cross_compiling" = maybe; then
   3758 	cross_compiling=yes
   3759     else
   3760 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3762 as_fn_error $? "cannot run C compiled programs.
   3763 If you meant to cross compile, use \`--host'.
   3764 See \`config.log' for more details" "$LINENO" 5; }
   3765     fi
   3766   fi
   3767 fi
   3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3769 $as_echo "$cross_compiling" >&6; }
   3770 
   3771 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3772 ac_clean_files=$ac_clean_files_save
   3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3774 $as_echo_n "checking for suffix of object files... " >&6; }
   3775 if ${ac_cv_objext+:} false; then :
   3776   $as_echo_n "(cached) " >&6
   3777 else
   3778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3779 /* end confdefs.h.  */
   3780 
   3781 int
   3782 main ()
   3783 {
   3784 
   3785   ;
   3786   return 0;
   3787 }
   3788 _ACEOF
   3789 rm -f conftest.o conftest.obj
   3790 if { { ac_try="$ac_compile"
   3791 case "(($ac_try" in
   3792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3793   *) ac_try_echo=$ac_try;;
   3794 esac
   3795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3796 $as_echo "$ac_try_echo"; } >&5
   3797   (eval "$ac_compile") 2>&5
   3798   ac_status=$?
   3799   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3800   test $ac_status = 0; }; then :
   3801   for ac_file in conftest.o conftest.obj conftest.*; do
   3802   test -f "$ac_file" || continue;
   3803   case $ac_file in
   3804     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3805     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3806        break;;
   3807   esac
   3808 done
   3809 else
   3810   $as_echo "$as_me: failed program was:" >&5
   3811 sed 's/^/| /' conftest.$ac_ext >&5
   3812 
   3813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3815 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3816 See \`config.log' for more details" "$LINENO" 5; }
   3817 fi
   3818 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3819 fi
   3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3821 $as_echo "$ac_cv_objext" >&6; }
   3822 OBJEXT=$ac_cv_objext
   3823 ac_objext=$OBJEXT
   3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3825 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3826 if ${ac_cv_c_compiler_gnu+:} false; then :
   3827   $as_echo_n "(cached) " >&6
   3828 else
   3829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3830 /* end confdefs.h.  */
   3831 
   3832 int
   3833 main ()
   3834 {
   3835 #ifndef __GNUC__
   3836        choke me
   3837 #endif
   3838 
   3839   ;
   3840   return 0;
   3841 }
   3842 _ACEOF
   3843 if ac_fn_c_try_compile "$LINENO"; then :
   3844   ac_compiler_gnu=yes
   3845 else
   3846   ac_compiler_gnu=no
   3847 fi
   3848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3849 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3850 
   3851 fi
   3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3853 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3854 if test $ac_compiler_gnu = yes; then
   3855   GCC=yes
   3856 else
   3857   GCC=
   3858 fi
   3859 ac_test_CFLAGS=${CFLAGS+set}
   3860 ac_save_CFLAGS=$CFLAGS
   3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3862 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3863 if ${ac_cv_prog_cc_g+:} false; then :
   3864   $as_echo_n "(cached) " >&6
   3865 else
   3866   ac_save_c_werror_flag=$ac_c_werror_flag
   3867    ac_c_werror_flag=yes
   3868    ac_cv_prog_cc_g=no
   3869    CFLAGS="-g"
   3870    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3871 /* end confdefs.h.  */
   3872 
   3873 int
   3874 main ()
   3875 {
   3876 
   3877   ;
   3878   return 0;
   3879 }
   3880 _ACEOF
   3881 if ac_fn_c_try_compile "$LINENO"; then :
   3882   ac_cv_prog_cc_g=yes
   3883 else
   3884   CFLAGS=""
   3885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3886 /* end confdefs.h.  */
   3887 
   3888 int
   3889 main ()
   3890 {
   3891 
   3892   ;
   3893   return 0;
   3894 }
   3895 _ACEOF
   3896 if ac_fn_c_try_compile "$LINENO"; then :
   3897 
   3898 else
   3899   ac_c_werror_flag=$ac_save_c_werror_flag
   3900 	 CFLAGS="-g"
   3901 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3902 /* end confdefs.h.  */
   3903 
   3904 int
   3905 main ()
   3906 {
   3907 
   3908   ;
   3909   return 0;
   3910 }
   3911 _ACEOF
   3912 if ac_fn_c_try_compile "$LINENO"; then :
   3913   ac_cv_prog_cc_g=yes
   3914 fi
   3915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3916 fi
   3917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3918 fi
   3919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3920    ac_c_werror_flag=$ac_save_c_werror_flag
   3921 fi
   3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3923 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3924 if test "$ac_test_CFLAGS" = set; then
   3925   CFLAGS=$ac_save_CFLAGS
   3926 elif test $ac_cv_prog_cc_g = yes; then
   3927   if test "$GCC" = yes; then
   3928     CFLAGS="-g -O2"
   3929   else
   3930     CFLAGS="-g"
   3931   fi
   3932 else
   3933   if test "$GCC" = yes; then
   3934     CFLAGS="-O2"
   3935   else
   3936     CFLAGS=
   3937   fi
   3938 fi
   3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3940 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3941 if ${ac_cv_prog_cc_c89+:} false; then :
   3942   $as_echo_n "(cached) " >&6
   3943 else
   3944   ac_cv_prog_cc_c89=no
   3945 ac_save_CC=$CC
   3946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3947 /* end confdefs.h.  */
   3948 #include <stdarg.h>
   3949 #include <stdio.h>
   3950 struct stat;
   3951 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3952 struct buf { int x; };
   3953 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3954 static char *e (p, i)
   3955      char **p;
   3956      int i;
   3957 {
   3958   return p[i];
   3959 }
   3960 static char *f (char * (*g) (char **, int), char **p, ...)
   3961 {
   3962   char *s;
   3963   va_list v;
   3964   va_start (v,p);
   3965   s = g (p, va_arg (v,int));
   3966   va_end (v);
   3967   return s;
   3968 }
   3969 
   3970 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3971    function prototypes and stuff, but not '\xHH' hex character constants.
   3972    These don't provoke an error unfortunately, instead are silently treated
   3973    as 'x'.  The following induces an error, until -std is added to get
   3974    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3975    array size at least.  It's necessary to write '\x00'==0 to get something
   3976    that's true only with -std.  */
   3977 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3978 
   3979 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3980    inside strings and character constants.  */
   3981 #define FOO(x) 'x'
   3982 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3983 
   3984 int test (int i, double x);
   3985 struct s1 {int (*f) (int a);};
   3986 struct s2 {int (*f) (double a);};
   3987 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3988 int argc;
   3989 char **argv;
   3990 int
   3991 main ()
   3992 {
   3993 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3994   ;
   3995   return 0;
   3996 }
   3997 _ACEOF
   3998 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3999 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4000 do
   4001   CC="$ac_save_CC $ac_arg"
   4002   if ac_fn_c_try_compile "$LINENO"; then :
   4003   ac_cv_prog_cc_c89=$ac_arg
   4004 fi
   4005 rm -f core conftest.err conftest.$ac_objext
   4006   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4007 done
   4008 rm -f conftest.$ac_ext
   4009 CC=$ac_save_CC
   4010 
   4011 fi
   4012 # AC_CACHE_VAL
   4013 case "x$ac_cv_prog_cc_c89" in
   4014   x)
   4015     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4016 $as_echo "none needed" >&6; } ;;
   4017   xno)
   4018     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4019 $as_echo "unsupported" >&6; } ;;
   4020   *)
   4021     CC="$CC $ac_cv_prog_cc_c89"
   4022     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4023 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4024 esac
   4025 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4026 
   4027 fi
   4028 
   4029 ac_ext=c
   4030 ac_cpp='$CPP $CPPFLAGS'
   4031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4034 
   4035 ac_ext=c
   4036 ac_cpp='$CPP $CPPFLAGS'
   4037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4041 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4042 if ${am_cv_prog_cc_c_o+:} false; then :
   4043   $as_echo_n "(cached) " >&6
   4044 else
   4045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4046 /* end confdefs.h.  */
   4047 
   4048 int
   4049 main ()
   4050 {
   4051 
   4052   ;
   4053   return 0;
   4054 }
   4055 _ACEOF
   4056   # Make sure it works both with $CC and with simple cc.
   4057   # Following AC_PROG_CC_C_O, we do the test twice because some
   4058   # compilers refuse to overwrite an existing .o file with -o,
   4059   # though they will create one.
   4060   am_cv_prog_cc_c_o=yes
   4061   for am_i in 1 2; do
   4062     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4063    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4064    ac_status=$?
   4065    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4066    (exit $ac_status); } \
   4067          && test -f conftest2.$ac_objext; then
   4068       : OK
   4069     else
   4070       am_cv_prog_cc_c_o=no
   4071       break
   4072     fi
   4073   done
   4074   rm -f core conftest*
   4075   unset am_i
   4076 fi
   4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4078 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4079 if test "$am_cv_prog_cc_c_o" != yes; then
   4080    # Losing compiler, so override with the script.
   4081    # FIXME: It is wrong to rewrite CC.
   4082    # But if we don't then we get into trouble of one sort or another.
   4083    # A longer-term fix would be to have automake use am__CC in this case,
   4084    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4085    CC="$am_aux_dir/compile $CC"
   4086 fi
   4087 ac_ext=c
   4088 ac_cpp='$CPP $CPPFLAGS'
   4089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4092 
   4093 
   4094 depcc="$CC"   am_compiler_list=
   4095 
   4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4097 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4098 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4099   $as_echo_n "(cached) " >&6
   4100 else
   4101   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4102   # We make a subdir and do the tests there.  Otherwise we can end up
   4103   # making bogus files that we don't know about and never remove.  For
   4104   # instance it was reported that on HP-UX the gcc test will end up
   4105   # making a dummy file named 'D' -- because '-MD' means "put the output
   4106   # in D".
   4107   rm -rf conftest.dir
   4108   mkdir conftest.dir
   4109   # Copy depcomp to subdir because otherwise we won't find it if we're
   4110   # using a relative directory.
   4111   cp "$am_depcomp" conftest.dir
   4112   cd conftest.dir
   4113   # We will build objects and dependencies in a subdirectory because
   4114   # it helps to detect inapplicable dependency modes.  For instance
   4115   # both Tru64's cc and ICC support -MD to output dependencies as a
   4116   # side effect of compilation, but ICC will put the dependencies in
   4117   # the current directory while Tru64 will put them in the object
   4118   # directory.
   4119   mkdir sub
   4120 
   4121   am_cv_CC_dependencies_compiler_type=none
   4122   if test "$am_compiler_list" = ""; then
   4123      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4124   fi
   4125   am__universal=false
   4126   case " $depcc " in #(
   4127      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4128      esac
   4129 
   4130   for depmode in $am_compiler_list; do
   4131     # Setup a source with many dependencies, because some compilers
   4132     # like to wrap large dependency lists on column 80 (with \), and
   4133     # we should not choose a depcomp mode which is confused by this.
   4134     #
   4135     # We need to recreate these files for each test, as the compiler may
   4136     # overwrite some of them when testing with obscure command lines.
   4137     # This happens at least with the AIX C compiler.
   4138     : > sub/conftest.c
   4139     for i in 1 2 3 4 5 6; do
   4140       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4141       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4142       # Solaris 10 /bin/sh.
   4143       echo '/* dummy */' > sub/conftst$i.h
   4144     done
   4145     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4146 
   4147     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4148     # mode.  It turns out that the SunPro C++ compiler does not properly
   4149     # handle '-M -o', and we need to detect this.  Also, some Intel
   4150     # versions had trouble with output in subdirs.
   4151     am__obj=sub/conftest.${OBJEXT-o}
   4152     am__minus_obj="-o $am__obj"
   4153     case $depmode in
   4154     gcc)
   4155       # This depmode causes a compiler race in universal mode.
   4156       test "$am__universal" = false || continue
   4157       ;;
   4158     nosideeffect)
   4159       # After this tag, mechanisms are not by side-effect, so they'll
   4160       # only be used when explicitly requested.
   4161       if test "x$enable_dependency_tracking" = xyes; then
   4162 	continue
   4163       else
   4164 	break
   4165       fi
   4166       ;;
   4167     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4168       # This compiler won't grok '-c -o', but also, the minuso test has
   4169       # not run yet.  These depmodes are late enough in the game, and
   4170       # so weak that their functioning should not be impacted.
   4171       am__obj=conftest.${OBJEXT-o}
   4172       am__minus_obj=
   4173       ;;
   4174     none) break ;;
   4175     esac
   4176     if depmode=$depmode \
   4177        source=sub/conftest.c object=$am__obj \
   4178        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4179        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4180          >/dev/null 2>conftest.err &&
   4181        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4182        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4183        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4184        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4185       # icc doesn't choke on unknown options, it will just issue warnings
   4186       # or remarks (even with -Werror).  So we grep stderr for any message
   4187       # that says an option was ignored or not supported.
   4188       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4189       #   icc: Command line warning: ignoring option '-M'; no argument required
   4190       # The diagnosis changed in icc 8.0:
   4191       #   icc: Command line remark: option '-MP' not supported
   4192       if (grep 'ignoring option' conftest.err ||
   4193           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4194         am_cv_CC_dependencies_compiler_type=$depmode
   4195         break
   4196       fi
   4197     fi
   4198   done
   4199 
   4200   cd ..
   4201   rm -rf conftest.dir
   4202 else
   4203   am_cv_CC_dependencies_compiler_type=none
   4204 fi
   4205 
   4206 fi
   4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4208 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4209 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4210 
   4211  if
   4212   test "x$enable_dependency_tracking" != xno \
   4213   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4214   am__fastdepCC_TRUE=
   4215   am__fastdepCC_FALSE='#'
   4216 else
   4217   am__fastdepCC_TRUE='#'
   4218   am__fastdepCC_FALSE=
   4219 fi
   4220 
   4221 
   4222 
   4223 ac_ext=c
   4224 ac_cpp='$CPP $CPPFLAGS'
   4225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4229 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4230 # On Suns, sometimes $CPP names a directory.
   4231 if test -n "$CPP" && test -d "$CPP"; then
   4232   CPP=
   4233 fi
   4234 if test -z "$CPP"; then
   4235   if ${ac_cv_prog_CPP+:} false; then :
   4236   $as_echo_n "(cached) " >&6
   4237 else
   4238       # Double quotes because CPP needs to be expanded
   4239     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4240     do
   4241       ac_preproc_ok=false
   4242 for ac_c_preproc_warn_flag in '' yes
   4243 do
   4244   # Use a header file that comes with gcc, so configuring glibc
   4245   # with a fresh cross-compiler works.
   4246   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4247   # <limits.h> exists even on freestanding compilers.
   4248   # On the NeXT, cc -E runs the code through the compiler's parser,
   4249   # not just through cpp. "Syntax error" is here to catch this case.
   4250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4251 /* end confdefs.h.  */
   4252 #ifdef __STDC__
   4253 # include <limits.h>
   4254 #else
   4255 # include <assert.h>
   4256 #endif
   4257 		     Syntax error
   4258 _ACEOF
   4259 if ac_fn_c_try_cpp "$LINENO"; then :
   4260 
   4261 else
   4262   # Broken: fails on valid input.
   4263 continue
   4264 fi
   4265 rm -f conftest.err conftest.i conftest.$ac_ext
   4266 
   4267   # OK, works on sane cases.  Now check whether nonexistent headers
   4268   # can be detected and how.
   4269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4270 /* end confdefs.h.  */
   4271 #include <ac_nonexistent.h>
   4272 _ACEOF
   4273 if ac_fn_c_try_cpp "$LINENO"; then :
   4274   # Broken: success on invalid input.
   4275 continue
   4276 else
   4277   # Passes both tests.
   4278 ac_preproc_ok=:
   4279 break
   4280 fi
   4281 rm -f conftest.err conftest.i conftest.$ac_ext
   4282 
   4283 done
   4284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4285 rm -f conftest.i conftest.err conftest.$ac_ext
   4286 if $ac_preproc_ok; then :
   4287   break
   4288 fi
   4289 
   4290     done
   4291     ac_cv_prog_CPP=$CPP
   4292 
   4293 fi
   4294   CPP=$ac_cv_prog_CPP
   4295 else
   4296   ac_cv_prog_CPP=$CPP
   4297 fi
   4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4299 $as_echo "$CPP" >&6; }
   4300 ac_preproc_ok=false
   4301 for ac_c_preproc_warn_flag in '' yes
   4302 do
   4303   # Use a header file that comes with gcc, so configuring glibc
   4304   # with a fresh cross-compiler works.
   4305   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4306   # <limits.h> exists even on freestanding compilers.
   4307   # On the NeXT, cc -E runs the code through the compiler's parser,
   4308   # not just through cpp. "Syntax error" is here to catch this case.
   4309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4310 /* end confdefs.h.  */
   4311 #ifdef __STDC__
   4312 # include <limits.h>
   4313 #else
   4314 # include <assert.h>
   4315 #endif
   4316 		     Syntax error
   4317 _ACEOF
   4318 if ac_fn_c_try_cpp "$LINENO"; then :
   4319 
   4320 else
   4321   # Broken: fails on valid input.
   4322 continue
   4323 fi
   4324 rm -f conftest.err conftest.i conftest.$ac_ext
   4325 
   4326   # OK, works on sane cases.  Now check whether nonexistent headers
   4327   # can be detected and how.
   4328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4329 /* end confdefs.h.  */
   4330 #include <ac_nonexistent.h>
   4331 _ACEOF
   4332 if ac_fn_c_try_cpp "$LINENO"; then :
   4333   # Broken: success on invalid input.
   4334 continue
   4335 else
   4336   # Passes both tests.
   4337 ac_preproc_ok=:
   4338 break
   4339 fi
   4340 rm -f conftest.err conftest.i conftest.$ac_ext
   4341 
   4342 done
   4343 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4344 rm -f conftest.i conftest.err conftest.$ac_ext
   4345 if $ac_preproc_ok; then :
   4346 
   4347 else
   4348   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4350 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4351 See \`config.log' for more details" "$LINENO" 5; }
   4352 fi
   4353 
   4354 ac_ext=c
   4355 ac_cpp='$CPP $CPPFLAGS'
   4356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4359 
   4360 
   4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4362 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4363 if ${ac_cv_path_GREP+:} false; then :
   4364   $as_echo_n "(cached) " >&6
   4365 else
   4366   if test -z "$GREP"; then
   4367   ac_path_GREP_found=false
   4368   # Loop through the user's path and test for each of PROGNAME-LIST
   4369   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4370 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4371 do
   4372   IFS=$as_save_IFS
   4373   test -z "$as_dir" && as_dir=.
   4374     for ac_prog in grep ggrep; do
   4375     for ac_exec_ext in '' $ac_executable_extensions; do
   4376       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4377       as_fn_executable_p "$ac_path_GREP" || continue
   4378 # Check for GNU ac_path_GREP and select it if it is found.
   4379   # Check for GNU $ac_path_GREP
   4380 case `"$ac_path_GREP" --version 2>&1` in
   4381 *GNU*)
   4382   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4383 *)
   4384   ac_count=0
   4385   $as_echo_n 0123456789 >"conftest.in"
   4386   while :
   4387   do
   4388     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4389     mv "conftest.tmp" "conftest.in"
   4390     cp "conftest.in" "conftest.nl"
   4391     $as_echo 'GREP' >> "conftest.nl"
   4392     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4393     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4394     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4395     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4396       # Best one so far, save it but keep looking for a better one
   4397       ac_cv_path_GREP="$ac_path_GREP"
   4398       ac_path_GREP_max=$ac_count
   4399     fi
   4400     # 10*(2^10) chars as input seems more than enough
   4401     test $ac_count -gt 10 && break
   4402   done
   4403   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4404 esac
   4405 
   4406       $ac_path_GREP_found && break 3
   4407     done
   4408   done
   4409   done
   4410 IFS=$as_save_IFS
   4411   if test -z "$ac_cv_path_GREP"; then
   4412     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4413   fi
   4414 else
   4415   ac_cv_path_GREP=$GREP
   4416 fi
   4417 
   4418 fi
   4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4420 $as_echo "$ac_cv_path_GREP" >&6; }
   4421  GREP="$ac_cv_path_GREP"
   4422 
   4423 
   4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4425 $as_echo_n "checking for egrep... " >&6; }
   4426 if ${ac_cv_path_EGREP+:} false; then :
   4427   $as_echo_n "(cached) " >&6
   4428 else
   4429   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4430    then ac_cv_path_EGREP="$GREP -E"
   4431    else
   4432      if test -z "$EGREP"; then
   4433   ac_path_EGREP_found=false
   4434   # Loop through the user's path and test for each of PROGNAME-LIST
   4435   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4436 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4437 do
   4438   IFS=$as_save_IFS
   4439   test -z "$as_dir" && as_dir=.
   4440     for ac_prog in egrep; do
   4441     for ac_exec_ext in '' $ac_executable_extensions; do
   4442       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4443       as_fn_executable_p "$ac_path_EGREP" || continue
   4444 # Check for GNU ac_path_EGREP and select it if it is found.
   4445   # Check for GNU $ac_path_EGREP
   4446 case `"$ac_path_EGREP" --version 2>&1` in
   4447 *GNU*)
   4448   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4449 *)
   4450   ac_count=0
   4451   $as_echo_n 0123456789 >"conftest.in"
   4452   while :
   4453   do
   4454     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4455     mv "conftest.tmp" "conftest.in"
   4456     cp "conftest.in" "conftest.nl"
   4457     $as_echo 'EGREP' >> "conftest.nl"
   4458     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4459     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4460     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4461     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4462       # Best one so far, save it but keep looking for a better one
   4463       ac_cv_path_EGREP="$ac_path_EGREP"
   4464       ac_path_EGREP_max=$ac_count
   4465     fi
   4466     # 10*(2^10) chars as input seems more than enough
   4467     test $ac_count -gt 10 && break
   4468   done
   4469   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4470 esac
   4471 
   4472       $ac_path_EGREP_found && break 3
   4473     done
   4474   done
   4475   done
   4476 IFS=$as_save_IFS
   4477   if test -z "$ac_cv_path_EGREP"; then
   4478     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4479   fi
   4480 else
   4481   ac_cv_path_EGREP=$EGREP
   4482 fi
   4483 
   4484    fi
   4485 fi
   4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4487 $as_echo "$ac_cv_path_EGREP" >&6; }
   4488  EGREP="$ac_cv_path_EGREP"
   4489 
   4490 
   4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4492 $as_echo_n "checking for ANSI C header files... " >&6; }
   4493 if ${ac_cv_header_stdc+:} false; then :
   4494   $as_echo_n "(cached) " >&6
   4495 else
   4496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4497 /* end confdefs.h.  */
   4498 #include <stdlib.h>
   4499 #include <stdarg.h>
   4500 #include <string.h>
   4501 #include <float.h>
   4502 
   4503 int
   4504 main ()
   4505 {
   4506 
   4507   ;
   4508   return 0;
   4509 }
   4510 _ACEOF
   4511 if ac_fn_c_try_compile "$LINENO"; then :
   4512   ac_cv_header_stdc=yes
   4513 else
   4514   ac_cv_header_stdc=no
   4515 fi
   4516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4517 
   4518 if test $ac_cv_header_stdc = yes; then
   4519   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4521 /* end confdefs.h.  */
   4522 #include <string.h>
   4523 
   4524 _ACEOF
   4525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4526   $EGREP "memchr" >/dev/null 2>&1; then :
   4527 
   4528 else
   4529   ac_cv_header_stdc=no
   4530 fi
   4531 rm -f conftest*
   4532 
   4533 fi
   4534 
   4535 if test $ac_cv_header_stdc = yes; then
   4536   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4538 /* end confdefs.h.  */
   4539 #include <stdlib.h>
   4540 
   4541 _ACEOF
   4542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4543   $EGREP "free" >/dev/null 2>&1; then :
   4544 
   4545 else
   4546   ac_cv_header_stdc=no
   4547 fi
   4548 rm -f conftest*
   4549 
   4550 fi
   4551 
   4552 if test $ac_cv_header_stdc = yes; then
   4553   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4554   if test "$cross_compiling" = yes; then :
   4555   :
   4556 else
   4557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4558 /* end confdefs.h.  */
   4559 #include <ctype.h>
   4560 #include <stdlib.h>
   4561 #if ((' ' & 0x0FF) == 0x020)
   4562 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4563 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4564 #else
   4565 # define ISLOWER(c) \
   4566 		   (('a' <= (c) && (c) <= 'i') \
   4567 		     || ('j' <= (c) && (c) <= 'r') \
   4568 		     || ('s' <= (c) && (c) <= 'z'))
   4569 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4570 #endif
   4571 
   4572 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4573 int
   4574 main ()
   4575 {
   4576   int i;
   4577   for (i = 0; i < 256; i++)
   4578     if (XOR (islower (i), ISLOWER (i))
   4579 	|| toupper (i) != TOUPPER (i))
   4580       return 2;
   4581   return 0;
   4582 }
   4583 _ACEOF
   4584 if ac_fn_c_try_run "$LINENO"; then :
   4585 
   4586 else
   4587   ac_cv_header_stdc=no
   4588 fi
   4589 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4590   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4591 fi
   4592 
   4593 fi
   4594 fi
   4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4596 $as_echo "$ac_cv_header_stdc" >&6; }
   4597 if test $ac_cv_header_stdc = yes; then
   4598 
   4599 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4600 
   4601 fi
   4602 
   4603 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4604 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4605 		  inttypes.h stdint.h unistd.h
   4606 do :
   4607   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4608 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4609 "
   4610 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4611   cat >>confdefs.h <<_ACEOF
   4612 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4613 _ACEOF
   4614 
   4615 fi
   4616 
   4617 done
   4618 
   4619 
   4620 
   4621   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4622 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4623   MINIX=yes
   4624 else
   4625   MINIX=
   4626 fi
   4627 
   4628 
   4629   if test "$MINIX" = yes; then
   4630 
   4631 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4632 
   4633 
   4634 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4635 
   4636 
   4637 $as_echo "#define _MINIX 1" >>confdefs.h
   4638 
   4639   fi
   4640 
   4641 
   4642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4643 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4644 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4645   $as_echo_n "(cached) " >&6
   4646 else
   4647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4648 /* end confdefs.h.  */
   4649 
   4650 #         define __EXTENSIONS__ 1
   4651           $ac_includes_default
   4652 int
   4653 main ()
   4654 {
   4655 
   4656   ;
   4657   return 0;
   4658 }
   4659 _ACEOF
   4660 if ac_fn_c_try_compile "$LINENO"; then :
   4661   ac_cv_safe_to_define___extensions__=yes
   4662 else
   4663   ac_cv_safe_to_define___extensions__=no
   4664 fi
   4665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4666 fi
   4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4668 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4669   test $ac_cv_safe_to_define___extensions__ = yes &&
   4670     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4671 
   4672   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4673 
   4674   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4675 
   4676   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4677 
   4678   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4679 
   4680 
   4681 
   4682 # Initialize libtool
   4683 case `pwd` in
   4684   *\ * | *\	*)
   4685     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4686 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4687 esac
   4688 
   4689 
   4690 
   4691 macro_version='2.4.6'
   4692 macro_revision='2.4.6'
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 
   4706 ltmain=$ac_aux_dir/ltmain.sh
   4707 
   4708 # Make sure we can run config.sub.
   4709 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4710   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4711 
   4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4713 $as_echo_n "checking build system type... " >&6; }
   4714 if ${ac_cv_build+:} false; then :
   4715   $as_echo_n "(cached) " >&6
   4716 else
   4717   ac_build_alias=$build_alias
   4718 test "x$ac_build_alias" = x &&
   4719   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4720 test "x$ac_build_alias" = x &&
   4721   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4722 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4723   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4724 
   4725 fi
   4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4727 $as_echo "$ac_cv_build" >&6; }
   4728 case $ac_cv_build in
   4729 *-*-*) ;;
   4730 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4731 esac
   4732 build=$ac_cv_build
   4733 ac_save_IFS=$IFS; IFS='-'
   4734 set x $ac_cv_build
   4735 shift
   4736 build_cpu=$1
   4737 build_vendor=$2
   4738 shift; shift
   4739 # Remember, the first character of IFS is used to create $*,
   4740 # except with old shells:
   4741 build_os=$*
   4742 IFS=$ac_save_IFS
   4743 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4744 
   4745 
   4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4747 $as_echo_n "checking host system type... " >&6; }
   4748 if ${ac_cv_host+:} false; then :
   4749   $as_echo_n "(cached) " >&6
   4750 else
   4751   if test "x$host_alias" = x; then
   4752   ac_cv_host=$ac_cv_build
   4753 else
   4754   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4755     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4756 fi
   4757 
   4758 fi
   4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4760 $as_echo "$ac_cv_host" >&6; }
   4761 case $ac_cv_host in
   4762 *-*-*) ;;
   4763 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4764 esac
   4765 host=$ac_cv_host
   4766 ac_save_IFS=$IFS; IFS='-'
   4767 set x $ac_cv_host
   4768 shift
   4769 host_cpu=$1
   4770 host_vendor=$2
   4771 shift; shift
   4772 # Remember, the first character of IFS is used to create $*,
   4773 # except with old shells:
   4774 host_os=$*
   4775 IFS=$ac_save_IFS
   4776 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4777 
   4778 
   4779 # Backslashify metacharacters that are still active within
   4780 # double-quoted strings.
   4781 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4782 
   4783 # Same as above, but do not quote variable references.
   4784 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4785 
   4786 # Sed substitution to delay expansion of an escaped shell variable in a
   4787 # double_quote_subst'ed string.
   4788 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4789 
   4790 # Sed substitution to delay expansion of an escaped single quote.
   4791 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4792 
   4793 # Sed substitution to avoid accidental globbing in evaled expressions
   4794 no_glob_subst='s/\*/\\\*/g'
   4795 
   4796 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4797 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4798 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4799 
   4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4801 $as_echo_n "checking how to print strings... " >&6; }
   4802 # Test print first, because it will be a builtin if present.
   4803 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4804    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4805   ECHO='print -r --'
   4806 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4807   ECHO='printf %s\n'
   4808 else
   4809   # Use this function as a fallback that always works.
   4810   func_fallback_echo ()
   4811   {
   4812     eval 'cat <<_LTECHO_EOF
   4813 $1
   4814 _LTECHO_EOF'
   4815   }
   4816   ECHO='func_fallback_echo'
   4817 fi
   4818 
   4819 # func_echo_all arg...
   4820 # Invoke $ECHO with all args, space-separated.
   4821 func_echo_all ()
   4822 {
   4823     $ECHO ""
   4824 }
   4825 
   4826 case $ECHO in
   4827   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4828 $as_echo "printf" >&6; } ;;
   4829   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4830 $as_echo "print -r" >&6; } ;;
   4831   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4832 $as_echo "cat" >&6; } ;;
   4833 esac
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4849 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4850 if ${ac_cv_path_SED+:} false; then :
   4851   $as_echo_n "(cached) " >&6
   4852 else
   4853             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4854      for ac_i in 1 2 3 4 5 6 7; do
   4855        ac_script="$ac_script$as_nl$ac_script"
   4856      done
   4857      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4858      { ac_script=; unset ac_script;}
   4859      if test -z "$SED"; then
   4860   ac_path_SED_found=false
   4861   # Loop through the user's path and test for each of PROGNAME-LIST
   4862   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4863 for as_dir in $PATH
   4864 do
   4865   IFS=$as_save_IFS
   4866   test -z "$as_dir" && as_dir=.
   4867     for ac_prog in sed gsed; do
   4868     for ac_exec_ext in '' $ac_executable_extensions; do
   4869       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4870       as_fn_executable_p "$ac_path_SED" || continue
   4871 # Check for GNU ac_path_SED and select it if it is found.
   4872   # Check for GNU $ac_path_SED
   4873 case `"$ac_path_SED" --version 2>&1` in
   4874 *GNU*)
   4875   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4876 *)
   4877   ac_count=0
   4878   $as_echo_n 0123456789 >"conftest.in"
   4879   while :
   4880   do
   4881     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4882     mv "conftest.tmp" "conftest.in"
   4883     cp "conftest.in" "conftest.nl"
   4884     $as_echo '' >> "conftest.nl"
   4885     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4886     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4887     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4888     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4889       # Best one so far, save it but keep looking for a better one
   4890       ac_cv_path_SED="$ac_path_SED"
   4891       ac_path_SED_max=$ac_count
   4892     fi
   4893     # 10*(2^10) chars as input seems more than enough
   4894     test $ac_count -gt 10 && break
   4895   done
   4896   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4897 esac
   4898 
   4899       $ac_path_SED_found && break 3
   4900     done
   4901   done
   4902   done
   4903 IFS=$as_save_IFS
   4904   if test -z "$ac_cv_path_SED"; then
   4905     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4906   fi
   4907 else
   4908   ac_cv_path_SED=$SED
   4909 fi
   4910 
   4911 fi
   4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4913 $as_echo "$ac_cv_path_SED" >&6; }
   4914  SED="$ac_cv_path_SED"
   4915   rm -f conftest.sed
   4916 
   4917 test -z "$SED" && SED=sed
   4918 Xsed="$SED -e 1s/^X//"
   4919 
   4920 
   4921 
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4931 $as_echo_n "checking for fgrep... " >&6; }
   4932 if ${ac_cv_path_FGREP+:} false; then :
   4933   $as_echo_n "(cached) " >&6
   4934 else
   4935   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4936    then ac_cv_path_FGREP="$GREP -F"
   4937    else
   4938      if test -z "$FGREP"; then
   4939   ac_path_FGREP_found=false
   4940   # Loop through the user's path and test for each of PROGNAME-LIST
   4941   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4942 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4943 do
   4944   IFS=$as_save_IFS
   4945   test -z "$as_dir" && as_dir=.
   4946     for ac_prog in fgrep; do
   4947     for ac_exec_ext in '' $ac_executable_extensions; do
   4948       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4949       as_fn_executable_p "$ac_path_FGREP" || continue
   4950 # Check for GNU ac_path_FGREP and select it if it is found.
   4951   # Check for GNU $ac_path_FGREP
   4952 case `"$ac_path_FGREP" --version 2>&1` in
   4953 *GNU*)
   4954   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4955 *)
   4956   ac_count=0
   4957   $as_echo_n 0123456789 >"conftest.in"
   4958   while :
   4959   do
   4960     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4961     mv "conftest.tmp" "conftest.in"
   4962     cp "conftest.in" "conftest.nl"
   4963     $as_echo 'FGREP' >> "conftest.nl"
   4964     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4965     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4966     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4967     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4968       # Best one so far, save it but keep looking for a better one
   4969       ac_cv_path_FGREP="$ac_path_FGREP"
   4970       ac_path_FGREP_max=$ac_count
   4971     fi
   4972     # 10*(2^10) chars as input seems more than enough
   4973     test $ac_count -gt 10 && break
   4974   done
   4975   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4976 esac
   4977 
   4978       $ac_path_FGREP_found && break 3
   4979     done
   4980   done
   4981   done
   4982 IFS=$as_save_IFS
   4983   if test -z "$ac_cv_path_FGREP"; then
   4984     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4985   fi
   4986 else
   4987   ac_cv_path_FGREP=$FGREP
   4988 fi
   4989 
   4990    fi
   4991 fi
   4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4993 $as_echo "$ac_cv_path_FGREP" >&6; }
   4994  FGREP="$ac_cv_path_FGREP"
   4995 
   4996 
   4997 test -z "$GREP" && GREP=grep
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 # Check whether --with-gnu-ld was given.
   5018 if test "${with_gnu_ld+set}" = set; then :
   5019   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5020 else
   5021   with_gnu_ld=no
   5022 fi
   5023 
   5024 ac_prog=ld
   5025 if test yes = "$GCC"; then
   5026   # Check if gcc -print-prog-name=ld gives a path.
   5027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5028 $as_echo_n "checking for ld used by $CC... " >&6; }
   5029   case $host in
   5030   *-*-mingw*)
   5031     # gcc leaves a trailing carriage return, which upsets mingw
   5032     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5033   *)
   5034     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5035   esac
   5036   case $ac_prog in
   5037     # Accept absolute paths.
   5038     [\\/]* | ?:[\\/]*)
   5039       re_direlt='/[^/][^/]*/\.\./'
   5040       # Canonicalize the pathname of ld
   5041       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5042       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5043 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5044       done
   5045       test -z "$LD" && LD=$ac_prog
   5046       ;;
   5047   "")
   5048     # If it fails, then pretend we aren't using GCC.
   5049     ac_prog=ld
   5050     ;;
   5051   *)
   5052     # If it is relative, then search for the first ld in PATH.
   5053     with_gnu_ld=unknown
   5054     ;;
   5055   esac
   5056 elif test yes = "$with_gnu_ld"; then
   5057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5058 $as_echo_n "checking for GNU ld... " >&6; }
   5059 else
   5060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5061 $as_echo_n "checking for non-GNU ld... " >&6; }
   5062 fi
   5063 if ${lt_cv_path_LD+:} false; then :
   5064   $as_echo_n "(cached) " >&6
   5065 else
   5066   if test -z "$LD"; then
   5067   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5068   for ac_dir in $PATH; do
   5069     IFS=$lt_save_ifs
   5070     test -z "$ac_dir" && ac_dir=.
   5071     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5072       lt_cv_path_LD=$ac_dir/$ac_prog
   5073       # Check to see if the program is GNU ld.  I'd rather use --version,
   5074       # but apparently some variants of GNU ld only accept -v.
   5075       # Break only if it was the GNU/non-GNU ld that we prefer.
   5076       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5077       *GNU* | *'with BFD'*)
   5078 	test no != "$with_gnu_ld" && break
   5079 	;;
   5080       *)
   5081 	test yes != "$with_gnu_ld" && break
   5082 	;;
   5083       esac
   5084     fi
   5085   done
   5086   IFS=$lt_save_ifs
   5087 else
   5088   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5089 fi
   5090 fi
   5091 
   5092 LD=$lt_cv_path_LD
   5093 if test -n "$LD"; then
   5094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5095 $as_echo "$LD" >&6; }
   5096 else
   5097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5098 $as_echo "no" >&6; }
   5099 fi
   5100 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5102 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5103 if ${lt_cv_prog_gnu_ld+:} false; then :
   5104   $as_echo_n "(cached) " >&6
   5105 else
   5106   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5107 case `$LD -v 2>&1 </dev/null` in
   5108 *GNU* | *'with BFD'*)
   5109   lt_cv_prog_gnu_ld=yes
   5110   ;;
   5111 *)
   5112   lt_cv_prog_gnu_ld=no
   5113   ;;
   5114 esac
   5115 fi
   5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5117 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5118 with_gnu_ld=$lt_cv_prog_gnu_ld
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5129 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5130 if ${lt_cv_path_NM+:} false; then :
   5131   $as_echo_n "(cached) " >&6
   5132 else
   5133   if test -n "$NM"; then
   5134   # Let the user override the test.
   5135   lt_cv_path_NM=$NM
   5136 else
   5137   lt_nm_to_check=${ac_tool_prefix}nm
   5138   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5139     lt_nm_to_check="$lt_nm_to_check nm"
   5140   fi
   5141   for lt_tmp_nm in $lt_nm_to_check; do
   5142     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5143     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5144       IFS=$lt_save_ifs
   5145       test -z "$ac_dir" && ac_dir=.
   5146       tmp_nm=$ac_dir/$lt_tmp_nm
   5147       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5148 	# Check to see if the nm accepts a BSD-compat flag.
   5149 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5150 	#   nm: unknown option "B" ignored
   5151 	# Tru64's nm complains that /dev/null is an invalid object file
   5152 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5153 	case $build_os in
   5154 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5155 	*) lt_bad_file=/dev/null ;;
   5156 	esac
   5157 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   5158 	*$lt_bad_file* | *'Invalid file or object type'*)
   5159 	  lt_cv_path_NM="$tmp_nm -B"
   5160 	  break 2
   5161 	  ;;
   5162 	*)
   5163 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5164 	  */dev/null*)
   5165 	    lt_cv_path_NM="$tmp_nm -p"
   5166 	    break 2
   5167 	    ;;
   5168 	  *)
   5169 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5170 	    continue # so that we can try to find one that supports BSD flags
   5171 	    ;;
   5172 	  esac
   5173 	  ;;
   5174 	esac
   5175       fi
   5176     done
   5177     IFS=$lt_save_ifs
   5178   done
   5179   : ${lt_cv_path_NM=no}
   5180 fi
   5181 fi
   5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5183 $as_echo "$lt_cv_path_NM" >&6; }
   5184 if test no != "$lt_cv_path_NM"; then
   5185   NM=$lt_cv_path_NM
   5186 else
   5187   # Didn't find any BSD compatible name lister, look for dumpbin.
   5188   if test -n "$DUMPBIN"; then :
   5189     # Let the user override the test.
   5190   else
   5191     if test -n "$ac_tool_prefix"; then
   5192   for ac_prog in dumpbin "link -dump"
   5193   do
   5194     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5195 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5197 $as_echo_n "checking for $ac_word... " >&6; }
   5198 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5199   $as_echo_n "(cached) " >&6
   5200 else
   5201   if test -n "$DUMPBIN"; then
   5202   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5203 else
   5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5205 for as_dir in $PATH
   5206 do
   5207   IFS=$as_save_IFS
   5208   test -z "$as_dir" && as_dir=.
   5209     for ac_exec_ext in '' $ac_executable_extensions; do
   5210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5211     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5213     break 2
   5214   fi
   5215 done
   5216   done
   5217 IFS=$as_save_IFS
   5218 
   5219 fi
   5220 fi
   5221 DUMPBIN=$ac_cv_prog_DUMPBIN
   5222 if test -n "$DUMPBIN"; then
   5223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5224 $as_echo "$DUMPBIN" >&6; }
   5225 else
   5226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5227 $as_echo "no" >&6; }
   5228 fi
   5229 
   5230 
   5231     test -n "$DUMPBIN" && break
   5232   done
   5233 fi
   5234 if test -z "$DUMPBIN"; then
   5235   ac_ct_DUMPBIN=$DUMPBIN
   5236   for ac_prog in dumpbin "link -dump"
   5237 do
   5238   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5239 set dummy $ac_prog; ac_word=$2
   5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5241 $as_echo_n "checking for $ac_word... " >&6; }
   5242 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5243   $as_echo_n "(cached) " >&6
   5244 else
   5245   if test -n "$ac_ct_DUMPBIN"; then
   5246   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5247 else
   5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5249 for as_dir in $PATH
   5250 do
   5251   IFS=$as_save_IFS
   5252   test -z "$as_dir" && as_dir=.
   5253     for ac_exec_ext in '' $ac_executable_extensions; do
   5254   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5255     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5257     break 2
   5258   fi
   5259 done
   5260   done
   5261 IFS=$as_save_IFS
   5262 
   5263 fi
   5264 fi
   5265 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5266 if test -n "$ac_ct_DUMPBIN"; then
   5267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5268 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5269 else
   5270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5271 $as_echo "no" >&6; }
   5272 fi
   5273 
   5274 
   5275   test -n "$ac_ct_DUMPBIN" && break
   5276 done
   5277 
   5278   if test "x$ac_ct_DUMPBIN" = x; then
   5279     DUMPBIN=":"
   5280   else
   5281     case $cross_compiling:$ac_tool_warned in
   5282 yes:)
   5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5285 ac_tool_warned=yes ;;
   5286 esac
   5287     DUMPBIN=$ac_ct_DUMPBIN
   5288   fi
   5289 fi
   5290 
   5291     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5292     *COFF*)
   5293       DUMPBIN="$DUMPBIN -symbols -headers"
   5294       ;;
   5295     *)
   5296       DUMPBIN=:
   5297       ;;
   5298     esac
   5299   fi
   5300 
   5301   if test : != "$DUMPBIN"; then
   5302     NM=$DUMPBIN
   5303   fi
   5304 fi
   5305 test -z "$NM" && NM=nm
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5313 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5314 if ${lt_cv_nm_interface+:} false; then :
   5315   $as_echo_n "(cached) " >&6
   5316 else
   5317   lt_cv_nm_interface="BSD nm"
   5318   echo "int some_variable = 0;" > conftest.$ac_ext
   5319   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5320   (eval "$ac_compile" 2>conftest.err)
   5321   cat conftest.err >&5
   5322   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5323   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5324   cat conftest.err >&5
   5325   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5326   cat conftest.out >&5
   5327   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5328     lt_cv_nm_interface="MS dumpbin"
   5329   fi
   5330   rm -f conftest*
   5331 fi
   5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5333 $as_echo "$lt_cv_nm_interface" >&6; }
   5334 
   5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5336 $as_echo_n "checking whether ln -s works... " >&6; }
   5337 LN_S=$as_ln_s
   5338 if test "$LN_S" = "ln -s"; then
   5339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5340 $as_echo "yes" >&6; }
   5341 else
   5342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5343 $as_echo "no, using $LN_S" >&6; }
   5344 fi
   5345 
   5346 # find the maximum length of command line arguments
   5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5348 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5349 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5350   $as_echo_n "(cached) " >&6
   5351 else
   5352     i=0
   5353   teststring=ABCD
   5354 
   5355   case $build_os in
   5356   msdosdjgpp*)
   5357     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5358     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5359     # during glob expansion).  Even if it were fixed, the result of this
   5360     # check would be larger than it should be.
   5361     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5362     ;;
   5363 
   5364   gnu*)
   5365     # Under GNU Hurd, this test is not required because there is
   5366     # no limit to the length of command line arguments.
   5367     # Libtool will interpret -1 as no limit whatsoever
   5368     lt_cv_sys_max_cmd_len=-1;
   5369     ;;
   5370 
   5371   cygwin* | mingw* | cegcc*)
   5372     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5373     # about 5 minutes as the teststring grows exponentially.
   5374     # Worse, since 9x/ME are not pre-emptively multitasking,
   5375     # you end up with a "frozen" computer, even though with patience
   5376     # the test eventually succeeds (with a max line length of 256k).
   5377     # Instead, let's just punt: use the minimum linelength reported by
   5378     # all of the supported platforms: 8192 (on NT/2K/XP).
   5379     lt_cv_sys_max_cmd_len=8192;
   5380     ;;
   5381 
   5382   mint*)
   5383     # On MiNT this can take a long time and run out of memory.
   5384     lt_cv_sys_max_cmd_len=8192;
   5385     ;;
   5386 
   5387   amigaos*)
   5388     # On AmigaOS with pdksh, this test takes hours, literally.
   5389     # So we just punt and use a minimum line length of 8192.
   5390     lt_cv_sys_max_cmd_len=8192;
   5391     ;;
   5392 
   5393   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   5394     # This has been around since 386BSD, at least.  Likely further.
   5395     if test -x /sbin/sysctl; then
   5396       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5397     elif test -x /usr/sbin/sysctl; then
   5398       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5399     else
   5400       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5401     fi
   5402     # And add a safety zone
   5403     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5404     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5405     ;;
   5406 
   5407   interix*)
   5408     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5409     lt_cv_sys_max_cmd_len=196608
   5410     ;;
   5411 
   5412   os2*)
   5413     # The test takes a long time on OS/2.
   5414     lt_cv_sys_max_cmd_len=8192
   5415     ;;
   5416 
   5417   osf*)
   5418     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5419     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5420     # nice to cause kernel panics so lets avoid the loop below.
   5421     # First set a reasonable default.
   5422     lt_cv_sys_max_cmd_len=16384
   5423     #
   5424     if test -x /sbin/sysconfig; then
   5425       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5426         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5427       esac
   5428     fi
   5429     ;;
   5430   sco3.2v5*)
   5431     lt_cv_sys_max_cmd_len=102400
   5432     ;;
   5433   sysv5* | sco5v6* | sysv4.2uw2*)
   5434     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5435     if test -n "$kargmax"; then
   5436       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5437     else
   5438       lt_cv_sys_max_cmd_len=32768
   5439     fi
   5440     ;;
   5441   *)
   5442     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5443     if test -n "$lt_cv_sys_max_cmd_len" && \
   5444        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5445       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5446       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5447     else
   5448       # Make teststring a little bigger before we do anything with it.
   5449       # a 1K string should be a reasonable start.
   5450       for i in 1 2 3 4 5 6 7 8; do
   5451         teststring=$teststring$teststring
   5452       done
   5453       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5454       # If test is not a shell built-in, we'll probably end up computing a
   5455       # maximum length that is only half of the actual maximum length, but
   5456       # we can't tell.
   5457       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5458 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5459 	      test 17 != "$i" # 1/2 MB should be enough
   5460       do
   5461         i=`expr $i + 1`
   5462         teststring=$teststring$teststring
   5463       done
   5464       # Only check the string length outside the loop.
   5465       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5466       teststring=
   5467       # Add a significant safety factor because C++ compilers can tack on
   5468       # massive amounts of additional arguments before passing them to the
   5469       # linker.  It appears as though 1/2 is a usable value.
   5470       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5471     fi
   5472     ;;
   5473   esac
   5474 
   5475 fi
   5476 
   5477 if test -n "$lt_cv_sys_max_cmd_len"; then
   5478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5479 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5480 else
   5481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5482 $as_echo "none" >&6; }
   5483 fi
   5484 max_cmd_len=$lt_cv_sys_max_cmd_len
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 : ${CP="cp -f"}
   5492 : ${MV="mv -f"}
   5493 : ${RM="rm -f"}
   5494 
   5495 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5496   lt_unset=unset
   5497 else
   5498   lt_unset=false
   5499 fi
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 # test EBCDIC or ASCII
   5506 case `echo X|tr X '\101'` in
   5507  A) # ASCII based system
   5508     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5509   lt_SP2NL='tr \040 \012'
   5510   lt_NL2SP='tr \015\012 \040\040'
   5511   ;;
   5512  *) # EBCDIC based system
   5513   lt_SP2NL='tr \100 \n'
   5514   lt_NL2SP='tr \r\n \100\100'
   5515   ;;
   5516 esac
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5527 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5528 if ${lt_cv_to_host_file_cmd+:} false; then :
   5529   $as_echo_n "(cached) " >&6
   5530 else
   5531   case $host in
   5532   *-*-mingw* )
   5533     case $build in
   5534       *-*-mingw* ) # actually msys
   5535         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5536         ;;
   5537       *-*-cygwin* )
   5538         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5539         ;;
   5540       * ) # otherwise, assume *nix
   5541         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5542         ;;
   5543     esac
   5544     ;;
   5545   *-*-cygwin* )
   5546     case $build in
   5547       *-*-mingw* ) # actually msys
   5548         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5549         ;;
   5550       *-*-cygwin* )
   5551         lt_cv_to_host_file_cmd=func_convert_file_noop
   5552         ;;
   5553       * ) # otherwise, assume *nix
   5554         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5555         ;;
   5556     esac
   5557     ;;
   5558   * ) # unhandled hosts (and "normal" native builds)
   5559     lt_cv_to_host_file_cmd=func_convert_file_noop
   5560     ;;
   5561 esac
   5562 
   5563 fi
   5564 
   5565 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5567 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5574 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5575 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5576   $as_echo_n "(cached) " >&6
   5577 else
   5578   #assume ordinary cross tools, or native build.
   5579 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5580 case $host in
   5581   *-*-mingw* )
   5582     case $build in
   5583       *-*-mingw* ) # actually msys
   5584         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5585         ;;
   5586     esac
   5587     ;;
   5588 esac
   5589 
   5590 fi
   5591 
   5592 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5594 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5601 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5602 if ${lt_cv_ld_reload_flag+:} false; then :
   5603   $as_echo_n "(cached) " >&6
   5604 else
   5605   lt_cv_ld_reload_flag='-r'
   5606 fi
   5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5608 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5609 reload_flag=$lt_cv_ld_reload_flag
   5610 case $reload_flag in
   5611 "" | " "*) ;;
   5612 *) reload_flag=" $reload_flag" ;;
   5613 esac
   5614 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5615 case $host_os in
   5616   cygwin* | mingw* | pw32* | cegcc*)
   5617     if test yes != "$GCC"; then
   5618       reload_cmds=false
   5619     fi
   5620     ;;
   5621   darwin*)
   5622     if test yes = "$GCC"; then
   5623       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5624     else
   5625       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5626     fi
   5627     ;;
   5628 esac
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 if test -n "$ac_tool_prefix"; then
   5639   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5640 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5642 $as_echo_n "checking for $ac_word... " >&6; }
   5643 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5644   $as_echo_n "(cached) " >&6
   5645 else
   5646   if test -n "$OBJDUMP"; then
   5647   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5648 else
   5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5650 for as_dir in $PATH
   5651 do
   5652   IFS=$as_save_IFS
   5653   test -z "$as_dir" && as_dir=.
   5654     for ac_exec_ext in '' $ac_executable_extensions; do
   5655   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5656     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5658     break 2
   5659   fi
   5660 done
   5661   done
   5662 IFS=$as_save_IFS
   5663 
   5664 fi
   5665 fi
   5666 OBJDUMP=$ac_cv_prog_OBJDUMP
   5667 if test -n "$OBJDUMP"; then
   5668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5669 $as_echo "$OBJDUMP" >&6; }
   5670 else
   5671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5672 $as_echo "no" >&6; }
   5673 fi
   5674 
   5675 
   5676 fi
   5677 if test -z "$ac_cv_prog_OBJDUMP"; then
   5678   ac_ct_OBJDUMP=$OBJDUMP
   5679   # Extract the first word of "objdump", so it can be a program name with args.
   5680 set dummy objdump; ac_word=$2
   5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5682 $as_echo_n "checking for $ac_word... " >&6; }
   5683 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5684   $as_echo_n "(cached) " >&6
   5685 else
   5686   if test -n "$ac_ct_OBJDUMP"; then
   5687   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5688 else
   5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5690 for as_dir in $PATH
   5691 do
   5692   IFS=$as_save_IFS
   5693   test -z "$as_dir" && as_dir=.
   5694     for ac_exec_ext in '' $ac_executable_extensions; do
   5695   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5696     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5698     break 2
   5699   fi
   5700 done
   5701   done
   5702 IFS=$as_save_IFS
   5703 
   5704 fi
   5705 fi
   5706 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5707 if test -n "$ac_ct_OBJDUMP"; then
   5708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5709 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5710 else
   5711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5712 $as_echo "no" >&6; }
   5713 fi
   5714 
   5715   if test "x$ac_ct_OBJDUMP" = x; then
   5716     OBJDUMP="false"
   5717   else
   5718     case $cross_compiling:$ac_tool_warned in
   5719 yes:)
   5720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5722 ac_tool_warned=yes ;;
   5723 esac
   5724     OBJDUMP=$ac_ct_OBJDUMP
   5725   fi
   5726 else
   5727   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5728 fi
   5729 
   5730 test -z "$OBJDUMP" && OBJDUMP=objdump
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5741 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5742 if ${lt_cv_deplibs_check_method+:} false; then :
   5743   $as_echo_n "(cached) " >&6
   5744 else
   5745   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5746 lt_cv_file_magic_test_file=
   5747 lt_cv_deplibs_check_method='unknown'
   5748 # Need to set the preceding variable on all platforms that support
   5749 # interlibrary dependencies.
   5750 # 'none' -- dependencies not supported.
   5751 # 'unknown' -- same as none, but documents that we really don't know.
   5752 # 'pass_all' -- all dependencies passed with no checks.
   5753 # 'test_compile' -- check by making test program.
   5754 # 'file_magic [[regex]]' -- check by looking for files in library path
   5755 # that responds to the $file_magic_cmd with a given extended regex.
   5756 # If you have 'file' or equivalent on your system and you're not sure
   5757 # whether 'pass_all' will *always* work, you probably want this one.
   5758 
   5759 case $host_os in
   5760 aix[4-9]*)
   5761   lt_cv_deplibs_check_method=pass_all
   5762   ;;
   5763 
   5764 beos*)
   5765   lt_cv_deplibs_check_method=pass_all
   5766   ;;
   5767 
   5768 bsdi[45]*)
   5769   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5770   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5771   lt_cv_file_magic_test_file=/shlib/libc.so
   5772   ;;
   5773 
   5774 cygwin*)
   5775   # func_win32_libid is a shell function defined in ltmain.sh
   5776   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5777   lt_cv_file_magic_cmd='func_win32_libid'
   5778   ;;
   5779 
   5780 mingw* | pw32*)
   5781   # Base MSYS/MinGW do not provide the 'file' command needed by
   5782   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5783   # unless we find 'file', for example because we are cross-compiling.
   5784   if ( file / ) >/dev/null 2>&1; then
   5785     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5786     lt_cv_file_magic_cmd='func_win32_libid'
   5787   else
   5788     # Keep this pattern in sync with the one in func_win32_libid.
   5789     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5790     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5791   fi
   5792   ;;
   5793 
   5794 cegcc*)
   5795   # use the weaker test based on 'objdump'. See mingw*.
   5796   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5797   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5798   ;;
   5799 
   5800 darwin* | rhapsody*)
   5801   lt_cv_deplibs_check_method=pass_all
   5802   ;;
   5803 
   5804 freebsd* | dragonfly*)
   5805   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5806     case $host_cpu in
   5807     i*86 )
   5808       # Not sure whether the presence of OpenBSD here was a mistake.
   5809       # Let's accept both of them until this is cleared up.
   5810       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5811       lt_cv_file_magic_cmd=/usr/bin/file
   5812       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5813       ;;
   5814     esac
   5815   else
   5816     lt_cv_deplibs_check_method=pass_all
   5817   fi
   5818   ;;
   5819 
   5820 haiku*)
   5821   lt_cv_deplibs_check_method=pass_all
   5822   ;;
   5823 
   5824 hpux10.20* | hpux11*)
   5825   lt_cv_file_magic_cmd=/usr/bin/file
   5826   case $host_cpu in
   5827   ia64*)
   5828     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5829     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5830     ;;
   5831   hppa*64*)
   5832     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]'
   5833     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5834     ;;
   5835   *)
   5836     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5837     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5838     ;;
   5839   esac
   5840   ;;
   5841 
   5842 interix[3-9]*)
   5843   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5844   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5845   ;;
   5846 
   5847 irix5* | irix6* | nonstopux*)
   5848   case $LD in
   5849   *-32|*"-32 ") libmagic=32-bit;;
   5850   *-n32|*"-n32 ") libmagic=N32;;
   5851   *-64|*"-64 ") libmagic=64-bit;;
   5852   *) libmagic=never-match;;
   5853   esac
   5854   lt_cv_deplibs_check_method=pass_all
   5855   ;;
   5856 
   5857 # This must be glibc/ELF.
   5858 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5859   lt_cv_deplibs_check_method=pass_all
   5860   ;;
   5861 
   5862 netbsd*)
   5863   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5864     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5865   else
   5866     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5867   fi
   5868   ;;
   5869 
   5870 newos6*)
   5871   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5872   lt_cv_file_magic_cmd=/usr/bin/file
   5873   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5874   ;;
   5875 
   5876 *nto* | *qnx*)
   5877   lt_cv_deplibs_check_method=pass_all
   5878   ;;
   5879 
   5880 openbsd* | bitrig*)
   5881   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5882     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5883   else
   5884     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5885   fi
   5886   ;;
   5887 
   5888 osf3* | osf4* | osf5*)
   5889   lt_cv_deplibs_check_method=pass_all
   5890   ;;
   5891 
   5892 rdos*)
   5893   lt_cv_deplibs_check_method=pass_all
   5894   ;;
   5895 
   5896 solaris*)
   5897   lt_cv_deplibs_check_method=pass_all
   5898   ;;
   5899 
   5900 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5901   lt_cv_deplibs_check_method=pass_all
   5902   ;;
   5903 
   5904 sysv4 | sysv4.3*)
   5905   case $host_vendor in
   5906   motorola)
   5907     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]'
   5908     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5909     ;;
   5910   ncr)
   5911     lt_cv_deplibs_check_method=pass_all
   5912     ;;
   5913   sequent)
   5914     lt_cv_file_magic_cmd='/bin/file'
   5915     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5916     ;;
   5917   sni)
   5918     lt_cv_file_magic_cmd='/bin/file'
   5919     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5920     lt_cv_file_magic_test_file=/lib/libc.so
   5921     ;;
   5922   siemens)
   5923     lt_cv_deplibs_check_method=pass_all
   5924     ;;
   5925   pc)
   5926     lt_cv_deplibs_check_method=pass_all
   5927     ;;
   5928   esac
   5929   ;;
   5930 
   5931 tpf*)
   5932   lt_cv_deplibs_check_method=pass_all
   5933   ;;
   5934 os2*)
   5935   lt_cv_deplibs_check_method=pass_all
   5936   ;;
   5937 esac
   5938 
   5939 fi
   5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5941 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5942 
   5943 file_magic_glob=
   5944 want_nocaseglob=no
   5945 if test "$build" = "$host"; then
   5946   case $host_os in
   5947   mingw* | pw32*)
   5948     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5949       want_nocaseglob=yes
   5950     else
   5951       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5952     fi
   5953     ;;
   5954   esac
   5955 fi
   5956 
   5957 file_magic_cmd=$lt_cv_file_magic_cmd
   5958 deplibs_check_method=$lt_cv_deplibs_check_method
   5959 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 if test -n "$ac_tool_prefix"; then
   5983   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5984 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5986 $as_echo_n "checking for $ac_word... " >&6; }
   5987 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5988   $as_echo_n "(cached) " >&6
   5989 else
   5990   if test -n "$DLLTOOL"; then
   5991   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5992 else
   5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5994 for as_dir in $PATH
   5995 do
   5996   IFS=$as_save_IFS
   5997   test -z "$as_dir" && as_dir=.
   5998     for ac_exec_ext in '' $ac_executable_extensions; do
   5999   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6000     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6002     break 2
   6003   fi
   6004 done
   6005   done
   6006 IFS=$as_save_IFS
   6007 
   6008 fi
   6009 fi
   6010 DLLTOOL=$ac_cv_prog_DLLTOOL
   6011 if test -n "$DLLTOOL"; then
   6012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6013 $as_echo "$DLLTOOL" >&6; }
   6014 else
   6015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6016 $as_echo "no" >&6; }
   6017 fi
   6018 
   6019 
   6020 fi
   6021 if test -z "$ac_cv_prog_DLLTOOL"; then
   6022   ac_ct_DLLTOOL=$DLLTOOL
   6023   # Extract the first word of "dlltool", so it can be a program name with args.
   6024 set dummy dlltool; ac_word=$2
   6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6026 $as_echo_n "checking for $ac_word... " >&6; }
   6027 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6028   $as_echo_n "(cached) " >&6
   6029 else
   6030   if test -n "$ac_ct_DLLTOOL"; then
   6031   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6032 else
   6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6034 for as_dir in $PATH
   6035 do
   6036   IFS=$as_save_IFS
   6037   test -z "$as_dir" && as_dir=.
   6038     for ac_exec_ext in '' $ac_executable_extensions; do
   6039   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6040     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6042     break 2
   6043   fi
   6044 done
   6045   done
   6046 IFS=$as_save_IFS
   6047 
   6048 fi
   6049 fi
   6050 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6051 if test -n "$ac_ct_DLLTOOL"; then
   6052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6053 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6054 else
   6055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6056 $as_echo "no" >&6; }
   6057 fi
   6058 
   6059   if test "x$ac_ct_DLLTOOL" = x; then
   6060     DLLTOOL="false"
   6061   else
   6062     case $cross_compiling:$ac_tool_warned in
   6063 yes:)
   6064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6066 ac_tool_warned=yes ;;
   6067 esac
   6068     DLLTOOL=$ac_ct_DLLTOOL
   6069   fi
   6070 else
   6071   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6072 fi
   6073 
   6074 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6086 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6087 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6088   $as_echo_n "(cached) " >&6
   6089 else
   6090   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6091 
   6092 case $host_os in
   6093 cygwin* | mingw* | pw32* | cegcc*)
   6094   # two different shell functions defined in ltmain.sh;
   6095   # decide which one to use based on capabilities of $DLLTOOL
   6096   case `$DLLTOOL --help 2>&1` in
   6097   *--identify-strict*)
   6098     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6099     ;;
   6100   *)
   6101     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6102     ;;
   6103   esac
   6104   ;;
   6105 *)
   6106   # fallback: assume linklib IS sharedlib
   6107   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6108   ;;
   6109 esac
   6110 
   6111 fi
   6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6113 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6114 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6115 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 if test -n "$ac_tool_prefix"; then
   6124   for ac_prog in ar
   6125   do
   6126     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6127 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6129 $as_echo_n "checking for $ac_word... " >&6; }
   6130 if ${ac_cv_prog_AR+:} false; then :
   6131   $as_echo_n "(cached) " >&6
   6132 else
   6133   if test -n "$AR"; then
   6134   ac_cv_prog_AR="$AR" # Let the user override the test.
   6135 else
   6136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6137 for as_dir in $PATH
   6138 do
   6139   IFS=$as_save_IFS
   6140   test -z "$as_dir" && as_dir=.
   6141     for ac_exec_ext in '' $ac_executable_extensions; do
   6142   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6143     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6145     break 2
   6146   fi
   6147 done
   6148   done
   6149 IFS=$as_save_IFS
   6150 
   6151 fi
   6152 fi
   6153 AR=$ac_cv_prog_AR
   6154 if test -n "$AR"; then
   6155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6156 $as_echo "$AR" >&6; }
   6157 else
   6158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6159 $as_echo "no" >&6; }
   6160 fi
   6161 
   6162 
   6163     test -n "$AR" && break
   6164   done
   6165 fi
   6166 if test -z "$AR"; then
   6167   ac_ct_AR=$AR
   6168   for ac_prog in ar
   6169 do
   6170   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6171 set dummy $ac_prog; ac_word=$2
   6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6173 $as_echo_n "checking for $ac_word... " >&6; }
   6174 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6175   $as_echo_n "(cached) " >&6
   6176 else
   6177   if test -n "$ac_ct_AR"; then
   6178   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6179 else
   6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6181 for as_dir in $PATH
   6182 do
   6183   IFS=$as_save_IFS
   6184   test -z "$as_dir" && as_dir=.
   6185     for ac_exec_ext in '' $ac_executable_extensions; do
   6186   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6187     ac_cv_prog_ac_ct_AR="$ac_prog"
   6188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6189     break 2
   6190   fi
   6191 done
   6192   done
   6193 IFS=$as_save_IFS
   6194 
   6195 fi
   6196 fi
   6197 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6198 if test -n "$ac_ct_AR"; then
   6199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6200 $as_echo "$ac_ct_AR" >&6; }
   6201 else
   6202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6203 $as_echo "no" >&6; }
   6204 fi
   6205 
   6206 
   6207   test -n "$ac_ct_AR" && break
   6208 done
   6209 
   6210   if test "x$ac_ct_AR" = x; then
   6211     AR="false"
   6212   else
   6213     case $cross_compiling:$ac_tool_warned in
   6214 yes:)
   6215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6217 ac_tool_warned=yes ;;
   6218 esac
   6219     AR=$ac_ct_AR
   6220   fi
   6221 fi
   6222 
   6223 : ${AR=ar}
   6224 : ${AR_FLAGS=cru}
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6237 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6238 if ${lt_cv_ar_at_file+:} false; then :
   6239   $as_echo_n "(cached) " >&6
   6240 else
   6241   lt_cv_ar_at_file=no
   6242    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6243 /* end confdefs.h.  */
   6244 
   6245 int
   6246 main ()
   6247 {
   6248 
   6249   ;
   6250   return 0;
   6251 }
   6252 _ACEOF
   6253 if ac_fn_c_try_compile "$LINENO"; then :
   6254   echo conftest.$ac_objext > conftest.lst
   6255       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6256       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6257   (eval $lt_ar_try) 2>&5
   6258   ac_status=$?
   6259   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6260   test $ac_status = 0; }
   6261       if test 0 -eq "$ac_status"; then
   6262 	# Ensure the archiver fails upon bogus file names.
   6263 	rm -f conftest.$ac_objext libconftest.a
   6264 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6265   (eval $lt_ar_try) 2>&5
   6266   ac_status=$?
   6267   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6268   test $ac_status = 0; }
   6269 	if test 0 -ne "$ac_status"; then
   6270           lt_cv_ar_at_file=@
   6271         fi
   6272       fi
   6273       rm -f conftest.* libconftest.a
   6274 
   6275 fi
   6276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6277 
   6278 fi
   6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6280 $as_echo "$lt_cv_ar_at_file" >&6; }
   6281 
   6282 if test no = "$lt_cv_ar_at_file"; then
   6283   archiver_list_spec=
   6284 else
   6285   archiver_list_spec=$lt_cv_ar_at_file
   6286 fi
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 if test -n "$ac_tool_prefix"; then
   6295   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6296 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6298 $as_echo_n "checking for $ac_word... " >&6; }
   6299 if ${ac_cv_prog_STRIP+:} false; then :
   6300   $as_echo_n "(cached) " >&6
   6301 else
   6302   if test -n "$STRIP"; then
   6303   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6304 else
   6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6306 for as_dir in $PATH
   6307 do
   6308   IFS=$as_save_IFS
   6309   test -z "$as_dir" && as_dir=.
   6310     for ac_exec_ext in '' $ac_executable_extensions; do
   6311   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6312     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6314     break 2
   6315   fi
   6316 done
   6317   done
   6318 IFS=$as_save_IFS
   6319 
   6320 fi
   6321 fi
   6322 STRIP=$ac_cv_prog_STRIP
   6323 if test -n "$STRIP"; then
   6324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6325 $as_echo "$STRIP" >&6; }
   6326 else
   6327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6328 $as_echo "no" >&6; }
   6329 fi
   6330 
   6331 
   6332 fi
   6333 if test -z "$ac_cv_prog_STRIP"; then
   6334   ac_ct_STRIP=$STRIP
   6335   # Extract the first word of "strip", so it can be a program name with args.
   6336 set dummy strip; ac_word=$2
   6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6338 $as_echo_n "checking for $ac_word... " >&6; }
   6339 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6340   $as_echo_n "(cached) " >&6
   6341 else
   6342   if test -n "$ac_ct_STRIP"; then
   6343   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6344 else
   6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6346 for as_dir in $PATH
   6347 do
   6348   IFS=$as_save_IFS
   6349   test -z "$as_dir" && as_dir=.
   6350     for ac_exec_ext in '' $ac_executable_extensions; do
   6351   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6352     ac_cv_prog_ac_ct_STRIP="strip"
   6353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6354     break 2
   6355   fi
   6356 done
   6357   done
   6358 IFS=$as_save_IFS
   6359 
   6360 fi
   6361 fi
   6362 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6363 if test -n "$ac_ct_STRIP"; then
   6364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6365 $as_echo "$ac_ct_STRIP" >&6; }
   6366 else
   6367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6368 $as_echo "no" >&6; }
   6369 fi
   6370 
   6371   if test "x$ac_ct_STRIP" = x; then
   6372     STRIP=":"
   6373   else
   6374     case $cross_compiling:$ac_tool_warned in
   6375 yes:)
   6376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6378 ac_tool_warned=yes ;;
   6379 esac
   6380     STRIP=$ac_ct_STRIP
   6381   fi
   6382 else
   6383   STRIP="$ac_cv_prog_STRIP"
   6384 fi
   6385 
   6386 test -z "$STRIP" && STRIP=:
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 if test -n "$ac_tool_prefix"; then
   6394   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6395 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6397 $as_echo_n "checking for $ac_word... " >&6; }
   6398 if ${ac_cv_prog_RANLIB+:} false; then :
   6399   $as_echo_n "(cached) " >&6
   6400 else
   6401   if test -n "$RANLIB"; then
   6402   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6403 else
   6404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6405 for as_dir in $PATH
   6406 do
   6407   IFS=$as_save_IFS
   6408   test -z "$as_dir" && as_dir=.
   6409     for ac_exec_ext in '' $ac_executable_extensions; do
   6410   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6411     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6413     break 2
   6414   fi
   6415 done
   6416   done
   6417 IFS=$as_save_IFS
   6418 
   6419 fi
   6420 fi
   6421 RANLIB=$ac_cv_prog_RANLIB
   6422 if test -n "$RANLIB"; then
   6423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6424 $as_echo "$RANLIB" >&6; }
   6425 else
   6426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6427 $as_echo "no" >&6; }
   6428 fi
   6429 
   6430 
   6431 fi
   6432 if test -z "$ac_cv_prog_RANLIB"; then
   6433   ac_ct_RANLIB=$RANLIB
   6434   # Extract the first word of "ranlib", so it can be a program name with args.
   6435 set dummy ranlib; ac_word=$2
   6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6437 $as_echo_n "checking for $ac_word... " >&6; }
   6438 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6439   $as_echo_n "(cached) " >&6
   6440 else
   6441   if test -n "$ac_ct_RANLIB"; then
   6442   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6443 else
   6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6445 for as_dir in $PATH
   6446 do
   6447   IFS=$as_save_IFS
   6448   test -z "$as_dir" && as_dir=.
   6449     for ac_exec_ext in '' $ac_executable_extensions; do
   6450   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6451     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6452     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6453     break 2
   6454   fi
   6455 done
   6456   done
   6457 IFS=$as_save_IFS
   6458 
   6459 fi
   6460 fi
   6461 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6462 if test -n "$ac_ct_RANLIB"; then
   6463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6464 $as_echo "$ac_ct_RANLIB" >&6; }
   6465 else
   6466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6467 $as_echo "no" >&6; }
   6468 fi
   6469 
   6470   if test "x$ac_ct_RANLIB" = x; then
   6471     RANLIB=":"
   6472   else
   6473     case $cross_compiling:$ac_tool_warned in
   6474 yes:)
   6475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6477 ac_tool_warned=yes ;;
   6478 esac
   6479     RANLIB=$ac_ct_RANLIB
   6480   fi
   6481 else
   6482   RANLIB="$ac_cv_prog_RANLIB"
   6483 fi
   6484 
   6485 test -z "$RANLIB" && RANLIB=:
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 # Determine commands to create old-style static archives.
   6493 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6494 old_postinstall_cmds='chmod 644 $oldlib'
   6495 old_postuninstall_cmds=
   6496 
   6497 if test -n "$RANLIB"; then
   6498   case $host_os in
   6499   bitrig* | openbsd*)
   6500     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6501     ;;
   6502   *)
   6503     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6504     ;;
   6505   esac
   6506   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6507 fi
   6508 
   6509 case $host_os in
   6510   darwin*)
   6511     lock_old_archive_extraction=yes ;;
   6512   *)
   6513     lock_old_archive_extraction=no ;;
   6514 esac
   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 
   6554 # If no C compiler was specified, use CC.
   6555 LTCC=${LTCC-"$CC"}
   6556 
   6557 # If no C compiler flags were specified, use CFLAGS.
   6558 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6559 
   6560 # Allow CC to be a program name with arguments.
   6561 compiler=$CC
   6562 
   6563 
   6564 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6566 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6567 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6568   $as_echo_n "(cached) " >&6
   6569 else
   6570 
   6571 # These are sane defaults that work on at least a few old systems.
   6572 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6573 
   6574 # Character class describing NM global symbol codes.
   6575 symcode='[BCDEGRST]'
   6576 
   6577 # Regexp to match symbols that can be accessed directly from C.
   6578 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6579 
   6580 # Define system-specific variables.
   6581 case $host_os in
   6582 aix*)
   6583   symcode='[BCDT]'
   6584   ;;
   6585 cygwin* | mingw* | pw32* | cegcc*)
   6586   symcode='[ABCDGISTW]'
   6587   ;;
   6588 hpux*)
   6589   if test ia64 = "$host_cpu"; then
   6590     symcode='[ABCDEGRST]'
   6591   fi
   6592   ;;
   6593 irix* | nonstopux*)
   6594   symcode='[BCDEGRST]'
   6595   ;;
   6596 osf*)
   6597   symcode='[BCDEGQRST]'
   6598   ;;
   6599 solaris*)
   6600   symcode='[BDRT]'
   6601   ;;
   6602 sco3.2v5*)
   6603   symcode='[DT]'
   6604   ;;
   6605 sysv4.2uw2*)
   6606   symcode='[DT]'
   6607   ;;
   6608 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6609   symcode='[ABDT]'
   6610   ;;
   6611 sysv4)
   6612   symcode='[DFNSTU]'
   6613   ;;
   6614 esac
   6615 
   6616 # If we're using GNU nm, then use its standard symbol codes.
   6617 case `$NM -V 2>&1` in
   6618 *GNU* | *'with BFD'*)
   6619   symcode='[ABCDGIRSTW]' ;;
   6620 esac
   6621 
   6622 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6623   # Gets list of data symbols to import.
   6624   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6625   # Adjust the below global symbol transforms to fixup imported variables.
   6626   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6627   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6628   lt_c_name_lib_hook="\
   6629   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6630   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6631 else
   6632   # Disable hooks by default.
   6633   lt_cv_sys_global_symbol_to_import=
   6634   lt_cdecl_hook=
   6635   lt_c_name_hook=
   6636   lt_c_name_lib_hook=
   6637 fi
   6638 
   6639 # Transform an extracted symbol line into a proper C declaration.
   6640 # Some systems (esp. on ia64) link data and code symbols differently,
   6641 # so use this general approach.
   6642 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6643 $lt_cdecl_hook\
   6644 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6645 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6646 
   6647 # Transform an extracted symbol line into symbol name and symbol address
   6648 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6649 $lt_c_name_hook\
   6650 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6651 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6652 
   6653 # Transform an extracted symbol line into symbol name with lib prefix and
   6654 # symbol address.
   6655 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6656 $lt_c_name_lib_hook\
   6657 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6658 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6659 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6660 
   6661 # Handle CRLF in mingw tool chain
   6662 opt_cr=
   6663 case $build_os in
   6664 mingw*)
   6665   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6666   ;;
   6667 esac
   6668 
   6669 # Try without a prefix underscore, then with it.
   6670 for ac_symprfx in "" "_"; do
   6671 
   6672   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6673   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6674 
   6675   # Write the raw and C identifiers.
   6676   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6677     # Fake it for dumpbin and say T for any non-static function,
   6678     # D for any global variable and I for any imported variable.
   6679     # Also find C++ and __fastcall symbols from MSVC++,
   6680     # which start with @ or ?.
   6681     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6682 "     {last_section=section; section=\$ 3};"\
   6683 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6684 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6685 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6686 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6687 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6688 "     \$ 0!~/External *\|/{next};"\
   6689 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6690 "     {if(hide[section]) next};"\
   6691 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6692 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6693 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6694 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6695 "     ' prfx=^$ac_symprfx"
   6696   else
   6697     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6698   fi
   6699   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6700 
   6701   # Check to see that the pipe works correctly.
   6702   pipe_works=no
   6703 
   6704   rm -f conftest*
   6705   cat > conftest.$ac_ext <<_LT_EOF
   6706 #ifdef __cplusplus
   6707 extern "C" {
   6708 #endif
   6709 char nm_test_var;
   6710 void nm_test_func(void);
   6711 void nm_test_func(void){}
   6712 #ifdef __cplusplus
   6713 }
   6714 #endif
   6715 int main(){nm_test_var='a';nm_test_func();return(0);}
   6716 _LT_EOF
   6717 
   6718   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6719   (eval $ac_compile) 2>&5
   6720   ac_status=$?
   6721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6722   test $ac_status = 0; }; then
   6723     # Now try to grab the symbols.
   6724     nlist=conftest.nm
   6725     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6726   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6727   ac_status=$?
   6728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6729   test $ac_status = 0; } && test -s "$nlist"; then
   6730       # Try sorting and uniquifying the output.
   6731       if sort "$nlist" | uniq > "$nlist"T; then
   6732 	mv -f "$nlist"T "$nlist"
   6733       else
   6734 	rm -f "$nlist"T
   6735       fi
   6736 
   6737       # Make sure that we snagged all the symbols we need.
   6738       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6739 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6740 	  cat <<_LT_EOF > conftest.$ac_ext
   6741 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6742 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6743 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6744    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6745 # define LT_DLSYM_CONST
   6746 #elif defined __osf__
   6747 /* This system does not cope well with relocations in const data.  */
   6748 # define LT_DLSYM_CONST
   6749 #else
   6750 # define LT_DLSYM_CONST const
   6751 #endif
   6752 
   6753 #ifdef __cplusplus
   6754 extern "C" {
   6755 #endif
   6756 
   6757 _LT_EOF
   6758 	  # Now generate the symbol file.
   6759 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6760 
   6761 	  cat <<_LT_EOF >> conftest.$ac_ext
   6762 
   6763 /* The mapping between symbol names and symbols.  */
   6764 LT_DLSYM_CONST struct {
   6765   const char *name;
   6766   void       *address;
   6767 }
   6768 lt__PROGRAM__LTX_preloaded_symbols[] =
   6769 {
   6770   { "@PROGRAM@", (void *) 0 },
   6771 _LT_EOF
   6772 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6773 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6774   {0, (void *) 0}
   6775 };
   6776 
   6777 /* This works around a problem in FreeBSD linker */
   6778 #ifdef FREEBSD_WORKAROUND
   6779 static const void *lt_preloaded_setup() {
   6780   return lt__PROGRAM__LTX_preloaded_symbols;
   6781 }
   6782 #endif
   6783 
   6784 #ifdef __cplusplus
   6785 }
   6786 #endif
   6787 _LT_EOF
   6788 	  # Now try linking the two files.
   6789 	  mv conftest.$ac_objext conftstm.$ac_objext
   6790 	  lt_globsym_save_LIBS=$LIBS
   6791 	  lt_globsym_save_CFLAGS=$CFLAGS
   6792 	  LIBS=conftstm.$ac_objext
   6793 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6794 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6795   (eval $ac_link) 2>&5
   6796   ac_status=$?
   6797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6798   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6799 	    pipe_works=yes
   6800 	  fi
   6801 	  LIBS=$lt_globsym_save_LIBS
   6802 	  CFLAGS=$lt_globsym_save_CFLAGS
   6803 	else
   6804 	  echo "cannot find nm_test_func in $nlist" >&5
   6805 	fi
   6806       else
   6807 	echo "cannot find nm_test_var in $nlist" >&5
   6808       fi
   6809     else
   6810       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6811     fi
   6812   else
   6813     echo "$progname: failed program was:" >&5
   6814     cat conftest.$ac_ext >&5
   6815   fi
   6816   rm -rf conftest* conftst*
   6817 
   6818   # Do not use the global_symbol_pipe unless it works.
   6819   if test yes = "$pipe_works"; then
   6820     break
   6821   else
   6822     lt_cv_sys_global_symbol_pipe=
   6823   fi
   6824 done
   6825 
   6826 fi
   6827 
   6828 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6829   lt_cv_sys_global_symbol_to_cdecl=
   6830 fi
   6831 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6833 $as_echo "failed" >&6; }
   6834 else
   6835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6836 $as_echo "ok" >&6; }
   6837 fi
   6838 
   6839 # Response file support.
   6840 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6841   nm_file_list_spec='@'
   6842 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6843   nm_file_list_spec='@'
   6844 fi
   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 
   6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6883 $as_echo_n "checking for sysroot... " >&6; }
   6884 
   6885 # Check whether --with-sysroot was given.
   6886 if test "${with_sysroot+set}" = set; then :
   6887   withval=$with_sysroot;
   6888 else
   6889   with_sysroot=no
   6890 fi
   6891 
   6892 
   6893 lt_sysroot=
   6894 case $with_sysroot in #(
   6895  yes)
   6896    if test yes = "$GCC"; then
   6897      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6898    fi
   6899    ;; #(
   6900  /*)
   6901    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6902    ;; #(
   6903  no|'')
   6904    ;; #(
   6905  *)
   6906    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6907 $as_echo "$with_sysroot" >&6; }
   6908    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6909    ;;
   6910 esac
   6911 
   6912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6913 $as_echo "${lt_sysroot:-no}" >&6; }
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6920 $as_echo_n "checking for a working dd... " >&6; }
   6921 if ${ac_cv_path_lt_DD+:} false; then :
   6922   $as_echo_n "(cached) " >&6
   6923 else
   6924   printf 0123456789abcdef0123456789abcdef >conftest.i
   6925 cat conftest.i conftest.i >conftest2.i
   6926 : ${lt_DD:=$DD}
   6927 if test -z "$lt_DD"; then
   6928   ac_path_lt_DD_found=false
   6929   # Loop through the user's path and test for each of PROGNAME-LIST
   6930   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6931 for as_dir in $PATH
   6932 do
   6933   IFS=$as_save_IFS
   6934   test -z "$as_dir" && as_dir=.
   6935     for ac_prog in dd; do
   6936     for ac_exec_ext in '' $ac_executable_extensions; do
   6937       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6938       as_fn_executable_p "$ac_path_lt_DD" || continue
   6939 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6940   cmp -s conftest.i conftest.out \
   6941   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6942 fi
   6943       $ac_path_lt_DD_found && break 3
   6944     done
   6945   done
   6946   done
   6947 IFS=$as_save_IFS
   6948   if test -z "$ac_cv_path_lt_DD"; then
   6949     :
   6950   fi
   6951 else
   6952   ac_cv_path_lt_DD=$lt_DD
   6953 fi
   6954 
   6955 rm -f conftest.i conftest2.i conftest.out
   6956 fi
   6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6958 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6959 
   6960 
   6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6962 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6963 if ${lt_cv_truncate_bin+:} false; then :
   6964   $as_echo_n "(cached) " >&6
   6965 else
   6966   printf 0123456789abcdef0123456789abcdef >conftest.i
   6967 cat conftest.i conftest.i >conftest2.i
   6968 lt_cv_truncate_bin=
   6969 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6970   cmp -s conftest.i conftest.out \
   6971   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6972 fi
   6973 rm -f conftest.i conftest2.i conftest.out
   6974 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6975 fi
   6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6977 $as_echo "$lt_cv_truncate_bin" >&6; }
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6986 func_cc_basename ()
   6987 {
   6988     for cc_temp in $*""; do
   6989       case $cc_temp in
   6990         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6991         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6992         \-*) ;;
   6993         *) break;;
   6994       esac
   6995     done
   6996     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6997 }
   6998 
   6999 # Check whether --enable-libtool-lock was given.
   7000 if test "${enable_libtool_lock+set}" = set; then :
   7001   enableval=$enable_libtool_lock;
   7002 fi
   7003 
   7004 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7005 
   7006 # Some flags need to be propagated to the compiler or linker for good
   7007 # libtool support.
   7008 case $host in
   7009 ia64-*-hpux*)
   7010   # Find out what ABI is being produced by ac_compile, and set mode
   7011   # options accordingly.
   7012   echo 'int i;' > conftest.$ac_ext
   7013   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7014   (eval $ac_compile) 2>&5
   7015   ac_status=$?
   7016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7017   test $ac_status = 0; }; then
   7018     case `/usr/bin/file conftest.$ac_objext` in
   7019       *ELF-32*)
   7020 	HPUX_IA64_MODE=32
   7021 	;;
   7022       *ELF-64*)
   7023 	HPUX_IA64_MODE=64
   7024 	;;
   7025     esac
   7026   fi
   7027   rm -rf conftest*
   7028   ;;
   7029 *-*-irix6*)
   7030   # Find out what ABI is being produced by ac_compile, and set linker
   7031   # options accordingly.
   7032   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7033   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7034   (eval $ac_compile) 2>&5
   7035   ac_status=$?
   7036   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7037   test $ac_status = 0; }; then
   7038     if test yes = "$lt_cv_prog_gnu_ld"; then
   7039       case `/usr/bin/file conftest.$ac_objext` in
   7040 	*32-bit*)
   7041 	  LD="${LD-ld} -melf32bsmip"
   7042 	  ;;
   7043 	*N32*)
   7044 	  LD="${LD-ld} -melf32bmipn32"
   7045 	  ;;
   7046 	*64-bit*)
   7047 	  LD="${LD-ld} -melf64bmip"
   7048 	;;
   7049       esac
   7050     else
   7051       case `/usr/bin/file conftest.$ac_objext` in
   7052 	*32-bit*)
   7053 	  LD="${LD-ld} -32"
   7054 	  ;;
   7055 	*N32*)
   7056 	  LD="${LD-ld} -n32"
   7057 	  ;;
   7058 	*64-bit*)
   7059 	  LD="${LD-ld} -64"
   7060 	  ;;
   7061       esac
   7062     fi
   7063   fi
   7064   rm -rf conftest*
   7065   ;;
   7066 
   7067 mips64*-*linux*)
   7068   # Find out what ABI is being produced by ac_compile, and set linker
   7069   # options accordingly.
   7070   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7071   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7072   (eval $ac_compile) 2>&5
   7073   ac_status=$?
   7074   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7075   test $ac_status = 0; }; then
   7076     emul=elf
   7077     case `/usr/bin/file conftest.$ac_objext` in
   7078       *32-bit*)
   7079 	emul="${emul}32"
   7080 	;;
   7081       *64-bit*)
   7082 	emul="${emul}64"
   7083 	;;
   7084     esac
   7085     case `/usr/bin/file conftest.$ac_objext` in
   7086       *MSB*)
   7087 	emul="${emul}btsmip"
   7088 	;;
   7089       *LSB*)
   7090 	emul="${emul}ltsmip"
   7091 	;;
   7092     esac
   7093     case `/usr/bin/file conftest.$ac_objext` in
   7094       *N32*)
   7095 	emul="${emul}n32"
   7096 	;;
   7097     esac
   7098     LD="${LD-ld} -m $emul"
   7099   fi
   7100   rm -rf conftest*
   7101   ;;
   7102 
   7103 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7104 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7105   # Find out what ABI is being produced by ac_compile, and set linker
   7106   # options accordingly.  Note that the listed cases only cover the
   7107   # situations where additional linker options are needed (such as when
   7108   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7109   # vice versa); the common cases where no linker options are needed do
   7110   # not appear in the list.
   7111   echo 'int i;' > conftest.$ac_ext
   7112   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7113   (eval $ac_compile) 2>&5
   7114   ac_status=$?
   7115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7116   test $ac_status = 0; }; then
   7117     case `/usr/bin/file conftest.o` in
   7118       *32-bit*)
   7119 	case $host in
   7120 	  x86_64-*kfreebsd*-gnu)
   7121 	    LD="${LD-ld} -m elf_i386_fbsd"
   7122 	    ;;
   7123 	  x86_64-*linux*)
   7124 	    case `/usr/bin/file conftest.o` in
   7125 	      *x86-64*)
   7126 		LD="${LD-ld} -m elf32_x86_64"
   7127 		;;
   7128 	      *)
   7129 		LD="${LD-ld} -m elf_i386"
   7130 		;;
   7131 	    esac
   7132 	    ;;
   7133 	  powerpc64le-*linux*)
   7134 	    LD="${LD-ld} -m elf32lppclinux"
   7135 	    ;;
   7136 	  powerpc64-*linux*)
   7137 	    LD="${LD-ld} -m elf32ppclinux"
   7138 	    ;;
   7139 	  s390x-*linux*)
   7140 	    LD="${LD-ld} -m elf_s390"
   7141 	    ;;
   7142 	  sparc64-*linux*)
   7143 	    LD="${LD-ld} -m elf32_sparc"
   7144 	    ;;
   7145 	esac
   7146 	;;
   7147       *64-bit*)
   7148 	case $host in
   7149 	  x86_64-*kfreebsd*-gnu)
   7150 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7151 	    ;;
   7152 	  x86_64-*linux*)
   7153 	    LD="${LD-ld} -m elf_x86_64"
   7154 	    ;;
   7155 	  powerpcle-*linux*)
   7156 	    LD="${LD-ld} -m elf64lppc"
   7157 	    ;;
   7158 	  powerpc-*linux*)
   7159 	    LD="${LD-ld} -m elf64ppc"
   7160 	    ;;
   7161 	  s390*-*linux*|s390*-*tpf*)
   7162 	    LD="${LD-ld} -m elf64_s390"
   7163 	    ;;
   7164 	  sparc*-*linux*)
   7165 	    LD="${LD-ld} -m elf64_sparc"
   7166 	    ;;
   7167 	esac
   7168 	;;
   7169     esac
   7170   fi
   7171   rm -rf conftest*
   7172   ;;
   7173 
   7174 *-*-sco3.2v5*)
   7175   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7176   SAVE_CFLAGS=$CFLAGS
   7177   CFLAGS="$CFLAGS -belf"
   7178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7179 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7180 if ${lt_cv_cc_needs_belf+:} false; then :
   7181   $as_echo_n "(cached) " >&6
   7182 else
   7183   ac_ext=c
   7184 ac_cpp='$CPP $CPPFLAGS'
   7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7188 
   7189      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7190 /* end confdefs.h.  */
   7191 
   7192 int
   7193 main ()
   7194 {
   7195 
   7196   ;
   7197   return 0;
   7198 }
   7199 _ACEOF
   7200 if ac_fn_c_try_link "$LINENO"; then :
   7201   lt_cv_cc_needs_belf=yes
   7202 else
   7203   lt_cv_cc_needs_belf=no
   7204 fi
   7205 rm -f core conftest.err conftest.$ac_objext \
   7206     conftest$ac_exeext conftest.$ac_ext
   7207      ac_ext=c
   7208 ac_cpp='$CPP $CPPFLAGS'
   7209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7212 
   7213 fi
   7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7215 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7216   if test yes != "$lt_cv_cc_needs_belf"; then
   7217     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7218     CFLAGS=$SAVE_CFLAGS
   7219   fi
   7220   ;;
   7221 *-*solaris*)
   7222   # Find out what ABI is being produced by ac_compile, and set linker
   7223   # options accordingly.
   7224   echo 'int i;' > conftest.$ac_ext
   7225   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7226   (eval $ac_compile) 2>&5
   7227   ac_status=$?
   7228   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7229   test $ac_status = 0; }; then
   7230     case `/usr/bin/file conftest.o` in
   7231     *64-bit*)
   7232       case $lt_cv_prog_gnu_ld in
   7233       yes*)
   7234         case $host in
   7235         i?86-*-solaris*|x86_64-*-solaris*)
   7236           LD="${LD-ld} -m elf_x86_64"
   7237           ;;
   7238         sparc*-*-solaris*)
   7239           LD="${LD-ld} -m elf64_sparc"
   7240           ;;
   7241         esac
   7242         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7243         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7244           LD=${LD-ld}_sol2
   7245         fi
   7246         ;;
   7247       *)
   7248 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7249 	  LD="${LD-ld} -64"
   7250 	fi
   7251 	;;
   7252       esac
   7253       ;;
   7254     esac
   7255   fi
   7256   rm -rf conftest*
   7257   ;;
   7258 esac
   7259 
   7260 need_locks=$enable_libtool_lock
   7261 
   7262 if test -n "$ac_tool_prefix"; then
   7263   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7264 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7266 $as_echo_n "checking for $ac_word... " >&6; }
   7267 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7268   $as_echo_n "(cached) " >&6
   7269 else
   7270   if test -n "$MANIFEST_TOOL"; then
   7271   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7272 else
   7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7274 for as_dir in $PATH
   7275 do
   7276   IFS=$as_save_IFS
   7277   test -z "$as_dir" && as_dir=.
   7278     for ac_exec_ext in '' $ac_executable_extensions; do
   7279   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7280     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7282     break 2
   7283   fi
   7284 done
   7285   done
   7286 IFS=$as_save_IFS
   7287 
   7288 fi
   7289 fi
   7290 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7291 if test -n "$MANIFEST_TOOL"; then
   7292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7293 $as_echo "$MANIFEST_TOOL" >&6; }
   7294 else
   7295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7296 $as_echo "no" >&6; }
   7297 fi
   7298 
   7299 
   7300 fi
   7301 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7302   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7303   # Extract the first word of "mt", so it can be a program name with args.
   7304 set dummy mt; ac_word=$2
   7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7306 $as_echo_n "checking for $ac_word... " >&6; }
   7307 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7308   $as_echo_n "(cached) " >&6
   7309 else
   7310   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7311   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7312 else
   7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7314 for as_dir in $PATH
   7315 do
   7316   IFS=$as_save_IFS
   7317   test -z "$as_dir" && as_dir=.
   7318     for ac_exec_ext in '' $ac_executable_extensions; do
   7319   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7320     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7321     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7322     break 2
   7323   fi
   7324 done
   7325   done
   7326 IFS=$as_save_IFS
   7327 
   7328 fi
   7329 fi
   7330 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7331 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7333 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7334 else
   7335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7336 $as_echo "no" >&6; }
   7337 fi
   7338 
   7339   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7340     MANIFEST_TOOL=":"
   7341   else
   7342     case $cross_compiling:$ac_tool_warned in
   7343 yes:)
   7344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7346 ac_tool_warned=yes ;;
   7347 esac
   7348     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7349   fi
   7350 else
   7351   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7352 fi
   7353 
   7354 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7356 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7357 if ${lt_cv_path_mainfest_tool+:} false; then :
   7358   $as_echo_n "(cached) " >&6
   7359 else
   7360   lt_cv_path_mainfest_tool=no
   7361   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7362   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7363   cat conftest.err >&5
   7364   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7365     lt_cv_path_mainfest_tool=yes
   7366   fi
   7367   rm -f conftest*
   7368 fi
   7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7370 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7371 if test yes != "$lt_cv_path_mainfest_tool"; then
   7372   MANIFEST_TOOL=:
   7373 fi
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380   case $host_os in
   7381     rhapsody* | darwin*)
   7382     if test -n "$ac_tool_prefix"; then
   7383   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7384 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7386 $as_echo_n "checking for $ac_word... " >&6; }
   7387 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7388   $as_echo_n "(cached) " >&6
   7389 else
   7390   if test -n "$DSYMUTIL"; then
   7391   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7392 else
   7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7394 for as_dir in $PATH
   7395 do
   7396   IFS=$as_save_IFS
   7397   test -z "$as_dir" && as_dir=.
   7398     for ac_exec_ext in '' $ac_executable_extensions; do
   7399   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7400     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7402     break 2
   7403   fi
   7404 done
   7405   done
   7406 IFS=$as_save_IFS
   7407 
   7408 fi
   7409 fi
   7410 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7411 if test -n "$DSYMUTIL"; then
   7412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7413 $as_echo "$DSYMUTIL" >&6; }
   7414 else
   7415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7416 $as_echo "no" >&6; }
   7417 fi
   7418 
   7419 
   7420 fi
   7421 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7422   ac_ct_DSYMUTIL=$DSYMUTIL
   7423   # Extract the first word of "dsymutil", so it can be a program name with args.
   7424 set dummy dsymutil; ac_word=$2
   7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7426 $as_echo_n "checking for $ac_word... " >&6; }
   7427 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7428   $as_echo_n "(cached) " >&6
   7429 else
   7430   if test -n "$ac_ct_DSYMUTIL"; then
   7431   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7432 else
   7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7434 for as_dir in $PATH
   7435 do
   7436   IFS=$as_save_IFS
   7437   test -z "$as_dir" && as_dir=.
   7438     for ac_exec_ext in '' $ac_executable_extensions; do
   7439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7440     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7442     break 2
   7443   fi
   7444 done
   7445   done
   7446 IFS=$as_save_IFS
   7447 
   7448 fi
   7449 fi
   7450 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7451 if test -n "$ac_ct_DSYMUTIL"; then
   7452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7453 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7454 else
   7455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7456 $as_echo "no" >&6; }
   7457 fi
   7458 
   7459   if test "x$ac_ct_DSYMUTIL" = x; then
   7460     DSYMUTIL=":"
   7461   else
   7462     case $cross_compiling:$ac_tool_warned in
   7463 yes:)
   7464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7466 ac_tool_warned=yes ;;
   7467 esac
   7468     DSYMUTIL=$ac_ct_DSYMUTIL
   7469   fi
   7470 else
   7471   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7472 fi
   7473 
   7474     if test -n "$ac_tool_prefix"; then
   7475   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7476 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7478 $as_echo_n "checking for $ac_word... " >&6; }
   7479 if ${ac_cv_prog_NMEDIT+:} false; then :
   7480   $as_echo_n "(cached) " >&6
   7481 else
   7482   if test -n "$NMEDIT"; then
   7483   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7484 else
   7485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7486 for as_dir in $PATH
   7487 do
   7488   IFS=$as_save_IFS
   7489   test -z "$as_dir" && as_dir=.
   7490     for ac_exec_ext in '' $ac_executable_extensions; do
   7491   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7492     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7494     break 2
   7495   fi
   7496 done
   7497   done
   7498 IFS=$as_save_IFS
   7499 
   7500 fi
   7501 fi
   7502 NMEDIT=$ac_cv_prog_NMEDIT
   7503 if test -n "$NMEDIT"; then
   7504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7505 $as_echo "$NMEDIT" >&6; }
   7506 else
   7507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7508 $as_echo "no" >&6; }
   7509 fi
   7510 
   7511 
   7512 fi
   7513 if test -z "$ac_cv_prog_NMEDIT"; then
   7514   ac_ct_NMEDIT=$NMEDIT
   7515   # Extract the first word of "nmedit", so it can be a program name with args.
   7516 set dummy nmedit; ac_word=$2
   7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7518 $as_echo_n "checking for $ac_word... " >&6; }
   7519 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7520   $as_echo_n "(cached) " >&6
   7521 else
   7522   if test -n "$ac_ct_NMEDIT"; then
   7523   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7524 else
   7525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7526 for as_dir in $PATH
   7527 do
   7528   IFS=$as_save_IFS
   7529   test -z "$as_dir" && as_dir=.
   7530     for ac_exec_ext in '' $ac_executable_extensions; do
   7531   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7532     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7534     break 2
   7535   fi
   7536 done
   7537   done
   7538 IFS=$as_save_IFS
   7539 
   7540 fi
   7541 fi
   7542 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7543 if test -n "$ac_ct_NMEDIT"; then
   7544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7545 $as_echo "$ac_ct_NMEDIT" >&6; }
   7546 else
   7547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7548 $as_echo "no" >&6; }
   7549 fi
   7550 
   7551   if test "x$ac_ct_NMEDIT" = x; then
   7552     NMEDIT=":"
   7553   else
   7554     case $cross_compiling:$ac_tool_warned in
   7555 yes:)
   7556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7558 ac_tool_warned=yes ;;
   7559 esac
   7560     NMEDIT=$ac_ct_NMEDIT
   7561   fi
   7562 else
   7563   NMEDIT="$ac_cv_prog_NMEDIT"
   7564 fi
   7565 
   7566     if test -n "$ac_tool_prefix"; then
   7567   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7568 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7570 $as_echo_n "checking for $ac_word... " >&6; }
   7571 if ${ac_cv_prog_LIPO+:} false; then :
   7572   $as_echo_n "(cached) " >&6
   7573 else
   7574   if test -n "$LIPO"; then
   7575   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7576 else
   7577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7578 for as_dir in $PATH
   7579 do
   7580   IFS=$as_save_IFS
   7581   test -z "$as_dir" && as_dir=.
   7582     for ac_exec_ext in '' $ac_executable_extensions; do
   7583   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7584     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7586     break 2
   7587   fi
   7588 done
   7589   done
   7590 IFS=$as_save_IFS
   7591 
   7592 fi
   7593 fi
   7594 LIPO=$ac_cv_prog_LIPO
   7595 if test -n "$LIPO"; then
   7596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7597 $as_echo "$LIPO" >&6; }
   7598 else
   7599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7600 $as_echo "no" >&6; }
   7601 fi
   7602 
   7603 
   7604 fi
   7605 if test -z "$ac_cv_prog_LIPO"; then
   7606   ac_ct_LIPO=$LIPO
   7607   # Extract the first word of "lipo", so it can be a program name with args.
   7608 set dummy lipo; ac_word=$2
   7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7610 $as_echo_n "checking for $ac_word... " >&6; }
   7611 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7612   $as_echo_n "(cached) " >&6
   7613 else
   7614   if test -n "$ac_ct_LIPO"; then
   7615   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7616 else
   7617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7618 for as_dir in $PATH
   7619 do
   7620   IFS=$as_save_IFS
   7621   test -z "$as_dir" && as_dir=.
   7622     for ac_exec_ext in '' $ac_executable_extensions; do
   7623   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7624     ac_cv_prog_ac_ct_LIPO="lipo"
   7625     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7626     break 2
   7627   fi
   7628 done
   7629   done
   7630 IFS=$as_save_IFS
   7631 
   7632 fi
   7633 fi
   7634 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7635 if test -n "$ac_ct_LIPO"; then
   7636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7637 $as_echo "$ac_ct_LIPO" >&6; }
   7638 else
   7639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7640 $as_echo "no" >&6; }
   7641 fi
   7642 
   7643   if test "x$ac_ct_LIPO" = x; then
   7644     LIPO=":"
   7645   else
   7646     case $cross_compiling:$ac_tool_warned in
   7647 yes:)
   7648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7650 ac_tool_warned=yes ;;
   7651 esac
   7652     LIPO=$ac_ct_LIPO
   7653   fi
   7654 else
   7655   LIPO="$ac_cv_prog_LIPO"
   7656 fi
   7657 
   7658     if test -n "$ac_tool_prefix"; then
   7659   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7660 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7662 $as_echo_n "checking for $ac_word... " >&6; }
   7663 if ${ac_cv_prog_OTOOL+:} false; then :
   7664   $as_echo_n "(cached) " >&6
   7665 else
   7666   if test -n "$OTOOL"; then
   7667   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7668 else
   7669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7670 for as_dir in $PATH
   7671 do
   7672   IFS=$as_save_IFS
   7673   test -z "$as_dir" && as_dir=.
   7674     for ac_exec_ext in '' $ac_executable_extensions; do
   7675   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7676     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7678     break 2
   7679   fi
   7680 done
   7681   done
   7682 IFS=$as_save_IFS
   7683 
   7684 fi
   7685 fi
   7686 OTOOL=$ac_cv_prog_OTOOL
   7687 if test -n "$OTOOL"; then
   7688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7689 $as_echo "$OTOOL" >&6; }
   7690 else
   7691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7692 $as_echo "no" >&6; }
   7693 fi
   7694 
   7695 
   7696 fi
   7697 if test -z "$ac_cv_prog_OTOOL"; then
   7698   ac_ct_OTOOL=$OTOOL
   7699   # Extract the first word of "otool", so it can be a program name with args.
   7700 set dummy otool; ac_word=$2
   7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7702 $as_echo_n "checking for $ac_word... " >&6; }
   7703 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7704   $as_echo_n "(cached) " >&6
   7705 else
   7706   if test -n "$ac_ct_OTOOL"; then
   7707   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7708 else
   7709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7710 for as_dir in $PATH
   7711 do
   7712   IFS=$as_save_IFS
   7713   test -z "$as_dir" && as_dir=.
   7714     for ac_exec_ext in '' $ac_executable_extensions; do
   7715   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7716     ac_cv_prog_ac_ct_OTOOL="otool"
   7717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7718     break 2
   7719   fi
   7720 done
   7721   done
   7722 IFS=$as_save_IFS
   7723 
   7724 fi
   7725 fi
   7726 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7727 if test -n "$ac_ct_OTOOL"; then
   7728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7729 $as_echo "$ac_ct_OTOOL" >&6; }
   7730 else
   7731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7732 $as_echo "no" >&6; }
   7733 fi
   7734 
   7735   if test "x$ac_ct_OTOOL" = x; then
   7736     OTOOL=":"
   7737   else
   7738     case $cross_compiling:$ac_tool_warned in
   7739 yes:)
   7740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7742 ac_tool_warned=yes ;;
   7743 esac
   7744     OTOOL=$ac_ct_OTOOL
   7745   fi
   7746 else
   7747   OTOOL="$ac_cv_prog_OTOOL"
   7748 fi
   7749 
   7750     if test -n "$ac_tool_prefix"; then
   7751   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7752 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7754 $as_echo_n "checking for $ac_word... " >&6; }
   7755 if ${ac_cv_prog_OTOOL64+:} false; then :
   7756   $as_echo_n "(cached) " >&6
   7757 else
   7758   if test -n "$OTOOL64"; then
   7759   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7760 else
   7761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7762 for as_dir in $PATH
   7763 do
   7764   IFS=$as_save_IFS
   7765   test -z "$as_dir" && as_dir=.
   7766     for ac_exec_ext in '' $ac_executable_extensions; do
   7767   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7768     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7770     break 2
   7771   fi
   7772 done
   7773   done
   7774 IFS=$as_save_IFS
   7775 
   7776 fi
   7777 fi
   7778 OTOOL64=$ac_cv_prog_OTOOL64
   7779 if test -n "$OTOOL64"; then
   7780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7781 $as_echo "$OTOOL64" >&6; }
   7782 else
   7783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7784 $as_echo "no" >&6; }
   7785 fi
   7786 
   7787 
   7788 fi
   7789 if test -z "$ac_cv_prog_OTOOL64"; then
   7790   ac_ct_OTOOL64=$OTOOL64
   7791   # Extract the first word of "otool64", so it can be a program name with args.
   7792 set dummy otool64; ac_word=$2
   7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7794 $as_echo_n "checking for $ac_word... " >&6; }
   7795 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7796   $as_echo_n "(cached) " >&6
   7797 else
   7798   if test -n "$ac_ct_OTOOL64"; then
   7799   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7800 else
   7801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7802 for as_dir in $PATH
   7803 do
   7804   IFS=$as_save_IFS
   7805   test -z "$as_dir" && as_dir=.
   7806     for ac_exec_ext in '' $ac_executable_extensions; do
   7807   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7808     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7810     break 2
   7811   fi
   7812 done
   7813   done
   7814 IFS=$as_save_IFS
   7815 
   7816 fi
   7817 fi
   7818 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7819 if test -n "$ac_ct_OTOOL64"; then
   7820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7821 $as_echo "$ac_ct_OTOOL64" >&6; }
   7822 else
   7823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7824 $as_echo "no" >&6; }
   7825 fi
   7826 
   7827   if test "x$ac_ct_OTOOL64" = x; then
   7828     OTOOL64=":"
   7829   else
   7830     case $cross_compiling:$ac_tool_warned in
   7831 yes:)
   7832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7834 ac_tool_warned=yes ;;
   7835 esac
   7836     OTOOL64=$ac_ct_OTOOL64
   7837   fi
   7838 else
   7839   OTOOL64="$ac_cv_prog_OTOOL64"
   7840 fi
   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 
   7868     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7869 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7870 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7871   $as_echo_n "(cached) " >&6
   7872 else
   7873   lt_cv_apple_cc_single_mod=no
   7874       if test -z "$LT_MULTI_MODULE"; then
   7875 	# By default we will add the -single_module flag. You can override
   7876 	# by either setting the environment variable LT_MULTI_MODULE
   7877 	# non-empty at configure time, or by adding -multi_module to the
   7878 	# link flags.
   7879 	rm -rf libconftest.dylib*
   7880 	echo "int foo(void){return 1;}" > conftest.c
   7881 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7882 -dynamiclib -Wl,-single_module conftest.c" >&5
   7883 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7884 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7885         _lt_result=$?
   7886 	# If there is a non-empty error log, and "single_module"
   7887 	# appears in it, assume the flag caused a linker warning
   7888         if test -s conftest.err && $GREP single_module conftest.err; then
   7889 	  cat conftest.err >&5
   7890 	# Otherwise, if the output was created with a 0 exit code from
   7891 	# the compiler, it worked.
   7892 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7893 	  lt_cv_apple_cc_single_mod=yes
   7894 	else
   7895 	  cat conftest.err >&5
   7896 	fi
   7897 	rm -rf libconftest.dylib*
   7898 	rm -f conftest.*
   7899       fi
   7900 fi
   7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7902 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7903 
   7904     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7905 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7906 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7907   $as_echo_n "(cached) " >&6
   7908 else
   7909   lt_cv_ld_exported_symbols_list=no
   7910       save_LDFLAGS=$LDFLAGS
   7911       echo "_main" > conftest.sym
   7912       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7914 /* end confdefs.h.  */
   7915 
   7916 int
   7917 main ()
   7918 {
   7919 
   7920   ;
   7921   return 0;
   7922 }
   7923 _ACEOF
   7924 if ac_fn_c_try_link "$LINENO"; then :
   7925   lt_cv_ld_exported_symbols_list=yes
   7926 else
   7927   lt_cv_ld_exported_symbols_list=no
   7928 fi
   7929 rm -f core conftest.err conftest.$ac_objext \
   7930     conftest$ac_exeext conftest.$ac_ext
   7931 	LDFLAGS=$save_LDFLAGS
   7932 
   7933 fi
   7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7935 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7936 
   7937     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7938 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7939 if ${lt_cv_ld_force_load+:} false; then :
   7940   $as_echo_n "(cached) " >&6
   7941 else
   7942   lt_cv_ld_force_load=no
   7943       cat > conftest.c << _LT_EOF
   7944 int forced_loaded() { return 2;}
   7945 _LT_EOF
   7946       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7947       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7948       echo "$AR cru libconftest.a conftest.o" >&5
   7949       $AR cru libconftest.a conftest.o 2>&5
   7950       echo "$RANLIB libconftest.a" >&5
   7951       $RANLIB libconftest.a 2>&5
   7952       cat > conftest.c << _LT_EOF
   7953 int main() { return 0;}
   7954 _LT_EOF
   7955       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7956       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7957       _lt_result=$?
   7958       if test -s conftest.err && $GREP force_load conftest.err; then
   7959 	cat conftest.err >&5
   7960       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7961 	lt_cv_ld_force_load=yes
   7962       else
   7963 	cat conftest.err >&5
   7964       fi
   7965         rm -f conftest.err libconftest.a conftest conftest.c
   7966         rm -rf conftest.dSYM
   7967 
   7968 fi
   7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7970 $as_echo "$lt_cv_ld_force_load" >&6; }
   7971     case $host_os in
   7972     rhapsody* | darwin1.[012])
   7973       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7974     darwin1.*)
   7975       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7976     darwin*) # darwin 5.x on
   7977       # if running on 10.5 or later, the deployment target defaults
   7978       # to the OS version, if on x86, and 10.4, the deployment
   7979       # target defaults to 10.4. Don't you love it?
   7980       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7981 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7982 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7983 	10.[012][,.]*)
   7984 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7985 	10.*)
   7986 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7987       esac
   7988     ;;
   7989   esac
   7990     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7991       _lt_dar_single_mod='$single_module'
   7992     fi
   7993     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7994       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7995     else
   7996       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7997     fi
   7998     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7999       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8000     else
   8001       _lt_dsymutil=
   8002     fi
   8003     ;;
   8004   esac
   8005 
   8006 # func_munge_path_list VARIABLE PATH
   8007 # -----------------------------------
   8008 # VARIABLE is name of variable containing _space_ separated list of
   8009 # directories to be munged by the contents of PATH, which is string
   8010 # having a format:
   8011 # "DIR[:DIR]:"
   8012 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8013 # ":DIR[:DIR]"
   8014 #       string "DIR[ DIR]" will be appended to VARIABLE
   8015 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8016 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8017 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8018 # "DIR[:DIR]"
   8019 #       VARIABLE will be replaced by "DIR[ DIR]"
   8020 func_munge_path_list ()
   8021 {
   8022     case x$2 in
   8023     x)
   8024         ;;
   8025     *:)
   8026         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8027         ;;
   8028     x:*)
   8029         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8030         ;;
   8031     *::*)
   8032         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8033         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8034         ;;
   8035     *)
   8036         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8037         ;;
   8038     esac
   8039 }
   8040 
   8041 for ac_header in dlfcn.h
   8042 do :
   8043   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8044 "
   8045 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8046   cat >>confdefs.h <<_ACEOF
   8047 #define HAVE_DLFCN_H 1
   8048 _ACEOF
   8049 
   8050 fi
   8051 
   8052 done
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 # Set options
   8059 
   8060 
   8061 
   8062         enable_dlopen=no
   8063 
   8064 
   8065   enable_win32_dll=no
   8066 
   8067 
   8068             # Check whether --enable-shared was given.
   8069 if test "${enable_shared+set}" = set; then :
   8070   enableval=$enable_shared; p=${PACKAGE-default}
   8071     case $enableval in
   8072     yes) enable_shared=yes ;;
   8073     no) enable_shared=no ;;
   8074     *)
   8075       enable_shared=no
   8076       # Look at the argument we got.  We use all the common list separators.
   8077       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8078       for pkg in $enableval; do
   8079 	IFS=$lt_save_ifs
   8080 	if test "X$pkg" = "X$p"; then
   8081 	  enable_shared=yes
   8082 	fi
   8083       done
   8084       IFS=$lt_save_ifs
   8085       ;;
   8086     esac
   8087 else
   8088   enable_shared=yes
   8089 fi
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099   # Check whether --enable-static was given.
   8100 if test "${enable_static+set}" = set; then :
   8101   enableval=$enable_static; p=${PACKAGE-default}
   8102     case $enableval in
   8103     yes) enable_static=yes ;;
   8104     no) enable_static=no ;;
   8105     *)
   8106      enable_static=no
   8107       # Look at the argument we got.  We use all the common list separators.
   8108       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8109       for pkg in $enableval; do
   8110 	IFS=$lt_save_ifs
   8111 	if test "X$pkg" = "X$p"; then
   8112 	  enable_static=yes
   8113 	fi
   8114       done
   8115       IFS=$lt_save_ifs
   8116       ;;
   8117     esac
   8118 else
   8119   enable_static=yes
   8120 fi
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 # Check whether --with-pic was given.
   8132 if test "${with_pic+set}" = set; then :
   8133   withval=$with_pic; lt_p=${PACKAGE-default}
   8134     case $withval in
   8135     yes|no) pic_mode=$withval ;;
   8136     *)
   8137       pic_mode=default
   8138       # Look at the argument we got.  We use all the common list separators.
   8139       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8140       for lt_pkg in $withval; do
   8141 	IFS=$lt_save_ifs
   8142 	if test "X$lt_pkg" = "X$lt_p"; then
   8143 	  pic_mode=yes
   8144 	fi
   8145       done
   8146       IFS=$lt_save_ifs
   8147       ;;
   8148     esac
   8149 else
   8150   pic_mode=default
   8151 fi
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160   # Check whether --enable-fast-install was given.
   8161 if test "${enable_fast_install+set}" = set; then :
   8162   enableval=$enable_fast_install; p=${PACKAGE-default}
   8163     case $enableval in
   8164     yes) enable_fast_install=yes ;;
   8165     no) enable_fast_install=no ;;
   8166     *)
   8167       enable_fast_install=no
   8168       # Look at the argument we got.  We use all the common list separators.
   8169       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8170       for pkg in $enableval; do
   8171 	IFS=$lt_save_ifs
   8172 	if test "X$pkg" = "X$p"; then
   8173 	  enable_fast_install=yes
   8174 	fi
   8175       done
   8176       IFS=$lt_save_ifs
   8177       ;;
   8178     esac
   8179 else
   8180   enable_fast_install=yes
   8181 fi
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190   shared_archive_member_spec=
   8191 case $host,$enable_shared in
   8192 power*-*-aix[5-9]*,yes)
   8193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8194 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   8195 
   8196 # Check whether --with-aix-soname was given.
   8197 if test "${with_aix_soname+set}" = set; then :
   8198   withval=$with_aix_soname; case $withval in
   8199     aix|svr4|both)
   8200       ;;
   8201     *)
   8202       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8203       ;;
   8204     esac
   8205     lt_cv_with_aix_soname=$with_aix_soname
   8206 else
   8207   if ${lt_cv_with_aix_soname+:} false; then :
   8208   $as_echo_n "(cached) " >&6
   8209 else
   8210   lt_cv_with_aix_soname=aix
   8211 fi
   8212 
   8213     with_aix_soname=$lt_cv_with_aix_soname
   8214 fi
   8215 
   8216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8217 $as_echo "$with_aix_soname" >&6; }
   8218   if test aix != "$with_aix_soname"; then
   8219     # For the AIX way of multilib, we name the shared archive member
   8220     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8221     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8222     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8223     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8224     if test 64 = "${OBJECT_MODE-32}"; then
   8225       shared_archive_member_spec=shr_64
   8226     else
   8227       shared_archive_member_spec=shr
   8228     fi
   8229   fi
   8230   ;;
   8231 *)
   8232   with_aix_soname=aix
   8233   ;;
   8234 esac
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 # This can be used to rebuild libtool when needed
   8246 LIBTOOL_DEPS=$ltmain
   8247 
   8248 # Always use our own libtool.
   8249 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   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 
   8280 test -z "$LN_S" && LN_S="ln -s"
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 if test -n "${ZSH_VERSION+set}"; then
   8296    setopt NO_GLOB_SUBST
   8297 fi
   8298 
   8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8300 $as_echo_n "checking for objdir... " >&6; }
   8301 if ${lt_cv_objdir+:} false; then :
   8302   $as_echo_n "(cached) " >&6
   8303 else
   8304   rm -f .libs 2>/dev/null
   8305 mkdir .libs 2>/dev/null
   8306 if test -d .libs; then
   8307   lt_cv_objdir=.libs
   8308 else
   8309   # MS-DOS does not allow filenames that begin with a dot.
   8310   lt_cv_objdir=_libs
   8311 fi
   8312 rmdir .libs 2>/dev/null
   8313 fi
   8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8315 $as_echo "$lt_cv_objdir" >&6; }
   8316 objdir=$lt_cv_objdir
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 cat >>confdefs.h <<_ACEOF
   8323 #define LT_OBJDIR "$lt_cv_objdir/"
   8324 _ACEOF
   8325 
   8326 
   8327 
   8328 
   8329 case $host_os in
   8330 aix3*)
   8331   # AIX sometimes has problems with the GCC collect2 program.  For some
   8332   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8333   # vanish in a puff of smoke.
   8334   if test set != "${COLLECT_NAMES+set}"; then
   8335     COLLECT_NAMES=
   8336     export COLLECT_NAMES
   8337   fi
   8338   ;;
   8339 esac
   8340 
   8341 # Global variables:
   8342 ofile=libtool
   8343 can_build_shared=yes
   8344 
   8345 # All known linkers require a '.a' archive for static linking (except MSVC,
   8346 # which needs '.lib').
   8347 libext=a
   8348 
   8349 with_gnu_ld=$lt_cv_prog_gnu_ld
   8350 
   8351 old_CC=$CC
   8352 old_CFLAGS=$CFLAGS
   8353 
   8354 # Set sane defaults for various variables
   8355 test -z "$CC" && CC=cc
   8356 test -z "$LTCC" && LTCC=$CC
   8357 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8358 test -z "$LD" && LD=ld
   8359 test -z "$ac_objext" && ac_objext=o
   8360 
   8361 func_cc_basename $compiler
   8362 cc_basename=$func_cc_basename_result
   8363 
   8364 
   8365 # Only perform the check for file, if the check method requires it
   8366 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8367 case $deplibs_check_method in
   8368 file_magic*)
   8369   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8370     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8371 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8372 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8373   $as_echo_n "(cached) " >&6
   8374 else
   8375   case $MAGIC_CMD in
   8376 [\\/*] |  ?:[\\/]*)
   8377   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8378   ;;
   8379 *)
   8380   lt_save_MAGIC_CMD=$MAGIC_CMD
   8381   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8382   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8383   for ac_dir in $ac_dummy; do
   8384     IFS=$lt_save_ifs
   8385     test -z "$ac_dir" && ac_dir=.
   8386     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8387       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8388       if test -n "$file_magic_test_file"; then
   8389 	case $deplibs_check_method in
   8390 	"file_magic "*)
   8391 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8392 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8393 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8394 	    $EGREP "$file_magic_regex" > /dev/null; then
   8395 	    :
   8396 	  else
   8397 	    cat <<_LT_EOF 1>&2
   8398 
   8399 *** Warning: the command libtool uses to detect shared libraries,
   8400 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8401 *** The result is that libtool may fail to recognize shared libraries
   8402 *** as such.  This will affect the creation of libtool libraries that
   8403 *** depend on shared libraries, but programs linked with such libtool
   8404 *** libraries will work regardless of this problem.  Nevertheless, you
   8405 *** may want to report the problem to your system manager and/or to
   8406 *** bug-libtool (at] gnu.org
   8407 
   8408 _LT_EOF
   8409 	  fi ;;
   8410 	esac
   8411       fi
   8412       break
   8413     fi
   8414   done
   8415   IFS=$lt_save_ifs
   8416   MAGIC_CMD=$lt_save_MAGIC_CMD
   8417   ;;
   8418 esac
   8419 fi
   8420 
   8421 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8422 if test -n "$MAGIC_CMD"; then
   8423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8424 $as_echo "$MAGIC_CMD" >&6; }
   8425 else
   8426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8427 $as_echo "no" >&6; }
   8428 fi
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8435   if test -n "$ac_tool_prefix"; then
   8436     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8437 $as_echo_n "checking for file... " >&6; }
   8438 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8439   $as_echo_n "(cached) " >&6
   8440 else
   8441   case $MAGIC_CMD in
   8442 [\\/*] |  ?:[\\/]*)
   8443   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8444   ;;
   8445 *)
   8446   lt_save_MAGIC_CMD=$MAGIC_CMD
   8447   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8448   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8449   for ac_dir in $ac_dummy; do
   8450     IFS=$lt_save_ifs
   8451     test -z "$ac_dir" && ac_dir=.
   8452     if test -f "$ac_dir/file"; then
   8453       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8454       if test -n "$file_magic_test_file"; then
   8455 	case $deplibs_check_method in
   8456 	"file_magic "*)
   8457 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8458 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8459 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8460 	    $EGREP "$file_magic_regex" > /dev/null; then
   8461 	    :
   8462 	  else
   8463 	    cat <<_LT_EOF 1>&2
   8464 
   8465 *** Warning: the command libtool uses to detect shared libraries,
   8466 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8467 *** The result is that libtool may fail to recognize shared libraries
   8468 *** as such.  This will affect the creation of libtool libraries that
   8469 *** depend on shared libraries, but programs linked with such libtool
   8470 *** libraries will work regardless of this problem.  Nevertheless, you
   8471 *** may want to report the problem to your system manager and/or to
   8472 *** bug-libtool (at] gnu.org
   8473 
   8474 _LT_EOF
   8475 	  fi ;;
   8476 	esac
   8477       fi
   8478       break
   8479     fi
   8480   done
   8481   IFS=$lt_save_ifs
   8482   MAGIC_CMD=$lt_save_MAGIC_CMD
   8483   ;;
   8484 esac
   8485 fi
   8486 
   8487 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8488 if test -n "$MAGIC_CMD"; then
   8489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8490 $as_echo "$MAGIC_CMD" >&6; }
   8491 else
   8492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8493 $as_echo "no" >&6; }
   8494 fi
   8495 
   8496 
   8497   else
   8498     MAGIC_CMD=:
   8499   fi
   8500 fi
   8501 
   8502   fi
   8503   ;;
   8504 esac
   8505 
   8506 # Use C for the default configuration in the libtool script
   8507 
   8508 lt_save_CC=$CC
   8509 ac_ext=c
   8510 ac_cpp='$CPP $CPPFLAGS'
   8511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8514 
   8515 
   8516 # Source file extension for C test sources.
   8517 ac_ext=c
   8518 
   8519 # Object file extension for compiled C test sources.
   8520 objext=o
   8521 objext=$objext
   8522 
   8523 # Code to be used in simple compile tests
   8524 lt_simple_compile_test_code="int some_variable = 0;"
   8525 
   8526 # Code to be used in simple link tests
   8527 lt_simple_link_test_code='int main(){return(0);}'
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 # If no C compiler was specified, use CC.
   8536 LTCC=${LTCC-"$CC"}
   8537 
   8538 # If no C compiler flags were specified, use CFLAGS.
   8539 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8540 
   8541 # Allow CC to be a program name with arguments.
   8542 compiler=$CC
   8543 
   8544 # Save the default compiler, since it gets overwritten when the other
   8545 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8546 compiler_DEFAULT=$CC
   8547 
   8548 # save warnings/boilerplate of simple test code
   8549 ac_outfile=conftest.$ac_objext
   8550 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8551 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8552 _lt_compiler_boilerplate=`cat conftest.err`
   8553 $RM conftest*
   8554 
   8555 ac_outfile=conftest.$ac_objext
   8556 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8557 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8558 _lt_linker_boilerplate=`cat conftest.err`
   8559 $RM -r conftest*
   8560 
   8561 
   8562 if test -n "$compiler"; then
   8563 
   8564 lt_prog_compiler_no_builtin_flag=
   8565 
   8566 if test yes = "$GCC"; then
   8567   case $cc_basename in
   8568   nvcc*)
   8569     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8570   *)
   8571     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8572   esac
   8573 
   8574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8575 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8576 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8577   $as_echo_n "(cached) " >&6
   8578 else
   8579   lt_cv_prog_compiler_rtti_exceptions=no
   8580    ac_outfile=conftest.$ac_objext
   8581    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8582    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8583    # Insert the option either (1) after the last *FLAGS variable, or
   8584    # (2) before a word containing "conftest.", or (3) at the end.
   8585    # Note that $ac_compile itself does not contain backslashes and begins
   8586    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8587    # The option is referenced via a variable to avoid confusing sed.
   8588    lt_compile=`echo "$ac_compile" | $SED \
   8589    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8590    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8591    -e 's:$: $lt_compiler_flag:'`
   8592    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8593    (eval "$lt_compile" 2>conftest.err)
   8594    ac_status=$?
   8595    cat conftest.err >&5
   8596    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8597    if (exit $ac_status) && test -s "$ac_outfile"; then
   8598      # The compiler can only warn and ignore the option if not recognized
   8599      # So say no if there are warnings other than the usual output.
   8600      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8601      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8602      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8603        lt_cv_prog_compiler_rtti_exceptions=yes
   8604      fi
   8605    fi
   8606    $RM conftest*
   8607 
   8608 fi
   8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8610 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8611 
   8612 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8613     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8614 else
   8615     :
   8616 fi
   8617 
   8618 fi
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625   lt_prog_compiler_wl=
   8626 lt_prog_compiler_pic=
   8627 lt_prog_compiler_static=
   8628 
   8629 
   8630   if test yes = "$GCC"; then
   8631     lt_prog_compiler_wl='-Wl,'
   8632     lt_prog_compiler_static='-static'
   8633 
   8634     case $host_os in
   8635       aix*)
   8636       # All AIX code is PIC.
   8637       if test ia64 = "$host_cpu"; then
   8638 	# AIX 5 now supports IA64 processor
   8639 	lt_prog_compiler_static='-Bstatic'
   8640       fi
   8641       lt_prog_compiler_pic='-fPIC'
   8642       ;;
   8643 
   8644     amigaos*)
   8645       case $host_cpu in
   8646       powerpc)
   8647             # see comment about AmigaOS4 .so support
   8648             lt_prog_compiler_pic='-fPIC'
   8649         ;;
   8650       m68k)
   8651             # FIXME: we need at least 68020 code to build shared libraries, but
   8652             # adding the '-m68020' flag to GCC prevents building anything better,
   8653             # like '-m68040'.
   8654             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8655         ;;
   8656       esac
   8657       ;;
   8658 
   8659     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8660       # PIC is the default for these OSes.
   8661       ;;
   8662 
   8663     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8664       # This hack is so that the source file can tell whether it is being
   8665       # built for inclusion in a dll (and should export symbols for example).
   8666       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8667       # (--disable-auto-import) libraries
   8668       lt_prog_compiler_pic='-DDLL_EXPORT'
   8669       case $host_os in
   8670       os2*)
   8671 	lt_prog_compiler_static='$wl-static'
   8672 	;;
   8673       esac
   8674       ;;
   8675 
   8676     darwin* | rhapsody*)
   8677       # PIC is the default on this platform
   8678       # Common symbols not allowed in MH_DYLIB files
   8679       lt_prog_compiler_pic='-fno-common'
   8680       ;;
   8681 
   8682     haiku*)
   8683       # PIC is the default for Haiku.
   8684       # The "-static" flag exists, but is broken.
   8685       lt_prog_compiler_static=
   8686       ;;
   8687 
   8688     hpux*)
   8689       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8690       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8691       # sets the default TLS model and affects inlining.
   8692       case $host_cpu in
   8693       hppa*64*)
   8694 	# +Z the default
   8695 	;;
   8696       *)
   8697 	lt_prog_compiler_pic='-fPIC'
   8698 	;;
   8699       esac
   8700       ;;
   8701 
   8702     interix[3-9]*)
   8703       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8704       # Instead, we relocate shared libraries at runtime.
   8705       ;;
   8706 
   8707     msdosdjgpp*)
   8708       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8709       # on systems that don't support them.
   8710       lt_prog_compiler_can_build_shared=no
   8711       enable_shared=no
   8712       ;;
   8713 
   8714     *nto* | *qnx*)
   8715       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8716       # it will coredump.
   8717       lt_prog_compiler_pic='-fPIC -shared'
   8718       ;;
   8719 
   8720     sysv4*MP*)
   8721       if test -d /usr/nec; then
   8722 	lt_prog_compiler_pic=-Kconform_pic
   8723       fi
   8724       ;;
   8725 
   8726     *)
   8727       lt_prog_compiler_pic='-fPIC'
   8728       ;;
   8729     esac
   8730 
   8731     case $cc_basename in
   8732     nvcc*) # Cuda Compiler Driver 2.2
   8733       lt_prog_compiler_wl='-Xlinker '
   8734       if test -n "$lt_prog_compiler_pic"; then
   8735         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8736       fi
   8737       ;;
   8738     esac
   8739   else
   8740     # PORTME Check for flag to pass linker flags through the system compiler.
   8741     case $host_os in
   8742     aix*)
   8743       lt_prog_compiler_wl='-Wl,'
   8744       if test ia64 = "$host_cpu"; then
   8745 	# AIX 5 now supports IA64 processor
   8746 	lt_prog_compiler_static='-Bstatic'
   8747       else
   8748 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8749       fi
   8750       ;;
   8751 
   8752     darwin* | rhapsody*)
   8753       # PIC is the default on this platform
   8754       # Common symbols not allowed in MH_DYLIB files
   8755       lt_prog_compiler_pic='-fno-common'
   8756       case $cc_basename in
   8757       nagfor*)
   8758         # NAG Fortran compiler
   8759         lt_prog_compiler_wl='-Wl,-Wl,,'
   8760         lt_prog_compiler_pic='-PIC'
   8761         lt_prog_compiler_static='-Bstatic'
   8762         ;;
   8763       esac
   8764       ;;
   8765 
   8766     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8767       # This hack is so that the source file can tell whether it is being
   8768       # built for inclusion in a dll (and should export symbols for example).
   8769       lt_prog_compiler_pic='-DDLL_EXPORT'
   8770       case $host_os in
   8771       os2*)
   8772 	lt_prog_compiler_static='$wl-static'
   8773 	;;
   8774       esac
   8775       ;;
   8776 
   8777     hpux9* | hpux10* | hpux11*)
   8778       lt_prog_compiler_wl='-Wl,'
   8779       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8780       # not for PA HP-UX.
   8781       case $host_cpu in
   8782       hppa*64*|ia64*)
   8783 	# +Z the default
   8784 	;;
   8785       *)
   8786 	lt_prog_compiler_pic='+Z'
   8787 	;;
   8788       esac
   8789       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8790       lt_prog_compiler_static='$wl-a ${wl}archive'
   8791       ;;
   8792 
   8793     irix5* | irix6* | nonstopux*)
   8794       lt_prog_compiler_wl='-Wl,'
   8795       # PIC (with -KPIC) is the default.
   8796       lt_prog_compiler_static='-non_shared'
   8797       ;;
   8798 
   8799     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8800       case $cc_basename in
   8801       # old Intel for x86_64, which still supported -KPIC.
   8802       ecc*)
   8803 	lt_prog_compiler_wl='-Wl,'
   8804 	lt_prog_compiler_pic='-KPIC'
   8805 	lt_prog_compiler_static='-static'
   8806         ;;
   8807       # icc used to be incompatible with GCC.
   8808       # ICC 10 doesn't accept -KPIC any more.
   8809       icc* | ifort*)
   8810 	lt_prog_compiler_wl='-Wl,'
   8811 	lt_prog_compiler_pic='-fPIC'
   8812 	lt_prog_compiler_static='-static'
   8813         ;;
   8814       # Lahey Fortran 8.1.
   8815       lf95*)
   8816 	lt_prog_compiler_wl='-Wl,'
   8817 	lt_prog_compiler_pic='--shared'
   8818 	lt_prog_compiler_static='--static'
   8819 	;;
   8820       nagfor*)
   8821 	# NAG Fortran compiler
   8822 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8823 	lt_prog_compiler_pic='-PIC'
   8824 	lt_prog_compiler_static='-Bstatic'
   8825 	;;
   8826       tcc*)
   8827 	# Fabrice Bellard et al's Tiny C Compiler
   8828 	lt_prog_compiler_wl='-Wl,'
   8829 	lt_prog_compiler_pic='-fPIC'
   8830 	lt_prog_compiler_static='-static'
   8831 	;;
   8832       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8833         # Portland Group compilers (*not* the Pentium gcc compiler,
   8834 	# which looks to be a dead project)
   8835 	lt_prog_compiler_wl='-Wl,'
   8836 	lt_prog_compiler_pic='-fpic'
   8837 	lt_prog_compiler_static='-Bstatic'
   8838         ;;
   8839       ccc*)
   8840         lt_prog_compiler_wl='-Wl,'
   8841         # All Alpha code is PIC.
   8842         lt_prog_compiler_static='-non_shared'
   8843         ;;
   8844       xl* | bgxl* | bgf* | mpixl*)
   8845 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8846 	lt_prog_compiler_wl='-Wl,'
   8847 	lt_prog_compiler_pic='-qpic'
   8848 	lt_prog_compiler_static='-qstaticlink'
   8849 	;;
   8850       *)
   8851 	case `$CC -V 2>&1 | sed 5q` in
   8852 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8853 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8854 	  lt_prog_compiler_pic='-KPIC'
   8855 	  lt_prog_compiler_static='-Bstatic'
   8856 	  lt_prog_compiler_wl=''
   8857 	  ;;
   8858 	*Sun\ F* | *Sun*Fortran*)
   8859 	  lt_prog_compiler_pic='-KPIC'
   8860 	  lt_prog_compiler_static='-Bstatic'
   8861 	  lt_prog_compiler_wl='-Qoption ld '
   8862 	  ;;
   8863 	*Sun\ C*)
   8864 	  # Sun C 5.9
   8865 	  lt_prog_compiler_pic='-KPIC'
   8866 	  lt_prog_compiler_static='-Bstatic'
   8867 	  lt_prog_compiler_wl='-Wl,'
   8868 	  ;;
   8869         *Intel*\ [CF]*Compiler*)
   8870 	  lt_prog_compiler_wl='-Wl,'
   8871 	  lt_prog_compiler_pic='-fPIC'
   8872 	  lt_prog_compiler_static='-static'
   8873 	  ;;
   8874 	*Portland\ Group*)
   8875 	  lt_prog_compiler_wl='-Wl,'
   8876 	  lt_prog_compiler_pic='-fpic'
   8877 	  lt_prog_compiler_static='-Bstatic'
   8878 	  ;;
   8879 	esac
   8880 	;;
   8881       esac
   8882       ;;
   8883 
   8884     newsos6)
   8885       lt_prog_compiler_pic='-KPIC'
   8886       lt_prog_compiler_static='-Bstatic'
   8887       ;;
   8888 
   8889     *nto* | *qnx*)
   8890       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8891       # it will coredump.
   8892       lt_prog_compiler_pic='-fPIC -shared'
   8893       ;;
   8894 
   8895     osf3* | osf4* | osf5*)
   8896       lt_prog_compiler_wl='-Wl,'
   8897       # All OSF/1 code is PIC.
   8898       lt_prog_compiler_static='-non_shared'
   8899       ;;
   8900 
   8901     rdos*)
   8902       lt_prog_compiler_static='-non_shared'
   8903       ;;
   8904 
   8905     solaris*)
   8906       lt_prog_compiler_pic='-KPIC'
   8907       lt_prog_compiler_static='-Bstatic'
   8908       case $cc_basename in
   8909       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8910 	lt_prog_compiler_wl='-Qoption ld ';;
   8911       *)
   8912 	lt_prog_compiler_wl='-Wl,';;
   8913       esac
   8914       ;;
   8915 
   8916     sunos4*)
   8917       lt_prog_compiler_wl='-Qoption ld '
   8918       lt_prog_compiler_pic='-PIC'
   8919       lt_prog_compiler_static='-Bstatic'
   8920       ;;
   8921 
   8922     sysv4 | sysv4.2uw2* | sysv4.3*)
   8923       lt_prog_compiler_wl='-Wl,'
   8924       lt_prog_compiler_pic='-KPIC'
   8925       lt_prog_compiler_static='-Bstatic'
   8926       ;;
   8927 
   8928     sysv4*MP*)
   8929       if test -d /usr/nec; then
   8930 	lt_prog_compiler_pic='-Kconform_pic'
   8931 	lt_prog_compiler_static='-Bstatic'
   8932       fi
   8933       ;;
   8934 
   8935     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8936       lt_prog_compiler_wl='-Wl,'
   8937       lt_prog_compiler_pic='-KPIC'
   8938       lt_prog_compiler_static='-Bstatic'
   8939       ;;
   8940 
   8941     unicos*)
   8942       lt_prog_compiler_wl='-Wl,'
   8943       lt_prog_compiler_can_build_shared=no
   8944       ;;
   8945 
   8946     uts4*)
   8947       lt_prog_compiler_pic='-pic'
   8948       lt_prog_compiler_static='-Bstatic'
   8949       ;;
   8950 
   8951     *)
   8952       lt_prog_compiler_can_build_shared=no
   8953       ;;
   8954     esac
   8955   fi
   8956 
   8957 case $host_os in
   8958   # For platforms that do not support PIC, -DPIC is meaningless:
   8959   *djgpp*)
   8960     lt_prog_compiler_pic=
   8961     ;;
   8962   *)
   8963     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8964     ;;
   8965 esac
   8966 
   8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8968 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8969 if ${lt_cv_prog_compiler_pic+:} false; then :
   8970   $as_echo_n "(cached) " >&6
   8971 else
   8972   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8973 fi
   8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8975 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8976 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8977 
   8978 #
   8979 # Check to make sure the PIC flag actually works.
   8980 #
   8981 if test -n "$lt_prog_compiler_pic"; then
   8982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8983 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8984 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8985   $as_echo_n "(cached) " >&6
   8986 else
   8987   lt_cv_prog_compiler_pic_works=no
   8988    ac_outfile=conftest.$ac_objext
   8989    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8990    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   8991    # Insert the option either (1) after the last *FLAGS variable, or
   8992    # (2) before a word containing "conftest.", or (3) at the end.
   8993    # Note that $ac_compile itself does not contain backslashes and begins
   8994    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8995    # The option is referenced via a variable to avoid confusing sed.
   8996    lt_compile=`echo "$ac_compile" | $SED \
   8997    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8998    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8999    -e 's:$: $lt_compiler_flag:'`
   9000    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9001    (eval "$lt_compile" 2>conftest.err)
   9002    ac_status=$?
   9003    cat conftest.err >&5
   9004    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9005    if (exit $ac_status) && test -s "$ac_outfile"; then
   9006      # The compiler can only warn and ignore the option if not recognized
   9007      # So say no if there are warnings other than the usual output.
   9008      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9009      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9010      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9011        lt_cv_prog_compiler_pic_works=yes
   9012      fi
   9013    fi
   9014    $RM conftest*
   9015 
   9016 fi
   9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9018 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9019 
   9020 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9021     case $lt_prog_compiler_pic in
   9022      "" | " "*) ;;
   9023      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9024      esac
   9025 else
   9026     lt_prog_compiler_pic=
   9027      lt_prog_compiler_can_build_shared=no
   9028 fi
   9029 
   9030 fi
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 #
   9043 # Check to make sure the static flag actually works.
   9044 #
   9045 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9047 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9048 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9049   $as_echo_n "(cached) " >&6
   9050 else
   9051   lt_cv_prog_compiler_static_works=no
   9052    save_LDFLAGS=$LDFLAGS
   9053    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9054    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9055    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9056      # The linker can only warn and ignore the option if not recognized
   9057      # So say no if there are warnings
   9058      if test -s conftest.err; then
   9059        # Append any errors to the config.log.
   9060        cat conftest.err 1>&5
   9061        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9062        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9063        if diff conftest.exp conftest.er2 >/dev/null; then
   9064          lt_cv_prog_compiler_static_works=yes
   9065        fi
   9066      else
   9067        lt_cv_prog_compiler_static_works=yes
   9068      fi
   9069    fi
   9070    $RM -r conftest*
   9071    LDFLAGS=$save_LDFLAGS
   9072 
   9073 fi
   9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9075 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9076 
   9077 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9078     :
   9079 else
   9080     lt_prog_compiler_static=
   9081 fi
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9090 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9091 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9092   $as_echo_n "(cached) " >&6
   9093 else
   9094   lt_cv_prog_compiler_c_o=no
   9095    $RM -r conftest 2>/dev/null
   9096    mkdir conftest
   9097    cd conftest
   9098    mkdir out
   9099    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9100 
   9101    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9102    # Insert the option either (1) after the last *FLAGS variable, or
   9103    # (2) before a word containing "conftest.", or (3) at the end.
   9104    # Note that $ac_compile itself does not contain backslashes and begins
   9105    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9106    lt_compile=`echo "$ac_compile" | $SED \
   9107    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9108    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9109    -e 's:$: $lt_compiler_flag:'`
   9110    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9111    (eval "$lt_compile" 2>out/conftest.err)
   9112    ac_status=$?
   9113    cat out/conftest.err >&5
   9114    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9115    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9116    then
   9117      # The compiler can only warn and ignore the option if not recognized
   9118      # So say no if there are warnings
   9119      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9120      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9121      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9122        lt_cv_prog_compiler_c_o=yes
   9123      fi
   9124    fi
   9125    chmod u+w . 2>&5
   9126    $RM conftest*
   9127    # SGI C++ compiler will create directory out/ii_files/ for
   9128    # template instantiation
   9129    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9130    $RM out/* && rmdir out
   9131    cd ..
   9132    $RM -r conftest
   9133    $RM conftest*
   9134 
   9135 fi
   9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9137 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9145 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9146 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9147   $as_echo_n "(cached) " >&6
   9148 else
   9149   lt_cv_prog_compiler_c_o=no
   9150    $RM -r conftest 2>/dev/null
   9151    mkdir conftest
   9152    cd conftest
   9153    mkdir out
   9154    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9155 
   9156    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9157    # Insert the option either (1) after the last *FLAGS variable, or
   9158    # (2) before a word containing "conftest.", or (3) at the end.
   9159    # Note that $ac_compile itself does not contain backslashes and begins
   9160    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9161    lt_compile=`echo "$ac_compile" | $SED \
   9162    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9163    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9164    -e 's:$: $lt_compiler_flag:'`
   9165    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9166    (eval "$lt_compile" 2>out/conftest.err)
   9167    ac_status=$?
   9168    cat out/conftest.err >&5
   9169    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9170    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9171    then
   9172      # The compiler can only warn and ignore the option if not recognized
   9173      # So say no if there are warnings
   9174      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9175      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9176      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9177        lt_cv_prog_compiler_c_o=yes
   9178      fi
   9179    fi
   9180    chmod u+w . 2>&5
   9181    $RM conftest*
   9182    # SGI C++ compiler will create directory out/ii_files/ for
   9183    # template instantiation
   9184    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9185    $RM out/* && rmdir out
   9186    cd ..
   9187    $RM -r conftest
   9188    $RM conftest*
   9189 
   9190 fi
   9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9192 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9193 
   9194 
   9195 
   9196 
   9197 hard_links=nottested
   9198 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9199   # do not overwrite the value of need_locks provided by the user
   9200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9201 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9202   hard_links=yes
   9203   $RM conftest*
   9204   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9205   touch conftest.a
   9206   ln conftest.a conftest.b 2>&5 || hard_links=no
   9207   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9209 $as_echo "$hard_links" >&6; }
   9210   if test no = "$hard_links"; then
   9211     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9212 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9213     need_locks=warn
   9214   fi
   9215 else
   9216   need_locks=no
   9217 fi
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9225 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9226 
   9227   runpath_var=
   9228   allow_undefined_flag=
   9229   always_export_symbols=no
   9230   archive_cmds=
   9231   archive_expsym_cmds=
   9232   compiler_needs_object=no
   9233   enable_shared_with_static_runtimes=no
   9234   export_dynamic_flag_spec=
   9235   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9236   hardcode_automatic=no
   9237   hardcode_direct=no
   9238   hardcode_direct_absolute=no
   9239   hardcode_libdir_flag_spec=
   9240   hardcode_libdir_separator=
   9241   hardcode_minus_L=no
   9242   hardcode_shlibpath_var=unsupported
   9243   inherit_rpath=no
   9244   link_all_deplibs=unknown
   9245   module_cmds=
   9246   module_expsym_cmds=
   9247   old_archive_from_new_cmds=
   9248   old_archive_from_expsyms_cmds=
   9249   thread_safe_flag_spec=
   9250   whole_archive_flag_spec=
   9251   # include_expsyms should be a list of space-separated symbols to be *always*
   9252   # included in the symbol list
   9253   include_expsyms=
   9254   # exclude_expsyms can be an extended regexp of symbols to exclude
   9255   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9256   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9257   # as well as any symbol that contains 'd'.
   9258   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9259   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9260   # platforms (ab)use it in PIC code, but their linkers get confused if
   9261   # the symbol is explicitly referenced.  Since portable code cannot
   9262   # rely on this symbol name, it's probably fine to never include it in
   9263   # preloaded symbol tables.
   9264   # Exclude shared library initialization/finalization symbols.
   9265   extract_expsyms_cmds=
   9266 
   9267   case $host_os in
   9268   cygwin* | mingw* | pw32* | cegcc*)
   9269     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9270     # When not using gcc, we currently assume that we are using
   9271     # Microsoft Visual C++.
   9272     if test yes != "$GCC"; then
   9273       with_gnu_ld=no
   9274     fi
   9275     ;;
   9276   interix*)
   9277     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9278     with_gnu_ld=yes
   9279     ;;
   9280   openbsd* | bitrig*)
   9281     with_gnu_ld=no
   9282     ;;
   9283   esac
   9284 
   9285   ld_shlibs=yes
   9286 
   9287   # On some targets, GNU ld is compatible enough with the native linker
   9288   # that we're better off using the native interface for both.
   9289   lt_use_gnu_ld_interface=no
   9290   if test yes = "$with_gnu_ld"; then
   9291     case $host_os in
   9292       aix*)
   9293 	# The AIX port of GNU ld has always aspired to compatibility
   9294 	# with the native linker.  However, as the warning in the GNU ld
   9295 	# block says, versions before 2.19.5* couldn't really create working
   9296 	# shared libraries, regardless of the interface used.
   9297 	case `$LD -v 2>&1` in
   9298 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9299 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9300 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9301 	  *)
   9302 	    lt_use_gnu_ld_interface=yes
   9303 	    ;;
   9304 	esac
   9305 	;;
   9306       *)
   9307 	lt_use_gnu_ld_interface=yes
   9308 	;;
   9309     esac
   9310   fi
   9311 
   9312   if test yes = "$lt_use_gnu_ld_interface"; then
   9313     # If archive_cmds runs LD, not CC, wlarc should be empty
   9314     wlarc='$wl'
   9315 
   9316     # Set some defaults for GNU ld with shared library support. These
   9317     # are reset later if shared libraries are not supported. Putting them
   9318     # here allows them to be overridden if necessary.
   9319     runpath_var=LD_RUN_PATH
   9320     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9321     export_dynamic_flag_spec='$wl--export-dynamic'
   9322     # ancient GNU ld didn't support --whole-archive et. al.
   9323     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9324       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9325     else
   9326       whole_archive_flag_spec=
   9327     fi
   9328     supports_anon_versioning=no
   9329     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9330       *GNU\ gold*) supports_anon_versioning=yes ;;
   9331       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9332       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9333       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9334       *\ 2.11.*) ;; # other 2.11 versions
   9335       *) supports_anon_versioning=yes ;;
   9336     esac
   9337 
   9338     # See if GNU ld supports shared libraries.
   9339     case $host_os in
   9340     aix[3-9]*)
   9341       # On AIX/PPC, the GNU linker is very broken
   9342       if test ia64 != "$host_cpu"; then
   9343 	ld_shlibs=no
   9344 	cat <<_LT_EOF 1>&2
   9345 
   9346 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9347 *** to be unable to reliably create shared libraries on AIX.
   9348 *** Therefore, libtool is disabling shared libraries support.  If you
   9349 *** really care for shared libraries, you may want to install binutils
   9350 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9351 *** You will then need to restart the configuration process.
   9352 
   9353 _LT_EOF
   9354       fi
   9355       ;;
   9356 
   9357     amigaos*)
   9358       case $host_cpu in
   9359       powerpc)
   9360             # see comment about AmigaOS4 .so support
   9361             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9362             archive_expsym_cmds=''
   9363         ;;
   9364       m68k)
   9365             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)'
   9366             hardcode_libdir_flag_spec='-L$libdir'
   9367             hardcode_minus_L=yes
   9368         ;;
   9369       esac
   9370       ;;
   9371 
   9372     beos*)
   9373       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9374 	allow_undefined_flag=unsupported
   9375 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9376 	# support --undefined.  This deserves some investigation.  FIXME
   9377 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9378       else
   9379 	ld_shlibs=no
   9380       fi
   9381       ;;
   9382 
   9383     cygwin* | mingw* | pw32* | cegcc*)
   9384       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9385       # as there is no search path for DLLs.
   9386       hardcode_libdir_flag_spec='-L$libdir'
   9387       export_dynamic_flag_spec='$wl--export-all-symbols'
   9388       allow_undefined_flag=unsupported
   9389       always_export_symbols=no
   9390       enable_shared_with_static_runtimes=yes
   9391       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'
   9392       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9393 
   9394       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9395         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9396 	# If the export-symbols file already is a .def file, use it as
   9397 	# is; otherwise, prepend EXPORTS...
   9398 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9399           cp $export_symbols $output_objdir/$soname.def;
   9400         else
   9401           echo EXPORTS > $output_objdir/$soname.def;
   9402           cat $export_symbols >> $output_objdir/$soname.def;
   9403         fi~
   9404         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9405       else
   9406 	ld_shlibs=no
   9407       fi
   9408       ;;
   9409 
   9410     haiku*)
   9411       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9412       link_all_deplibs=yes
   9413       ;;
   9414 
   9415     os2*)
   9416       hardcode_libdir_flag_spec='-L$libdir'
   9417       hardcode_minus_L=yes
   9418       allow_undefined_flag=unsupported
   9419       shrext_cmds=.dll
   9420       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9421 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9422 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9423 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9424 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9425 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9426 	emximp -o $lib $output_objdir/$libname.def'
   9427       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9428 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9429 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9430 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9431 	prefix_cmds="$SED"~
   9432 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9433 	  prefix_cmds="$prefix_cmds -e 1d";
   9434 	fi~
   9435 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9436 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9437 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9438 	emximp -o $lib $output_objdir/$libname.def'
   9439       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9440       enable_shared_with_static_runtimes=yes
   9441       ;;
   9442 
   9443     interix[3-9]*)
   9444       hardcode_direct=no
   9445       hardcode_shlibpath_var=no
   9446       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9447       export_dynamic_flag_spec='$wl-E'
   9448       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9449       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9450       # default) and relocated if they conflict, which is a slow very memory
   9451       # consuming and fragmenting process.  To avoid this, we pick a random,
   9452       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9453       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9454       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9455       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'
   9456       ;;
   9457 
   9458     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9459       tmp_diet=no
   9460       if test linux-dietlibc = "$host_os"; then
   9461 	case $cc_basename in
   9462 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9463 	esac
   9464       fi
   9465       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9466 	 && test no = "$tmp_diet"
   9467       then
   9468 	tmp_addflag=' $pic_flag'
   9469 	tmp_sharedflag='-shared'
   9470 	case $cc_basename,$host_cpu in
   9471         pgcc*)				# Portland Group C compiler
   9472 	  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'
   9473 	  tmp_addflag=' $pic_flag'
   9474 	  ;;
   9475 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9476 					# Portland Group f77 and f90 compilers
   9477 	  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'
   9478 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9479 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9480 	  tmp_addflag=' -i_dynamic' ;;
   9481 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9482 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9483 	ifc* | ifort*)			# Intel Fortran compiler
   9484 	  tmp_addflag=' -nofor_main' ;;
   9485 	lf95*)				# Lahey Fortran 8.1
   9486 	  whole_archive_flag_spec=
   9487 	  tmp_sharedflag='--shared' ;;
   9488         nagfor*)                        # NAGFOR 5.3
   9489           tmp_sharedflag='-Wl,-shared' ;;
   9490 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9491 	  tmp_sharedflag='-qmkshrobj'
   9492 	  tmp_addflag= ;;
   9493 	nvcc*)	# Cuda Compiler Driver 2.2
   9494 	  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'
   9495 	  compiler_needs_object=yes
   9496 	  ;;
   9497 	esac
   9498 	case `$CC -V 2>&1 | sed 5q` in
   9499 	*Sun\ C*)			# Sun C 5.9
   9500 	  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'
   9501 	  compiler_needs_object=yes
   9502 	  tmp_sharedflag='-G' ;;
   9503 	*Sun\ F*)			# Sun Fortran 8.3
   9504 	  tmp_sharedflag='-G' ;;
   9505 	esac
   9506 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9507 
   9508         if test yes = "$supports_anon_versioning"; then
   9509           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9510             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9511             echo "local: *; };" >> $output_objdir/$libname.ver~
   9512             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9513         fi
   9514 
   9515 	case $cc_basename in
   9516 	tcc*)
   9517 	  export_dynamic_flag_spec='-rdynamic'
   9518 	  ;;
   9519 	xlf* | bgf* | bgxlf* | mpixlf*)
   9520 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9521 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9522 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9523 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9524 	  if test yes = "$supports_anon_versioning"; then
   9525 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9526               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9527               echo "local: *; };" >> $output_objdir/$libname.ver~
   9528               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9529 	  fi
   9530 	  ;;
   9531 	esac
   9532       else
   9533         ld_shlibs=no
   9534       fi
   9535       ;;
   9536 
   9537     netbsd*)
   9538       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9539 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9540 	wlarc=
   9541       else
   9542 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9543 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9544       fi
   9545       ;;
   9546 
   9547     solaris*)
   9548       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9549 	ld_shlibs=no
   9550 	cat <<_LT_EOF 1>&2
   9551 
   9552 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9553 *** create shared libraries on Solaris systems.  Therefore, libtool
   9554 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9555 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9556 *** your PATH or compiler configuration so that the native linker is
   9557 *** used, and then restart.
   9558 
   9559 _LT_EOF
   9560       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9561 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9562 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9563       else
   9564 	ld_shlibs=no
   9565       fi
   9566       ;;
   9567 
   9568     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9569       case `$LD -v 2>&1` in
   9570         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9571 	ld_shlibs=no
   9572 	cat <<_LT_EOF 1>&2
   9573 
   9574 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9575 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9576 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9577 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9578 *** your PATH or compiler configuration so that the native linker is
   9579 *** used, and then restart.
   9580 
   9581 _LT_EOF
   9582 	;;
   9583 	*)
   9584 	  # For security reasons, it is highly recommended that you always
   9585 	  # use absolute paths for naming shared libraries, and exclude the
   9586 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9587 	  # requires that you compile everything twice, which is a pain.
   9588 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9589 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9590 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9591 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9592 	  else
   9593 	    ld_shlibs=no
   9594 	  fi
   9595 	;;
   9596       esac
   9597       ;;
   9598 
   9599     sunos4*)
   9600       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9601       wlarc=
   9602       hardcode_direct=yes
   9603       hardcode_shlibpath_var=no
   9604       ;;
   9605 
   9606     *)
   9607       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9608 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9609 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9610       else
   9611 	ld_shlibs=no
   9612       fi
   9613       ;;
   9614     esac
   9615 
   9616     if test no = "$ld_shlibs"; then
   9617       runpath_var=
   9618       hardcode_libdir_flag_spec=
   9619       export_dynamic_flag_spec=
   9620       whole_archive_flag_spec=
   9621     fi
   9622   else
   9623     # PORTME fill in a description of your system's linker (not GNU ld)
   9624     case $host_os in
   9625     aix3*)
   9626       allow_undefined_flag=unsupported
   9627       always_export_symbols=yes
   9628       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'
   9629       # Note: this linker hardcodes the directories in LIBPATH if there
   9630       # are no directories specified by -L.
   9631       hardcode_minus_L=yes
   9632       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9633 	# Neither direct hardcoding nor static linking is supported with a
   9634 	# broken collect2.
   9635 	hardcode_direct=unsupported
   9636       fi
   9637       ;;
   9638 
   9639     aix[4-9]*)
   9640       if test ia64 = "$host_cpu"; then
   9641 	# On IA64, the linker does run time linking by default, so we don't
   9642 	# have to do anything special.
   9643 	aix_use_runtimelinking=no
   9644 	exp_sym_flag='-Bexport'
   9645 	no_entry_flag=
   9646       else
   9647 	# If we're using GNU nm, then we don't want the "-C" option.
   9648 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9649 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9650 	# weak defined symbols like other global defined symbols, whereas
   9651 	# GNU nm marks them as "W".
   9652 	# While the 'weak' keyword is ignored in the Export File, we need
   9653 	# it in the Import File for the 'aix-soname' feature, so we have
   9654 	# to replace the "-B" option with "-P" for AIX nm.
   9655 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9656 	  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'
   9657 	else
   9658 	  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'
   9659 	fi
   9660 	aix_use_runtimelinking=no
   9661 
   9662 	# Test if we are trying to use run time linking or normal
   9663 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9664 	# have runtime linking enabled, and use it for executables.
   9665 	# For shared libraries, we enable/disable runtime linking
   9666 	# depending on the kind of the shared library created -
   9667 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9668 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9669 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9670 	#            lib.a           static archive
   9671 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9672 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9673 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9674 	#            lib.a(lib.so.V) shared, rtl:no
   9675 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9676 	#            lib.a           static archive
   9677 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9678 	  for ld_flag in $LDFLAGS; do
   9679 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9680 	    aix_use_runtimelinking=yes
   9681 	    break
   9682 	  fi
   9683 	  done
   9684 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9685 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9686 	    # so we don't have lib.a shared libs to link our executables.
   9687 	    # We have to force runtime linking in this case.
   9688 	    aix_use_runtimelinking=yes
   9689 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9690 	  fi
   9691 	  ;;
   9692 	esac
   9693 
   9694 	exp_sym_flag='-bexport'
   9695 	no_entry_flag='-bnoentry'
   9696       fi
   9697 
   9698       # When large executables or shared objects are built, AIX ld can
   9699       # have problems creating the table of contents.  If linking a library
   9700       # or program results in "error TOC overflow" add -mminimal-toc to
   9701       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9702       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9703 
   9704       archive_cmds=''
   9705       hardcode_direct=yes
   9706       hardcode_direct_absolute=yes
   9707       hardcode_libdir_separator=':'
   9708       link_all_deplibs=yes
   9709       file_list_spec='$wl-f,'
   9710       case $with_aix_soname,$aix_use_runtimelinking in
   9711       aix,*) ;; # traditional, no import file
   9712       svr4,* | *,yes) # use import file
   9713 	# The Import File defines what to hardcode.
   9714 	hardcode_direct=no
   9715 	hardcode_direct_absolute=no
   9716 	;;
   9717       esac
   9718 
   9719       if test yes = "$GCC"; then
   9720 	case $host_os in aix4.[012]|aix4.[012].*)
   9721 	# We only want to do this on AIX 4.2 and lower, the check
   9722 	# below for broken collect2 doesn't work under 4.3+
   9723 	  collect2name=`$CC -print-prog-name=collect2`
   9724 	  if test -f "$collect2name" &&
   9725 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9726 	  then
   9727 	  # We have reworked collect2
   9728 	  :
   9729 	  else
   9730 	  # We have old collect2
   9731 	  hardcode_direct=unsupported
   9732 	  # It fails to find uninstalled libraries when the uninstalled
   9733 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9734 	  # to unsupported forces relinking
   9735 	  hardcode_minus_L=yes
   9736 	  hardcode_libdir_flag_spec='-L$libdir'
   9737 	  hardcode_libdir_separator=
   9738 	  fi
   9739 	  ;;
   9740 	esac
   9741 	shared_flag='-shared'
   9742 	if test yes = "$aix_use_runtimelinking"; then
   9743 	  shared_flag="$shared_flag "'$wl-G'
   9744 	fi
   9745 	# Need to ensure runtime linking is disabled for the traditional
   9746 	# shared library, or the linker may eventually find shared libraries
   9747 	# /with/ Import File - we do not want to mix them.
   9748 	shared_flag_aix='-shared'
   9749 	shared_flag_svr4='-shared $wl-G'
   9750       else
   9751 	# not using gcc
   9752 	if test ia64 = "$host_cpu"; then
   9753 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9754 	# chokes on -Wl,-G. The following line is correct:
   9755 	  shared_flag='-G'
   9756 	else
   9757 	  if test yes = "$aix_use_runtimelinking"; then
   9758 	    shared_flag='$wl-G'
   9759 	  else
   9760 	    shared_flag='$wl-bM:SRE'
   9761 	  fi
   9762 	  shared_flag_aix='$wl-bM:SRE'
   9763 	  shared_flag_svr4='$wl-G'
   9764 	fi
   9765       fi
   9766 
   9767       export_dynamic_flag_spec='$wl-bexpall'
   9768       # It seems that -bexpall does not export symbols beginning with
   9769       # underscore (_), so it is better to generate a list of symbols to export.
   9770       always_export_symbols=yes
   9771       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9772 	# Warning - without using the other runtime loading flags (-brtl),
   9773 	# -berok will link without error, but may produce a broken library.
   9774 	allow_undefined_flag='-berok'
   9775         # Determine the default libpath from the value encoded in an
   9776         # empty executable.
   9777         if test set = "${lt_cv_aix_libpath+set}"; then
   9778   aix_libpath=$lt_cv_aix_libpath
   9779 else
   9780   if ${lt_cv_aix_libpath_+:} false; then :
   9781   $as_echo_n "(cached) " >&6
   9782 else
   9783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9784 /* end confdefs.h.  */
   9785 
   9786 int
   9787 main ()
   9788 {
   9789 
   9790   ;
   9791   return 0;
   9792 }
   9793 _ACEOF
   9794 if ac_fn_c_try_link "$LINENO"; then :
   9795 
   9796   lt_aix_libpath_sed='
   9797       /Import File Strings/,/^$/ {
   9798 	  /^0/ {
   9799 	      s/^0  *\([^ ]*\) *$/\1/
   9800 	      p
   9801 	  }
   9802       }'
   9803   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9804   # Check for a 64-bit object if we didn't find anything.
   9805   if test -z "$lt_cv_aix_libpath_"; then
   9806     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9807   fi
   9808 fi
   9809 rm -f core conftest.err conftest.$ac_objext \
   9810     conftest$ac_exeext conftest.$ac_ext
   9811   if test -z "$lt_cv_aix_libpath_"; then
   9812     lt_cv_aix_libpath_=/usr/lib:/lib
   9813   fi
   9814 
   9815 fi
   9816 
   9817   aix_libpath=$lt_cv_aix_libpath_
   9818 fi
   9819 
   9820         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9821         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
   9822       else
   9823 	if test ia64 = "$host_cpu"; then
   9824 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9825 	  allow_undefined_flag="-z nodefs"
   9826 	  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"
   9827 	else
   9828 	 # Determine the default libpath from the value encoded in an
   9829 	 # empty executable.
   9830 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9831   aix_libpath=$lt_cv_aix_libpath
   9832 else
   9833   if ${lt_cv_aix_libpath_+:} false; then :
   9834   $as_echo_n "(cached) " >&6
   9835 else
   9836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9837 /* end confdefs.h.  */
   9838 
   9839 int
   9840 main ()
   9841 {
   9842 
   9843   ;
   9844   return 0;
   9845 }
   9846 _ACEOF
   9847 if ac_fn_c_try_link "$LINENO"; then :
   9848 
   9849   lt_aix_libpath_sed='
   9850       /Import File Strings/,/^$/ {
   9851 	  /^0/ {
   9852 	      s/^0  *\([^ ]*\) *$/\1/
   9853 	      p
   9854 	  }
   9855       }'
   9856   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9857   # Check for a 64-bit object if we didn't find anything.
   9858   if test -z "$lt_cv_aix_libpath_"; then
   9859     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9860   fi
   9861 fi
   9862 rm -f core conftest.err conftest.$ac_objext \
   9863     conftest$ac_exeext conftest.$ac_ext
   9864   if test -z "$lt_cv_aix_libpath_"; then
   9865     lt_cv_aix_libpath_=/usr/lib:/lib
   9866   fi
   9867 
   9868 fi
   9869 
   9870   aix_libpath=$lt_cv_aix_libpath_
   9871 fi
   9872 
   9873 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9874 	  # Warning - without using the other run time loading flags,
   9875 	  # -berok will link without error, but may produce a broken library.
   9876 	  no_undefined_flag=' $wl-bernotok'
   9877 	  allow_undefined_flag=' $wl-berok'
   9878 	  if test yes = "$with_gnu_ld"; then
   9879 	    # We only use this code for GNU lds that support --whole-archive.
   9880 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   9881 	  else
   9882 	    # Exported symbols can be pulled into shared objects from archives
   9883 	    whole_archive_flag_spec='$convenience'
   9884 	  fi
   9885 	  archive_cmds_need_lc=yes
   9886 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   9887 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   9888 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   9889 	  if test svr4 != "$with_aix_soname"; then
   9890 	    # This is similar to how AIX traditionally builds its shared libraries.
   9891 	    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'
   9892 	  fi
   9893 	  if test aix != "$with_aix_soname"; then
   9894 	    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'
   9895 	  else
   9896 	    # used by -dlpreopen to get the symbols
   9897 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   9898 	  fi
   9899 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   9900 	fi
   9901       fi
   9902       ;;
   9903 
   9904     amigaos*)
   9905       case $host_cpu in
   9906       powerpc)
   9907             # see comment about AmigaOS4 .so support
   9908             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9909             archive_expsym_cmds=''
   9910         ;;
   9911       m68k)
   9912             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)'
   9913             hardcode_libdir_flag_spec='-L$libdir'
   9914             hardcode_minus_L=yes
   9915         ;;
   9916       esac
   9917       ;;
   9918 
   9919     bsdi[45]*)
   9920       export_dynamic_flag_spec=-rdynamic
   9921       ;;
   9922 
   9923     cygwin* | mingw* | pw32* | cegcc*)
   9924       # When not using gcc, we currently assume that we are using
   9925       # Microsoft Visual C++.
   9926       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9927       # no search path for DLLs.
   9928       case $cc_basename in
   9929       cl*)
   9930 	# Native MSVC
   9931 	hardcode_libdir_flag_spec=' '
   9932 	allow_undefined_flag=unsupported
   9933 	always_export_symbols=yes
   9934 	file_list_spec='@'
   9935 	# Tell ltmain to make .lib files, not .a files.
   9936 	libext=lib
   9937 	# Tell ltmain to make .dll files, not .so files.
   9938 	shrext_cmds=.dll
   9939 	# FIXME: Setting linknames here is a bad hack.
   9940 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   9941 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9942             cp "$export_symbols" "$output_objdir/$soname.def";
   9943             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   9944           else
   9945             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   9946           fi~
   9947           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9948           linknames='
   9949 	# The linker will not automatically build a static lib if we build a DLL.
   9950 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9951 	enable_shared_with_static_runtimes=yes
   9952 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9953 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9954 	# Don't use ranlib
   9955 	old_postinstall_cmds='chmod 644 $oldlib'
   9956 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9957           lt_tool_outputfile="@TOOL_OUTPUT@"~
   9958           case $lt_outputfile in
   9959             *.exe|*.EXE) ;;
   9960             *)
   9961               lt_outputfile=$lt_outputfile.exe
   9962               lt_tool_outputfile=$lt_tool_outputfile.exe
   9963               ;;
   9964           esac~
   9965           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   9966             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9967             $RM "$lt_outputfile.manifest";
   9968           fi'
   9969 	;;
   9970       *)
   9971 	# Assume MSVC wrapper
   9972 	hardcode_libdir_flag_spec=' '
   9973 	allow_undefined_flag=unsupported
   9974 	# Tell ltmain to make .lib files, not .a files.
   9975 	libext=lib
   9976 	# Tell ltmain to make .dll files, not .so files.
   9977 	shrext_cmds=.dll
   9978 	# FIXME: Setting linknames here is a bad hack.
   9979 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9980 	# The linker will automatically build a .lib file if we build a DLL.
   9981 	old_archive_from_new_cmds='true'
   9982 	# FIXME: Should let the user specify the lib program.
   9983 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9984 	enable_shared_with_static_runtimes=yes
   9985 	;;
   9986       esac
   9987       ;;
   9988 
   9989     darwin* | rhapsody*)
   9990 
   9991 
   9992   archive_cmds_need_lc=no
   9993   hardcode_direct=no
   9994   hardcode_automatic=yes
   9995   hardcode_shlibpath_var=unsupported
   9996   if test yes = "$lt_cv_ld_force_load"; then
   9997     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\"`'
   9998 
   9999   else
   10000     whole_archive_flag_spec=''
   10001   fi
   10002   link_all_deplibs=yes
   10003   allow_undefined_flag=$_lt_dar_allow_undefined
   10004   case $cc_basename in
   10005      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10006      *) _lt_dar_can_shared=$GCC ;;
   10007   esac
   10008   if test yes = "$_lt_dar_can_shared"; then
   10009     output_verbose_link_cmd=func_echo_all
   10010     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10011     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10012     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"
   10013     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"
   10014 
   10015   else
   10016   ld_shlibs=no
   10017   fi
   10018 
   10019       ;;
   10020 
   10021     dgux*)
   10022       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10023       hardcode_libdir_flag_spec='-L$libdir'
   10024       hardcode_shlibpath_var=no
   10025       ;;
   10026 
   10027     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10028     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10029     # does not break anything, and helps significantly (at the cost of a little
   10030     # extra space).
   10031     freebsd2.2*)
   10032       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10033       hardcode_libdir_flag_spec='-R$libdir'
   10034       hardcode_direct=yes
   10035       hardcode_shlibpath_var=no
   10036       ;;
   10037 
   10038     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10039     freebsd2.*)
   10040       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10041       hardcode_direct=yes
   10042       hardcode_minus_L=yes
   10043       hardcode_shlibpath_var=no
   10044       ;;
   10045 
   10046     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10047     freebsd* | dragonfly*)
   10048       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10049       hardcode_libdir_flag_spec='-R$libdir'
   10050       hardcode_direct=yes
   10051       hardcode_shlibpath_var=no
   10052       ;;
   10053 
   10054     hpux9*)
   10055       if test yes = "$GCC"; then
   10056 	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'
   10057       else
   10058 	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'
   10059       fi
   10060       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10061       hardcode_libdir_separator=:
   10062       hardcode_direct=yes
   10063 
   10064       # hardcode_minus_L: Not really in the search PATH,
   10065       # but as the default location of the library.
   10066       hardcode_minus_L=yes
   10067       export_dynamic_flag_spec='$wl-E'
   10068       ;;
   10069 
   10070     hpux10*)
   10071       if test yes,no = "$GCC,$with_gnu_ld"; then
   10072 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10073       else
   10074 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10075       fi
   10076       if test no = "$with_gnu_ld"; then
   10077 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10078 	hardcode_libdir_separator=:
   10079 	hardcode_direct=yes
   10080 	hardcode_direct_absolute=yes
   10081 	export_dynamic_flag_spec='$wl-E'
   10082 	# hardcode_minus_L: Not really in the search PATH,
   10083 	# but as the default location of the library.
   10084 	hardcode_minus_L=yes
   10085       fi
   10086       ;;
   10087 
   10088     hpux11*)
   10089       if test yes,no = "$GCC,$with_gnu_ld"; then
   10090 	case $host_cpu in
   10091 	hppa*64*)
   10092 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10093 	  ;;
   10094 	ia64*)
   10095 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10096 	  ;;
   10097 	*)
   10098 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10099 	  ;;
   10100 	esac
   10101       else
   10102 	case $host_cpu in
   10103 	hppa*64*)
   10104 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10105 	  ;;
   10106 	ia64*)
   10107 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10108 	  ;;
   10109 	*)
   10110 
   10111 	  # Older versions of the 11.00 compiler do not understand -b yet
   10112 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10113 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10114 $as_echo_n "checking if $CC understands -b... " >&6; }
   10115 if ${lt_cv_prog_compiler__b+:} false; then :
   10116   $as_echo_n "(cached) " >&6
   10117 else
   10118   lt_cv_prog_compiler__b=no
   10119    save_LDFLAGS=$LDFLAGS
   10120    LDFLAGS="$LDFLAGS -b"
   10121    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10122    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10123      # The linker can only warn and ignore the option if not recognized
   10124      # So say no if there are warnings
   10125      if test -s conftest.err; then
   10126        # Append any errors to the config.log.
   10127        cat conftest.err 1>&5
   10128        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10129        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10130        if diff conftest.exp conftest.er2 >/dev/null; then
   10131          lt_cv_prog_compiler__b=yes
   10132        fi
   10133      else
   10134        lt_cv_prog_compiler__b=yes
   10135      fi
   10136    fi
   10137    $RM -r conftest*
   10138    LDFLAGS=$save_LDFLAGS
   10139 
   10140 fi
   10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10142 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10143 
   10144 if test yes = "$lt_cv_prog_compiler__b"; then
   10145     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10146 else
   10147     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10148 fi
   10149 
   10150 	  ;;
   10151 	esac
   10152       fi
   10153       if test no = "$with_gnu_ld"; then
   10154 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10155 	hardcode_libdir_separator=:
   10156 
   10157 	case $host_cpu in
   10158 	hppa*64*|ia64*)
   10159 	  hardcode_direct=no
   10160 	  hardcode_shlibpath_var=no
   10161 	  ;;
   10162 	*)
   10163 	  hardcode_direct=yes
   10164 	  hardcode_direct_absolute=yes
   10165 	  export_dynamic_flag_spec='$wl-E'
   10166 
   10167 	  # hardcode_minus_L: Not really in the search PATH,
   10168 	  # but as the default location of the library.
   10169 	  hardcode_minus_L=yes
   10170 	  ;;
   10171 	esac
   10172       fi
   10173       ;;
   10174 
   10175     irix5* | irix6* | nonstopux*)
   10176       if test yes = "$GCC"; then
   10177 	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'
   10178 	# Try to use the -exported_symbol ld option, if it does not
   10179 	# work, assume that -exports_file does not work either and
   10180 	# implicitly export all symbols.
   10181 	# This should be the same for all languages, so no per-tag cache variable.
   10182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10183 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10184 if ${lt_cv_irix_exported_symbol+:} false; then :
   10185   $as_echo_n "(cached) " >&6
   10186 else
   10187   save_LDFLAGS=$LDFLAGS
   10188 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10189 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10190 /* end confdefs.h.  */
   10191 int foo (void) { return 0; }
   10192 _ACEOF
   10193 if ac_fn_c_try_link "$LINENO"; then :
   10194   lt_cv_irix_exported_symbol=yes
   10195 else
   10196   lt_cv_irix_exported_symbol=no
   10197 fi
   10198 rm -f core conftest.err conftest.$ac_objext \
   10199     conftest$ac_exeext conftest.$ac_ext
   10200            LDFLAGS=$save_LDFLAGS
   10201 fi
   10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10203 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10204 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10205           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'
   10206 	fi
   10207       else
   10208 	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'
   10209 	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'
   10210       fi
   10211       archive_cmds_need_lc='no'
   10212       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10213       hardcode_libdir_separator=:
   10214       inherit_rpath=yes
   10215       link_all_deplibs=yes
   10216       ;;
   10217 
   10218     linux*)
   10219       case $cc_basename in
   10220       tcc*)
   10221 	# Fabrice Bellard et al's Tiny C Compiler
   10222 	ld_shlibs=yes
   10223 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10224 	;;
   10225       esac
   10226       ;;
   10227 
   10228     netbsd*)
   10229       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10230 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10231       else
   10232 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10233       fi
   10234       hardcode_libdir_flag_spec='-R$libdir'
   10235       hardcode_direct=yes
   10236       hardcode_shlibpath_var=no
   10237       ;;
   10238 
   10239     newsos6)
   10240       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10241       hardcode_direct=yes
   10242       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10243       hardcode_libdir_separator=:
   10244       hardcode_shlibpath_var=no
   10245       ;;
   10246 
   10247     *nto* | *qnx*)
   10248       ;;
   10249 
   10250     openbsd* | bitrig*)
   10251       if test -f /usr/libexec/ld.so; then
   10252 	hardcode_direct=yes
   10253 	hardcode_shlibpath_var=no
   10254 	hardcode_direct_absolute=yes
   10255 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10256 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10257 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10258 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10259 	  export_dynamic_flag_spec='$wl-E'
   10260 	else
   10261 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10262 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10263 	fi
   10264       else
   10265 	ld_shlibs=no
   10266       fi
   10267       ;;
   10268 
   10269     os2*)
   10270       hardcode_libdir_flag_spec='-L$libdir'
   10271       hardcode_minus_L=yes
   10272       allow_undefined_flag=unsupported
   10273       shrext_cmds=.dll
   10274       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10275 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10276 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10277 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10278 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10279 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10280 	emximp -o $lib $output_objdir/$libname.def'
   10281       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10282 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10283 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10284 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10285 	prefix_cmds="$SED"~
   10286 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10287 	  prefix_cmds="$prefix_cmds -e 1d";
   10288 	fi~
   10289 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10290 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10291 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10292 	emximp -o $lib $output_objdir/$libname.def'
   10293       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10294       enable_shared_with_static_runtimes=yes
   10295       ;;
   10296 
   10297     osf3*)
   10298       if test yes = "$GCC"; then
   10299 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10300 	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'
   10301       else
   10302 	allow_undefined_flag=' -expect_unresolved \*'
   10303 	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'
   10304       fi
   10305       archive_cmds_need_lc='no'
   10306       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10307       hardcode_libdir_separator=:
   10308       ;;
   10309 
   10310     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10311       if test yes = "$GCC"; then
   10312 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10313 	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'
   10314 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10315       else
   10316 	allow_undefined_flag=' -expect_unresolved \*'
   10317 	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'
   10318 	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~
   10319           $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'
   10320 
   10321 	# Both c and cxx compiler support -rpath directly
   10322 	hardcode_libdir_flag_spec='-rpath $libdir'
   10323       fi
   10324       archive_cmds_need_lc='no'
   10325       hardcode_libdir_separator=:
   10326       ;;
   10327 
   10328     solaris*)
   10329       no_undefined_flag=' -z defs'
   10330       if test yes = "$GCC"; then
   10331 	wlarc='$wl'
   10332 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10333 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10334           $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'
   10335       else
   10336 	case `$CC -V 2>&1` in
   10337 	*"Compilers 5.0"*)
   10338 	  wlarc=''
   10339 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10340 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10341             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10342 	  ;;
   10343 	*)
   10344 	  wlarc='$wl'
   10345 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10346 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10347             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10348 	  ;;
   10349 	esac
   10350       fi
   10351       hardcode_libdir_flag_spec='-R$libdir'
   10352       hardcode_shlibpath_var=no
   10353       case $host_os in
   10354       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10355       *)
   10356 	# The compiler driver will combine and reorder linker options,
   10357 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10358 	# but is careful enough not to reorder.
   10359 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10360 	if test yes = "$GCC"; then
   10361 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10362 	else
   10363 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10364 	fi
   10365 	;;
   10366       esac
   10367       link_all_deplibs=yes
   10368       ;;
   10369 
   10370     sunos4*)
   10371       if test sequent = "$host_vendor"; then
   10372 	# Use $CC to link under sequent, because it throws in some extra .o
   10373 	# files that make .init and .fini sections work.
   10374 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10375       else
   10376 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10377       fi
   10378       hardcode_libdir_flag_spec='-L$libdir'
   10379       hardcode_direct=yes
   10380       hardcode_minus_L=yes
   10381       hardcode_shlibpath_var=no
   10382       ;;
   10383 
   10384     sysv4)
   10385       case $host_vendor in
   10386 	sni)
   10387 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10388 	  hardcode_direct=yes # is this really true???
   10389 	;;
   10390 	siemens)
   10391 	  ## LD is ld it makes a PLAMLIB
   10392 	  ## CC just makes a GrossModule.
   10393 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10394 	  reload_cmds='$CC -r -o $output$reload_objs'
   10395 	  hardcode_direct=no
   10396         ;;
   10397 	motorola)
   10398 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10399 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10400 	;;
   10401       esac
   10402       runpath_var='LD_RUN_PATH'
   10403       hardcode_shlibpath_var=no
   10404       ;;
   10405 
   10406     sysv4.3*)
   10407       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10408       hardcode_shlibpath_var=no
   10409       export_dynamic_flag_spec='-Bexport'
   10410       ;;
   10411 
   10412     sysv4*MP*)
   10413       if test -d /usr/nec; then
   10414 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10415 	hardcode_shlibpath_var=no
   10416 	runpath_var=LD_RUN_PATH
   10417 	hardcode_runpath_var=yes
   10418 	ld_shlibs=yes
   10419       fi
   10420       ;;
   10421 
   10422     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10423       no_undefined_flag='$wl-z,text'
   10424       archive_cmds_need_lc=no
   10425       hardcode_shlibpath_var=no
   10426       runpath_var='LD_RUN_PATH'
   10427 
   10428       if test yes = "$GCC"; then
   10429 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10430 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10431       else
   10432 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10433 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10434       fi
   10435       ;;
   10436 
   10437     sysv5* | sco3.2v5* | sco5v6*)
   10438       # Note: We CANNOT use -z defs as we might desire, because we do not
   10439       # link with -lc, and that would cause any symbols used from libc to
   10440       # always be unresolved, which means just about no library would
   10441       # ever link correctly.  If we're not using GNU ld we use -z text
   10442       # though, which does catch some bad symbols but isn't as heavy-handed
   10443       # as -z defs.
   10444       no_undefined_flag='$wl-z,text'
   10445       allow_undefined_flag='$wl-z,nodefs'
   10446       archive_cmds_need_lc=no
   10447       hardcode_shlibpath_var=no
   10448       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10449       hardcode_libdir_separator=':'
   10450       link_all_deplibs=yes
   10451       export_dynamic_flag_spec='$wl-Bexport'
   10452       runpath_var='LD_RUN_PATH'
   10453 
   10454       if test yes = "$GCC"; then
   10455 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10456 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10457       else
   10458 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10459 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10460       fi
   10461       ;;
   10462 
   10463     uts4*)
   10464       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10465       hardcode_libdir_flag_spec='-L$libdir'
   10466       hardcode_shlibpath_var=no
   10467       ;;
   10468 
   10469     *)
   10470       ld_shlibs=no
   10471       ;;
   10472     esac
   10473 
   10474     if test sni = "$host_vendor"; then
   10475       case $host in
   10476       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10477 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10478 	;;
   10479       esac
   10480     fi
   10481   fi
   10482 
   10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10484 $as_echo "$ld_shlibs" >&6; }
   10485 test no = "$ld_shlibs" && can_build_shared=no
   10486 
   10487 with_gnu_ld=$with_gnu_ld
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 #
   10504 # Do we need to explicitly link libc?
   10505 #
   10506 case "x$archive_cmds_need_lc" in
   10507 x|xyes)
   10508   # Assume -lc should be added
   10509   archive_cmds_need_lc=yes
   10510 
   10511   if test yes,yes = "$GCC,$enable_shared"; then
   10512     case $archive_cmds in
   10513     *'~'*)
   10514       # FIXME: we may have to deal with multi-command sequences.
   10515       ;;
   10516     '$CC '*)
   10517       # Test whether the compiler implicitly links with -lc since on some
   10518       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10519       # to ld, don't add -lc before -lgcc.
   10520       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10521 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10522 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10523   $as_echo_n "(cached) " >&6
   10524 else
   10525   $RM conftest*
   10526 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10527 
   10528 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10529   (eval $ac_compile) 2>&5
   10530   ac_status=$?
   10531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10532   test $ac_status = 0; } 2>conftest.err; then
   10533 	  soname=conftest
   10534 	  lib=conftest
   10535 	  libobjs=conftest.$ac_objext
   10536 	  deplibs=
   10537 	  wl=$lt_prog_compiler_wl
   10538 	  pic_flag=$lt_prog_compiler_pic
   10539 	  compiler_flags=-v
   10540 	  linker_flags=-v
   10541 	  verstring=
   10542 	  output_objdir=.
   10543 	  libname=conftest
   10544 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10545 	  allow_undefined_flag=
   10546 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10547   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10548   ac_status=$?
   10549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10550   test $ac_status = 0; }
   10551 	  then
   10552 	    lt_cv_archive_cmds_need_lc=no
   10553 	  else
   10554 	    lt_cv_archive_cmds_need_lc=yes
   10555 	  fi
   10556 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10557 	else
   10558 	  cat conftest.err 1>&5
   10559 	fi
   10560 	$RM conftest*
   10561 
   10562 fi
   10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10564 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10565       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10566       ;;
   10567     esac
   10568   fi
   10569   ;;
   10570 esac
   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 
   10723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10724 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10725 
   10726 if test yes = "$GCC"; then
   10727   case $host_os in
   10728     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10729     *) lt_awk_arg='/^libraries:/' ;;
   10730   esac
   10731   case $host_os in
   10732     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10733     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10734   esac
   10735   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10736   case $lt_search_path_spec in
   10737   *\;*)
   10738     # if the path contains ";" then we assume it to be the separator
   10739     # otherwise default to the standard path separator (i.e. ":") - it is
   10740     # assumed that no part of a normal pathname contains ";" but that should
   10741     # okay in the real world where ";" in dirpaths is itself problematic.
   10742     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10743     ;;
   10744   *)
   10745     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10746     ;;
   10747   esac
   10748   # Ok, now we have the path, separated by spaces, we can step through it
   10749   # and add multilib dir if necessary...
   10750   lt_tmp_lt_search_path_spec=
   10751   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10752   # ...but if some path component already ends with the multilib dir we assume
   10753   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10754   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10755   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10756     lt_multi_os_dir=
   10757     ;;
   10758   esac
   10759   for lt_sys_path in $lt_search_path_spec; do
   10760     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10761       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10762     elif test -n "$lt_multi_os_dir"; then
   10763       test -d "$lt_sys_path" && \
   10764 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10765     fi
   10766   done
   10767   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10768 BEGIN {RS = " "; FS = "/|\n";} {
   10769   lt_foo = "";
   10770   lt_count = 0;
   10771   for (lt_i = NF; lt_i > 0; lt_i--) {
   10772     if ($lt_i != "" && $lt_i != ".") {
   10773       if ($lt_i == "..") {
   10774         lt_count++;
   10775       } else {
   10776         if (lt_count == 0) {
   10777           lt_foo = "/" $lt_i lt_foo;
   10778         } else {
   10779           lt_count--;
   10780         }
   10781       }
   10782     }
   10783   }
   10784   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10785   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10786 }'`
   10787   # AWK program above erroneously prepends '/' to C:/dos/paths
   10788   # for these hosts.
   10789   case $host_os in
   10790     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10791       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10792   esac
   10793   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10794 else
   10795   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10796 fi
   10797 library_names_spec=
   10798 libname_spec='lib$name'
   10799 soname_spec=
   10800 shrext_cmds=.so
   10801 postinstall_cmds=
   10802 postuninstall_cmds=
   10803 finish_cmds=
   10804 finish_eval=
   10805 shlibpath_var=
   10806 shlibpath_overrides_runpath=unknown
   10807 version_type=none
   10808 dynamic_linker="$host_os ld.so"
   10809 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10810 need_lib_prefix=unknown
   10811 hardcode_into_libs=no
   10812 
   10813 # when you set need_version to no, make sure it does not cause -set_version
   10814 # flags to be left without arguments
   10815 need_version=unknown
   10816 
   10817 
   10818 
   10819 case $host_os in
   10820 aix3*)
   10821   version_type=linux # correct to gnu/linux during the next big refactor
   10822   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10823   shlibpath_var=LIBPATH
   10824 
   10825   # AIX 3 has no versioning support, so we append a major version to the name.
   10826   soname_spec='$libname$release$shared_ext$major'
   10827   ;;
   10828 
   10829 aix[4-9]*)
   10830   version_type=linux # correct to gnu/linux during the next big refactor
   10831   need_lib_prefix=no
   10832   need_version=no
   10833   hardcode_into_libs=yes
   10834   if test ia64 = "$host_cpu"; then
   10835     # AIX 5 supports IA64
   10836     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10837     shlibpath_var=LD_LIBRARY_PATH
   10838   else
   10839     # With GCC up to 2.95.x, collect2 would create an import file
   10840     # for dependence libraries.  The import file would start with
   10841     # the line '#! .'.  This would cause the generated library to
   10842     # depend on '.', always an invalid library.  This was fixed in
   10843     # development snapshots of GCC prior to 3.0.
   10844     case $host_os in
   10845       aix4 | aix4.[01] | aix4.[01].*)
   10846       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10847 	   echo ' yes '
   10848 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   10849 	:
   10850       else
   10851 	can_build_shared=no
   10852       fi
   10853       ;;
   10854     esac
   10855     # Using Import Files as archive members, it is possible to support
   10856     # filename-based versioning of shared library archives on AIX. While
   10857     # this would work for both with and without runtime linking, it will
   10858     # prevent static linking of such archives. So we do filename-based
   10859     # shared library versioning with .so extension only, which is used
   10860     # when both runtime linking and shared linking is enabled.
   10861     # Unfortunately, runtime linking may impact performance, so we do
   10862     # not want this to be the default eventually. Also, we use the
   10863     # versioned .so libs for executables only if there is the -brtl
   10864     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   10865     # To allow for filename-based versioning support, we need to create
   10866     # libNAME.so.V as an archive file, containing:
   10867     # *) an Import File, referring to the versioned filename of the
   10868     #    archive as well as the shared archive member, telling the
   10869     #    bitwidth (32 or 64) of that shared object, and providing the
   10870     #    list of exported symbols of that shared object, eventually
   10871     #    decorated with the 'weak' keyword
   10872     # *) the shared object with the F_LOADONLY flag set, to really avoid
   10873     #    it being seen by the linker.
   10874     # At run time we better use the real file rather than another symlink,
   10875     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   10876 
   10877     case $with_aix_soname,$aix_use_runtimelinking in
   10878     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   10879     # soname into executable. Probably we can add versioning support to
   10880     # collect2, so additional links can be useful in future.
   10881     aix,yes) # traditional libtool
   10882       dynamic_linker='AIX unversionable lib.so'
   10883       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10884       # instead of lib<name>.a to let people know that these are not
   10885       # typical AIX shared libraries.
   10886       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10887       ;;
   10888     aix,no) # traditional AIX only
   10889       dynamic_linker='AIX lib.a(lib.so.V)'
   10890       # We preserve .a as extension for shared libraries through AIX4.2
   10891       # and later when we are not doing run time linking.
   10892       library_names_spec='$libname$release.a $libname.a'
   10893       soname_spec='$libname$release$shared_ext$major'
   10894       ;;
   10895     svr4,*) # full svr4 only
   10896       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   10897       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10898       # We do not specify a path in Import Files, so LIBPATH fires.
   10899       shlibpath_overrides_runpath=yes
   10900       ;;
   10901     *,yes) # both, prefer svr4
   10902       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   10903       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10904       # unpreferred sharedlib libNAME.a needs extra handling
   10905       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"'
   10906       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"'
   10907       # We do not specify a path in Import Files, so LIBPATH fires.
   10908       shlibpath_overrides_runpath=yes
   10909       ;;
   10910     *,no) # both, prefer aix
   10911       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   10912       library_names_spec='$libname$release.a $libname.a'
   10913       soname_spec='$libname$release$shared_ext$major'
   10914       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   10915       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)'
   10916       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"'
   10917       ;;
   10918     esac
   10919     shlibpath_var=LIBPATH
   10920   fi
   10921   ;;
   10922 
   10923 amigaos*)
   10924   case $host_cpu in
   10925   powerpc)
   10926     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10927     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10928     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10929     ;;
   10930   m68k)
   10931     library_names_spec='$libname.ixlibrary $libname.a'
   10932     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10933     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'
   10934     ;;
   10935   esac
   10936   ;;
   10937 
   10938 beos*)
   10939   library_names_spec='$libname$shared_ext'
   10940   dynamic_linker="$host_os ld.so"
   10941   shlibpath_var=LIBRARY_PATH
   10942   ;;
   10943 
   10944 bsdi[45]*)
   10945   version_type=linux # correct to gnu/linux during the next big refactor
   10946   need_version=no
   10947   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10948   soname_spec='$libname$release$shared_ext$major'
   10949   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10950   shlibpath_var=LD_LIBRARY_PATH
   10951   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10952   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10953   # the default ld.so.conf also contains /usr/contrib/lib and
   10954   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10955   # libtool to hard-code these into programs
   10956   ;;
   10957 
   10958 cygwin* | mingw* | pw32* | cegcc*)
   10959   version_type=windows
   10960   shrext_cmds=.dll
   10961   need_version=no
   10962   need_lib_prefix=no
   10963 
   10964   case $GCC,$cc_basename in
   10965   yes,*)
   10966     # gcc
   10967     library_names_spec='$libname.dll.a'
   10968     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10969     postinstall_cmds='base_file=`basename \$file`~
   10970       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10971       dldir=$destdir/`dirname \$dlpath`~
   10972       test -d \$dldir || mkdir -p \$dldir~
   10973       $install_prog $dir/$dlname \$dldir/$dlname~
   10974       chmod a+x \$dldir/$dlname~
   10975       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10976         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10977       fi'
   10978     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10979       dlpath=$dir/\$dldll~
   10980        $RM \$dlpath'
   10981     shlibpath_overrides_runpath=yes
   10982 
   10983     case $host_os in
   10984     cygwin*)
   10985       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10986       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10987 
   10988       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10989       ;;
   10990     mingw* | cegcc*)
   10991       # MinGW DLLs use traditional 'lib' prefix
   10992       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10993       ;;
   10994     pw32*)
   10995       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10996       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10997       ;;
   10998     esac
   10999     dynamic_linker='Win32 ld.exe'
   11000     ;;
   11001 
   11002   *,cl*)
   11003     # Native MSVC
   11004     libname_spec='$name'
   11005     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11006     library_names_spec='$libname.dll.lib'
   11007 
   11008     case $build_os in
   11009     mingw*)
   11010       sys_lib_search_path_spec=
   11011       lt_save_ifs=$IFS
   11012       IFS=';'
   11013       for lt_path in $LIB
   11014       do
   11015         IFS=$lt_save_ifs
   11016         # Let DOS variable expansion print the short 8.3 style file name.
   11017         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11018         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11019       done
   11020       IFS=$lt_save_ifs
   11021       # Convert to MSYS style.
   11022       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11023       ;;
   11024     cygwin*)
   11025       # Convert to unix form, then to dos form, then back to unix form
   11026       # but this time dos style (no spaces!) so that the unix form looks
   11027       # like /cygdrive/c/PROGRA~1:/cygdr...
   11028       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11029       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11030       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11031       ;;
   11032     *)
   11033       sys_lib_search_path_spec=$LIB
   11034       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11035         # It is most probably a Windows format PATH.
   11036         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11037       else
   11038         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11039       fi
   11040       # FIXME: find the short name or the path components, as spaces are
   11041       # common. (e.g. "Program Files" -> "PROGRA~1")
   11042       ;;
   11043     esac
   11044 
   11045     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11046     postinstall_cmds='base_file=`basename \$file`~
   11047       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11048       dldir=$destdir/`dirname \$dlpath`~
   11049       test -d \$dldir || mkdir -p \$dldir~
   11050       $install_prog $dir/$dlname \$dldir/$dlname'
   11051     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11052       dlpath=$dir/\$dldll~
   11053        $RM \$dlpath'
   11054     shlibpath_overrides_runpath=yes
   11055     dynamic_linker='Win32 link.exe'
   11056     ;;
   11057 
   11058   *)
   11059     # Assume MSVC wrapper
   11060     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11061     dynamic_linker='Win32 ld.exe'
   11062     ;;
   11063   esac
   11064   # FIXME: first we should search . and the directory the executable is in
   11065   shlibpath_var=PATH
   11066   ;;
   11067 
   11068 darwin* | rhapsody*)
   11069   dynamic_linker="$host_os dyld"
   11070   version_type=darwin
   11071   need_lib_prefix=no
   11072   need_version=no
   11073   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11074   soname_spec='$libname$release$major$shared_ext'
   11075   shlibpath_overrides_runpath=yes
   11076   shlibpath_var=DYLD_LIBRARY_PATH
   11077   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11078 
   11079   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11080   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11081   ;;
   11082 
   11083 dgux*)
   11084   version_type=linux # correct to gnu/linux during the next big refactor
   11085   need_lib_prefix=no
   11086   need_version=no
   11087   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11088   soname_spec='$libname$release$shared_ext$major'
   11089   shlibpath_var=LD_LIBRARY_PATH
   11090   ;;
   11091 
   11092 freebsd* | dragonfly*)
   11093   # DragonFly does not have aout.  When/if they implement a new
   11094   # versioning mechanism, adjust this.
   11095   if test -x /usr/bin/objformat; then
   11096     objformat=`/usr/bin/objformat`
   11097   else
   11098     case $host_os in
   11099     freebsd[23].*) objformat=aout ;;
   11100     *) objformat=elf ;;
   11101     esac
   11102   fi
   11103   version_type=freebsd-$objformat
   11104   case $version_type in
   11105     freebsd-elf*)
   11106       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11107       soname_spec='$libname$release$shared_ext$major'
   11108       need_version=no
   11109       need_lib_prefix=no
   11110       ;;
   11111     freebsd-*)
   11112       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11113       need_version=yes
   11114       ;;
   11115   esac
   11116   shlibpath_var=LD_LIBRARY_PATH
   11117   case $host_os in
   11118   freebsd2.*)
   11119     shlibpath_overrides_runpath=yes
   11120     ;;
   11121   freebsd3.[01]* | freebsdelf3.[01]*)
   11122     shlibpath_overrides_runpath=yes
   11123     hardcode_into_libs=yes
   11124     ;;
   11125   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11126   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11127     shlibpath_overrides_runpath=no
   11128     hardcode_into_libs=yes
   11129     ;;
   11130   *) # from 4.6 on, and DragonFly
   11131     shlibpath_overrides_runpath=yes
   11132     hardcode_into_libs=yes
   11133     ;;
   11134   esac
   11135   ;;
   11136 
   11137 haiku*)
   11138   version_type=linux # correct to gnu/linux during the next big refactor
   11139   need_lib_prefix=no
   11140   need_version=no
   11141   dynamic_linker="$host_os runtime_loader"
   11142   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11143   soname_spec='$libname$release$shared_ext$major'
   11144   shlibpath_var=LIBRARY_PATH
   11145   shlibpath_overrides_runpath=no
   11146   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11147   hardcode_into_libs=yes
   11148   ;;
   11149 
   11150 hpux9* | hpux10* | hpux11*)
   11151   # Give a soname corresponding to the major version so that dld.sl refuses to
   11152   # link against other versions.
   11153   version_type=sunos
   11154   need_lib_prefix=no
   11155   need_version=no
   11156   case $host_cpu in
   11157   ia64*)
   11158     shrext_cmds='.so'
   11159     hardcode_into_libs=yes
   11160     dynamic_linker="$host_os dld.so"
   11161     shlibpath_var=LD_LIBRARY_PATH
   11162     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11163     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11164     soname_spec='$libname$release$shared_ext$major'
   11165     if test 32 = "$HPUX_IA64_MODE"; then
   11166       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11167       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11168     else
   11169       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11170       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11171     fi
   11172     ;;
   11173   hppa*64*)
   11174     shrext_cmds='.sl'
   11175     hardcode_into_libs=yes
   11176     dynamic_linker="$host_os dld.sl"
   11177     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11178     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11179     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11180     soname_spec='$libname$release$shared_ext$major'
   11181     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11182     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11183     ;;
   11184   *)
   11185     shrext_cmds='.sl'
   11186     dynamic_linker="$host_os dld.sl"
   11187     shlibpath_var=SHLIB_PATH
   11188     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11189     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11190     soname_spec='$libname$release$shared_ext$major'
   11191     ;;
   11192   esac
   11193   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11194   postinstall_cmds='chmod 555 $lib'
   11195   # or fails outright, so override atomically:
   11196   install_override_mode=555
   11197   ;;
   11198 
   11199 interix[3-9]*)
   11200   version_type=linux # correct to gnu/linux during the next big refactor
   11201   need_lib_prefix=no
   11202   need_version=no
   11203   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11204   soname_spec='$libname$release$shared_ext$major'
   11205   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11206   shlibpath_var=LD_LIBRARY_PATH
   11207   shlibpath_overrides_runpath=no
   11208   hardcode_into_libs=yes
   11209   ;;
   11210 
   11211 irix5* | irix6* | nonstopux*)
   11212   case $host_os in
   11213     nonstopux*) version_type=nonstopux ;;
   11214     *)
   11215 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11216 		version_type=linux # correct to gnu/linux during the next big refactor
   11217 	else
   11218 		version_type=irix
   11219 	fi ;;
   11220   esac
   11221   need_lib_prefix=no
   11222   need_version=no
   11223   soname_spec='$libname$release$shared_ext$major'
   11224   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11225   case $host_os in
   11226   irix5* | nonstopux*)
   11227     libsuff= shlibsuff=
   11228     ;;
   11229   *)
   11230     case $LD in # libtool.m4 will add one of these switches to LD
   11231     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11232       libsuff= shlibsuff= libmagic=32-bit;;
   11233     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11234       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11235     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11236       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11237     *) libsuff= shlibsuff= libmagic=never-match;;
   11238     esac
   11239     ;;
   11240   esac
   11241   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11242   shlibpath_overrides_runpath=no
   11243   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11244   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11245   hardcode_into_libs=yes
   11246   ;;
   11247 
   11248 # No shared lib support for Linux oldld, aout, or coff.
   11249 linux*oldld* | linux*aout* | linux*coff*)
   11250   dynamic_linker=no
   11251   ;;
   11252 
   11253 linux*android*)
   11254   version_type=none # Android doesn't support versioned libraries.
   11255   need_lib_prefix=no
   11256   need_version=no
   11257   library_names_spec='$libname$release$shared_ext'
   11258   soname_spec='$libname$release$shared_ext'
   11259   finish_cmds=
   11260   shlibpath_var=LD_LIBRARY_PATH
   11261   shlibpath_overrides_runpath=yes
   11262 
   11263   # This implies no fast_install, which is unacceptable.
   11264   # Some rework will be needed to allow for fast_install
   11265   # before this can be enabled.
   11266   hardcode_into_libs=yes
   11267 
   11268   dynamic_linker='Android linker'
   11269   # Don't embed -rpath directories since the linker doesn't support them.
   11270   hardcode_libdir_flag_spec='-L$libdir'
   11271   ;;
   11272 
   11273 # This must be glibc/ELF.
   11274 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11275   version_type=linux # correct to gnu/linux during the next big refactor
   11276   need_lib_prefix=no
   11277   need_version=no
   11278   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11279   soname_spec='$libname$release$shared_ext$major'
   11280   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11281   shlibpath_var=LD_LIBRARY_PATH
   11282   shlibpath_overrides_runpath=no
   11283 
   11284   # Some binutils ld are patched to set DT_RUNPATH
   11285   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11286   $as_echo_n "(cached) " >&6
   11287 else
   11288   lt_cv_shlibpath_overrides_runpath=no
   11289     save_LDFLAGS=$LDFLAGS
   11290     save_libdir=$libdir
   11291     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11292 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11293     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11294 /* end confdefs.h.  */
   11295 
   11296 int
   11297 main ()
   11298 {
   11299 
   11300   ;
   11301   return 0;
   11302 }
   11303 _ACEOF
   11304 if ac_fn_c_try_link "$LINENO"; then :
   11305   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11306   lt_cv_shlibpath_overrides_runpath=yes
   11307 fi
   11308 fi
   11309 rm -f core conftest.err conftest.$ac_objext \
   11310     conftest$ac_exeext conftest.$ac_ext
   11311     LDFLAGS=$save_LDFLAGS
   11312     libdir=$save_libdir
   11313 
   11314 fi
   11315 
   11316   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11317 
   11318   # This implies no fast_install, which is unacceptable.
   11319   # Some rework will be needed to allow for fast_install
   11320   # before this can be enabled.
   11321   hardcode_into_libs=yes
   11322 
   11323   # Ideally, we could use ldconfig to report *all* directores which are
   11324   # searched for libraries, however this is still not possible.  Aside from not
   11325   # being certain /sbin/ldconfig is available, command
   11326   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11327   # even though it is searched at run-time.  Try to do the best guess by
   11328   # appending ld.so.conf contents (and includes) to the search path.
   11329   if test -f /etc/ld.so.conf; then
   11330     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' ' '`
   11331     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11332   fi
   11333 
   11334   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11335   # powerpc, because MkLinux only supported shared libraries with the
   11336   # GNU dynamic linker.  Since this was broken with cross compilers,
   11337   # most powerpc-linux boxes support dynamic linking these days and
   11338   # people can always --disable-shared, the test was removed, and we
   11339   # assume the GNU/Linux dynamic linker is in use.
   11340   dynamic_linker='GNU/Linux ld.so'
   11341   ;;
   11342 
   11343 netbsd*)
   11344   version_type=sunos
   11345   need_lib_prefix=no
   11346   need_version=no
   11347   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11348     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11349     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11350     dynamic_linker='NetBSD (a.out) ld.so'
   11351   else
   11352     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11353     soname_spec='$libname$release$shared_ext$major'
   11354     dynamic_linker='NetBSD ld.elf_so'
   11355   fi
   11356   shlibpath_var=LD_LIBRARY_PATH
   11357   shlibpath_overrides_runpath=yes
   11358   hardcode_into_libs=yes
   11359   ;;
   11360 
   11361 newsos6)
   11362   version_type=linux # correct to gnu/linux during the next big refactor
   11363   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11364   shlibpath_var=LD_LIBRARY_PATH
   11365   shlibpath_overrides_runpath=yes
   11366   ;;
   11367 
   11368 *nto* | *qnx*)
   11369   version_type=qnx
   11370   need_lib_prefix=no
   11371   need_version=no
   11372   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11373   soname_spec='$libname$release$shared_ext$major'
   11374   shlibpath_var=LD_LIBRARY_PATH
   11375   shlibpath_overrides_runpath=no
   11376   hardcode_into_libs=yes
   11377   dynamic_linker='ldqnx.so'
   11378   ;;
   11379 
   11380 openbsd* | bitrig*)
   11381   version_type=sunos
   11382   sys_lib_dlsearch_path_spec=/usr/lib
   11383   need_lib_prefix=no
   11384   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11385     need_version=no
   11386   else
   11387     need_version=yes
   11388   fi
   11389   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11390   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11391   shlibpath_var=LD_LIBRARY_PATH
   11392   shlibpath_overrides_runpath=yes
   11393   ;;
   11394 
   11395 os2*)
   11396   libname_spec='$name'
   11397   version_type=windows
   11398   shrext_cmds=.dll
   11399   need_version=no
   11400   need_lib_prefix=no
   11401   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11402   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11403     v=$($ECHO $release$versuffix | tr -d .-);
   11404     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11405     $ECHO $n$v`$shared_ext'
   11406   library_names_spec='${libname}_dll.$libext'
   11407   dynamic_linker='OS/2 ld.exe'
   11408   shlibpath_var=BEGINLIBPATH
   11409   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11410   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11411   postinstall_cmds='base_file=`basename \$file`~
   11412     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11413     dldir=$destdir/`dirname \$dlpath`~
   11414     test -d \$dldir || mkdir -p \$dldir~
   11415     $install_prog $dir/$dlname \$dldir/$dlname~
   11416     chmod a+x \$dldir/$dlname~
   11417     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11418       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11419     fi'
   11420   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11421     dlpath=$dir/\$dldll~
   11422     $RM \$dlpath'
   11423   ;;
   11424 
   11425 osf3* | osf4* | osf5*)
   11426   version_type=osf
   11427   need_lib_prefix=no
   11428   need_version=no
   11429   soname_spec='$libname$release$shared_ext$major'
   11430   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11431   shlibpath_var=LD_LIBRARY_PATH
   11432   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11433   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11434   ;;
   11435 
   11436 rdos*)
   11437   dynamic_linker=no
   11438   ;;
   11439 
   11440 solaris*)
   11441   version_type=linux # correct to gnu/linux during the next big refactor
   11442   need_lib_prefix=no
   11443   need_version=no
   11444   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11445   soname_spec='$libname$release$shared_ext$major'
   11446   shlibpath_var=LD_LIBRARY_PATH
   11447   shlibpath_overrides_runpath=yes
   11448   hardcode_into_libs=yes
   11449   # ldd complains unless libraries are executable
   11450   postinstall_cmds='chmod +x $lib'
   11451   ;;
   11452 
   11453 sunos4*)
   11454   version_type=sunos
   11455   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11456   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11457   shlibpath_var=LD_LIBRARY_PATH
   11458   shlibpath_overrides_runpath=yes
   11459   if test yes = "$with_gnu_ld"; then
   11460     need_lib_prefix=no
   11461   fi
   11462   need_version=yes
   11463   ;;
   11464 
   11465 sysv4 | sysv4.3*)
   11466   version_type=linux # correct to gnu/linux during the next big refactor
   11467   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11468   soname_spec='$libname$release$shared_ext$major'
   11469   shlibpath_var=LD_LIBRARY_PATH
   11470   case $host_vendor in
   11471     sni)
   11472       shlibpath_overrides_runpath=no
   11473       need_lib_prefix=no
   11474       runpath_var=LD_RUN_PATH
   11475       ;;
   11476     siemens)
   11477       need_lib_prefix=no
   11478       ;;
   11479     motorola)
   11480       need_lib_prefix=no
   11481       need_version=no
   11482       shlibpath_overrides_runpath=no
   11483       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11484       ;;
   11485   esac
   11486   ;;
   11487 
   11488 sysv4*MP*)
   11489   if test -d /usr/nec; then
   11490     version_type=linux # correct to gnu/linux during the next big refactor
   11491     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11492     soname_spec='$libname$shared_ext.$major'
   11493     shlibpath_var=LD_LIBRARY_PATH
   11494   fi
   11495   ;;
   11496 
   11497 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11498   version_type=sco
   11499   need_lib_prefix=no
   11500   need_version=no
   11501   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11502   soname_spec='$libname$release$shared_ext$major'
   11503   shlibpath_var=LD_LIBRARY_PATH
   11504   shlibpath_overrides_runpath=yes
   11505   hardcode_into_libs=yes
   11506   if test yes = "$with_gnu_ld"; then
   11507     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11508   else
   11509     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11510     case $host_os in
   11511       sco3.2v5*)
   11512         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11513 	;;
   11514     esac
   11515   fi
   11516   sys_lib_dlsearch_path_spec='/usr/lib'
   11517   ;;
   11518 
   11519 tpf*)
   11520   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11521   version_type=linux # correct to gnu/linux during the next big refactor
   11522   need_lib_prefix=no
   11523   need_version=no
   11524   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11525   shlibpath_var=LD_LIBRARY_PATH
   11526   shlibpath_overrides_runpath=no
   11527   hardcode_into_libs=yes
   11528   ;;
   11529 
   11530 uts4*)
   11531   version_type=linux # correct to gnu/linux during the next big refactor
   11532   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11533   soname_spec='$libname$release$shared_ext$major'
   11534   shlibpath_var=LD_LIBRARY_PATH
   11535   ;;
   11536 
   11537 *)
   11538   dynamic_linker=no
   11539   ;;
   11540 esac
   11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11542 $as_echo "$dynamic_linker" >&6; }
   11543 test no = "$dynamic_linker" && can_build_shared=no
   11544 
   11545 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11546 if test yes = "$GCC"; then
   11547   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11548 fi
   11549 
   11550 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11551   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11552 fi
   11553 
   11554 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11555   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11556 fi
   11557 
   11558 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11559 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11560 
   11561 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11562 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11563 
   11564 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11565 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11566 
   11567 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11664 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11665 hardcode_action=
   11666 if test -n "$hardcode_libdir_flag_spec" ||
   11667    test -n "$runpath_var" ||
   11668    test yes = "$hardcode_automatic"; then
   11669 
   11670   # We can hardcode non-existent directories.
   11671   if test no != "$hardcode_direct" &&
   11672      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11673      # have to relink, otherwise we might link with an installed library
   11674      # when we should be linking with a yet-to-be-installed one
   11675      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11676      test no != "$hardcode_minus_L"; then
   11677     # Linking always hardcodes the temporary library directory.
   11678     hardcode_action=relink
   11679   else
   11680     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11681     hardcode_action=immediate
   11682   fi
   11683 else
   11684   # We cannot hardcode anything, or else we can only hardcode existing
   11685   # directories.
   11686   hardcode_action=unsupported
   11687 fi
   11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11689 $as_echo "$hardcode_action" >&6; }
   11690 
   11691 if test relink = "$hardcode_action" ||
   11692    test yes = "$inherit_rpath"; then
   11693   # Fast installation is not supported
   11694   enable_fast_install=no
   11695 elif test yes = "$shlibpath_overrides_runpath" ||
   11696      test no = "$enable_shared"; then
   11697   # Fast installation is not necessary
   11698   enable_fast_install=needless
   11699 fi
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706   if test yes != "$enable_dlopen"; then
   11707   enable_dlopen=unknown
   11708   enable_dlopen_self=unknown
   11709   enable_dlopen_self_static=unknown
   11710 else
   11711   lt_cv_dlopen=no
   11712   lt_cv_dlopen_libs=
   11713 
   11714   case $host_os in
   11715   beos*)
   11716     lt_cv_dlopen=load_add_on
   11717     lt_cv_dlopen_libs=
   11718     lt_cv_dlopen_self=yes
   11719     ;;
   11720 
   11721   mingw* | pw32* | cegcc*)
   11722     lt_cv_dlopen=LoadLibrary
   11723     lt_cv_dlopen_libs=
   11724     ;;
   11725 
   11726   cygwin*)
   11727     lt_cv_dlopen=dlopen
   11728     lt_cv_dlopen_libs=
   11729     ;;
   11730 
   11731   darwin*)
   11732     # if libdl is installed we need to link against it
   11733     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11734 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11735 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11736   $as_echo_n "(cached) " >&6
   11737 else
   11738   ac_check_lib_save_LIBS=$LIBS
   11739 LIBS="-ldl  $LIBS"
   11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11741 /* end confdefs.h.  */
   11742 
   11743 /* Override any GCC internal prototype to avoid an error.
   11744    Use char because int might match the return type of a GCC
   11745    builtin and then its argument prototype would still apply.  */
   11746 #ifdef __cplusplus
   11747 extern "C"
   11748 #endif
   11749 char dlopen ();
   11750 int
   11751 main ()
   11752 {
   11753 return dlopen ();
   11754   ;
   11755   return 0;
   11756 }
   11757 _ACEOF
   11758 if ac_fn_c_try_link "$LINENO"; then :
   11759   ac_cv_lib_dl_dlopen=yes
   11760 else
   11761   ac_cv_lib_dl_dlopen=no
   11762 fi
   11763 rm -f core conftest.err conftest.$ac_objext \
   11764     conftest$ac_exeext conftest.$ac_ext
   11765 LIBS=$ac_check_lib_save_LIBS
   11766 fi
   11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11768 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11769 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11770   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11771 else
   11772 
   11773     lt_cv_dlopen=dyld
   11774     lt_cv_dlopen_libs=
   11775     lt_cv_dlopen_self=yes
   11776 
   11777 fi
   11778 
   11779     ;;
   11780 
   11781   tpf*)
   11782     # Don't try to run any link tests for TPF.  We know it's impossible
   11783     # because TPF is a cross-compiler, and we know how we open DSOs.
   11784     lt_cv_dlopen=dlopen
   11785     lt_cv_dlopen_libs=
   11786     lt_cv_dlopen_self=no
   11787     ;;
   11788 
   11789   *)
   11790     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11791 if test "x$ac_cv_func_shl_load" = xyes; then :
   11792   lt_cv_dlopen=shl_load
   11793 else
   11794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11795 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11796 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11797   $as_echo_n "(cached) " >&6
   11798 else
   11799   ac_check_lib_save_LIBS=$LIBS
   11800 LIBS="-ldld  $LIBS"
   11801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11802 /* end confdefs.h.  */
   11803 
   11804 /* Override any GCC internal prototype to avoid an error.
   11805    Use char because int might match the return type of a GCC
   11806    builtin and then its argument prototype would still apply.  */
   11807 #ifdef __cplusplus
   11808 extern "C"
   11809 #endif
   11810 char shl_load ();
   11811 int
   11812 main ()
   11813 {
   11814 return shl_load ();
   11815   ;
   11816   return 0;
   11817 }
   11818 _ACEOF
   11819 if ac_fn_c_try_link "$LINENO"; then :
   11820   ac_cv_lib_dld_shl_load=yes
   11821 else
   11822   ac_cv_lib_dld_shl_load=no
   11823 fi
   11824 rm -f core conftest.err conftest.$ac_objext \
   11825     conftest$ac_exeext conftest.$ac_ext
   11826 LIBS=$ac_check_lib_save_LIBS
   11827 fi
   11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11829 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11830 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11831   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11832 else
   11833   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11834 if test "x$ac_cv_func_dlopen" = xyes; then :
   11835   lt_cv_dlopen=dlopen
   11836 else
   11837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11838 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11839 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11840   $as_echo_n "(cached) " >&6
   11841 else
   11842   ac_check_lib_save_LIBS=$LIBS
   11843 LIBS="-ldl  $LIBS"
   11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11845 /* end confdefs.h.  */
   11846 
   11847 /* Override any GCC internal prototype to avoid an error.
   11848    Use char because int might match the return type of a GCC
   11849    builtin and then its argument prototype would still apply.  */
   11850 #ifdef __cplusplus
   11851 extern "C"
   11852 #endif
   11853 char dlopen ();
   11854 int
   11855 main ()
   11856 {
   11857 return dlopen ();
   11858   ;
   11859   return 0;
   11860 }
   11861 _ACEOF
   11862 if ac_fn_c_try_link "$LINENO"; then :
   11863   ac_cv_lib_dl_dlopen=yes
   11864 else
   11865   ac_cv_lib_dl_dlopen=no
   11866 fi
   11867 rm -f core conftest.err conftest.$ac_objext \
   11868     conftest$ac_exeext conftest.$ac_ext
   11869 LIBS=$ac_check_lib_save_LIBS
   11870 fi
   11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11872 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11873 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11874   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11875 else
   11876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11877 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11878 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11879   $as_echo_n "(cached) " >&6
   11880 else
   11881   ac_check_lib_save_LIBS=$LIBS
   11882 LIBS="-lsvld  $LIBS"
   11883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11884 /* end confdefs.h.  */
   11885 
   11886 /* Override any GCC internal prototype to avoid an error.
   11887    Use char because int might match the return type of a GCC
   11888    builtin and then its argument prototype would still apply.  */
   11889 #ifdef __cplusplus
   11890 extern "C"
   11891 #endif
   11892 char dlopen ();
   11893 int
   11894 main ()
   11895 {
   11896 return dlopen ();
   11897   ;
   11898   return 0;
   11899 }
   11900 _ACEOF
   11901 if ac_fn_c_try_link "$LINENO"; then :
   11902   ac_cv_lib_svld_dlopen=yes
   11903 else
   11904   ac_cv_lib_svld_dlopen=no
   11905 fi
   11906 rm -f core conftest.err conftest.$ac_objext \
   11907     conftest$ac_exeext conftest.$ac_ext
   11908 LIBS=$ac_check_lib_save_LIBS
   11909 fi
   11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11911 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11912 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11913   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   11914 else
   11915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11916 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11917 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11918   $as_echo_n "(cached) " >&6
   11919 else
   11920   ac_check_lib_save_LIBS=$LIBS
   11921 LIBS="-ldld  $LIBS"
   11922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11923 /* end confdefs.h.  */
   11924 
   11925 /* Override any GCC internal prototype to avoid an error.
   11926    Use char because int might match the return type of a GCC
   11927    builtin and then its argument prototype would still apply.  */
   11928 #ifdef __cplusplus
   11929 extern "C"
   11930 #endif
   11931 char dld_link ();
   11932 int
   11933 main ()
   11934 {
   11935 return dld_link ();
   11936   ;
   11937   return 0;
   11938 }
   11939 _ACEOF
   11940 if ac_fn_c_try_link "$LINENO"; then :
   11941   ac_cv_lib_dld_dld_link=yes
   11942 else
   11943   ac_cv_lib_dld_dld_link=no
   11944 fi
   11945 rm -f core conftest.err conftest.$ac_objext \
   11946     conftest$ac_exeext conftest.$ac_ext
   11947 LIBS=$ac_check_lib_save_LIBS
   11948 fi
   11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11950 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11951 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11952   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   11953 fi
   11954 
   11955 
   11956 fi
   11957 
   11958 
   11959 fi
   11960 
   11961 
   11962 fi
   11963 
   11964 
   11965 fi
   11966 
   11967 
   11968 fi
   11969 
   11970     ;;
   11971   esac
   11972 
   11973   if test no = "$lt_cv_dlopen"; then
   11974     enable_dlopen=no
   11975   else
   11976     enable_dlopen=yes
   11977   fi
   11978 
   11979   case $lt_cv_dlopen in
   11980   dlopen)
   11981     save_CPPFLAGS=$CPPFLAGS
   11982     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11983 
   11984     save_LDFLAGS=$LDFLAGS
   11985     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11986 
   11987     save_LIBS=$LIBS
   11988     LIBS="$lt_cv_dlopen_libs $LIBS"
   11989 
   11990     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11991 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11992 if ${lt_cv_dlopen_self+:} false; then :
   11993   $as_echo_n "(cached) " >&6
   11994 else
   11995   	  if test yes = "$cross_compiling"; then :
   11996   lt_cv_dlopen_self=cross
   11997 else
   11998   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11999   lt_status=$lt_dlunknown
   12000   cat > conftest.$ac_ext <<_LT_EOF
   12001 #line $LINENO "configure"
   12002 #include "confdefs.h"
   12003 
   12004 #if HAVE_DLFCN_H
   12005 #include <dlfcn.h>
   12006 #endif
   12007 
   12008 #include <stdio.h>
   12009 
   12010 #ifdef RTLD_GLOBAL
   12011 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12012 #else
   12013 #  ifdef DL_GLOBAL
   12014 #    define LT_DLGLOBAL		DL_GLOBAL
   12015 #  else
   12016 #    define LT_DLGLOBAL		0
   12017 #  endif
   12018 #endif
   12019 
   12020 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12021    find out it does not work in some platform. */
   12022 #ifndef LT_DLLAZY_OR_NOW
   12023 #  ifdef RTLD_LAZY
   12024 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12025 #  else
   12026 #    ifdef DL_LAZY
   12027 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12028 #    else
   12029 #      ifdef RTLD_NOW
   12030 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12031 #      else
   12032 #        ifdef DL_NOW
   12033 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12034 #        else
   12035 #          define LT_DLLAZY_OR_NOW	0
   12036 #        endif
   12037 #      endif
   12038 #    endif
   12039 #  endif
   12040 #endif
   12041 
   12042 /* When -fvisibility=hidden is used, assume the code has been annotated
   12043    correspondingly for the symbols needed.  */
   12044 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12045 int fnord () __attribute__((visibility("default")));
   12046 #endif
   12047 
   12048 int fnord () { return 42; }
   12049 int main ()
   12050 {
   12051   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12052   int status = $lt_dlunknown;
   12053 
   12054   if (self)
   12055     {
   12056       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12057       else
   12058         {
   12059 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12060           else puts (dlerror ());
   12061 	}
   12062       /* dlclose (self); */
   12063     }
   12064   else
   12065     puts (dlerror ());
   12066 
   12067   return status;
   12068 }
   12069 _LT_EOF
   12070   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12071   (eval $ac_link) 2>&5
   12072   ac_status=$?
   12073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12074   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12075     (./conftest; exit; ) >&5 2>/dev/null
   12076     lt_status=$?
   12077     case x$lt_status in
   12078       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12079       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12080       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12081     esac
   12082   else :
   12083     # compilation failed
   12084     lt_cv_dlopen_self=no
   12085   fi
   12086 fi
   12087 rm -fr conftest*
   12088 
   12089 
   12090 fi
   12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12092 $as_echo "$lt_cv_dlopen_self" >&6; }
   12093 
   12094     if test yes = "$lt_cv_dlopen_self"; then
   12095       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12096       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12097 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12098 if ${lt_cv_dlopen_self_static+:} false; then :
   12099   $as_echo_n "(cached) " >&6
   12100 else
   12101   	  if test yes = "$cross_compiling"; then :
   12102   lt_cv_dlopen_self_static=cross
   12103 else
   12104   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12105   lt_status=$lt_dlunknown
   12106   cat > conftest.$ac_ext <<_LT_EOF
   12107 #line $LINENO "configure"
   12108 #include "confdefs.h"
   12109 
   12110 #if HAVE_DLFCN_H
   12111 #include <dlfcn.h>
   12112 #endif
   12113 
   12114 #include <stdio.h>
   12115 
   12116 #ifdef RTLD_GLOBAL
   12117 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12118 #else
   12119 #  ifdef DL_GLOBAL
   12120 #    define LT_DLGLOBAL		DL_GLOBAL
   12121 #  else
   12122 #    define LT_DLGLOBAL		0
   12123 #  endif
   12124 #endif
   12125 
   12126 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12127    find out it does not work in some platform. */
   12128 #ifndef LT_DLLAZY_OR_NOW
   12129 #  ifdef RTLD_LAZY
   12130 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12131 #  else
   12132 #    ifdef DL_LAZY
   12133 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12134 #    else
   12135 #      ifdef RTLD_NOW
   12136 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12137 #      else
   12138 #        ifdef DL_NOW
   12139 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12140 #        else
   12141 #          define LT_DLLAZY_OR_NOW	0
   12142 #        endif
   12143 #      endif
   12144 #    endif
   12145 #  endif
   12146 #endif
   12147 
   12148 /* When -fvisibility=hidden is used, assume the code has been annotated
   12149    correspondingly for the symbols needed.  */
   12150 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12151 int fnord () __attribute__((visibility("default")));
   12152 #endif
   12153 
   12154 int fnord () { return 42; }
   12155 int main ()
   12156 {
   12157   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12158   int status = $lt_dlunknown;
   12159 
   12160   if (self)
   12161     {
   12162       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12163       else
   12164         {
   12165 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12166           else puts (dlerror ());
   12167 	}
   12168       /* dlclose (self); */
   12169     }
   12170   else
   12171     puts (dlerror ());
   12172 
   12173   return status;
   12174 }
   12175 _LT_EOF
   12176   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12177   (eval $ac_link) 2>&5
   12178   ac_status=$?
   12179   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12180   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12181     (./conftest; exit; ) >&5 2>/dev/null
   12182     lt_status=$?
   12183     case x$lt_status in
   12184       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12185       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12186       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12187     esac
   12188   else :
   12189     # compilation failed
   12190     lt_cv_dlopen_self_static=no
   12191   fi
   12192 fi
   12193 rm -fr conftest*
   12194 
   12195 
   12196 fi
   12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12198 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12199     fi
   12200 
   12201     CPPFLAGS=$save_CPPFLAGS
   12202     LDFLAGS=$save_LDFLAGS
   12203     LIBS=$save_LIBS
   12204     ;;
   12205   esac
   12206 
   12207   case $lt_cv_dlopen_self in
   12208   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12209   *) enable_dlopen_self=unknown ;;
   12210   esac
   12211 
   12212   case $lt_cv_dlopen_self_static in
   12213   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12214   *) enable_dlopen_self_static=unknown ;;
   12215   esac
   12216 fi
   12217 
   12218 
   12219 
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 striplib=
   12235 old_striplib=
   12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12237 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12238 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12239   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12240   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12242 $as_echo "yes" >&6; }
   12243 else
   12244 # FIXME - insert some real tests, host_os isn't really good enough
   12245   case $host_os in
   12246   darwin*)
   12247     if test -n "$STRIP"; then
   12248       striplib="$STRIP -x"
   12249       old_striplib="$STRIP -S"
   12250       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12251 $as_echo "yes" >&6; }
   12252     else
   12253       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12254 $as_echo "no" >&6; }
   12255     fi
   12256     ;;
   12257   *)
   12258     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12259 $as_echo "no" >&6; }
   12260     ;;
   12261   esac
   12262 fi
   12263 
   12264 
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271 
   12272 
   12273 
   12274 
   12275   # Report what library types will actually be built
   12276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12277 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12279 $as_echo "$can_build_shared" >&6; }
   12280 
   12281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12282 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12283   test no = "$can_build_shared" && enable_shared=no
   12284 
   12285   # On AIX, shared libraries and static libraries use the same namespace, and
   12286   # are all built from PIC.
   12287   case $host_os in
   12288   aix3*)
   12289     test yes = "$enable_shared" && enable_static=no
   12290     if test -n "$RANLIB"; then
   12291       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12292       postinstall_cmds='$RANLIB $lib'
   12293     fi
   12294     ;;
   12295 
   12296   aix[4-9]*)
   12297     if test ia64 != "$host_cpu"; then
   12298       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12299       yes,aix,yes) ;;			# shared object as lib.so file only
   12300       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12301       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12302       esac
   12303     fi
   12304     ;;
   12305   esac
   12306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12307 $as_echo "$enable_shared" >&6; }
   12308 
   12309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12310 $as_echo_n "checking whether to build static libraries... " >&6; }
   12311   # Make sure either enable_shared or enable_static is yes.
   12312   test yes = "$enable_shared" || enable_static=yes
   12313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12314 $as_echo "$enable_static" >&6; }
   12315 
   12316 
   12317 
   12318 
   12319 fi
   12320 ac_ext=c
   12321 ac_cpp='$CPP $CPPFLAGS'
   12322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12325 
   12326 CC=$lt_save_CC
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 
   12339 
   12340 
   12341 
   12342         ac_config_commands="$ac_config_commands libtool"
   12343 
   12344 
   12345 
   12346 
   12347 # Only expand once:
   12348 
   12349 
   12350 
   12351 # Require xorg-macros minimum of 1.10 for DocBook XML documentation
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 
   12361 
   12362 
   12363    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   12364 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   12365 if ${ac_cv_prog_cc_c99+:} false; then :
   12366   $as_echo_n "(cached) " >&6
   12367 else
   12368   ac_cv_prog_cc_c99=no
   12369 ac_save_CC=$CC
   12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12371 /* end confdefs.h.  */
   12372 #include <stdarg.h>
   12373 #include <stdbool.h>
   12374 #include <stdlib.h>
   12375 #include <wchar.h>
   12376 #include <stdio.h>
   12377 
   12378 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12379 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12380 #define showlist(...) puts (#__VA_ARGS__)
   12381 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12382 static void
   12383 test_varargs_macros (void)
   12384 {
   12385   int x = 1234;
   12386   int y = 5678;
   12387   debug ("Flag");
   12388   debug ("X = %d\n", x);
   12389   showlist (The first, second, and third items.);
   12390   report (x>y, "x is %d but y is %d", x, y);
   12391 }
   12392 
   12393 // Check long long types.
   12394 #define BIG64 18446744073709551615ull
   12395 #define BIG32 4294967295ul
   12396 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12397 #if !BIG_OK
   12398   your preprocessor is broken;
   12399 #endif
   12400 #if BIG_OK
   12401 #else
   12402   your preprocessor is broken;
   12403 #endif
   12404 static long long int bignum = -9223372036854775807LL;
   12405 static unsigned long long int ubignum = BIG64;
   12406 
   12407 struct incomplete_array
   12408 {
   12409   int datasize;
   12410   double data[];
   12411 };
   12412 
   12413 struct named_init {
   12414   int number;
   12415   const wchar_t *name;
   12416   double average;
   12417 };
   12418 
   12419 typedef const char *ccp;
   12420 
   12421 static inline int
   12422 test_restrict (ccp restrict text)
   12423 {
   12424   // See if C++-style comments work.
   12425   // Iterate through items via the restricted pointer.
   12426   // Also check for declarations in for loops.
   12427   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12428     continue;
   12429   return 0;
   12430 }
   12431 
   12432 // Check varargs and va_copy.
   12433 static void
   12434 test_varargs (const char *format, ...)
   12435 {
   12436   va_list args;
   12437   va_start (args, format);
   12438   va_list args_copy;
   12439   va_copy (args_copy, args);
   12440 
   12441   const char *str;
   12442   int number;
   12443   float fnumber;
   12444 
   12445   while (*format)
   12446     {
   12447       switch (*format++)
   12448 	{
   12449 	case 's': // string
   12450 	  str = va_arg (args_copy, const char *);
   12451 	  break;
   12452 	case 'd': // int
   12453 	  number = va_arg (args_copy, int);
   12454 	  break;
   12455 	case 'f': // float
   12456 	  fnumber = va_arg (args_copy, double);
   12457 	  break;
   12458 	default:
   12459 	  break;
   12460 	}
   12461     }
   12462   va_end (args_copy);
   12463   va_end (args);
   12464 }
   12465 
   12466 int
   12467 main ()
   12468 {
   12469 
   12470   // Check bool.
   12471   _Bool success = false;
   12472 
   12473   // Check restrict.
   12474   if (test_restrict ("String literal") == 0)
   12475     success = true;
   12476   char *restrict newvar = "Another string";
   12477 
   12478   // Check varargs.
   12479   test_varargs ("s, d' f .", "string", 65, 34.234);
   12480   test_varargs_macros ();
   12481 
   12482   // Check flexible array members.
   12483   struct incomplete_array *ia =
   12484     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12485   ia->datasize = 10;
   12486   for (int i = 0; i < ia->datasize; ++i)
   12487     ia->data[i] = i * 1.234;
   12488 
   12489   // Check named initializers.
   12490   struct named_init ni = {
   12491     .number = 34,
   12492     .name = L"Test wide string",
   12493     .average = 543.34343,
   12494   };
   12495 
   12496   ni.number = 58;
   12497 
   12498   int dynamic_array[ni.number];
   12499   dynamic_array[ni.number - 1] = 543;
   12500 
   12501   // work around unused variable warnings
   12502   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12503 	  || dynamic_array[ni.number - 1] != 543);
   12504 
   12505   ;
   12506   return 0;
   12507 }
   12508 _ACEOF
   12509 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12510 do
   12511   CC="$ac_save_CC $ac_arg"
   12512   if ac_fn_c_try_compile "$LINENO"; then :
   12513   ac_cv_prog_cc_c99=$ac_arg
   12514 fi
   12515 rm -f core conftest.err conftest.$ac_objext
   12516   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12517 done
   12518 rm -f conftest.$ac_ext
   12519 CC=$ac_save_CC
   12520 
   12521 fi
   12522 # AC_CACHE_VAL
   12523 case "x$ac_cv_prog_cc_c99" in
   12524   x)
   12525     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12526 $as_echo "none needed" >&6; } ;;
   12527   xno)
   12528     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12529 $as_echo "unsupported" >&6; } ;;
   12530   *)
   12531     CC="$CC $ac_cv_prog_cc_c99"
   12532     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12533 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12534 esac
   12535 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12536 
   12537 fi
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12545 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12546   CLANGCC="yes"
   12547 else
   12548   CLANGCC="no"
   12549 fi
   12550 
   12551 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12552 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12553   INTELCC="yes"
   12554 else
   12555   INTELCC="no"
   12556 fi
   12557 
   12558 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12559 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12560   SUNCC="yes"
   12561 else
   12562   SUNCC="no"
   12563 fi
   12564 
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12574 	if test -n "$ac_tool_prefix"; then
   12575   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12576 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12578 $as_echo_n "checking for $ac_word... " >&6; }
   12579 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12580   $as_echo_n "(cached) " >&6
   12581 else
   12582   case $PKG_CONFIG in
   12583   [\\/]* | ?:[\\/]*)
   12584   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12585   ;;
   12586   *)
   12587   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12588 for as_dir in $PATH
   12589 do
   12590   IFS=$as_save_IFS
   12591   test -z "$as_dir" && as_dir=.
   12592     for ac_exec_ext in '' $ac_executable_extensions; do
   12593   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12594     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12596     break 2
   12597   fi
   12598 done
   12599   done
   12600 IFS=$as_save_IFS
   12601 
   12602   ;;
   12603 esac
   12604 fi
   12605 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12606 if test -n "$PKG_CONFIG"; then
   12607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12608 $as_echo "$PKG_CONFIG" >&6; }
   12609 else
   12610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12611 $as_echo "no" >&6; }
   12612 fi
   12613 
   12614 
   12615 fi
   12616 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12617   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12618   # Extract the first word of "pkg-config", so it can be a program name with args.
   12619 set dummy pkg-config; ac_word=$2
   12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12621 $as_echo_n "checking for $ac_word... " >&6; }
   12622 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12623   $as_echo_n "(cached) " >&6
   12624 else
   12625   case $ac_pt_PKG_CONFIG in
   12626   [\\/]* | ?:[\\/]*)
   12627   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12628   ;;
   12629   *)
   12630   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12631 for as_dir in $PATH
   12632 do
   12633   IFS=$as_save_IFS
   12634   test -z "$as_dir" && as_dir=.
   12635     for ac_exec_ext in '' $ac_executable_extensions; do
   12636   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12637     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12639     break 2
   12640   fi
   12641 done
   12642   done
   12643 IFS=$as_save_IFS
   12644 
   12645   ;;
   12646 esac
   12647 fi
   12648 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12649 if test -n "$ac_pt_PKG_CONFIG"; then
   12650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12651 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12652 else
   12653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12654 $as_echo "no" >&6; }
   12655 fi
   12656 
   12657   if test "x$ac_pt_PKG_CONFIG" = x; then
   12658     PKG_CONFIG=""
   12659   else
   12660     case $cross_compiling:$ac_tool_warned in
   12661 yes:)
   12662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12664 ac_tool_warned=yes ;;
   12665 esac
   12666     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12667   fi
   12668 else
   12669   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12670 fi
   12671 
   12672 fi
   12673 if test -n "$PKG_CONFIG"; then
   12674 	_pkg_min_version=0.9.0
   12675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12676 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12677 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12678 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12679 $as_echo "yes" >&6; }
   12680 	else
   12681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12682 $as_echo "no" >&6; }
   12683 		PKG_CONFIG=""
   12684 	fi
   12685 fi
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 # Check whether --enable-selective-werror was given.
   12692 if test "${enable_selective_werror+set}" = set; then :
   12693   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12694 else
   12695   SELECTIVE_WERROR=yes
   12696 fi
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12703 if test "x$SUNCC" = "xyes"; then
   12704     BASE_CFLAGS="-v"
   12705 else
   12706     BASE_CFLAGS=""
   12707 fi
   12708 
   12709 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723 xorg_testset_save_CFLAGS="$CFLAGS"
   12724 
   12725 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12728 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12729 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12730   $as_echo_n "(cached) " >&6
   12731 else
   12732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12733 /* end confdefs.h.  */
   12734 int i;
   12735 _ACEOF
   12736 if ac_fn_c_try_compile "$LINENO"; then :
   12737   xorg_cv_cc_flag_unknown_warning_option=yes
   12738 else
   12739   xorg_cv_cc_flag_unknown_warning_option=no
   12740 fi
   12741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12742 fi
   12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12744 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12746 	CFLAGS="$xorg_testset_save_CFLAGS"
   12747 fi
   12748 
   12749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12752 	fi
   12753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12755 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12756 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12757   $as_echo_n "(cached) " >&6
   12758 else
   12759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12760 /* end confdefs.h.  */
   12761 int i;
   12762 _ACEOF
   12763 if ac_fn_c_try_compile "$LINENO"; then :
   12764   xorg_cv_cc_flag_unused_command_line_argument=yes
   12765 else
   12766   xorg_cv_cc_flag_unused_command_line_argument=no
   12767 fi
   12768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12769 fi
   12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12771 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12773 	CFLAGS="$xorg_testset_save_CFLAGS"
   12774 fi
   12775 
   12776 found="no"
   12777 
   12778 	if test $found = "no" ; then
   12779 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12781 		fi
   12782 
   12783 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12785 		fi
   12786 
   12787 		CFLAGS="$CFLAGS -Wall"
   12788 
   12789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12790 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12791 		cacheid=xorg_cv_cc_flag__Wall
   12792 		if eval \${$cacheid+:} false; then :
   12793   $as_echo_n "(cached) " >&6
   12794 else
   12795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12796 /* end confdefs.h.  */
   12797 int i;
   12798 int
   12799 main ()
   12800 {
   12801 
   12802   ;
   12803   return 0;
   12804 }
   12805 _ACEOF
   12806 if ac_fn_c_try_link "$LINENO"; then :
   12807   eval $cacheid=yes
   12808 else
   12809   eval $cacheid=no
   12810 fi
   12811 rm -f core conftest.err conftest.$ac_objext \
   12812     conftest$ac_exeext conftest.$ac_ext
   12813 fi
   12814 
   12815 
   12816 		CFLAGS="$xorg_testset_save_CFLAGS"
   12817 
   12818 		eval supported=\$$cacheid
   12819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12820 $as_echo "$supported" >&6; }
   12821 		if test "$supported" = "yes" ; then
   12822 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12823 			found="yes"
   12824 		fi
   12825 	fi
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 xorg_testset_save_CFLAGS="$CFLAGS"
   12842 
   12843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12846 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12847 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12848   $as_echo_n "(cached) " >&6
   12849 else
   12850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12851 /* end confdefs.h.  */
   12852 int i;
   12853 _ACEOF
   12854 if ac_fn_c_try_compile "$LINENO"; then :
   12855   xorg_cv_cc_flag_unknown_warning_option=yes
   12856 else
   12857   xorg_cv_cc_flag_unknown_warning_option=no
   12858 fi
   12859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12860 fi
   12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12862 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12864 	CFLAGS="$xorg_testset_save_CFLAGS"
   12865 fi
   12866 
   12867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12870 	fi
   12871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12873 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12874 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12875   $as_echo_n "(cached) " >&6
   12876 else
   12877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12878 /* end confdefs.h.  */
   12879 int i;
   12880 _ACEOF
   12881 if ac_fn_c_try_compile "$LINENO"; then :
   12882   xorg_cv_cc_flag_unused_command_line_argument=yes
   12883 else
   12884   xorg_cv_cc_flag_unused_command_line_argument=no
   12885 fi
   12886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12887 fi
   12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12889 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12890 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12891 	CFLAGS="$xorg_testset_save_CFLAGS"
   12892 fi
   12893 
   12894 found="no"
   12895 
   12896 	if test $found = "no" ; then
   12897 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12899 		fi
   12900 
   12901 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12903 		fi
   12904 
   12905 		CFLAGS="$CFLAGS -Wpointer-arith"
   12906 
   12907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12908 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12909 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12910 		if eval \${$cacheid+:} false; then :
   12911   $as_echo_n "(cached) " >&6
   12912 else
   12913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12914 /* end confdefs.h.  */
   12915 int i;
   12916 int
   12917 main ()
   12918 {
   12919 
   12920   ;
   12921   return 0;
   12922 }
   12923 _ACEOF
   12924 if ac_fn_c_try_link "$LINENO"; then :
   12925   eval $cacheid=yes
   12926 else
   12927   eval $cacheid=no
   12928 fi
   12929 rm -f core conftest.err conftest.$ac_objext \
   12930     conftest$ac_exeext conftest.$ac_ext
   12931 fi
   12932 
   12933 
   12934 		CFLAGS="$xorg_testset_save_CFLAGS"
   12935 
   12936 		eval supported=\$$cacheid
   12937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12938 $as_echo "$supported" >&6; }
   12939 		if test "$supported" = "yes" ; then
   12940 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12941 			found="yes"
   12942 		fi
   12943 	fi
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 xorg_testset_save_CFLAGS="$CFLAGS"
   12960 
   12961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12964 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12965 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12966   $as_echo_n "(cached) " >&6
   12967 else
   12968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12969 /* end confdefs.h.  */
   12970 int i;
   12971 _ACEOF
   12972 if ac_fn_c_try_compile "$LINENO"; then :
   12973   xorg_cv_cc_flag_unknown_warning_option=yes
   12974 else
   12975   xorg_cv_cc_flag_unknown_warning_option=no
   12976 fi
   12977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12978 fi
   12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12980 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12982 	CFLAGS="$xorg_testset_save_CFLAGS"
   12983 fi
   12984 
   12985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12988 	fi
   12989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12991 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12992 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12993   $as_echo_n "(cached) " >&6
   12994 else
   12995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12996 /* end confdefs.h.  */
   12997 int i;
   12998 _ACEOF
   12999 if ac_fn_c_try_compile "$LINENO"; then :
   13000   xorg_cv_cc_flag_unused_command_line_argument=yes
   13001 else
   13002   xorg_cv_cc_flag_unused_command_line_argument=no
   13003 fi
   13004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13005 fi
   13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13007 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13009 	CFLAGS="$xorg_testset_save_CFLAGS"
   13010 fi
   13011 
   13012 found="no"
   13013 
   13014 	if test $found = "no" ; then
   13015 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13017 		fi
   13018 
   13019 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13021 		fi
   13022 
   13023 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13024 
   13025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13026 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   13027 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13028 		if eval \${$cacheid+:} false; then :
   13029   $as_echo_n "(cached) " >&6
   13030 else
   13031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13032 /* end confdefs.h.  */
   13033 int i;
   13034 int
   13035 main ()
   13036 {
   13037 
   13038   ;
   13039   return 0;
   13040 }
   13041 _ACEOF
   13042 if ac_fn_c_try_link "$LINENO"; then :
   13043   eval $cacheid=yes
   13044 else
   13045   eval $cacheid=no
   13046 fi
   13047 rm -f core conftest.err conftest.$ac_objext \
   13048     conftest$ac_exeext conftest.$ac_ext
   13049 fi
   13050 
   13051 
   13052 		CFLAGS="$xorg_testset_save_CFLAGS"
   13053 
   13054 		eval supported=\$$cacheid
   13055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13056 $as_echo "$supported" >&6; }
   13057 		if test "$supported" = "yes" ; then
   13058 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13059 			found="yes"
   13060 		fi
   13061 	fi
   13062 
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 
   13077 xorg_testset_save_CFLAGS="$CFLAGS"
   13078 
   13079 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13080 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13082 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13083 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13084   $as_echo_n "(cached) " >&6
   13085 else
   13086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13087 /* end confdefs.h.  */
   13088 int i;
   13089 _ACEOF
   13090 if ac_fn_c_try_compile "$LINENO"; then :
   13091   xorg_cv_cc_flag_unknown_warning_option=yes
   13092 else
   13093   xorg_cv_cc_flag_unknown_warning_option=no
   13094 fi
   13095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13096 fi
   13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13098 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13100 	CFLAGS="$xorg_testset_save_CFLAGS"
   13101 fi
   13102 
   13103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13106 	fi
   13107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13109 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13110 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13111   $as_echo_n "(cached) " >&6
   13112 else
   13113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13114 /* end confdefs.h.  */
   13115 int i;
   13116 _ACEOF
   13117 if ac_fn_c_try_compile "$LINENO"; then :
   13118   xorg_cv_cc_flag_unused_command_line_argument=yes
   13119 else
   13120   xorg_cv_cc_flag_unused_command_line_argument=no
   13121 fi
   13122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13123 fi
   13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13125 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13127 	CFLAGS="$xorg_testset_save_CFLAGS"
   13128 fi
   13129 
   13130 found="no"
   13131 
   13132 	if test $found = "no" ; then
   13133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13135 		fi
   13136 
   13137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13139 		fi
   13140 
   13141 		CFLAGS="$CFLAGS -Wformat=2"
   13142 
   13143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13144 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   13145 		cacheid=xorg_cv_cc_flag__Wformat_2
   13146 		if eval \${$cacheid+:} false; then :
   13147   $as_echo_n "(cached) " >&6
   13148 else
   13149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13150 /* end confdefs.h.  */
   13151 int i;
   13152 int
   13153 main ()
   13154 {
   13155 
   13156   ;
   13157   return 0;
   13158 }
   13159 _ACEOF
   13160 if ac_fn_c_try_link "$LINENO"; then :
   13161   eval $cacheid=yes
   13162 else
   13163   eval $cacheid=no
   13164 fi
   13165 rm -f core conftest.err conftest.$ac_objext \
   13166     conftest$ac_exeext conftest.$ac_ext
   13167 fi
   13168 
   13169 
   13170 		CFLAGS="$xorg_testset_save_CFLAGS"
   13171 
   13172 		eval supported=\$$cacheid
   13173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13174 $as_echo "$supported" >&6; }
   13175 		if test "$supported" = "yes" ; then
   13176 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13177 			found="yes"
   13178 		fi
   13179 	fi
   13180 
   13181 	if test $found = "no" ; then
   13182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13184 		fi
   13185 
   13186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13188 		fi
   13189 
   13190 		CFLAGS="$CFLAGS -Wformat"
   13191 
   13192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13193 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   13194 		cacheid=xorg_cv_cc_flag__Wformat
   13195 		if eval \${$cacheid+:} false; then :
   13196   $as_echo_n "(cached) " >&6
   13197 else
   13198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13199 /* end confdefs.h.  */
   13200 int i;
   13201 int
   13202 main ()
   13203 {
   13204 
   13205   ;
   13206   return 0;
   13207 }
   13208 _ACEOF
   13209 if ac_fn_c_try_link "$LINENO"; then :
   13210   eval $cacheid=yes
   13211 else
   13212   eval $cacheid=no
   13213 fi
   13214 rm -f core conftest.err conftest.$ac_objext \
   13215     conftest$ac_exeext conftest.$ac_ext
   13216 fi
   13217 
   13218 
   13219 		CFLAGS="$xorg_testset_save_CFLAGS"
   13220 
   13221 		eval supported=\$$cacheid
   13222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13223 $as_echo "$supported" >&6; }
   13224 		if test "$supported" = "yes" ; then
   13225 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13226 			found="yes"
   13227 		fi
   13228 	fi
   13229 
   13230 
   13231 
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 xorg_testset_save_CFLAGS="$CFLAGS"
   13247 
   13248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13251 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13252 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13253   $as_echo_n "(cached) " >&6
   13254 else
   13255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13256 /* end confdefs.h.  */
   13257 int i;
   13258 _ACEOF
   13259 if ac_fn_c_try_compile "$LINENO"; then :
   13260   xorg_cv_cc_flag_unknown_warning_option=yes
   13261 else
   13262   xorg_cv_cc_flag_unknown_warning_option=no
   13263 fi
   13264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13265 fi
   13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13267 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13269 	CFLAGS="$xorg_testset_save_CFLAGS"
   13270 fi
   13271 
   13272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13275 	fi
   13276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13278 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13279 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13280   $as_echo_n "(cached) " >&6
   13281 else
   13282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13283 /* end confdefs.h.  */
   13284 int i;
   13285 _ACEOF
   13286 if ac_fn_c_try_compile "$LINENO"; then :
   13287   xorg_cv_cc_flag_unused_command_line_argument=yes
   13288 else
   13289   xorg_cv_cc_flag_unused_command_line_argument=no
   13290 fi
   13291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13292 fi
   13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13294 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13295 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13296 	CFLAGS="$xorg_testset_save_CFLAGS"
   13297 fi
   13298 
   13299 found="no"
   13300 
   13301 	if test $found = "no" ; then
   13302 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13304 		fi
   13305 
   13306 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13308 		fi
   13309 
   13310 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13311 
   13312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13313 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13314 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13315 		if eval \${$cacheid+:} false; then :
   13316   $as_echo_n "(cached) " >&6
   13317 else
   13318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13319 /* end confdefs.h.  */
   13320 int i;
   13321 int
   13322 main ()
   13323 {
   13324 
   13325   ;
   13326   return 0;
   13327 }
   13328 _ACEOF
   13329 if ac_fn_c_try_link "$LINENO"; then :
   13330   eval $cacheid=yes
   13331 else
   13332   eval $cacheid=no
   13333 fi
   13334 rm -f core conftest.err conftest.$ac_objext \
   13335     conftest$ac_exeext conftest.$ac_ext
   13336 fi
   13337 
   13338 
   13339 		CFLAGS="$xorg_testset_save_CFLAGS"
   13340 
   13341 		eval supported=\$$cacheid
   13342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13343 $as_echo "$supported" >&6; }
   13344 		if test "$supported" = "yes" ; then
   13345 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13346 			found="yes"
   13347 		fi
   13348 	fi
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 xorg_testset_save_CFLAGS="$CFLAGS"
   13365 
   13366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13369 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13370 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13371   $as_echo_n "(cached) " >&6
   13372 else
   13373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13374 /* end confdefs.h.  */
   13375 int i;
   13376 _ACEOF
   13377 if ac_fn_c_try_compile "$LINENO"; then :
   13378   xorg_cv_cc_flag_unknown_warning_option=yes
   13379 else
   13380   xorg_cv_cc_flag_unknown_warning_option=no
   13381 fi
   13382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13383 fi
   13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13385 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13387 	CFLAGS="$xorg_testset_save_CFLAGS"
   13388 fi
   13389 
   13390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13393 	fi
   13394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13396 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13397 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13398   $as_echo_n "(cached) " >&6
   13399 else
   13400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13401 /* end confdefs.h.  */
   13402 int i;
   13403 _ACEOF
   13404 if ac_fn_c_try_compile "$LINENO"; then :
   13405   xorg_cv_cc_flag_unused_command_line_argument=yes
   13406 else
   13407   xorg_cv_cc_flag_unused_command_line_argument=no
   13408 fi
   13409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13410 fi
   13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13412 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13413 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13414 	CFLAGS="$xorg_testset_save_CFLAGS"
   13415 fi
   13416 
   13417 found="no"
   13418 
   13419 	if test $found = "no" ; then
   13420 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13422 		fi
   13423 
   13424 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13426 		fi
   13427 
   13428 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13429 
   13430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13431 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13432 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13433 		if eval \${$cacheid+:} false; then :
   13434   $as_echo_n "(cached) " >&6
   13435 else
   13436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13437 /* end confdefs.h.  */
   13438 int i;
   13439 int
   13440 main ()
   13441 {
   13442 
   13443   ;
   13444   return 0;
   13445 }
   13446 _ACEOF
   13447 if ac_fn_c_try_link "$LINENO"; then :
   13448   eval $cacheid=yes
   13449 else
   13450   eval $cacheid=no
   13451 fi
   13452 rm -f core conftest.err conftest.$ac_objext \
   13453     conftest$ac_exeext conftest.$ac_ext
   13454 fi
   13455 
   13456 
   13457 		CFLAGS="$xorg_testset_save_CFLAGS"
   13458 
   13459 		eval supported=\$$cacheid
   13460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13461 $as_echo "$supported" >&6; }
   13462 		if test "$supported" = "yes" ; then
   13463 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13464 			found="yes"
   13465 		fi
   13466 	fi
   13467 
   13468 
   13469 
   13470 
   13471 
   13472 
   13473 
   13474 
   13475 
   13476 
   13477 
   13478 
   13479 
   13480 
   13481 
   13482 xorg_testset_save_CFLAGS="$CFLAGS"
   13483 
   13484 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13485 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13487 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13488 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13489   $as_echo_n "(cached) " >&6
   13490 else
   13491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13492 /* end confdefs.h.  */
   13493 int i;
   13494 _ACEOF
   13495 if ac_fn_c_try_compile "$LINENO"; then :
   13496   xorg_cv_cc_flag_unknown_warning_option=yes
   13497 else
   13498   xorg_cv_cc_flag_unknown_warning_option=no
   13499 fi
   13500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13501 fi
   13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13503 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13505 	CFLAGS="$xorg_testset_save_CFLAGS"
   13506 fi
   13507 
   13508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13511 	fi
   13512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13514 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13515 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13516   $as_echo_n "(cached) " >&6
   13517 else
   13518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13519 /* end confdefs.h.  */
   13520 int i;
   13521 _ACEOF
   13522 if ac_fn_c_try_compile "$LINENO"; then :
   13523   xorg_cv_cc_flag_unused_command_line_argument=yes
   13524 else
   13525   xorg_cv_cc_flag_unused_command_line_argument=no
   13526 fi
   13527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13528 fi
   13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13530 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13531 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13532 	CFLAGS="$xorg_testset_save_CFLAGS"
   13533 fi
   13534 
   13535 found="no"
   13536 
   13537 	if test $found = "no" ; then
   13538 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13539 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13540 		fi
   13541 
   13542 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13543 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13544 		fi
   13545 
   13546 		CFLAGS="$CFLAGS -Wnested-externs"
   13547 
   13548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13549 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13550 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13551 		if eval \${$cacheid+:} false; then :
   13552   $as_echo_n "(cached) " >&6
   13553 else
   13554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13555 /* end confdefs.h.  */
   13556 int i;
   13557 int
   13558 main ()
   13559 {
   13560 
   13561   ;
   13562   return 0;
   13563 }
   13564 _ACEOF
   13565 if ac_fn_c_try_link "$LINENO"; then :
   13566   eval $cacheid=yes
   13567 else
   13568   eval $cacheid=no
   13569 fi
   13570 rm -f core conftest.err conftest.$ac_objext \
   13571     conftest$ac_exeext conftest.$ac_ext
   13572 fi
   13573 
   13574 
   13575 		CFLAGS="$xorg_testset_save_CFLAGS"
   13576 
   13577 		eval supported=\$$cacheid
   13578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13579 $as_echo "$supported" >&6; }
   13580 		if test "$supported" = "yes" ; then
   13581 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13582 			found="yes"
   13583 		fi
   13584 	fi
   13585 
   13586 
   13587 
   13588 
   13589 
   13590 
   13591 
   13592 
   13593 
   13594 
   13595 
   13596 
   13597 
   13598 
   13599 
   13600 xorg_testset_save_CFLAGS="$CFLAGS"
   13601 
   13602 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13603 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13604 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13605 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13606 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13607   $as_echo_n "(cached) " >&6
   13608 else
   13609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13610 /* end confdefs.h.  */
   13611 int i;
   13612 _ACEOF
   13613 if ac_fn_c_try_compile "$LINENO"; then :
   13614   xorg_cv_cc_flag_unknown_warning_option=yes
   13615 else
   13616   xorg_cv_cc_flag_unknown_warning_option=no
   13617 fi
   13618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13619 fi
   13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13621 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13622 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13623 	CFLAGS="$xorg_testset_save_CFLAGS"
   13624 fi
   13625 
   13626 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13627 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13628 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13629 	fi
   13630 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13632 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13633 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13634   $as_echo_n "(cached) " >&6
   13635 else
   13636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13637 /* end confdefs.h.  */
   13638 int i;
   13639 _ACEOF
   13640 if ac_fn_c_try_compile "$LINENO"; then :
   13641   xorg_cv_cc_flag_unused_command_line_argument=yes
   13642 else
   13643   xorg_cv_cc_flag_unused_command_line_argument=no
   13644 fi
   13645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13646 fi
   13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13648 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13649 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13650 	CFLAGS="$xorg_testset_save_CFLAGS"
   13651 fi
   13652 
   13653 found="no"
   13654 
   13655 	if test $found = "no" ; then
   13656 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13657 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13658 		fi
   13659 
   13660 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13661 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13662 		fi
   13663 
   13664 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13665 
   13666 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13667 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13668 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13669 		if eval \${$cacheid+:} false; then :
   13670   $as_echo_n "(cached) " >&6
   13671 else
   13672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13673 /* end confdefs.h.  */
   13674 int i;
   13675 int
   13676 main ()
   13677 {
   13678 
   13679   ;
   13680   return 0;
   13681 }
   13682 _ACEOF
   13683 if ac_fn_c_try_link "$LINENO"; then :
   13684   eval $cacheid=yes
   13685 else
   13686   eval $cacheid=no
   13687 fi
   13688 rm -f core conftest.err conftest.$ac_objext \
   13689     conftest$ac_exeext conftest.$ac_ext
   13690 fi
   13691 
   13692 
   13693 		CFLAGS="$xorg_testset_save_CFLAGS"
   13694 
   13695 		eval supported=\$$cacheid
   13696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13697 $as_echo "$supported" >&6; }
   13698 		if test "$supported" = "yes" ; then
   13699 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13700 			found="yes"
   13701 		fi
   13702 	fi
   13703 
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 
   13711 
   13712 
   13713 
   13714 
   13715 
   13716 
   13717 
   13718 xorg_testset_save_CFLAGS="$CFLAGS"
   13719 
   13720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13722 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13723 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13724 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13725   $as_echo_n "(cached) " >&6
   13726 else
   13727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13728 /* end confdefs.h.  */
   13729 int i;
   13730 _ACEOF
   13731 if ac_fn_c_try_compile "$LINENO"; then :
   13732   xorg_cv_cc_flag_unknown_warning_option=yes
   13733 else
   13734   xorg_cv_cc_flag_unknown_warning_option=no
   13735 fi
   13736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13737 fi
   13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13739 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13740 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13741 	CFLAGS="$xorg_testset_save_CFLAGS"
   13742 fi
   13743 
   13744 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13745 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13746 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13747 	fi
   13748 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13749 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13750 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13751 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13752   $as_echo_n "(cached) " >&6
   13753 else
   13754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13755 /* end confdefs.h.  */
   13756 int i;
   13757 _ACEOF
   13758 if ac_fn_c_try_compile "$LINENO"; then :
   13759   xorg_cv_cc_flag_unused_command_line_argument=yes
   13760 else
   13761   xorg_cv_cc_flag_unused_command_line_argument=no
   13762 fi
   13763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13764 fi
   13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13766 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13767 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13768 	CFLAGS="$xorg_testset_save_CFLAGS"
   13769 fi
   13770 
   13771 found="no"
   13772 
   13773 	if test $found = "no" ; then
   13774 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13776 		fi
   13777 
   13778 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13780 		fi
   13781 
   13782 		CFLAGS="$CFLAGS -Wold-style-definition"
   13783 
   13784 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13785 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13786 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13787 		if eval \${$cacheid+:} false; then :
   13788   $as_echo_n "(cached) " >&6
   13789 else
   13790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13791 /* end confdefs.h.  */
   13792 int i;
   13793 int
   13794 main ()
   13795 {
   13796 
   13797   ;
   13798   return 0;
   13799 }
   13800 _ACEOF
   13801 if ac_fn_c_try_link "$LINENO"; then :
   13802   eval $cacheid=yes
   13803 else
   13804   eval $cacheid=no
   13805 fi
   13806 rm -f core conftest.err conftest.$ac_objext \
   13807     conftest$ac_exeext conftest.$ac_ext
   13808 fi
   13809 
   13810 
   13811 		CFLAGS="$xorg_testset_save_CFLAGS"
   13812 
   13813 		eval supported=\$$cacheid
   13814 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13815 $as_echo "$supported" >&6; }
   13816 		if test "$supported" = "yes" ; then
   13817 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13818 			found="yes"
   13819 		fi
   13820 	fi
   13821 
   13822 	if test $found = "no" ; then
   13823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13825 		fi
   13826 
   13827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13829 		fi
   13830 
   13831 		CFLAGS="$CFLAGS -fd"
   13832 
   13833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13834 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13835 		cacheid=xorg_cv_cc_flag__fd
   13836 		if eval \${$cacheid+:} false; then :
   13837   $as_echo_n "(cached) " >&6
   13838 else
   13839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13840 /* end confdefs.h.  */
   13841 int i;
   13842 int
   13843 main ()
   13844 {
   13845 
   13846   ;
   13847   return 0;
   13848 }
   13849 _ACEOF
   13850 if ac_fn_c_try_link "$LINENO"; then :
   13851   eval $cacheid=yes
   13852 else
   13853   eval $cacheid=no
   13854 fi
   13855 rm -f core conftest.err conftest.$ac_objext \
   13856     conftest$ac_exeext conftest.$ac_ext
   13857 fi
   13858 
   13859 
   13860 		CFLAGS="$xorg_testset_save_CFLAGS"
   13861 
   13862 		eval supported=\$$cacheid
   13863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13864 $as_echo "$supported" >&6; }
   13865 		if test "$supported" = "yes" ; then
   13866 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13867 			found="yes"
   13868 		fi
   13869 	fi
   13870 
   13871 
   13872 
   13873 
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 
   13885 xorg_testset_save_CFLAGS="$CFLAGS"
   13886 
   13887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13890 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13891 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13892   $as_echo_n "(cached) " >&6
   13893 else
   13894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13895 /* end confdefs.h.  */
   13896 int i;
   13897 _ACEOF
   13898 if ac_fn_c_try_compile "$LINENO"; then :
   13899   xorg_cv_cc_flag_unknown_warning_option=yes
   13900 else
   13901   xorg_cv_cc_flag_unknown_warning_option=no
   13902 fi
   13903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13904 fi
   13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13906 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13908 	CFLAGS="$xorg_testset_save_CFLAGS"
   13909 fi
   13910 
   13911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13914 	fi
   13915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13917 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13918 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13919   $as_echo_n "(cached) " >&6
   13920 else
   13921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13922 /* end confdefs.h.  */
   13923 int i;
   13924 _ACEOF
   13925 if ac_fn_c_try_compile "$LINENO"; then :
   13926   xorg_cv_cc_flag_unused_command_line_argument=yes
   13927 else
   13928   xorg_cv_cc_flag_unused_command_line_argument=no
   13929 fi
   13930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13931 fi
   13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13933 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13935 	CFLAGS="$xorg_testset_save_CFLAGS"
   13936 fi
   13937 
   13938 found="no"
   13939 
   13940 	if test $found = "no" ; then
   13941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13943 		fi
   13944 
   13945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13947 		fi
   13948 
   13949 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13950 
   13951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13952 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13953 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13954 		if eval \${$cacheid+:} false; then :
   13955   $as_echo_n "(cached) " >&6
   13956 else
   13957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13958 /* end confdefs.h.  */
   13959 int i;
   13960 int
   13961 main ()
   13962 {
   13963 
   13964   ;
   13965   return 0;
   13966 }
   13967 _ACEOF
   13968 if ac_fn_c_try_link "$LINENO"; then :
   13969   eval $cacheid=yes
   13970 else
   13971   eval $cacheid=no
   13972 fi
   13973 rm -f core conftest.err conftest.$ac_objext \
   13974     conftest$ac_exeext conftest.$ac_ext
   13975 fi
   13976 
   13977 
   13978 		CFLAGS="$xorg_testset_save_CFLAGS"
   13979 
   13980 		eval supported=\$$cacheid
   13981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13982 $as_echo "$supported" >&6; }
   13983 		if test "$supported" = "yes" ; then
   13984 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13985 			found="yes"
   13986 		fi
   13987 	fi
   13988 
   13989 
   13990 
   13991 
   13992 
   13993 # This chunk adds additional warnings that could catch undesired effects.
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 xorg_testset_save_CFLAGS="$CFLAGS"
   14008 
   14009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14012 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14013 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14014   $as_echo_n "(cached) " >&6
   14015 else
   14016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14017 /* end confdefs.h.  */
   14018 int i;
   14019 _ACEOF
   14020 if ac_fn_c_try_compile "$LINENO"; then :
   14021   xorg_cv_cc_flag_unknown_warning_option=yes
   14022 else
   14023   xorg_cv_cc_flag_unknown_warning_option=no
   14024 fi
   14025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14026 fi
   14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14028 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14030 	CFLAGS="$xorg_testset_save_CFLAGS"
   14031 fi
   14032 
   14033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14036 	fi
   14037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14039 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14040 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14041   $as_echo_n "(cached) " >&6
   14042 else
   14043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14044 /* end confdefs.h.  */
   14045 int i;
   14046 _ACEOF
   14047 if ac_fn_c_try_compile "$LINENO"; then :
   14048   xorg_cv_cc_flag_unused_command_line_argument=yes
   14049 else
   14050   xorg_cv_cc_flag_unused_command_line_argument=no
   14051 fi
   14052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14053 fi
   14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14055 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14057 	CFLAGS="$xorg_testset_save_CFLAGS"
   14058 fi
   14059 
   14060 found="no"
   14061 
   14062 	if test $found = "no" ; then
   14063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14065 		fi
   14066 
   14067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14069 		fi
   14070 
   14071 		CFLAGS="$CFLAGS -Wunused"
   14072 
   14073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14074 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   14075 		cacheid=xorg_cv_cc_flag__Wunused
   14076 		if eval \${$cacheid+:} false; then :
   14077   $as_echo_n "(cached) " >&6
   14078 else
   14079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14080 /* end confdefs.h.  */
   14081 int i;
   14082 int
   14083 main ()
   14084 {
   14085 
   14086   ;
   14087   return 0;
   14088 }
   14089 _ACEOF
   14090 if ac_fn_c_try_link "$LINENO"; then :
   14091   eval $cacheid=yes
   14092 else
   14093   eval $cacheid=no
   14094 fi
   14095 rm -f core conftest.err conftest.$ac_objext \
   14096     conftest$ac_exeext conftest.$ac_ext
   14097 fi
   14098 
   14099 
   14100 		CFLAGS="$xorg_testset_save_CFLAGS"
   14101 
   14102 		eval supported=\$$cacheid
   14103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14104 $as_echo "$supported" >&6; }
   14105 		if test "$supported" = "yes" ; then
   14106 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14107 			found="yes"
   14108 		fi
   14109 	fi
   14110 
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 
   14125 xorg_testset_save_CFLAGS="$CFLAGS"
   14126 
   14127 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14128 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14130 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14131 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14132   $as_echo_n "(cached) " >&6
   14133 else
   14134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14135 /* end confdefs.h.  */
   14136 int i;
   14137 _ACEOF
   14138 if ac_fn_c_try_compile "$LINENO"; then :
   14139   xorg_cv_cc_flag_unknown_warning_option=yes
   14140 else
   14141   xorg_cv_cc_flag_unknown_warning_option=no
   14142 fi
   14143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14144 fi
   14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14146 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14147 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14148 	CFLAGS="$xorg_testset_save_CFLAGS"
   14149 fi
   14150 
   14151 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14152 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14153 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14154 	fi
   14155 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14157 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14158 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14159   $as_echo_n "(cached) " >&6
   14160 else
   14161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14162 /* end confdefs.h.  */
   14163 int i;
   14164 _ACEOF
   14165 if ac_fn_c_try_compile "$LINENO"; then :
   14166   xorg_cv_cc_flag_unused_command_line_argument=yes
   14167 else
   14168   xorg_cv_cc_flag_unused_command_line_argument=no
   14169 fi
   14170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14171 fi
   14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14173 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14175 	CFLAGS="$xorg_testset_save_CFLAGS"
   14176 fi
   14177 
   14178 found="no"
   14179 
   14180 	if test $found = "no" ; then
   14181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14183 		fi
   14184 
   14185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14187 		fi
   14188 
   14189 		CFLAGS="$CFLAGS -Wuninitialized"
   14190 
   14191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14192 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   14193 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14194 		if eval \${$cacheid+:} false; then :
   14195   $as_echo_n "(cached) " >&6
   14196 else
   14197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14198 /* end confdefs.h.  */
   14199 int i;
   14200 int
   14201 main ()
   14202 {
   14203 
   14204   ;
   14205   return 0;
   14206 }
   14207 _ACEOF
   14208 if ac_fn_c_try_link "$LINENO"; then :
   14209   eval $cacheid=yes
   14210 else
   14211   eval $cacheid=no
   14212 fi
   14213 rm -f core conftest.err conftest.$ac_objext \
   14214     conftest$ac_exeext conftest.$ac_ext
   14215 fi
   14216 
   14217 
   14218 		CFLAGS="$xorg_testset_save_CFLAGS"
   14219 
   14220 		eval supported=\$$cacheid
   14221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14222 $as_echo "$supported" >&6; }
   14223 		if test "$supported" = "yes" ; then
   14224 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14225 			found="yes"
   14226 		fi
   14227 	fi
   14228 
   14229 
   14230 
   14231 
   14232 
   14233 
   14234 
   14235 
   14236 
   14237 
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 xorg_testset_save_CFLAGS="$CFLAGS"
   14244 
   14245 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14246 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14247 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14248 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14249 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14250   $as_echo_n "(cached) " >&6
   14251 else
   14252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14253 /* end confdefs.h.  */
   14254 int i;
   14255 _ACEOF
   14256 if ac_fn_c_try_compile "$LINENO"; then :
   14257   xorg_cv_cc_flag_unknown_warning_option=yes
   14258 else
   14259   xorg_cv_cc_flag_unknown_warning_option=no
   14260 fi
   14261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14262 fi
   14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14264 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14266 	CFLAGS="$xorg_testset_save_CFLAGS"
   14267 fi
   14268 
   14269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14272 	fi
   14273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14275 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14276 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14277   $as_echo_n "(cached) " >&6
   14278 else
   14279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14280 /* end confdefs.h.  */
   14281 int i;
   14282 _ACEOF
   14283 if ac_fn_c_try_compile "$LINENO"; then :
   14284   xorg_cv_cc_flag_unused_command_line_argument=yes
   14285 else
   14286   xorg_cv_cc_flag_unused_command_line_argument=no
   14287 fi
   14288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14289 fi
   14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14291 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14292 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14293 	CFLAGS="$xorg_testset_save_CFLAGS"
   14294 fi
   14295 
   14296 found="no"
   14297 
   14298 	if test $found = "no" ; then
   14299 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14300 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14301 		fi
   14302 
   14303 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14304 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14305 		fi
   14306 
   14307 		CFLAGS="$CFLAGS -Wshadow"
   14308 
   14309 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14310 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   14311 		cacheid=xorg_cv_cc_flag__Wshadow
   14312 		if eval \${$cacheid+:} false; then :
   14313   $as_echo_n "(cached) " >&6
   14314 else
   14315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14316 /* end confdefs.h.  */
   14317 int i;
   14318 int
   14319 main ()
   14320 {
   14321 
   14322   ;
   14323   return 0;
   14324 }
   14325 _ACEOF
   14326 if ac_fn_c_try_link "$LINENO"; then :
   14327   eval $cacheid=yes
   14328 else
   14329   eval $cacheid=no
   14330 fi
   14331 rm -f core conftest.err conftest.$ac_objext \
   14332     conftest$ac_exeext conftest.$ac_ext
   14333 fi
   14334 
   14335 
   14336 		CFLAGS="$xorg_testset_save_CFLAGS"
   14337 
   14338 		eval supported=\$$cacheid
   14339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14340 $as_echo "$supported" >&6; }
   14341 		if test "$supported" = "yes" ; then
   14342 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14343 			found="yes"
   14344 		fi
   14345 	fi
   14346 
   14347 
   14348 
   14349 
   14350 
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 xorg_testset_save_CFLAGS="$CFLAGS"
   14362 
   14363 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14364 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14365 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14366 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14367 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14368   $as_echo_n "(cached) " >&6
   14369 else
   14370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14371 /* end confdefs.h.  */
   14372 int i;
   14373 _ACEOF
   14374 if ac_fn_c_try_compile "$LINENO"; then :
   14375   xorg_cv_cc_flag_unknown_warning_option=yes
   14376 else
   14377   xorg_cv_cc_flag_unknown_warning_option=no
   14378 fi
   14379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14380 fi
   14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14382 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14383 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14384 	CFLAGS="$xorg_testset_save_CFLAGS"
   14385 fi
   14386 
   14387 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14388 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14389 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14390 	fi
   14391 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14393 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14394 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14395   $as_echo_n "(cached) " >&6
   14396 else
   14397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14398 /* end confdefs.h.  */
   14399 int i;
   14400 _ACEOF
   14401 if ac_fn_c_try_compile "$LINENO"; then :
   14402   xorg_cv_cc_flag_unused_command_line_argument=yes
   14403 else
   14404   xorg_cv_cc_flag_unused_command_line_argument=no
   14405 fi
   14406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14407 fi
   14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14409 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14410 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14411 	CFLAGS="$xorg_testset_save_CFLAGS"
   14412 fi
   14413 
   14414 found="no"
   14415 
   14416 	if test $found = "no" ; then
   14417 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14418 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14419 		fi
   14420 
   14421 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14422 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14423 		fi
   14424 
   14425 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14426 
   14427 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14428 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14429 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14430 		if eval \${$cacheid+:} false; then :
   14431   $as_echo_n "(cached) " >&6
   14432 else
   14433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14434 /* end confdefs.h.  */
   14435 int i;
   14436 int
   14437 main ()
   14438 {
   14439 
   14440   ;
   14441   return 0;
   14442 }
   14443 _ACEOF
   14444 if ac_fn_c_try_link "$LINENO"; then :
   14445   eval $cacheid=yes
   14446 else
   14447   eval $cacheid=no
   14448 fi
   14449 rm -f core conftest.err conftest.$ac_objext \
   14450     conftest$ac_exeext conftest.$ac_ext
   14451 fi
   14452 
   14453 
   14454 		CFLAGS="$xorg_testset_save_CFLAGS"
   14455 
   14456 		eval supported=\$$cacheid
   14457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14458 $as_echo "$supported" >&6; }
   14459 		if test "$supported" = "yes" ; then
   14460 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14461 			found="yes"
   14462 		fi
   14463 	fi
   14464 
   14465 
   14466 
   14467 
   14468 
   14469 
   14470 
   14471 
   14472 
   14473 
   14474 
   14475 
   14476 
   14477 
   14478 
   14479 xorg_testset_save_CFLAGS="$CFLAGS"
   14480 
   14481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14483 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14484 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14485 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14486   $as_echo_n "(cached) " >&6
   14487 else
   14488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14489 /* end confdefs.h.  */
   14490 int i;
   14491 _ACEOF
   14492 if ac_fn_c_try_compile "$LINENO"; then :
   14493   xorg_cv_cc_flag_unknown_warning_option=yes
   14494 else
   14495   xorg_cv_cc_flag_unknown_warning_option=no
   14496 fi
   14497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14498 fi
   14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14500 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14501 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14502 	CFLAGS="$xorg_testset_save_CFLAGS"
   14503 fi
   14504 
   14505 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14506 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14508 	fi
   14509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14510 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14511 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14512 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14513   $as_echo_n "(cached) " >&6
   14514 else
   14515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14516 /* end confdefs.h.  */
   14517 int i;
   14518 _ACEOF
   14519 if ac_fn_c_try_compile "$LINENO"; then :
   14520   xorg_cv_cc_flag_unused_command_line_argument=yes
   14521 else
   14522   xorg_cv_cc_flag_unused_command_line_argument=no
   14523 fi
   14524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14525 fi
   14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14527 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14528 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14529 	CFLAGS="$xorg_testset_save_CFLAGS"
   14530 fi
   14531 
   14532 found="no"
   14533 
   14534 	if test $found = "no" ; then
   14535 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14537 		fi
   14538 
   14539 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14541 		fi
   14542 
   14543 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14544 
   14545 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14546 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14547 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14548 		if eval \${$cacheid+:} false; then :
   14549   $as_echo_n "(cached) " >&6
   14550 else
   14551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14552 /* end confdefs.h.  */
   14553 int i;
   14554 int
   14555 main ()
   14556 {
   14557 
   14558   ;
   14559   return 0;
   14560 }
   14561 _ACEOF
   14562 if ac_fn_c_try_link "$LINENO"; then :
   14563   eval $cacheid=yes
   14564 else
   14565   eval $cacheid=no
   14566 fi
   14567 rm -f core conftest.err conftest.$ac_objext \
   14568     conftest$ac_exeext conftest.$ac_ext
   14569 fi
   14570 
   14571 
   14572 		CFLAGS="$xorg_testset_save_CFLAGS"
   14573 
   14574 		eval supported=\$$cacheid
   14575 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14576 $as_echo "$supported" >&6; }
   14577 		if test "$supported" = "yes" ; then
   14578 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14579 			found="yes"
   14580 		fi
   14581 	fi
   14582 
   14583 
   14584 
   14585 
   14586 
   14587 
   14588 
   14589 
   14590 
   14591 
   14592 
   14593 
   14594 
   14595 
   14596 
   14597 xorg_testset_save_CFLAGS="$CFLAGS"
   14598 
   14599 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14600 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14601 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14602 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14603 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14604   $as_echo_n "(cached) " >&6
   14605 else
   14606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14607 /* end confdefs.h.  */
   14608 int i;
   14609 _ACEOF
   14610 if ac_fn_c_try_compile "$LINENO"; then :
   14611   xorg_cv_cc_flag_unknown_warning_option=yes
   14612 else
   14613   xorg_cv_cc_flag_unknown_warning_option=no
   14614 fi
   14615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14616 fi
   14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14618 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14619 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14620 	CFLAGS="$xorg_testset_save_CFLAGS"
   14621 fi
   14622 
   14623 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14624 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14625 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14626 	fi
   14627 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14629 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14630 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14631   $as_echo_n "(cached) " >&6
   14632 else
   14633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14634 /* end confdefs.h.  */
   14635 int i;
   14636 _ACEOF
   14637 if ac_fn_c_try_compile "$LINENO"; then :
   14638   xorg_cv_cc_flag_unused_command_line_argument=yes
   14639 else
   14640   xorg_cv_cc_flag_unused_command_line_argument=no
   14641 fi
   14642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14643 fi
   14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14645 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14646 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14647 	CFLAGS="$xorg_testset_save_CFLAGS"
   14648 fi
   14649 
   14650 found="no"
   14651 
   14652 	if test $found = "no" ; then
   14653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14655 		fi
   14656 
   14657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14659 		fi
   14660 
   14661 		CFLAGS="$CFLAGS -Wredundant-decls"
   14662 
   14663 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14664 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14665 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14666 		if eval \${$cacheid+:} false; then :
   14667   $as_echo_n "(cached) " >&6
   14668 else
   14669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14670 /* end confdefs.h.  */
   14671 int i;
   14672 int
   14673 main ()
   14674 {
   14675 
   14676   ;
   14677   return 0;
   14678 }
   14679 _ACEOF
   14680 if ac_fn_c_try_link "$LINENO"; then :
   14681   eval $cacheid=yes
   14682 else
   14683   eval $cacheid=no
   14684 fi
   14685 rm -f core conftest.err conftest.$ac_objext \
   14686     conftest$ac_exeext conftest.$ac_ext
   14687 fi
   14688 
   14689 
   14690 		CFLAGS="$xorg_testset_save_CFLAGS"
   14691 
   14692 		eval supported=\$$cacheid
   14693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14694 $as_echo "$supported" >&6; }
   14695 		if test "$supported" = "yes" ; then
   14696 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14697 			found="yes"
   14698 		fi
   14699 	fi
   14700 
   14701 
   14702 
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 
   14714 
   14715 xorg_testset_save_CFLAGS="$CFLAGS"
   14716 
   14717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14720 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14721 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14722   $as_echo_n "(cached) " >&6
   14723 else
   14724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14725 /* end confdefs.h.  */
   14726 int i;
   14727 _ACEOF
   14728 if ac_fn_c_try_compile "$LINENO"; then :
   14729   xorg_cv_cc_flag_unknown_warning_option=yes
   14730 else
   14731   xorg_cv_cc_flag_unknown_warning_option=no
   14732 fi
   14733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14734 fi
   14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14736 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14737 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14738 	CFLAGS="$xorg_testset_save_CFLAGS"
   14739 fi
   14740 
   14741 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14742 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14743 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14744 	fi
   14745 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14747 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14748 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14749   $as_echo_n "(cached) " >&6
   14750 else
   14751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14752 /* end confdefs.h.  */
   14753 int i;
   14754 _ACEOF
   14755 if ac_fn_c_try_compile "$LINENO"; then :
   14756   xorg_cv_cc_flag_unused_command_line_argument=yes
   14757 else
   14758   xorg_cv_cc_flag_unused_command_line_argument=no
   14759 fi
   14760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14761 fi
   14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14763 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14764 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14765 	CFLAGS="$xorg_testset_save_CFLAGS"
   14766 fi
   14767 
   14768 found="no"
   14769 
   14770 	if test $found = "no" ; then
   14771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14773 		fi
   14774 
   14775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14777 		fi
   14778 
   14779 		CFLAGS="$CFLAGS -Wlogical-op"
   14780 
   14781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14782 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14783 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14784 		if eval \${$cacheid+:} false; then :
   14785   $as_echo_n "(cached) " >&6
   14786 else
   14787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14788 /* end confdefs.h.  */
   14789 int i;
   14790 int
   14791 main ()
   14792 {
   14793 
   14794   ;
   14795   return 0;
   14796 }
   14797 _ACEOF
   14798 if ac_fn_c_try_link "$LINENO"; then :
   14799   eval $cacheid=yes
   14800 else
   14801   eval $cacheid=no
   14802 fi
   14803 rm -f core conftest.err conftest.$ac_objext \
   14804     conftest$ac_exeext conftest.$ac_ext
   14805 fi
   14806 
   14807 
   14808 		CFLAGS="$xorg_testset_save_CFLAGS"
   14809 
   14810 		eval supported=\$$cacheid
   14811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14812 $as_echo "$supported" >&6; }
   14813 		if test "$supported" = "yes" ; then
   14814 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14815 			found="yes"
   14816 		fi
   14817 	fi
   14818 
   14819 
   14820 
   14821 # These are currently disabled because they are noisy.  They will be enabled
   14822 # in the future once the codebase is sufficiently modernized to silence
   14823 # them.  For now, I don't want them to drown out the other warnings.
   14824 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14825 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14826 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14827 
   14828 # Turn some warnings into errors, so we don't accidently get successful builds
   14829 # when there are problems that should be fixed.
   14830 
   14831 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 xorg_testset_save_CFLAGS="$CFLAGS"
   14846 
   14847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14850 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14851 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14852   $as_echo_n "(cached) " >&6
   14853 else
   14854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14855 /* end confdefs.h.  */
   14856 int i;
   14857 _ACEOF
   14858 if ac_fn_c_try_compile "$LINENO"; then :
   14859   xorg_cv_cc_flag_unknown_warning_option=yes
   14860 else
   14861   xorg_cv_cc_flag_unknown_warning_option=no
   14862 fi
   14863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14864 fi
   14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14866 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14867 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14868 	CFLAGS="$xorg_testset_save_CFLAGS"
   14869 fi
   14870 
   14871 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14872 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14874 	fi
   14875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14877 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14878 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14879   $as_echo_n "(cached) " >&6
   14880 else
   14881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14882 /* end confdefs.h.  */
   14883 int i;
   14884 _ACEOF
   14885 if ac_fn_c_try_compile "$LINENO"; then :
   14886   xorg_cv_cc_flag_unused_command_line_argument=yes
   14887 else
   14888   xorg_cv_cc_flag_unused_command_line_argument=no
   14889 fi
   14890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14891 fi
   14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14893 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14895 	CFLAGS="$xorg_testset_save_CFLAGS"
   14896 fi
   14897 
   14898 found="no"
   14899 
   14900 	if test $found = "no" ; then
   14901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14903 		fi
   14904 
   14905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14907 		fi
   14908 
   14909 		CFLAGS="$CFLAGS -Werror=implicit"
   14910 
   14911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14912 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14913 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14914 		if eval \${$cacheid+:} false; then :
   14915   $as_echo_n "(cached) " >&6
   14916 else
   14917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14918 /* end confdefs.h.  */
   14919 int i;
   14920 int
   14921 main ()
   14922 {
   14923 
   14924   ;
   14925   return 0;
   14926 }
   14927 _ACEOF
   14928 if ac_fn_c_try_link "$LINENO"; then :
   14929   eval $cacheid=yes
   14930 else
   14931   eval $cacheid=no
   14932 fi
   14933 rm -f core conftest.err conftest.$ac_objext \
   14934     conftest$ac_exeext conftest.$ac_ext
   14935 fi
   14936 
   14937 
   14938 		CFLAGS="$xorg_testset_save_CFLAGS"
   14939 
   14940 		eval supported=\$$cacheid
   14941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14942 $as_echo "$supported" >&6; }
   14943 		if test "$supported" = "yes" ; then
   14944 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14945 			found="yes"
   14946 		fi
   14947 	fi
   14948 
   14949 	if test $found = "no" ; then
   14950 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14952 		fi
   14953 
   14954 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14956 		fi
   14957 
   14958 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14959 
   14960 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14961 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14962 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14963 		if eval \${$cacheid+:} false; then :
   14964   $as_echo_n "(cached) " >&6
   14965 else
   14966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14967 /* end confdefs.h.  */
   14968 int i;
   14969 int
   14970 main ()
   14971 {
   14972 
   14973   ;
   14974   return 0;
   14975 }
   14976 _ACEOF
   14977 if ac_fn_c_try_link "$LINENO"; then :
   14978   eval $cacheid=yes
   14979 else
   14980   eval $cacheid=no
   14981 fi
   14982 rm -f core conftest.err conftest.$ac_objext \
   14983     conftest$ac_exeext conftest.$ac_ext
   14984 fi
   14985 
   14986 
   14987 		CFLAGS="$xorg_testset_save_CFLAGS"
   14988 
   14989 		eval supported=\$$cacheid
   14990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14991 $as_echo "$supported" >&6; }
   14992 		if test "$supported" = "yes" ; then
   14993 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14994 			found="yes"
   14995 		fi
   14996 	fi
   14997 
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 
   15011 
   15012 xorg_testset_save_CFLAGS="$CFLAGS"
   15013 
   15014 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15015 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15017 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15018 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15019   $as_echo_n "(cached) " >&6
   15020 else
   15021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15022 /* end confdefs.h.  */
   15023 int i;
   15024 _ACEOF
   15025 if ac_fn_c_try_compile "$LINENO"; then :
   15026   xorg_cv_cc_flag_unknown_warning_option=yes
   15027 else
   15028   xorg_cv_cc_flag_unknown_warning_option=no
   15029 fi
   15030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15031 fi
   15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15033 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15034 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15035 	CFLAGS="$xorg_testset_save_CFLAGS"
   15036 fi
   15037 
   15038 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15039 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15040 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15041 	fi
   15042 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15044 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15045 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15046   $as_echo_n "(cached) " >&6
   15047 else
   15048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15049 /* end confdefs.h.  */
   15050 int i;
   15051 _ACEOF
   15052 if ac_fn_c_try_compile "$LINENO"; then :
   15053   xorg_cv_cc_flag_unused_command_line_argument=yes
   15054 else
   15055   xorg_cv_cc_flag_unused_command_line_argument=no
   15056 fi
   15057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15058 fi
   15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15060 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15061 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15062 	CFLAGS="$xorg_testset_save_CFLAGS"
   15063 fi
   15064 
   15065 found="no"
   15066 
   15067 	if test $found = "no" ; then
   15068 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15069 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15070 		fi
   15071 
   15072 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15073 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15074 		fi
   15075 
   15076 		CFLAGS="$CFLAGS -Werror=nonnull"
   15077 
   15078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15079 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   15080 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15081 		if eval \${$cacheid+:} false; then :
   15082   $as_echo_n "(cached) " >&6
   15083 else
   15084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15085 /* end confdefs.h.  */
   15086 int i;
   15087 int
   15088 main ()
   15089 {
   15090 
   15091   ;
   15092   return 0;
   15093 }
   15094 _ACEOF
   15095 if ac_fn_c_try_link "$LINENO"; then :
   15096   eval $cacheid=yes
   15097 else
   15098   eval $cacheid=no
   15099 fi
   15100 rm -f core conftest.err conftest.$ac_objext \
   15101     conftest$ac_exeext conftest.$ac_ext
   15102 fi
   15103 
   15104 
   15105 		CFLAGS="$xorg_testset_save_CFLAGS"
   15106 
   15107 		eval supported=\$$cacheid
   15108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15109 $as_echo "$supported" >&6; }
   15110 		if test "$supported" = "yes" ; then
   15111 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15112 			found="yes"
   15113 		fi
   15114 	fi
   15115 
   15116 
   15117 
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 
   15127 
   15128 
   15129 
   15130 xorg_testset_save_CFLAGS="$CFLAGS"
   15131 
   15132 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15133 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15135 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15136 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15137   $as_echo_n "(cached) " >&6
   15138 else
   15139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15140 /* end confdefs.h.  */
   15141 int i;
   15142 _ACEOF
   15143 if ac_fn_c_try_compile "$LINENO"; then :
   15144   xorg_cv_cc_flag_unknown_warning_option=yes
   15145 else
   15146   xorg_cv_cc_flag_unknown_warning_option=no
   15147 fi
   15148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15149 fi
   15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15151 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15152 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15153 	CFLAGS="$xorg_testset_save_CFLAGS"
   15154 fi
   15155 
   15156 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15157 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15158 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15159 	fi
   15160 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15162 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15163 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15164   $as_echo_n "(cached) " >&6
   15165 else
   15166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15167 /* end confdefs.h.  */
   15168 int i;
   15169 _ACEOF
   15170 if ac_fn_c_try_compile "$LINENO"; then :
   15171   xorg_cv_cc_flag_unused_command_line_argument=yes
   15172 else
   15173   xorg_cv_cc_flag_unused_command_line_argument=no
   15174 fi
   15175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15176 fi
   15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15178 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15179 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15180 	CFLAGS="$xorg_testset_save_CFLAGS"
   15181 fi
   15182 
   15183 found="no"
   15184 
   15185 	if test $found = "no" ; then
   15186 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15188 		fi
   15189 
   15190 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15192 		fi
   15193 
   15194 		CFLAGS="$CFLAGS -Werror=init-self"
   15195 
   15196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15197 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   15198 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15199 		if eval \${$cacheid+:} false; then :
   15200   $as_echo_n "(cached) " >&6
   15201 else
   15202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15203 /* end confdefs.h.  */
   15204 int i;
   15205 int
   15206 main ()
   15207 {
   15208 
   15209   ;
   15210   return 0;
   15211 }
   15212 _ACEOF
   15213 if ac_fn_c_try_link "$LINENO"; then :
   15214   eval $cacheid=yes
   15215 else
   15216   eval $cacheid=no
   15217 fi
   15218 rm -f core conftest.err conftest.$ac_objext \
   15219     conftest$ac_exeext conftest.$ac_ext
   15220 fi
   15221 
   15222 
   15223 		CFLAGS="$xorg_testset_save_CFLAGS"
   15224 
   15225 		eval supported=\$$cacheid
   15226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15227 $as_echo "$supported" >&6; }
   15228 		if test "$supported" = "yes" ; then
   15229 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15230 			found="yes"
   15231 		fi
   15232 	fi
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 
   15246 
   15247 
   15248 xorg_testset_save_CFLAGS="$CFLAGS"
   15249 
   15250 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15251 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15253 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15254 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15255   $as_echo_n "(cached) " >&6
   15256 else
   15257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15258 /* end confdefs.h.  */
   15259 int i;
   15260 _ACEOF
   15261 if ac_fn_c_try_compile "$LINENO"; then :
   15262   xorg_cv_cc_flag_unknown_warning_option=yes
   15263 else
   15264   xorg_cv_cc_flag_unknown_warning_option=no
   15265 fi
   15266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15267 fi
   15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15269 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15270 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15271 	CFLAGS="$xorg_testset_save_CFLAGS"
   15272 fi
   15273 
   15274 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15275 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15276 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15277 	fi
   15278 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15280 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15281 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15282   $as_echo_n "(cached) " >&6
   15283 else
   15284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15285 /* end confdefs.h.  */
   15286 int i;
   15287 _ACEOF
   15288 if ac_fn_c_try_compile "$LINENO"; then :
   15289   xorg_cv_cc_flag_unused_command_line_argument=yes
   15290 else
   15291   xorg_cv_cc_flag_unused_command_line_argument=no
   15292 fi
   15293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15294 fi
   15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15296 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15297 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15298 	CFLAGS="$xorg_testset_save_CFLAGS"
   15299 fi
   15300 
   15301 found="no"
   15302 
   15303 	if test $found = "no" ; then
   15304 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15305 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15306 		fi
   15307 
   15308 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15309 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15310 		fi
   15311 
   15312 		CFLAGS="$CFLAGS -Werror=main"
   15313 
   15314 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15315 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   15316 		cacheid=xorg_cv_cc_flag__Werror_main
   15317 		if eval \${$cacheid+:} false; then :
   15318   $as_echo_n "(cached) " >&6
   15319 else
   15320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15321 /* end confdefs.h.  */
   15322 int i;
   15323 int
   15324 main ()
   15325 {
   15326 
   15327   ;
   15328   return 0;
   15329 }
   15330 _ACEOF
   15331 if ac_fn_c_try_link "$LINENO"; then :
   15332   eval $cacheid=yes
   15333 else
   15334   eval $cacheid=no
   15335 fi
   15336 rm -f core conftest.err conftest.$ac_objext \
   15337     conftest$ac_exeext conftest.$ac_ext
   15338 fi
   15339 
   15340 
   15341 		CFLAGS="$xorg_testset_save_CFLAGS"
   15342 
   15343 		eval supported=\$$cacheid
   15344 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15345 $as_echo "$supported" >&6; }
   15346 		if test "$supported" = "yes" ; then
   15347 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15348 			found="yes"
   15349 		fi
   15350 	fi
   15351 
   15352 
   15353 
   15354 
   15355 
   15356 
   15357 
   15358 
   15359 
   15360 
   15361 
   15362 
   15363 
   15364 
   15365 
   15366 xorg_testset_save_CFLAGS="$CFLAGS"
   15367 
   15368 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15369 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15370 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15371 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15372 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15373   $as_echo_n "(cached) " >&6
   15374 else
   15375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15376 /* end confdefs.h.  */
   15377 int i;
   15378 _ACEOF
   15379 if ac_fn_c_try_compile "$LINENO"; then :
   15380   xorg_cv_cc_flag_unknown_warning_option=yes
   15381 else
   15382   xorg_cv_cc_flag_unknown_warning_option=no
   15383 fi
   15384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15385 fi
   15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15387 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15388 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15389 	CFLAGS="$xorg_testset_save_CFLAGS"
   15390 fi
   15391 
   15392 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15393 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15394 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15395 	fi
   15396 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15397 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15398 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15399 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15400   $as_echo_n "(cached) " >&6
   15401 else
   15402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15403 /* end confdefs.h.  */
   15404 int i;
   15405 _ACEOF
   15406 if ac_fn_c_try_compile "$LINENO"; then :
   15407   xorg_cv_cc_flag_unused_command_line_argument=yes
   15408 else
   15409   xorg_cv_cc_flag_unused_command_line_argument=no
   15410 fi
   15411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15412 fi
   15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15414 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15415 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15416 	CFLAGS="$xorg_testset_save_CFLAGS"
   15417 fi
   15418 
   15419 found="no"
   15420 
   15421 	if test $found = "no" ; then
   15422 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15423 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15424 		fi
   15425 
   15426 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15427 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15428 		fi
   15429 
   15430 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15431 
   15432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15433 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15434 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15435 		if eval \${$cacheid+:} false; then :
   15436   $as_echo_n "(cached) " >&6
   15437 else
   15438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15439 /* end confdefs.h.  */
   15440 int i;
   15441 int
   15442 main ()
   15443 {
   15444 
   15445   ;
   15446   return 0;
   15447 }
   15448 _ACEOF
   15449 if ac_fn_c_try_link "$LINENO"; then :
   15450   eval $cacheid=yes
   15451 else
   15452   eval $cacheid=no
   15453 fi
   15454 rm -f core conftest.err conftest.$ac_objext \
   15455     conftest$ac_exeext conftest.$ac_ext
   15456 fi
   15457 
   15458 
   15459 		CFLAGS="$xorg_testset_save_CFLAGS"
   15460 
   15461 		eval supported=\$$cacheid
   15462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15463 $as_echo "$supported" >&6; }
   15464 		if test "$supported" = "yes" ; then
   15465 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15466 			found="yes"
   15467 		fi
   15468 	fi
   15469 
   15470 
   15471 
   15472 
   15473 
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 xorg_testset_save_CFLAGS="$CFLAGS"
   15485 
   15486 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15487 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15488 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15489 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15490 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15491   $as_echo_n "(cached) " >&6
   15492 else
   15493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15494 /* end confdefs.h.  */
   15495 int i;
   15496 _ACEOF
   15497 if ac_fn_c_try_compile "$LINENO"; then :
   15498   xorg_cv_cc_flag_unknown_warning_option=yes
   15499 else
   15500   xorg_cv_cc_flag_unknown_warning_option=no
   15501 fi
   15502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15503 fi
   15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15505 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15506 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15507 	CFLAGS="$xorg_testset_save_CFLAGS"
   15508 fi
   15509 
   15510 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15511 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15512 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15513 	fi
   15514 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15516 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15517 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15518   $as_echo_n "(cached) " >&6
   15519 else
   15520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15521 /* end confdefs.h.  */
   15522 int i;
   15523 _ACEOF
   15524 if ac_fn_c_try_compile "$LINENO"; then :
   15525   xorg_cv_cc_flag_unused_command_line_argument=yes
   15526 else
   15527   xorg_cv_cc_flag_unused_command_line_argument=no
   15528 fi
   15529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15530 fi
   15531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15532 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15533 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15534 	CFLAGS="$xorg_testset_save_CFLAGS"
   15535 fi
   15536 
   15537 found="no"
   15538 
   15539 	if test $found = "no" ; then
   15540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15542 		fi
   15543 
   15544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15546 		fi
   15547 
   15548 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15549 
   15550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15551 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15552 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15553 		if eval \${$cacheid+:} false; then :
   15554   $as_echo_n "(cached) " >&6
   15555 else
   15556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15557 /* end confdefs.h.  */
   15558 int i;
   15559 int
   15560 main ()
   15561 {
   15562 
   15563   ;
   15564   return 0;
   15565 }
   15566 _ACEOF
   15567 if ac_fn_c_try_link "$LINENO"; then :
   15568   eval $cacheid=yes
   15569 else
   15570   eval $cacheid=no
   15571 fi
   15572 rm -f core conftest.err conftest.$ac_objext \
   15573     conftest$ac_exeext conftest.$ac_ext
   15574 fi
   15575 
   15576 
   15577 		CFLAGS="$xorg_testset_save_CFLAGS"
   15578 
   15579 		eval supported=\$$cacheid
   15580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15581 $as_echo "$supported" >&6; }
   15582 		if test "$supported" = "yes" ; then
   15583 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15584 			found="yes"
   15585 		fi
   15586 	fi
   15587 
   15588 
   15589 
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 
   15600 
   15601 
   15602 xorg_testset_save_CFLAGS="$CFLAGS"
   15603 
   15604 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15605 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15607 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15608 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15609   $as_echo_n "(cached) " >&6
   15610 else
   15611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15612 /* end confdefs.h.  */
   15613 int i;
   15614 _ACEOF
   15615 if ac_fn_c_try_compile "$LINENO"; then :
   15616   xorg_cv_cc_flag_unknown_warning_option=yes
   15617 else
   15618   xorg_cv_cc_flag_unknown_warning_option=no
   15619 fi
   15620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15621 fi
   15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15623 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15624 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15625 	CFLAGS="$xorg_testset_save_CFLAGS"
   15626 fi
   15627 
   15628 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15629 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15630 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15631 	fi
   15632 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15633 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15634 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15635 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15636   $as_echo_n "(cached) " >&6
   15637 else
   15638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15639 /* end confdefs.h.  */
   15640 int i;
   15641 _ACEOF
   15642 if ac_fn_c_try_compile "$LINENO"; then :
   15643   xorg_cv_cc_flag_unused_command_line_argument=yes
   15644 else
   15645   xorg_cv_cc_flag_unused_command_line_argument=no
   15646 fi
   15647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15648 fi
   15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15650 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15651 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15652 	CFLAGS="$xorg_testset_save_CFLAGS"
   15653 fi
   15654 
   15655 found="no"
   15656 
   15657 	if test $found = "no" ; then
   15658 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15659 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15660 		fi
   15661 
   15662 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15663 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15664 		fi
   15665 
   15666 		CFLAGS="$CFLAGS -Werror=return-type"
   15667 
   15668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15669 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15670 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15671 		if eval \${$cacheid+:} false; then :
   15672   $as_echo_n "(cached) " >&6
   15673 else
   15674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15675 /* end confdefs.h.  */
   15676 int i;
   15677 int
   15678 main ()
   15679 {
   15680 
   15681   ;
   15682   return 0;
   15683 }
   15684 _ACEOF
   15685 if ac_fn_c_try_link "$LINENO"; then :
   15686   eval $cacheid=yes
   15687 else
   15688   eval $cacheid=no
   15689 fi
   15690 rm -f core conftest.err conftest.$ac_objext \
   15691     conftest$ac_exeext conftest.$ac_ext
   15692 fi
   15693 
   15694 
   15695 		CFLAGS="$xorg_testset_save_CFLAGS"
   15696 
   15697 		eval supported=\$$cacheid
   15698 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15699 $as_echo "$supported" >&6; }
   15700 		if test "$supported" = "yes" ; then
   15701 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15702 			found="yes"
   15703 		fi
   15704 	fi
   15705 
   15706 	if test $found = "no" ; then
   15707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15709 		fi
   15710 
   15711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15713 		fi
   15714 
   15715 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15716 
   15717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15718 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15719 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15720 		if eval \${$cacheid+:} false; then :
   15721   $as_echo_n "(cached) " >&6
   15722 else
   15723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15724 /* end confdefs.h.  */
   15725 int i;
   15726 int
   15727 main ()
   15728 {
   15729 
   15730   ;
   15731   return 0;
   15732 }
   15733 _ACEOF
   15734 if ac_fn_c_try_link "$LINENO"; then :
   15735   eval $cacheid=yes
   15736 else
   15737   eval $cacheid=no
   15738 fi
   15739 rm -f core conftest.err conftest.$ac_objext \
   15740     conftest$ac_exeext conftest.$ac_ext
   15741 fi
   15742 
   15743 
   15744 		CFLAGS="$xorg_testset_save_CFLAGS"
   15745 
   15746 		eval supported=\$$cacheid
   15747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15748 $as_echo "$supported" >&6; }
   15749 		if test "$supported" = "yes" ; then
   15750 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15751 			found="yes"
   15752 		fi
   15753 	fi
   15754 
   15755 
   15756 
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 
   15766 
   15767 
   15768 
   15769 xorg_testset_save_CFLAGS="$CFLAGS"
   15770 
   15771 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15772 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15774 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15775 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15776   $as_echo_n "(cached) " >&6
   15777 else
   15778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15779 /* end confdefs.h.  */
   15780 int i;
   15781 _ACEOF
   15782 if ac_fn_c_try_compile "$LINENO"; then :
   15783   xorg_cv_cc_flag_unknown_warning_option=yes
   15784 else
   15785   xorg_cv_cc_flag_unknown_warning_option=no
   15786 fi
   15787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15788 fi
   15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15790 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15792 	CFLAGS="$xorg_testset_save_CFLAGS"
   15793 fi
   15794 
   15795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15798 	fi
   15799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15801 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15802 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15803   $as_echo_n "(cached) " >&6
   15804 else
   15805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15806 /* end confdefs.h.  */
   15807 int i;
   15808 _ACEOF
   15809 if ac_fn_c_try_compile "$LINENO"; then :
   15810   xorg_cv_cc_flag_unused_command_line_argument=yes
   15811 else
   15812   xorg_cv_cc_flag_unused_command_line_argument=no
   15813 fi
   15814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15815 fi
   15816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15817 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15818 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15819 	CFLAGS="$xorg_testset_save_CFLAGS"
   15820 fi
   15821 
   15822 found="no"
   15823 
   15824 	if test $found = "no" ; then
   15825 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15827 		fi
   15828 
   15829 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15831 		fi
   15832 
   15833 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15834 
   15835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15836 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15837 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15838 		if eval \${$cacheid+:} false; then :
   15839   $as_echo_n "(cached) " >&6
   15840 else
   15841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15842 /* end confdefs.h.  */
   15843 int i;
   15844 int
   15845 main ()
   15846 {
   15847 
   15848   ;
   15849   return 0;
   15850 }
   15851 _ACEOF
   15852 if ac_fn_c_try_link "$LINENO"; then :
   15853   eval $cacheid=yes
   15854 else
   15855   eval $cacheid=no
   15856 fi
   15857 rm -f core conftest.err conftest.$ac_objext \
   15858     conftest$ac_exeext conftest.$ac_ext
   15859 fi
   15860 
   15861 
   15862 		CFLAGS="$xorg_testset_save_CFLAGS"
   15863 
   15864 		eval supported=\$$cacheid
   15865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15866 $as_echo "$supported" >&6; }
   15867 		if test "$supported" = "yes" ; then
   15868 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15869 			found="yes"
   15870 		fi
   15871 	fi
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 
   15878 
   15879 
   15880 
   15881 
   15882 
   15883 
   15884 
   15885 
   15886 
   15887 xorg_testset_save_CFLAGS="$CFLAGS"
   15888 
   15889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15892 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15893 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15894   $as_echo_n "(cached) " >&6
   15895 else
   15896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15897 /* end confdefs.h.  */
   15898 int i;
   15899 _ACEOF
   15900 if ac_fn_c_try_compile "$LINENO"; then :
   15901   xorg_cv_cc_flag_unknown_warning_option=yes
   15902 else
   15903   xorg_cv_cc_flag_unknown_warning_option=no
   15904 fi
   15905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15906 fi
   15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15908 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15910 	CFLAGS="$xorg_testset_save_CFLAGS"
   15911 fi
   15912 
   15913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15916 	fi
   15917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15919 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15920 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15921   $as_echo_n "(cached) " >&6
   15922 else
   15923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15924 /* end confdefs.h.  */
   15925 int i;
   15926 _ACEOF
   15927 if ac_fn_c_try_compile "$LINENO"; then :
   15928   xorg_cv_cc_flag_unused_command_line_argument=yes
   15929 else
   15930   xorg_cv_cc_flag_unused_command_line_argument=no
   15931 fi
   15932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15933 fi
   15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15935 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15937 	CFLAGS="$xorg_testset_save_CFLAGS"
   15938 fi
   15939 
   15940 found="no"
   15941 
   15942 	if test $found = "no" ; then
   15943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15945 		fi
   15946 
   15947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15949 		fi
   15950 
   15951 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15952 
   15953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15954 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15955 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15956 		if eval \${$cacheid+:} false; then :
   15957   $as_echo_n "(cached) " >&6
   15958 else
   15959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15960 /* end confdefs.h.  */
   15961 int i;
   15962 int
   15963 main ()
   15964 {
   15965 
   15966   ;
   15967   return 0;
   15968 }
   15969 _ACEOF
   15970 if ac_fn_c_try_link "$LINENO"; then :
   15971   eval $cacheid=yes
   15972 else
   15973   eval $cacheid=no
   15974 fi
   15975 rm -f core conftest.err conftest.$ac_objext \
   15976     conftest$ac_exeext conftest.$ac_ext
   15977 fi
   15978 
   15979 
   15980 		CFLAGS="$xorg_testset_save_CFLAGS"
   15981 
   15982 		eval supported=\$$cacheid
   15983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15984 $as_echo "$supported" >&6; }
   15985 		if test "$supported" = "yes" ; then
   15986 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15987 			found="yes"
   15988 		fi
   15989 	fi
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 
   16005 xorg_testset_save_CFLAGS="$CFLAGS"
   16006 
   16007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16010 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16011 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16012   $as_echo_n "(cached) " >&6
   16013 else
   16014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16015 /* end confdefs.h.  */
   16016 int i;
   16017 _ACEOF
   16018 if ac_fn_c_try_compile "$LINENO"; then :
   16019   xorg_cv_cc_flag_unknown_warning_option=yes
   16020 else
   16021   xorg_cv_cc_flag_unknown_warning_option=no
   16022 fi
   16023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16024 fi
   16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16026 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16028 	CFLAGS="$xorg_testset_save_CFLAGS"
   16029 fi
   16030 
   16031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16034 	fi
   16035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16037 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16038 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16039   $as_echo_n "(cached) " >&6
   16040 else
   16041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16042 /* end confdefs.h.  */
   16043 int i;
   16044 _ACEOF
   16045 if ac_fn_c_try_compile "$LINENO"; then :
   16046   xorg_cv_cc_flag_unused_command_line_argument=yes
   16047 else
   16048   xorg_cv_cc_flag_unused_command_line_argument=no
   16049 fi
   16050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16051 fi
   16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16053 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16054 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16055 	CFLAGS="$xorg_testset_save_CFLAGS"
   16056 fi
   16057 
   16058 found="no"
   16059 
   16060 	if test $found = "no" ; then
   16061 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16063 		fi
   16064 
   16065 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16067 		fi
   16068 
   16069 		CFLAGS="$CFLAGS -Werror=write-strings"
   16070 
   16071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16072 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   16073 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16074 		if eval \${$cacheid+:} false; then :
   16075   $as_echo_n "(cached) " >&6
   16076 else
   16077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16078 /* end confdefs.h.  */
   16079 int i;
   16080 int
   16081 main ()
   16082 {
   16083 
   16084   ;
   16085   return 0;
   16086 }
   16087 _ACEOF
   16088 if ac_fn_c_try_link "$LINENO"; then :
   16089   eval $cacheid=yes
   16090 else
   16091   eval $cacheid=no
   16092 fi
   16093 rm -f core conftest.err conftest.$ac_objext \
   16094     conftest$ac_exeext conftest.$ac_ext
   16095 fi
   16096 
   16097 
   16098 		CFLAGS="$xorg_testset_save_CFLAGS"
   16099 
   16100 		eval supported=\$$cacheid
   16101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16102 $as_echo "$supported" >&6; }
   16103 		if test "$supported" = "yes" ; then
   16104 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16105 			found="yes"
   16106 		fi
   16107 	fi
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 xorg_testset_save_CFLAGS="$CFLAGS"
   16124 
   16125 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16126 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16128 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16129 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16130   $as_echo_n "(cached) " >&6
   16131 else
   16132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16133 /* end confdefs.h.  */
   16134 int i;
   16135 _ACEOF
   16136 if ac_fn_c_try_compile "$LINENO"; then :
   16137   xorg_cv_cc_flag_unknown_warning_option=yes
   16138 else
   16139   xorg_cv_cc_flag_unknown_warning_option=no
   16140 fi
   16141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16142 fi
   16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16144 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16146 	CFLAGS="$xorg_testset_save_CFLAGS"
   16147 fi
   16148 
   16149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16152 	fi
   16153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16155 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16156 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16157   $as_echo_n "(cached) " >&6
   16158 else
   16159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16160 /* end confdefs.h.  */
   16161 int i;
   16162 _ACEOF
   16163 if ac_fn_c_try_compile "$LINENO"; then :
   16164   xorg_cv_cc_flag_unused_command_line_argument=yes
   16165 else
   16166   xorg_cv_cc_flag_unused_command_line_argument=no
   16167 fi
   16168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16169 fi
   16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16171 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16173 	CFLAGS="$xorg_testset_save_CFLAGS"
   16174 fi
   16175 
   16176 found="no"
   16177 
   16178 	if test $found = "no" ; then
   16179 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16181 		fi
   16182 
   16183 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16185 		fi
   16186 
   16187 		CFLAGS="$CFLAGS -Werror=address"
   16188 
   16189 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16190 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   16191 		cacheid=xorg_cv_cc_flag__Werror_address
   16192 		if eval \${$cacheid+:} false; then :
   16193   $as_echo_n "(cached) " >&6
   16194 else
   16195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16196 /* end confdefs.h.  */
   16197 int i;
   16198 int
   16199 main ()
   16200 {
   16201 
   16202   ;
   16203   return 0;
   16204 }
   16205 _ACEOF
   16206 if ac_fn_c_try_link "$LINENO"; then :
   16207   eval $cacheid=yes
   16208 else
   16209   eval $cacheid=no
   16210 fi
   16211 rm -f core conftest.err conftest.$ac_objext \
   16212     conftest$ac_exeext conftest.$ac_ext
   16213 fi
   16214 
   16215 
   16216 		CFLAGS="$xorg_testset_save_CFLAGS"
   16217 
   16218 		eval supported=\$$cacheid
   16219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16220 $as_echo "$supported" >&6; }
   16221 		if test "$supported" = "yes" ; then
   16222 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16223 			found="yes"
   16224 		fi
   16225 	fi
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 
   16235 
   16236 
   16237 
   16238 
   16239 
   16240 
   16241 xorg_testset_save_CFLAGS="$CFLAGS"
   16242 
   16243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16246 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16247 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16248   $as_echo_n "(cached) " >&6
   16249 else
   16250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16251 /* end confdefs.h.  */
   16252 int i;
   16253 _ACEOF
   16254 if ac_fn_c_try_compile "$LINENO"; then :
   16255   xorg_cv_cc_flag_unknown_warning_option=yes
   16256 else
   16257   xorg_cv_cc_flag_unknown_warning_option=no
   16258 fi
   16259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16260 fi
   16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16262 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16263 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16264 	CFLAGS="$xorg_testset_save_CFLAGS"
   16265 fi
   16266 
   16267 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16268 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16269 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16270 	fi
   16271 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16273 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16274 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16275   $as_echo_n "(cached) " >&6
   16276 else
   16277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16278 /* end confdefs.h.  */
   16279 int i;
   16280 _ACEOF
   16281 if ac_fn_c_try_compile "$LINENO"; then :
   16282   xorg_cv_cc_flag_unused_command_line_argument=yes
   16283 else
   16284   xorg_cv_cc_flag_unused_command_line_argument=no
   16285 fi
   16286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16287 fi
   16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16289 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16290 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16291 	CFLAGS="$xorg_testset_save_CFLAGS"
   16292 fi
   16293 
   16294 found="no"
   16295 
   16296 	if test $found = "no" ; then
   16297 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16299 		fi
   16300 
   16301 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16303 		fi
   16304 
   16305 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16306 
   16307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16308 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16309 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16310 		if eval \${$cacheid+:} false; then :
   16311   $as_echo_n "(cached) " >&6
   16312 else
   16313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16314 /* end confdefs.h.  */
   16315 int i;
   16316 int
   16317 main ()
   16318 {
   16319 
   16320   ;
   16321   return 0;
   16322 }
   16323 _ACEOF
   16324 if ac_fn_c_try_link "$LINENO"; then :
   16325   eval $cacheid=yes
   16326 else
   16327   eval $cacheid=no
   16328 fi
   16329 rm -f core conftest.err conftest.$ac_objext \
   16330     conftest$ac_exeext conftest.$ac_ext
   16331 fi
   16332 
   16333 
   16334 		CFLAGS="$xorg_testset_save_CFLAGS"
   16335 
   16336 		eval supported=\$$cacheid
   16337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16338 $as_echo "$supported" >&6; }
   16339 		if test "$supported" = "yes" ; then
   16340 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16341 			found="yes"
   16342 		fi
   16343 	fi
   16344 
   16345 	if test $found = "no" ; then
   16346 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16348 		fi
   16349 
   16350 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16352 		fi
   16353 
   16354 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16355 
   16356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16357 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16358 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16359 		if eval \${$cacheid+:} false; then :
   16360   $as_echo_n "(cached) " >&6
   16361 else
   16362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16363 /* end confdefs.h.  */
   16364 int i;
   16365 int
   16366 main ()
   16367 {
   16368 
   16369   ;
   16370   return 0;
   16371 }
   16372 _ACEOF
   16373 if ac_fn_c_try_link "$LINENO"; then :
   16374   eval $cacheid=yes
   16375 else
   16376   eval $cacheid=no
   16377 fi
   16378 rm -f core conftest.err conftest.$ac_objext \
   16379     conftest$ac_exeext conftest.$ac_ext
   16380 fi
   16381 
   16382 
   16383 		CFLAGS="$xorg_testset_save_CFLAGS"
   16384 
   16385 		eval supported=\$$cacheid
   16386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16387 $as_echo "$supported" >&6; }
   16388 		if test "$supported" = "yes" ; then
   16389 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16390 			found="yes"
   16391 		fi
   16392 	fi
   16393 
   16394 
   16395 
   16396 
   16397 
   16398 
   16399 
   16400 
   16401 
   16402 
   16403 
   16404 
   16405 
   16406 
   16407 
   16408 xorg_testset_save_CFLAGS="$CFLAGS"
   16409 
   16410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16413 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16414 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16415   $as_echo_n "(cached) " >&6
   16416 else
   16417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16418 /* end confdefs.h.  */
   16419 int i;
   16420 _ACEOF
   16421 if ac_fn_c_try_compile "$LINENO"; then :
   16422   xorg_cv_cc_flag_unknown_warning_option=yes
   16423 else
   16424   xorg_cv_cc_flag_unknown_warning_option=no
   16425 fi
   16426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16427 fi
   16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16429 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16431 	CFLAGS="$xorg_testset_save_CFLAGS"
   16432 fi
   16433 
   16434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16437 	fi
   16438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16440 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16441 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16442   $as_echo_n "(cached) " >&6
   16443 else
   16444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16445 /* end confdefs.h.  */
   16446 int i;
   16447 _ACEOF
   16448 if ac_fn_c_try_compile "$LINENO"; then :
   16449   xorg_cv_cc_flag_unused_command_line_argument=yes
   16450 else
   16451   xorg_cv_cc_flag_unused_command_line_argument=no
   16452 fi
   16453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16454 fi
   16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16456 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16458 	CFLAGS="$xorg_testset_save_CFLAGS"
   16459 fi
   16460 
   16461 found="no"
   16462 
   16463 	if test $found = "no" ; then
   16464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16466 		fi
   16467 
   16468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16470 		fi
   16471 
   16472 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16473 
   16474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16475 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16476 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16477 		if eval \${$cacheid+:} false; then :
   16478   $as_echo_n "(cached) " >&6
   16479 else
   16480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16481 /* end confdefs.h.  */
   16482 int i;
   16483 int
   16484 main ()
   16485 {
   16486 
   16487   ;
   16488   return 0;
   16489 }
   16490 _ACEOF
   16491 if ac_fn_c_try_link "$LINENO"; then :
   16492   eval $cacheid=yes
   16493 else
   16494   eval $cacheid=no
   16495 fi
   16496 rm -f core conftest.err conftest.$ac_objext \
   16497     conftest$ac_exeext conftest.$ac_ext
   16498 fi
   16499 
   16500 
   16501 		CFLAGS="$xorg_testset_save_CFLAGS"
   16502 
   16503 		eval supported=\$$cacheid
   16504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16505 $as_echo "$supported" >&6; }
   16506 		if test "$supported" = "yes" ; then
   16507 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16508 			found="yes"
   16509 		fi
   16510 	fi
   16511 
   16512  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16513 else
   16514 { $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
   16515 $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;}
   16516 
   16517 
   16518 
   16519 
   16520 
   16521 
   16522 
   16523 
   16524 
   16525 
   16526 
   16527 
   16528 
   16529 xorg_testset_save_CFLAGS="$CFLAGS"
   16530 
   16531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16536   $as_echo_n "(cached) " >&6
   16537 else
   16538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16539 /* end confdefs.h.  */
   16540 int i;
   16541 _ACEOF
   16542 if ac_fn_c_try_compile "$LINENO"; then :
   16543   xorg_cv_cc_flag_unknown_warning_option=yes
   16544 else
   16545   xorg_cv_cc_flag_unknown_warning_option=no
   16546 fi
   16547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16548 fi
   16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16552 	CFLAGS="$xorg_testset_save_CFLAGS"
   16553 fi
   16554 
   16555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16558 	fi
   16559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16563   $as_echo_n "(cached) " >&6
   16564 else
   16565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16566 /* end confdefs.h.  */
   16567 int i;
   16568 _ACEOF
   16569 if ac_fn_c_try_compile "$LINENO"; then :
   16570   xorg_cv_cc_flag_unused_command_line_argument=yes
   16571 else
   16572   xorg_cv_cc_flag_unused_command_line_argument=no
   16573 fi
   16574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16575 fi
   16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16579 	CFLAGS="$xorg_testset_save_CFLAGS"
   16580 fi
   16581 
   16582 found="no"
   16583 
   16584 	if test $found = "no" ; then
   16585 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16587 		fi
   16588 
   16589 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16591 		fi
   16592 
   16593 		CFLAGS="$CFLAGS -Wimplicit"
   16594 
   16595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16596 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16597 		cacheid=xorg_cv_cc_flag__Wimplicit
   16598 		if eval \${$cacheid+:} false; then :
   16599   $as_echo_n "(cached) " >&6
   16600 else
   16601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16602 /* end confdefs.h.  */
   16603 int i;
   16604 int
   16605 main ()
   16606 {
   16607 
   16608   ;
   16609   return 0;
   16610 }
   16611 _ACEOF
   16612 if ac_fn_c_try_link "$LINENO"; then :
   16613   eval $cacheid=yes
   16614 else
   16615   eval $cacheid=no
   16616 fi
   16617 rm -f core conftest.err conftest.$ac_objext \
   16618     conftest$ac_exeext conftest.$ac_ext
   16619 fi
   16620 
   16621 
   16622 		CFLAGS="$xorg_testset_save_CFLAGS"
   16623 
   16624 		eval supported=\$$cacheid
   16625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16626 $as_echo "$supported" >&6; }
   16627 		if test "$supported" = "yes" ; then
   16628 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16629 			found="yes"
   16630 		fi
   16631 	fi
   16632 
   16633 
   16634 
   16635 
   16636 
   16637 
   16638 
   16639 
   16640 
   16641 
   16642 
   16643 
   16644 
   16645 
   16646 
   16647 xorg_testset_save_CFLAGS="$CFLAGS"
   16648 
   16649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16652 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16653 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16654   $as_echo_n "(cached) " >&6
   16655 else
   16656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16657 /* end confdefs.h.  */
   16658 int i;
   16659 _ACEOF
   16660 if ac_fn_c_try_compile "$LINENO"; then :
   16661   xorg_cv_cc_flag_unknown_warning_option=yes
   16662 else
   16663   xorg_cv_cc_flag_unknown_warning_option=no
   16664 fi
   16665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16666 fi
   16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16668 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16670 	CFLAGS="$xorg_testset_save_CFLAGS"
   16671 fi
   16672 
   16673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16676 	fi
   16677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16679 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16680 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16681   $as_echo_n "(cached) " >&6
   16682 else
   16683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16684 /* end confdefs.h.  */
   16685 int i;
   16686 _ACEOF
   16687 if ac_fn_c_try_compile "$LINENO"; then :
   16688   xorg_cv_cc_flag_unused_command_line_argument=yes
   16689 else
   16690   xorg_cv_cc_flag_unused_command_line_argument=no
   16691 fi
   16692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16693 fi
   16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16695 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16697 	CFLAGS="$xorg_testset_save_CFLAGS"
   16698 fi
   16699 
   16700 found="no"
   16701 
   16702 	if test $found = "no" ; then
   16703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16705 		fi
   16706 
   16707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16709 		fi
   16710 
   16711 		CFLAGS="$CFLAGS -Wnonnull"
   16712 
   16713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16714 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16715 		cacheid=xorg_cv_cc_flag__Wnonnull
   16716 		if eval \${$cacheid+:} false; then :
   16717   $as_echo_n "(cached) " >&6
   16718 else
   16719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16720 /* end confdefs.h.  */
   16721 int i;
   16722 int
   16723 main ()
   16724 {
   16725 
   16726   ;
   16727   return 0;
   16728 }
   16729 _ACEOF
   16730 if ac_fn_c_try_link "$LINENO"; then :
   16731   eval $cacheid=yes
   16732 else
   16733   eval $cacheid=no
   16734 fi
   16735 rm -f core conftest.err conftest.$ac_objext \
   16736     conftest$ac_exeext conftest.$ac_ext
   16737 fi
   16738 
   16739 
   16740 		CFLAGS="$xorg_testset_save_CFLAGS"
   16741 
   16742 		eval supported=\$$cacheid
   16743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16744 $as_echo "$supported" >&6; }
   16745 		if test "$supported" = "yes" ; then
   16746 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16747 			found="yes"
   16748 		fi
   16749 	fi
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 xorg_testset_save_CFLAGS="$CFLAGS"
   16766 
   16767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16770 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16771 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16772   $as_echo_n "(cached) " >&6
   16773 else
   16774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16775 /* end confdefs.h.  */
   16776 int i;
   16777 _ACEOF
   16778 if ac_fn_c_try_compile "$LINENO"; then :
   16779   xorg_cv_cc_flag_unknown_warning_option=yes
   16780 else
   16781   xorg_cv_cc_flag_unknown_warning_option=no
   16782 fi
   16783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16784 fi
   16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16786 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16787 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16788 	CFLAGS="$xorg_testset_save_CFLAGS"
   16789 fi
   16790 
   16791 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16792 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16793 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16794 	fi
   16795 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16797 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16798 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16799   $as_echo_n "(cached) " >&6
   16800 else
   16801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16802 /* end confdefs.h.  */
   16803 int i;
   16804 _ACEOF
   16805 if ac_fn_c_try_compile "$LINENO"; then :
   16806   xorg_cv_cc_flag_unused_command_line_argument=yes
   16807 else
   16808   xorg_cv_cc_flag_unused_command_line_argument=no
   16809 fi
   16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16811 fi
   16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16813 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16814 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16815 	CFLAGS="$xorg_testset_save_CFLAGS"
   16816 fi
   16817 
   16818 found="no"
   16819 
   16820 	if test $found = "no" ; then
   16821 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16822 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16823 		fi
   16824 
   16825 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16826 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16827 		fi
   16828 
   16829 		CFLAGS="$CFLAGS -Winit-self"
   16830 
   16831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16832 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16833 		cacheid=xorg_cv_cc_flag__Winit_self
   16834 		if eval \${$cacheid+:} false; then :
   16835   $as_echo_n "(cached) " >&6
   16836 else
   16837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16838 /* end confdefs.h.  */
   16839 int i;
   16840 int
   16841 main ()
   16842 {
   16843 
   16844   ;
   16845   return 0;
   16846 }
   16847 _ACEOF
   16848 if ac_fn_c_try_link "$LINENO"; then :
   16849   eval $cacheid=yes
   16850 else
   16851   eval $cacheid=no
   16852 fi
   16853 rm -f core conftest.err conftest.$ac_objext \
   16854     conftest$ac_exeext conftest.$ac_ext
   16855 fi
   16856 
   16857 
   16858 		CFLAGS="$xorg_testset_save_CFLAGS"
   16859 
   16860 		eval supported=\$$cacheid
   16861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16862 $as_echo "$supported" >&6; }
   16863 		if test "$supported" = "yes" ; then
   16864 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16865 			found="yes"
   16866 		fi
   16867 	fi
   16868 
   16869 
   16870 
   16871 
   16872 
   16873 
   16874 
   16875 
   16876 
   16877 
   16878 
   16879 
   16880 
   16881 
   16882 
   16883 xorg_testset_save_CFLAGS="$CFLAGS"
   16884 
   16885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16888 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16889 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16890   $as_echo_n "(cached) " >&6
   16891 else
   16892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16893 /* end confdefs.h.  */
   16894 int i;
   16895 _ACEOF
   16896 if ac_fn_c_try_compile "$LINENO"; then :
   16897   xorg_cv_cc_flag_unknown_warning_option=yes
   16898 else
   16899   xorg_cv_cc_flag_unknown_warning_option=no
   16900 fi
   16901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16902 fi
   16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16904 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16905 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16906 	CFLAGS="$xorg_testset_save_CFLAGS"
   16907 fi
   16908 
   16909 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16910 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16911 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16912 	fi
   16913 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16915 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16916 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16917   $as_echo_n "(cached) " >&6
   16918 else
   16919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16920 /* end confdefs.h.  */
   16921 int i;
   16922 _ACEOF
   16923 if ac_fn_c_try_compile "$LINENO"; then :
   16924   xorg_cv_cc_flag_unused_command_line_argument=yes
   16925 else
   16926   xorg_cv_cc_flag_unused_command_line_argument=no
   16927 fi
   16928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16929 fi
   16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16931 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16932 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16933 	CFLAGS="$xorg_testset_save_CFLAGS"
   16934 fi
   16935 
   16936 found="no"
   16937 
   16938 	if test $found = "no" ; then
   16939 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16940 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16941 		fi
   16942 
   16943 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16944 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16945 		fi
   16946 
   16947 		CFLAGS="$CFLAGS -Wmain"
   16948 
   16949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16950 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16951 		cacheid=xorg_cv_cc_flag__Wmain
   16952 		if eval \${$cacheid+:} false; then :
   16953   $as_echo_n "(cached) " >&6
   16954 else
   16955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16956 /* end confdefs.h.  */
   16957 int i;
   16958 int
   16959 main ()
   16960 {
   16961 
   16962   ;
   16963   return 0;
   16964 }
   16965 _ACEOF
   16966 if ac_fn_c_try_link "$LINENO"; then :
   16967   eval $cacheid=yes
   16968 else
   16969   eval $cacheid=no
   16970 fi
   16971 rm -f core conftest.err conftest.$ac_objext \
   16972     conftest$ac_exeext conftest.$ac_ext
   16973 fi
   16974 
   16975 
   16976 		CFLAGS="$xorg_testset_save_CFLAGS"
   16977 
   16978 		eval supported=\$$cacheid
   16979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16980 $as_echo "$supported" >&6; }
   16981 		if test "$supported" = "yes" ; then
   16982 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16983 			found="yes"
   16984 		fi
   16985 	fi
   16986 
   16987 
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 xorg_testset_save_CFLAGS="$CFLAGS"
   17002 
   17003 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17004 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17005 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17006 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17007 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17008   $as_echo_n "(cached) " >&6
   17009 else
   17010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17011 /* end confdefs.h.  */
   17012 int i;
   17013 _ACEOF
   17014 if ac_fn_c_try_compile "$LINENO"; then :
   17015   xorg_cv_cc_flag_unknown_warning_option=yes
   17016 else
   17017   xorg_cv_cc_flag_unknown_warning_option=no
   17018 fi
   17019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17020 fi
   17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17022 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17023 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17024 	CFLAGS="$xorg_testset_save_CFLAGS"
   17025 fi
   17026 
   17027 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17028 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17029 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17030 	fi
   17031 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17033 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17034 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17035   $as_echo_n "(cached) " >&6
   17036 else
   17037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17038 /* end confdefs.h.  */
   17039 int i;
   17040 _ACEOF
   17041 if ac_fn_c_try_compile "$LINENO"; then :
   17042   xorg_cv_cc_flag_unused_command_line_argument=yes
   17043 else
   17044   xorg_cv_cc_flag_unused_command_line_argument=no
   17045 fi
   17046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17047 fi
   17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17049 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17051 	CFLAGS="$xorg_testset_save_CFLAGS"
   17052 fi
   17053 
   17054 found="no"
   17055 
   17056 	if test $found = "no" ; then
   17057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17059 		fi
   17060 
   17061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17063 		fi
   17064 
   17065 		CFLAGS="$CFLAGS -Wmissing-braces"
   17066 
   17067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17068 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   17069 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17070 		if eval \${$cacheid+:} false; then :
   17071   $as_echo_n "(cached) " >&6
   17072 else
   17073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17074 /* end confdefs.h.  */
   17075 int i;
   17076 int
   17077 main ()
   17078 {
   17079 
   17080   ;
   17081   return 0;
   17082 }
   17083 _ACEOF
   17084 if ac_fn_c_try_link "$LINENO"; then :
   17085   eval $cacheid=yes
   17086 else
   17087   eval $cacheid=no
   17088 fi
   17089 rm -f core conftest.err conftest.$ac_objext \
   17090     conftest$ac_exeext conftest.$ac_ext
   17091 fi
   17092 
   17093 
   17094 		CFLAGS="$xorg_testset_save_CFLAGS"
   17095 
   17096 		eval supported=\$$cacheid
   17097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17098 $as_echo "$supported" >&6; }
   17099 		if test "$supported" = "yes" ; then
   17100 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17101 			found="yes"
   17102 		fi
   17103 	fi
   17104 
   17105 
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 
   17113 
   17114 
   17115 
   17116 
   17117 
   17118 
   17119 xorg_testset_save_CFLAGS="$CFLAGS"
   17120 
   17121 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17122 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17124 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17125 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17126   $as_echo_n "(cached) " >&6
   17127 else
   17128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17129 /* end confdefs.h.  */
   17130 int i;
   17131 _ACEOF
   17132 if ac_fn_c_try_compile "$LINENO"; then :
   17133   xorg_cv_cc_flag_unknown_warning_option=yes
   17134 else
   17135   xorg_cv_cc_flag_unknown_warning_option=no
   17136 fi
   17137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17138 fi
   17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17140 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17142 	CFLAGS="$xorg_testset_save_CFLAGS"
   17143 fi
   17144 
   17145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17148 	fi
   17149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17151 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17152 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17153   $as_echo_n "(cached) " >&6
   17154 else
   17155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17156 /* end confdefs.h.  */
   17157 int i;
   17158 _ACEOF
   17159 if ac_fn_c_try_compile "$LINENO"; then :
   17160   xorg_cv_cc_flag_unused_command_line_argument=yes
   17161 else
   17162   xorg_cv_cc_flag_unused_command_line_argument=no
   17163 fi
   17164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17165 fi
   17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17167 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17168 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17169 	CFLAGS="$xorg_testset_save_CFLAGS"
   17170 fi
   17171 
   17172 found="no"
   17173 
   17174 	if test $found = "no" ; then
   17175 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17176 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17177 		fi
   17178 
   17179 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17180 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17181 		fi
   17182 
   17183 		CFLAGS="$CFLAGS -Wsequence-point"
   17184 
   17185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17186 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   17187 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17188 		if eval \${$cacheid+:} false; then :
   17189   $as_echo_n "(cached) " >&6
   17190 else
   17191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17192 /* end confdefs.h.  */
   17193 int i;
   17194 int
   17195 main ()
   17196 {
   17197 
   17198   ;
   17199   return 0;
   17200 }
   17201 _ACEOF
   17202 if ac_fn_c_try_link "$LINENO"; then :
   17203   eval $cacheid=yes
   17204 else
   17205   eval $cacheid=no
   17206 fi
   17207 rm -f core conftest.err conftest.$ac_objext \
   17208     conftest$ac_exeext conftest.$ac_ext
   17209 fi
   17210 
   17211 
   17212 		CFLAGS="$xorg_testset_save_CFLAGS"
   17213 
   17214 		eval supported=\$$cacheid
   17215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17216 $as_echo "$supported" >&6; }
   17217 		if test "$supported" = "yes" ; then
   17218 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17219 			found="yes"
   17220 		fi
   17221 	fi
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 
   17235 
   17236 
   17237 xorg_testset_save_CFLAGS="$CFLAGS"
   17238 
   17239 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17240 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17241 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17242 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17243 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17244   $as_echo_n "(cached) " >&6
   17245 else
   17246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17247 /* end confdefs.h.  */
   17248 int i;
   17249 _ACEOF
   17250 if ac_fn_c_try_compile "$LINENO"; then :
   17251   xorg_cv_cc_flag_unknown_warning_option=yes
   17252 else
   17253   xorg_cv_cc_flag_unknown_warning_option=no
   17254 fi
   17255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17256 fi
   17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17258 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17259 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17260 	CFLAGS="$xorg_testset_save_CFLAGS"
   17261 fi
   17262 
   17263 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17264 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17265 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17266 	fi
   17267 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17269 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17270 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17271   $as_echo_n "(cached) " >&6
   17272 else
   17273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17274 /* end confdefs.h.  */
   17275 int i;
   17276 _ACEOF
   17277 if ac_fn_c_try_compile "$LINENO"; then :
   17278   xorg_cv_cc_flag_unused_command_line_argument=yes
   17279 else
   17280   xorg_cv_cc_flag_unused_command_line_argument=no
   17281 fi
   17282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17283 fi
   17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17285 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17286 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17287 	CFLAGS="$xorg_testset_save_CFLAGS"
   17288 fi
   17289 
   17290 found="no"
   17291 
   17292 	if test $found = "no" ; then
   17293 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17295 		fi
   17296 
   17297 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17299 		fi
   17300 
   17301 		CFLAGS="$CFLAGS -Wreturn-type"
   17302 
   17303 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17304 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   17305 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17306 		if eval \${$cacheid+:} false; then :
   17307   $as_echo_n "(cached) " >&6
   17308 else
   17309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17310 /* end confdefs.h.  */
   17311 int i;
   17312 int
   17313 main ()
   17314 {
   17315 
   17316   ;
   17317   return 0;
   17318 }
   17319 _ACEOF
   17320 if ac_fn_c_try_link "$LINENO"; then :
   17321   eval $cacheid=yes
   17322 else
   17323   eval $cacheid=no
   17324 fi
   17325 rm -f core conftest.err conftest.$ac_objext \
   17326     conftest$ac_exeext conftest.$ac_ext
   17327 fi
   17328 
   17329 
   17330 		CFLAGS="$xorg_testset_save_CFLAGS"
   17331 
   17332 		eval supported=\$$cacheid
   17333 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17334 $as_echo "$supported" >&6; }
   17335 		if test "$supported" = "yes" ; then
   17336 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17337 			found="yes"
   17338 		fi
   17339 	fi
   17340 
   17341 
   17342 
   17343 
   17344 
   17345 
   17346 
   17347 
   17348 
   17349 
   17350 
   17351 
   17352 
   17353 
   17354 
   17355 xorg_testset_save_CFLAGS="$CFLAGS"
   17356 
   17357 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17358 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17360 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17361 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17362   $as_echo_n "(cached) " >&6
   17363 else
   17364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17365 /* end confdefs.h.  */
   17366 int i;
   17367 _ACEOF
   17368 if ac_fn_c_try_compile "$LINENO"; then :
   17369   xorg_cv_cc_flag_unknown_warning_option=yes
   17370 else
   17371   xorg_cv_cc_flag_unknown_warning_option=no
   17372 fi
   17373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17374 fi
   17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17376 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17377 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17378 	CFLAGS="$xorg_testset_save_CFLAGS"
   17379 fi
   17380 
   17381 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17382 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17383 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17384 	fi
   17385 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17387 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17388 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17389   $as_echo_n "(cached) " >&6
   17390 else
   17391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17392 /* end confdefs.h.  */
   17393 int i;
   17394 _ACEOF
   17395 if ac_fn_c_try_compile "$LINENO"; then :
   17396   xorg_cv_cc_flag_unused_command_line_argument=yes
   17397 else
   17398   xorg_cv_cc_flag_unused_command_line_argument=no
   17399 fi
   17400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17401 fi
   17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17403 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17404 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17405 	CFLAGS="$xorg_testset_save_CFLAGS"
   17406 fi
   17407 
   17408 found="no"
   17409 
   17410 	if test $found = "no" ; then
   17411 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17412 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17413 		fi
   17414 
   17415 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17416 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17417 		fi
   17418 
   17419 		CFLAGS="$CFLAGS -Wtrigraphs"
   17420 
   17421 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17422 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17423 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17424 		if eval \${$cacheid+:} false; then :
   17425   $as_echo_n "(cached) " >&6
   17426 else
   17427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17428 /* end confdefs.h.  */
   17429 int i;
   17430 int
   17431 main ()
   17432 {
   17433 
   17434   ;
   17435   return 0;
   17436 }
   17437 _ACEOF
   17438 if ac_fn_c_try_link "$LINENO"; then :
   17439   eval $cacheid=yes
   17440 else
   17441   eval $cacheid=no
   17442 fi
   17443 rm -f core conftest.err conftest.$ac_objext \
   17444     conftest$ac_exeext conftest.$ac_ext
   17445 fi
   17446 
   17447 
   17448 		CFLAGS="$xorg_testset_save_CFLAGS"
   17449 
   17450 		eval supported=\$$cacheid
   17451 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17452 $as_echo "$supported" >&6; }
   17453 		if test "$supported" = "yes" ; then
   17454 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17455 			found="yes"
   17456 		fi
   17457 	fi
   17458 
   17459 
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 
   17466 
   17467 
   17468 
   17469 
   17470 
   17471 
   17472 
   17473 xorg_testset_save_CFLAGS="$CFLAGS"
   17474 
   17475 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17476 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17478 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17479 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17480   $as_echo_n "(cached) " >&6
   17481 else
   17482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17483 /* end confdefs.h.  */
   17484 int i;
   17485 _ACEOF
   17486 if ac_fn_c_try_compile "$LINENO"; then :
   17487   xorg_cv_cc_flag_unknown_warning_option=yes
   17488 else
   17489   xorg_cv_cc_flag_unknown_warning_option=no
   17490 fi
   17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17492 fi
   17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17494 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17495 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17496 	CFLAGS="$xorg_testset_save_CFLAGS"
   17497 fi
   17498 
   17499 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17500 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17501 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17502 	fi
   17503 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17505 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17506 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17507   $as_echo_n "(cached) " >&6
   17508 else
   17509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17510 /* end confdefs.h.  */
   17511 int i;
   17512 _ACEOF
   17513 if ac_fn_c_try_compile "$LINENO"; then :
   17514   xorg_cv_cc_flag_unused_command_line_argument=yes
   17515 else
   17516   xorg_cv_cc_flag_unused_command_line_argument=no
   17517 fi
   17518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17519 fi
   17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17521 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17523 	CFLAGS="$xorg_testset_save_CFLAGS"
   17524 fi
   17525 
   17526 found="no"
   17527 
   17528 	if test $found = "no" ; then
   17529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17531 		fi
   17532 
   17533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17535 		fi
   17536 
   17537 		CFLAGS="$CFLAGS -Warray-bounds"
   17538 
   17539 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17540 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17541 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17542 		if eval \${$cacheid+:} false; then :
   17543   $as_echo_n "(cached) " >&6
   17544 else
   17545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17546 /* end confdefs.h.  */
   17547 int i;
   17548 int
   17549 main ()
   17550 {
   17551 
   17552   ;
   17553   return 0;
   17554 }
   17555 _ACEOF
   17556 if ac_fn_c_try_link "$LINENO"; then :
   17557   eval $cacheid=yes
   17558 else
   17559   eval $cacheid=no
   17560 fi
   17561 rm -f core conftest.err conftest.$ac_objext \
   17562     conftest$ac_exeext conftest.$ac_ext
   17563 fi
   17564 
   17565 
   17566 		CFLAGS="$xorg_testset_save_CFLAGS"
   17567 
   17568 		eval supported=\$$cacheid
   17569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17570 $as_echo "$supported" >&6; }
   17571 		if test "$supported" = "yes" ; then
   17572 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17573 			found="yes"
   17574 		fi
   17575 	fi
   17576 
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 xorg_testset_save_CFLAGS="$CFLAGS"
   17592 
   17593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17596 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17597 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17598   $as_echo_n "(cached) " >&6
   17599 else
   17600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17601 /* end confdefs.h.  */
   17602 int i;
   17603 _ACEOF
   17604 if ac_fn_c_try_compile "$LINENO"; then :
   17605   xorg_cv_cc_flag_unknown_warning_option=yes
   17606 else
   17607   xorg_cv_cc_flag_unknown_warning_option=no
   17608 fi
   17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17610 fi
   17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17612 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17613 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17614 	CFLAGS="$xorg_testset_save_CFLAGS"
   17615 fi
   17616 
   17617 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17618 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17619 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17620 	fi
   17621 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17623 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17624 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17625   $as_echo_n "(cached) " >&6
   17626 else
   17627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17628 /* end confdefs.h.  */
   17629 int i;
   17630 _ACEOF
   17631 if ac_fn_c_try_compile "$LINENO"; then :
   17632   xorg_cv_cc_flag_unused_command_line_argument=yes
   17633 else
   17634   xorg_cv_cc_flag_unused_command_line_argument=no
   17635 fi
   17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17637 fi
   17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17639 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17640 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17641 	CFLAGS="$xorg_testset_save_CFLAGS"
   17642 fi
   17643 
   17644 found="no"
   17645 
   17646 	if test $found = "no" ; then
   17647 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17648 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17649 		fi
   17650 
   17651 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17652 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17653 		fi
   17654 
   17655 		CFLAGS="$CFLAGS -Wwrite-strings"
   17656 
   17657 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17658 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17659 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17660 		if eval \${$cacheid+:} false; then :
   17661   $as_echo_n "(cached) " >&6
   17662 else
   17663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17664 /* end confdefs.h.  */
   17665 int i;
   17666 int
   17667 main ()
   17668 {
   17669 
   17670   ;
   17671   return 0;
   17672 }
   17673 _ACEOF
   17674 if ac_fn_c_try_link "$LINENO"; then :
   17675   eval $cacheid=yes
   17676 else
   17677   eval $cacheid=no
   17678 fi
   17679 rm -f core conftest.err conftest.$ac_objext \
   17680     conftest$ac_exeext conftest.$ac_ext
   17681 fi
   17682 
   17683 
   17684 		CFLAGS="$xorg_testset_save_CFLAGS"
   17685 
   17686 		eval supported=\$$cacheid
   17687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17688 $as_echo "$supported" >&6; }
   17689 		if test "$supported" = "yes" ; then
   17690 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17691 			found="yes"
   17692 		fi
   17693 	fi
   17694 
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 xorg_testset_save_CFLAGS="$CFLAGS"
   17710 
   17711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17714 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17715 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17716   $as_echo_n "(cached) " >&6
   17717 else
   17718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17719 /* end confdefs.h.  */
   17720 int i;
   17721 _ACEOF
   17722 if ac_fn_c_try_compile "$LINENO"; then :
   17723   xorg_cv_cc_flag_unknown_warning_option=yes
   17724 else
   17725   xorg_cv_cc_flag_unknown_warning_option=no
   17726 fi
   17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17728 fi
   17729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17730 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17732 	CFLAGS="$xorg_testset_save_CFLAGS"
   17733 fi
   17734 
   17735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17738 	fi
   17739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17741 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17742 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17743   $as_echo_n "(cached) " >&6
   17744 else
   17745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17746 /* end confdefs.h.  */
   17747 int i;
   17748 _ACEOF
   17749 if ac_fn_c_try_compile "$LINENO"; then :
   17750   xorg_cv_cc_flag_unused_command_line_argument=yes
   17751 else
   17752   xorg_cv_cc_flag_unused_command_line_argument=no
   17753 fi
   17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17755 fi
   17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17757 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17759 	CFLAGS="$xorg_testset_save_CFLAGS"
   17760 fi
   17761 
   17762 found="no"
   17763 
   17764 	if test $found = "no" ; then
   17765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17767 		fi
   17768 
   17769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17771 		fi
   17772 
   17773 		CFLAGS="$CFLAGS -Waddress"
   17774 
   17775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17776 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17777 		cacheid=xorg_cv_cc_flag__Waddress
   17778 		if eval \${$cacheid+:} false; then :
   17779   $as_echo_n "(cached) " >&6
   17780 else
   17781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17782 /* end confdefs.h.  */
   17783 int i;
   17784 int
   17785 main ()
   17786 {
   17787 
   17788   ;
   17789   return 0;
   17790 }
   17791 _ACEOF
   17792 if ac_fn_c_try_link "$LINENO"; then :
   17793   eval $cacheid=yes
   17794 else
   17795   eval $cacheid=no
   17796 fi
   17797 rm -f core conftest.err conftest.$ac_objext \
   17798     conftest$ac_exeext conftest.$ac_ext
   17799 fi
   17800 
   17801 
   17802 		CFLAGS="$xorg_testset_save_CFLAGS"
   17803 
   17804 		eval supported=\$$cacheid
   17805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17806 $as_echo "$supported" >&6; }
   17807 		if test "$supported" = "yes" ; then
   17808 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17809 			found="yes"
   17810 		fi
   17811 	fi
   17812 
   17813 
   17814 
   17815 
   17816 
   17817 
   17818 
   17819 
   17820 
   17821 
   17822 
   17823 
   17824 
   17825 
   17826 
   17827 xorg_testset_save_CFLAGS="$CFLAGS"
   17828 
   17829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17832 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17833 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17834   $as_echo_n "(cached) " >&6
   17835 else
   17836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17837 /* end confdefs.h.  */
   17838 int i;
   17839 _ACEOF
   17840 if ac_fn_c_try_compile "$LINENO"; then :
   17841   xorg_cv_cc_flag_unknown_warning_option=yes
   17842 else
   17843   xorg_cv_cc_flag_unknown_warning_option=no
   17844 fi
   17845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17846 fi
   17847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17848 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17850 	CFLAGS="$xorg_testset_save_CFLAGS"
   17851 fi
   17852 
   17853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17856 	fi
   17857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17859 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17860 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17861   $as_echo_n "(cached) " >&6
   17862 else
   17863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17864 /* end confdefs.h.  */
   17865 int i;
   17866 _ACEOF
   17867 if ac_fn_c_try_compile "$LINENO"; then :
   17868   xorg_cv_cc_flag_unused_command_line_argument=yes
   17869 else
   17870   xorg_cv_cc_flag_unused_command_line_argument=no
   17871 fi
   17872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17873 fi
   17874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17875 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17877 	CFLAGS="$xorg_testset_save_CFLAGS"
   17878 fi
   17879 
   17880 found="no"
   17881 
   17882 	if test $found = "no" ; then
   17883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17885 		fi
   17886 
   17887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17889 		fi
   17890 
   17891 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17892 
   17893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17894 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17895 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17896 		if eval \${$cacheid+:} false; then :
   17897   $as_echo_n "(cached) " >&6
   17898 else
   17899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17900 /* end confdefs.h.  */
   17901 int i;
   17902 int
   17903 main ()
   17904 {
   17905 
   17906   ;
   17907   return 0;
   17908 }
   17909 _ACEOF
   17910 if ac_fn_c_try_link "$LINENO"; then :
   17911   eval $cacheid=yes
   17912 else
   17913   eval $cacheid=no
   17914 fi
   17915 rm -f core conftest.err conftest.$ac_objext \
   17916     conftest$ac_exeext conftest.$ac_ext
   17917 fi
   17918 
   17919 
   17920 		CFLAGS="$xorg_testset_save_CFLAGS"
   17921 
   17922 		eval supported=\$$cacheid
   17923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17924 $as_echo "$supported" >&6; }
   17925 		if test "$supported" = "yes" ; then
   17926 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17927 			found="yes"
   17928 		fi
   17929 	fi
   17930 
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 
   17937 
   17938 
   17939 
   17940 
   17941 
   17942 
   17943 
   17944 
   17945 xorg_testset_save_CFLAGS="$CFLAGS"
   17946 
   17947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17952   $as_echo_n "(cached) " >&6
   17953 else
   17954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17955 /* end confdefs.h.  */
   17956 int i;
   17957 _ACEOF
   17958 if ac_fn_c_try_compile "$LINENO"; then :
   17959   xorg_cv_cc_flag_unknown_warning_option=yes
   17960 else
   17961   xorg_cv_cc_flag_unknown_warning_option=no
   17962 fi
   17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17964 fi
   17965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17968 	CFLAGS="$xorg_testset_save_CFLAGS"
   17969 fi
   17970 
   17971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17974 	fi
   17975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17979   $as_echo_n "(cached) " >&6
   17980 else
   17981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17982 /* end confdefs.h.  */
   17983 int i;
   17984 _ACEOF
   17985 if ac_fn_c_try_compile "$LINENO"; then :
   17986   xorg_cv_cc_flag_unused_command_line_argument=yes
   17987 else
   17988   xorg_cv_cc_flag_unused_command_line_argument=no
   17989 fi
   17990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17991 fi
   17992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17995 	CFLAGS="$xorg_testset_save_CFLAGS"
   17996 fi
   17997 
   17998 found="no"
   17999 
   18000 	if test $found = "no" ; then
   18001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18003 		fi
   18004 
   18005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18007 		fi
   18008 
   18009 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18010 
   18011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18012 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18013 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18014 		if eval \${$cacheid+:} false; then :
   18015   $as_echo_n "(cached) " >&6
   18016 else
   18017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18018 /* end confdefs.h.  */
   18019 int i;
   18020 int
   18021 main ()
   18022 {
   18023 
   18024   ;
   18025   return 0;
   18026 }
   18027 _ACEOF
   18028 if ac_fn_c_try_link "$LINENO"; then :
   18029   eval $cacheid=yes
   18030 else
   18031   eval $cacheid=no
   18032 fi
   18033 rm -f core conftest.err conftest.$ac_objext \
   18034     conftest$ac_exeext conftest.$ac_ext
   18035 fi
   18036 
   18037 
   18038 		CFLAGS="$xorg_testset_save_CFLAGS"
   18039 
   18040 		eval supported=\$$cacheid
   18041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18042 $as_echo "$supported" >&6; }
   18043 		if test "$supported" = "yes" ; then
   18044 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18045 			found="yes"
   18046 		fi
   18047 	fi
   18048 
   18049 
   18050 fi
   18051 
   18052 
   18053 
   18054 
   18055 
   18056 
   18057 
   18058 		CWARNFLAGS="$BASE_CFLAGS"
   18059 		if  test "x$GCC" = xyes ; then
   18060 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18061 		fi
   18062 
   18063 
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 
   18070 # Check whether --enable-strict-compilation was given.
   18071 if test "${enable_strict_compilation+set}" = set; then :
   18072   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18073 else
   18074   STRICT_COMPILE=no
   18075 fi
   18076 
   18077 
   18078 
   18079 
   18080 
   18081 
   18082 STRICT_CFLAGS=""
   18083 
   18084 
   18085 
   18086 
   18087 
   18088 
   18089 
   18090 
   18091 
   18092 
   18093 
   18094 
   18095 
   18096 xorg_testset_save_CFLAGS="$CFLAGS"
   18097 
   18098 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18099 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18101 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18102 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18103   $as_echo_n "(cached) " >&6
   18104 else
   18105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18106 /* end confdefs.h.  */
   18107 int i;
   18108 _ACEOF
   18109 if ac_fn_c_try_compile "$LINENO"; then :
   18110   xorg_cv_cc_flag_unknown_warning_option=yes
   18111 else
   18112   xorg_cv_cc_flag_unknown_warning_option=no
   18113 fi
   18114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18115 fi
   18116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18117 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18118 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18119 	CFLAGS="$xorg_testset_save_CFLAGS"
   18120 fi
   18121 
   18122 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18123 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18124 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18125 	fi
   18126 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18128 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18129 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18130   $as_echo_n "(cached) " >&6
   18131 else
   18132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18133 /* end confdefs.h.  */
   18134 int i;
   18135 _ACEOF
   18136 if ac_fn_c_try_compile "$LINENO"; then :
   18137   xorg_cv_cc_flag_unused_command_line_argument=yes
   18138 else
   18139   xorg_cv_cc_flag_unused_command_line_argument=no
   18140 fi
   18141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18142 fi
   18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18144 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18145 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18146 	CFLAGS="$xorg_testset_save_CFLAGS"
   18147 fi
   18148 
   18149 found="no"
   18150 
   18151 	if test $found = "no" ; then
   18152 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18154 		fi
   18155 
   18156 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18158 		fi
   18159 
   18160 		CFLAGS="$CFLAGS -pedantic"
   18161 
   18162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18163 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   18164 		cacheid=xorg_cv_cc_flag__pedantic
   18165 		if eval \${$cacheid+:} false; then :
   18166   $as_echo_n "(cached) " >&6
   18167 else
   18168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18169 /* end confdefs.h.  */
   18170 int i;
   18171 int
   18172 main ()
   18173 {
   18174 
   18175   ;
   18176   return 0;
   18177 }
   18178 _ACEOF
   18179 if ac_fn_c_try_link "$LINENO"; then :
   18180   eval $cacheid=yes
   18181 else
   18182   eval $cacheid=no
   18183 fi
   18184 rm -f core conftest.err conftest.$ac_objext \
   18185     conftest$ac_exeext conftest.$ac_ext
   18186 fi
   18187 
   18188 
   18189 		CFLAGS="$xorg_testset_save_CFLAGS"
   18190 
   18191 		eval supported=\$$cacheid
   18192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18193 $as_echo "$supported" >&6; }
   18194 		if test "$supported" = "yes" ; then
   18195 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18196 			found="yes"
   18197 		fi
   18198 	fi
   18199 
   18200 
   18201 
   18202 
   18203 
   18204 
   18205 
   18206 
   18207 
   18208 
   18209 
   18210 
   18211 
   18212 
   18213 
   18214 xorg_testset_save_CFLAGS="$CFLAGS"
   18215 
   18216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18219 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18220 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18221   $as_echo_n "(cached) " >&6
   18222 else
   18223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18224 /* end confdefs.h.  */
   18225 int i;
   18226 _ACEOF
   18227 if ac_fn_c_try_compile "$LINENO"; then :
   18228   xorg_cv_cc_flag_unknown_warning_option=yes
   18229 else
   18230   xorg_cv_cc_flag_unknown_warning_option=no
   18231 fi
   18232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18233 fi
   18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18235 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18236 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18237 	CFLAGS="$xorg_testset_save_CFLAGS"
   18238 fi
   18239 
   18240 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18241 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18242 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18243 	fi
   18244 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18246 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18247 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18248   $as_echo_n "(cached) " >&6
   18249 else
   18250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18251 /* end confdefs.h.  */
   18252 int i;
   18253 _ACEOF
   18254 if ac_fn_c_try_compile "$LINENO"; then :
   18255   xorg_cv_cc_flag_unused_command_line_argument=yes
   18256 else
   18257   xorg_cv_cc_flag_unused_command_line_argument=no
   18258 fi
   18259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18260 fi
   18261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18262 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18263 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18264 	CFLAGS="$xorg_testset_save_CFLAGS"
   18265 fi
   18266 
   18267 found="no"
   18268 
   18269 	if test $found = "no" ; then
   18270 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18272 		fi
   18273 
   18274 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18276 		fi
   18277 
   18278 		CFLAGS="$CFLAGS -Werror"
   18279 
   18280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18281 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   18282 		cacheid=xorg_cv_cc_flag__Werror
   18283 		if eval \${$cacheid+:} false; then :
   18284   $as_echo_n "(cached) " >&6
   18285 else
   18286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18287 /* end confdefs.h.  */
   18288 int i;
   18289 int
   18290 main ()
   18291 {
   18292 
   18293   ;
   18294   return 0;
   18295 }
   18296 _ACEOF
   18297 if ac_fn_c_try_link "$LINENO"; then :
   18298   eval $cacheid=yes
   18299 else
   18300   eval $cacheid=no
   18301 fi
   18302 rm -f core conftest.err conftest.$ac_objext \
   18303     conftest$ac_exeext conftest.$ac_ext
   18304 fi
   18305 
   18306 
   18307 		CFLAGS="$xorg_testset_save_CFLAGS"
   18308 
   18309 		eval supported=\$$cacheid
   18310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18311 $as_echo "$supported" >&6; }
   18312 		if test "$supported" = "yes" ; then
   18313 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18314 			found="yes"
   18315 		fi
   18316 	fi
   18317 
   18318 	if test $found = "no" ; then
   18319 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18320 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18321 		fi
   18322 
   18323 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18324 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18325 		fi
   18326 
   18327 		CFLAGS="$CFLAGS -errwarn"
   18328 
   18329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18330 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   18331 		cacheid=xorg_cv_cc_flag__errwarn
   18332 		if eval \${$cacheid+:} false; then :
   18333   $as_echo_n "(cached) " >&6
   18334 else
   18335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18336 /* end confdefs.h.  */
   18337 int i;
   18338 int
   18339 main ()
   18340 {
   18341 
   18342   ;
   18343   return 0;
   18344 }
   18345 _ACEOF
   18346 if ac_fn_c_try_link "$LINENO"; then :
   18347   eval $cacheid=yes
   18348 else
   18349   eval $cacheid=no
   18350 fi
   18351 rm -f core conftest.err conftest.$ac_objext \
   18352     conftest$ac_exeext conftest.$ac_ext
   18353 fi
   18354 
   18355 
   18356 		CFLAGS="$xorg_testset_save_CFLAGS"
   18357 
   18358 		eval supported=\$$cacheid
   18359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18360 $as_echo "$supported" >&6; }
   18361 		if test "$supported" = "yes" ; then
   18362 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18363 			found="yes"
   18364 		fi
   18365 	fi
   18366 
   18367 
   18368 
   18369 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18370 # activate it with -Werror, so we add it here explicitly.
   18371 
   18372 
   18373 
   18374 
   18375 
   18376 
   18377 
   18378 
   18379 
   18380 
   18381 
   18382 
   18383 
   18384 xorg_testset_save_CFLAGS="$CFLAGS"
   18385 
   18386 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18387 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18388 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18389 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18390 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18391   $as_echo_n "(cached) " >&6
   18392 else
   18393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18394 /* end confdefs.h.  */
   18395 int i;
   18396 _ACEOF
   18397 if ac_fn_c_try_compile "$LINENO"; then :
   18398   xorg_cv_cc_flag_unknown_warning_option=yes
   18399 else
   18400   xorg_cv_cc_flag_unknown_warning_option=no
   18401 fi
   18402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18403 fi
   18404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18405 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18407 	CFLAGS="$xorg_testset_save_CFLAGS"
   18408 fi
   18409 
   18410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18413 	fi
   18414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18416 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18417 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18418   $as_echo_n "(cached) " >&6
   18419 else
   18420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18421 /* end confdefs.h.  */
   18422 int i;
   18423 _ACEOF
   18424 if ac_fn_c_try_compile "$LINENO"; then :
   18425   xorg_cv_cc_flag_unused_command_line_argument=yes
   18426 else
   18427   xorg_cv_cc_flag_unused_command_line_argument=no
   18428 fi
   18429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18430 fi
   18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18432 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18434 	CFLAGS="$xorg_testset_save_CFLAGS"
   18435 fi
   18436 
   18437 found="no"
   18438 
   18439 	if test $found = "no" ; then
   18440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18442 		fi
   18443 
   18444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18446 		fi
   18447 
   18448 		CFLAGS="$CFLAGS -Werror=attributes"
   18449 
   18450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18451 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18452 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18453 		if eval \${$cacheid+:} false; then :
   18454   $as_echo_n "(cached) " >&6
   18455 else
   18456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18457 /* end confdefs.h.  */
   18458 int i;
   18459 int
   18460 main ()
   18461 {
   18462 
   18463   ;
   18464   return 0;
   18465 }
   18466 _ACEOF
   18467 if ac_fn_c_try_link "$LINENO"; then :
   18468   eval $cacheid=yes
   18469 else
   18470   eval $cacheid=no
   18471 fi
   18472 rm -f core conftest.err conftest.$ac_objext \
   18473     conftest$ac_exeext conftest.$ac_ext
   18474 fi
   18475 
   18476 
   18477 		CFLAGS="$xorg_testset_save_CFLAGS"
   18478 
   18479 		eval supported=\$$cacheid
   18480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18481 $as_echo "$supported" >&6; }
   18482 		if test "$supported" = "yes" ; then
   18483 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18484 			found="yes"
   18485 		fi
   18486 	fi
   18487 
   18488 
   18489 
   18490 if test "x$STRICT_COMPILE" = "xyes"; then
   18491     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18492     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18493 fi
   18494 
   18495 
   18496 
   18497 
   18498 
   18499 
   18500 cat >>confdefs.h <<_ACEOF
   18501 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18502 _ACEOF
   18503 
   18504 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18505 	if test "x$PVM" = "x"; then
   18506 		PVM="0"
   18507 	fi
   18508 
   18509 cat >>confdefs.h <<_ACEOF
   18510 #define PACKAGE_VERSION_MINOR $PVM
   18511 _ACEOF
   18512 
   18513 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18514 	if test "x$PVP" = "x"; then
   18515 		PVP="0"
   18516 	fi
   18517 
   18518 cat >>confdefs.h <<_ACEOF
   18519 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18520 _ACEOF
   18521 
   18522 
   18523 
   18524 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   18525 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18526 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   18527 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   18528 
   18529 
   18530 
   18531 
   18532 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18533 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18534 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18535 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   18536 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   18537 
   18538 
   18539 
   18540 
   18541 
   18542 
   18543 if test x$APP_MAN_SUFFIX = x    ; then
   18544     APP_MAN_SUFFIX=1
   18545 fi
   18546 if test x$APP_MAN_DIR = x    ; then
   18547     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18548 fi
   18549 
   18550 if test x$LIB_MAN_SUFFIX = x    ; then
   18551     LIB_MAN_SUFFIX=3
   18552 fi
   18553 if test x$LIB_MAN_DIR = x    ; then
   18554     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18555 fi
   18556 
   18557 if test x$FILE_MAN_SUFFIX = x    ; then
   18558     case $host_os in
   18559 	# Solaris 2.0 - 11 use SysV man page sections
   18560 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   18561 	*)				FILE_MAN_SUFFIX=5  ;;
   18562     esac
   18563 fi
   18564 if test x$FILE_MAN_DIR = x    ; then
   18565     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18566 fi
   18567 
   18568 if test x$MISC_MAN_SUFFIX = x    ; then
   18569     case $host_os in
   18570 	# Solaris 2.0 - 11 use SysV man page sections
   18571 	solaris2.?|solaris2.1[01])	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 2.0 - 11 use SysV man page sections
   18582 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   18583 	*)				DRIVER_MAN_SUFFIX=4  ;;
   18584     esac
   18585 fi
   18586 if test x$DRIVER_MAN_DIR = x    ; then
   18587     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18588 fi
   18589 
   18590 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18591     case $host_os in
   18592 	# Solaris 2.0 - 11 use SysV man page sections
   18593 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   18594 	*)				ADMIN_MAN_SUFFIX=8  ;;
   18595     esac
   18596 fi
   18597 if test x$ADMIN_MAN_DIR = x    ; then
   18598     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18599 fi
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 
   18606 
   18607 
   18608 
   18609 
   18610 
   18611 
   18612 
   18613 
   18614 
   18615 XORG_MAN_PAGE="X Version 11"
   18616 
   18617 MAN_SUBSTS="\
   18618 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18619 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18620 	-e 's|__xservername__|Xorg|g' \
   18621 	-e 's|__xconfigfile__|xorg.conf|g' \
   18622 	-e 's|__projectroot__|\$(prefix)|g' \
   18623 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18624 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18625 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18626 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18627 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18628 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18629 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18630 
   18631 
   18632 
   18633 # Check whether --enable-silent-rules was given.
   18634 if test "${enable_silent_rules+set}" = set; then :
   18635   enableval=$enable_silent_rules;
   18636 fi
   18637 
   18638 case $enable_silent_rules in # (((
   18639   yes) AM_DEFAULT_VERBOSITY=0;;
   18640    no) AM_DEFAULT_VERBOSITY=1;;
   18641     *) AM_DEFAULT_VERBOSITY=0;;
   18642 esac
   18643 am_make=${MAKE-make}
   18644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18645 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18646 if ${am_cv_make_support_nested_variables+:} false; then :
   18647   $as_echo_n "(cached) " >&6
   18648 else
   18649   if $as_echo 'TRUE=$(BAR$(V))
   18650 BAR0=false
   18651 BAR1=true
   18652 V=1
   18653 am__doit:
   18654 	@$(TRUE)
   18655 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18656   am_cv_make_support_nested_variables=yes
   18657 else
   18658   am_cv_make_support_nested_variables=no
   18659 fi
   18660 fi
   18661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18662 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18663 if test $am_cv_make_support_nested_variables = yes; then
   18664     AM_V='$(V)'
   18665   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18666 else
   18667   AM_V=$AM_DEFAULT_VERBOSITY
   18668   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18669 fi
   18670 AM_BACKSLASH='\'
   18671 
   18672 
   18673 
   18674 
   18675 # Check whether --enable-devel-docs was given.
   18676 if test "${enable_devel_docs+set}" = set; then :
   18677   enableval=$enable_devel_docs; build_devel_docs=$enableval
   18678 else
   18679   build_devel_docs=yes
   18680 fi
   18681 
   18682 
   18683  if test x$build_devel_docs = xyes; then
   18684   ENABLE_DEVEL_DOCS_TRUE=
   18685   ENABLE_DEVEL_DOCS_FALSE='#'
   18686 else
   18687   ENABLE_DEVEL_DOCS_TRUE='#'
   18688   ENABLE_DEVEL_DOCS_FALSE=
   18689 fi
   18690 
   18691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   18692 $as_echo_n "checking whether to build developer documentation... " >&6; }
   18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   18694 $as_echo "$build_devel_docs" >&6; }
   18695 
   18696 
   18697 
   18698 
   18699 
   18700 # Check whether --with-xmlto was given.
   18701 if test "${with_xmlto+set}" = set; then :
   18702   withval=$with_xmlto; use_xmlto=$withval
   18703 else
   18704   use_xmlto=auto
   18705 fi
   18706 
   18707 
   18708 
   18709 if test "x$use_xmlto" = x"auto"; then
   18710    # Extract the first word of "xmlto", so it can be a program name with args.
   18711 set dummy xmlto; ac_word=$2
   18712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18713 $as_echo_n "checking for $ac_word... " >&6; }
   18714 if ${ac_cv_path_XMLTO+:} false; then :
   18715   $as_echo_n "(cached) " >&6
   18716 else
   18717   case $XMLTO in
   18718   [\\/]* | ?:[\\/]*)
   18719   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18720   ;;
   18721   *)
   18722   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18723 for as_dir in $PATH
   18724 do
   18725   IFS=$as_save_IFS
   18726   test -z "$as_dir" && as_dir=.
   18727     for ac_exec_ext in '' $ac_executable_extensions; do
   18728   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18729     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18730     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18731     break 2
   18732   fi
   18733 done
   18734   done
   18735 IFS=$as_save_IFS
   18736 
   18737   ;;
   18738 esac
   18739 fi
   18740 XMLTO=$ac_cv_path_XMLTO
   18741 if test -n "$XMLTO"; then
   18742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18743 $as_echo "$XMLTO" >&6; }
   18744 else
   18745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18746 $as_echo "no" >&6; }
   18747 fi
   18748 
   18749 
   18750    if test "x$XMLTO" = "x"; then
   18751         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   18752 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   18753 	have_xmlto=no
   18754    else
   18755         have_xmlto=yes
   18756    fi
   18757 elif test "x$use_xmlto" = x"yes" ; then
   18758    # Extract the first word of "xmlto", so it can be a program name with args.
   18759 set dummy xmlto; ac_word=$2
   18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18761 $as_echo_n "checking for $ac_word... " >&6; }
   18762 if ${ac_cv_path_XMLTO+:} false; then :
   18763   $as_echo_n "(cached) " >&6
   18764 else
   18765   case $XMLTO in
   18766   [\\/]* | ?:[\\/]*)
   18767   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18768   ;;
   18769   *)
   18770   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18771 for as_dir in $PATH
   18772 do
   18773   IFS=$as_save_IFS
   18774   test -z "$as_dir" && as_dir=.
   18775     for ac_exec_ext in '' $ac_executable_extensions; do
   18776   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18777     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18779     break 2
   18780   fi
   18781 done
   18782   done
   18783 IFS=$as_save_IFS
   18784 
   18785   ;;
   18786 esac
   18787 fi
   18788 XMLTO=$ac_cv_path_XMLTO
   18789 if test -n "$XMLTO"; then
   18790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18791 $as_echo "$XMLTO" >&6; }
   18792 else
   18793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18794 $as_echo "no" >&6; }
   18795 fi
   18796 
   18797 
   18798    if test "x$XMLTO" = "x"; then
   18799         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   18800    fi
   18801    have_xmlto=yes
   18802 elif test "x$use_xmlto" = x"no" ; then
   18803    if test "x$XMLTO" != "x"; then
   18804       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   18805 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   18806    fi
   18807    have_xmlto=no
   18808 else
   18809    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   18810 fi
   18811 
   18812 # Test for a minimum version of xmlto, if provided.
   18813 if test "$have_xmlto" = yes; then
   18814     # scrape the xmlto version
   18815     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   18816 $as_echo_n "checking the xmlto version... " >&6; }
   18817     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   18818     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   18819 $as_echo "$xmlto_version" >&6; }
   18820     as_arg_v1=$xmlto_version
   18821 as_arg_v2=0.0.22
   18822 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   18823 case $? in #(
   18824   1) :
   18825     if test "x$use_xmlto" = xauto; then
   18826             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   18827 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   18828             have_xmlto=no
   18829         else
   18830             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   18831         fi ;; #(
   18832   0) :
   18833      ;; #(
   18834   2) :
   18835      ;; #(
   18836   *) :
   18837      ;;
   18838 esac
   18839 fi
   18840 
   18841 # Test for the ability of xmlto to generate a text target
   18842 #
   18843 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   18844 # following test for empty XML docbook files.
   18845 # For compatibility reasons use the following empty XML docbook file and if
   18846 # it fails try it again with a non-empty XML file.
   18847 have_xmlto_text=no
   18848 cat > conftest.xml << "EOF"
   18849 EOF
   18850 if test "$have_xmlto" = yes; then :
   18851   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18852   have_xmlto_text=yes
   18853 else
   18854   # Try it again with a non-empty XML file.
   18855               cat > conftest.xml << "EOF"
   18856 <x></x>
   18857 EOF
   18858               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18859   have_xmlto_text=yes
   18860 else
   18861   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   18862 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   18863 fi
   18864 fi
   18865 fi
   18866 rm -f conftest.xml
   18867  if test $have_xmlto_text = yes; then
   18868   HAVE_XMLTO_TEXT_TRUE=
   18869   HAVE_XMLTO_TEXT_FALSE='#'
   18870 else
   18871   HAVE_XMLTO_TEXT_TRUE='#'
   18872   HAVE_XMLTO_TEXT_FALSE=
   18873 fi
   18874 
   18875  if test "$have_xmlto" = yes; then
   18876   HAVE_XMLTO_TRUE=
   18877   HAVE_XMLTO_FALSE='#'
   18878 else
   18879   HAVE_XMLTO_TRUE='#'
   18880   HAVE_XMLTO_FALSE=
   18881 fi
   18882 
   18883 
   18884 
   18885 
   18886 
   18887 
   18888 # Check whether --with-fop was given.
   18889 if test "${with_fop+set}" = set; then :
   18890   withval=$with_fop; use_fop=$withval
   18891 else
   18892   use_fop=auto
   18893 fi
   18894 
   18895 
   18896 
   18897 if test "x$use_fop" = x"auto"; then
   18898    # Extract the first word of "fop", so it can be a program name with args.
   18899 set dummy fop; ac_word=$2
   18900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18901 $as_echo_n "checking for $ac_word... " >&6; }
   18902 if ${ac_cv_path_FOP+:} false; then :
   18903   $as_echo_n "(cached) " >&6
   18904 else
   18905   case $FOP in
   18906   [\\/]* | ?:[\\/]*)
   18907   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18908   ;;
   18909   *)
   18910   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18911 for as_dir in $PATH
   18912 do
   18913   IFS=$as_save_IFS
   18914   test -z "$as_dir" && as_dir=.
   18915     for ac_exec_ext in '' $ac_executable_extensions; do
   18916   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18917     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18918     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18919     break 2
   18920   fi
   18921 done
   18922   done
   18923 IFS=$as_save_IFS
   18924 
   18925   ;;
   18926 esac
   18927 fi
   18928 FOP=$ac_cv_path_FOP
   18929 if test -n "$FOP"; then
   18930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18931 $as_echo "$FOP" >&6; }
   18932 else
   18933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18934 $as_echo "no" >&6; }
   18935 fi
   18936 
   18937 
   18938    if test "x$FOP" = "x"; then
   18939         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   18940 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   18941 	have_fop=no
   18942    else
   18943         have_fop=yes
   18944    fi
   18945 elif test "x$use_fop" = x"yes" ; then
   18946    # Extract the first word of "fop", so it can be a program name with args.
   18947 set dummy fop; ac_word=$2
   18948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18949 $as_echo_n "checking for $ac_word... " >&6; }
   18950 if ${ac_cv_path_FOP+:} false; then :
   18951   $as_echo_n "(cached) " >&6
   18952 else
   18953   case $FOP in
   18954   [\\/]* | ?:[\\/]*)
   18955   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18956   ;;
   18957   *)
   18958   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18959 for as_dir in $PATH
   18960 do
   18961   IFS=$as_save_IFS
   18962   test -z "$as_dir" && as_dir=.
   18963     for ac_exec_ext in '' $ac_executable_extensions; do
   18964   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18965     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18967     break 2
   18968   fi
   18969 done
   18970   done
   18971 IFS=$as_save_IFS
   18972 
   18973   ;;
   18974 esac
   18975 fi
   18976 FOP=$ac_cv_path_FOP
   18977 if test -n "$FOP"; then
   18978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18979 $as_echo "$FOP" >&6; }
   18980 else
   18981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18982 $as_echo "no" >&6; }
   18983 fi
   18984 
   18985 
   18986    if test "x$FOP" = "x"; then
   18987         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   18988    fi
   18989    have_fop=yes
   18990 elif test "x$use_fop" = x"no" ; then
   18991    if test "x$FOP" != "x"; then
   18992       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   18993 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   18994    fi
   18995    have_fop=no
   18996 else
   18997    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   18998 fi
   18999 
   19000 # Test for a minimum version of fop, if provided.
   19001 
   19002  if test "$have_fop" = yes; then
   19003   HAVE_FOP_TRUE=
   19004   HAVE_FOP_FALSE='#'
   19005 else
   19006   HAVE_FOP_TRUE='#'
   19007   HAVE_FOP_FALSE=
   19008 fi
   19009 
   19010 
   19011 
   19012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.7" >&5
   19013 $as_echo_n "checking for X.Org SGML entities >= 1.7... " >&6; }
   19014 XORG_SGML_PATH=
   19015 if test -n "$PKG_CONFIG" && \
   19016     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.7\""; } >&5
   19017   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.7") 2>&5
   19018   ac_status=$?
   19019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19020   test $ac_status = 0; }; then
   19021   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   19022 else
   19023   :
   19024 
   19025 fi
   19026 
   19027 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   19028 # the path and the name of the doc stylesheet
   19029 if test "x$XORG_SGML_PATH" != "x" ; then
   19030    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   19031 $as_echo "$XORG_SGML_PATH" >&6; }
   19032    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   19033    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   19034 else
   19035    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19036 $as_echo "no" >&6; }
   19037 fi
   19038 
   19039 
   19040 
   19041 
   19042  if test "x$XSL_STYLESHEET" != "x"; then
   19043   HAVE_STYLESHEETS_TRUE=
   19044   HAVE_STYLESHEETS_FALSE='#'
   19045 else
   19046   HAVE_STYLESHEETS_TRUE='#'
   19047   HAVE_STYLESHEETS_FALSE=
   19048 fi
   19049 
   19050 
   19051 
   19052 # Checks for header files.
   19053 for ac_header in endian.h poll.h sys/poll.h
   19054 do :
   19055   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   19056 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   19057 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   19058   cat >>confdefs.h <<_ACEOF
   19059 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   19060 _ACEOF
   19061 
   19062 fi
   19063 
   19064 done
   19065 
   19066 
   19067 # Checks for library functions.
   19068 for ac_func in poll readlink
   19069 do :
   19070   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   19071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   19072 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   19073   cat >>confdefs.h <<_ACEOF
   19074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   19075 _ACEOF
   19076 
   19077 fi
   19078 done
   19079 
   19080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strlcat" >&5
   19081 $as_echo_n "checking for library containing strlcat... " >&6; }
   19082 if ${ac_cv_search_strlcat+:} false; then :
   19083   $as_echo_n "(cached) " >&6
   19084 else
   19085   ac_func_search_save_LIBS=$LIBS
   19086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19087 /* end confdefs.h.  */
   19088 
   19089 /* Override any GCC internal prototype to avoid an error.
   19090    Use char because int might match the return type of a GCC
   19091    builtin and then its argument prototype would still apply.  */
   19092 #ifdef __cplusplus
   19093 extern "C"
   19094 #endif
   19095 char strlcat ();
   19096 int
   19097 main ()
   19098 {
   19099 return strlcat ();
   19100   ;
   19101   return 0;
   19102 }
   19103 _ACEOF
   19104 for ac_lib in '' bsd; do
   19105   if test -z "$ac_lib"; then
   19106     ac_res="none required"
   19107   else
   19108     ac_res=-l$ac_lib
   19109     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19110   fi
   19111   if ac_fn_c_try_link "$LINENO"; then :
   19112   ac_cv_search_strlcat=$ac_res
   19113 fi
   19114 rm -f core conftest.err conftest.$ac_objext \
   19115     conftest$ac_exeext
   19116   if ${ac_cv_search_strlcat+:} false; then :
   19117   break
   19118 fi
   19119 done
   19120 if ${ac_cv_search_strlcat+:} false; then :
   19121 
   19122 else
   19123   ac_cv_search_strlcat=no
   19124 fi
   19125 rm conftest.$ac_ext
   19126 LIBS=$ac_func_search_save_LIBS
   19127 fi
   19128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strlcat" >&5
   19129 $as_echo "$ac_cv_search_strlcat" >&6; }
   19130 ac_res=$ac_cv_search_strlcat
   19131 if test "$ac_res" != no; then :
   19132   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19133 
   19134 fi
   19135 
   19136 
   19137 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   19138 if test "x$ac_cv_func_reallocarray" = xyes; then :
   19139   $as_echo "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   19140 
   19141 else
   19142   case " $LIBOBJS " in
   19143   *" reallocarray.$ac_objext "* ) ;;
   19144   *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
   19145  ;;
   19146 esac
   19147 
   19148 fi
   19149 
   19150 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   19151 if test "x$ac_cv_func_strlcat" = xyes; then :
   19152   $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h
   19153 
   19154 else
   19155   case " $LIBOBJS " in
   19156   *" strlcat.$ac_objext "* ) ;;
   19157   *) LIBOBJS="$LIBOBJS strlcat.$ac_objext"
   19158  ;;
   19159 esac
   19160 
   19161 fi
   19162 
   19163 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   19164 if test "x$ac_cv_func_strlcpy" = xyes; then :
   19165   $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h
   19166 
   19167 else
   19168   case " $LIBOBJS " in
   19169   *" strlcpy.$ac_objext "* ) ;;
   19170   *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
   19171  ;;
   19172 esac
   19173 
   19174 fi
   19175 
   19176 
   19177 
   19178 # If the first PKG_CHECK_MODULES appears inside a conditional, pkg-config
   19179 # must first be located explicitly.
   19180 
   19181 
   19182 
   19183 
   19184 
   19185 
   19186 
   19187 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19188 	if test -n "$ac_tool_prefix"; then
   19189   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19190 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19192 $as_echo_n "checking for $ac_word... " >&6; }
   19193 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   19194   $as_echo_n "(cached) " >&6
   19195 else
   19196   case $PKG_CONFIG in
   19197   [\\/]* | ?:[\\/]*)
   19198   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19199   ;;
   19200   *)
   19201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19202 for as_dir in $PATH
   19203 do
   19204   IFS=$as_save_IFS
   19205   test -z "$as_dir" && as_dir=.
   19206     for ac_exec_ext in '' $ac_executable_extensions; do
   19207   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19208     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19210     break 2
   19211   fi
   19212 done
   19213   done
   19214 IFS=$as_save_IFS
   19215 
   19216   ;;
   19217 esac
   19218 fi
   19219 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19220 if test -n "$PKG_CONFIG"; then
   19221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   19222 $as_echo "$PKG_CONFIG" >&6; }
   19223 else
   19224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19225 $as_echo "no" >&6; }
   19226 fi
   19227 
   19228 
   19229 fi
   19230 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19231   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19232   # Extract the first word of "pkg-config", so it can be a program name with args.
   19233 set dummy pkg-config; ac_word=$2
   19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19235 $as_echo_n "checking for $ac_word... " >&6; }
   19236 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   19237   $as_echo_n "(cached) " >&6
   19238 else
   19239   case $ac_pt_PKG_CONFIG in
   19240   [\\/]* | ?:[\\/]*)
   19241   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19242   ;;
   19243   *)
   19244   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19245 for as_dir in $PATH
   19246 do
   19247   IFS=$as_save_IFS
   19248   test -z "$as_dir" && as_dir=.
   19249     for ac_exec_ext in '' $ac_executable_extensions; do
   19250   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19251     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19253     break 2
   19254   fi
   19255 done
   19256   done
   19257 IFS=$as_save_IFS
   19258 
   19259   ;;
   19260 esac
   19261 fi
   19262 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19263 if test -n "$ac_pt_PKG_CONFIG"; then
   19264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   19265 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   19266 else
   19267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19268 $as_echo "no" >&6; }
   19269 fi
   19270 
   19271   if test "x$ac_pt_PKG_CONFIG" = x; then
   19272     PKG_CONFIG=""
   19273   else
   19274     case $cross_compiling:$ac_tool_warned in
   19275 yes:)
   19276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   19277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   19278 ac_tool_warned=yes ;;
   19279 esac
   19280     PKG_CONFIG=$ac_pt_PKG_CONFIG
   19281   fi
   19282 else
   19283   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19284 fi
   19285 
   19286 fi
   19287 if test -n "$PKG_CONFIG"; then
   19288 	_pkg_min_version=0.9.0
   19289 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   19290 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   19291 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19292 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19293 $as_echo "yes" >&6; }
   19294 	else
   19295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19296 $as_echo "no" >&6; }
   19297 		PKG_CONFIG=""
   19298 	fi
   19299 fi
   19300 
   19301 #
   19302 # select libraries to include
   19303 #
   19304 
   19305 XFONT_FONTFILE=no
   19306 
   19307 #
   19308 # FreeType for all scalable (OpenType, TrueType, PostScript) and
   19309 # some bitmap formats (BDF & PCF)
   19310 #
   19311 # Check whether --enable-freetype was given.
   19312 if test "${enable_freetype+set}" = set; then :
   19313   enableval=$enable_freetype; XFONT_FREETYPE=$enableval
   19314 else
   19315   XFONT_FREETYPE=yes
   19316 fi
   19317 
   19318  if test x$XFONT_FREETYPE = xyes; then
   19319   XFONT_FREETYPE_TRUE=
   19320   XFONT_FREETYPE_FALSE='#'
   19321 else
   19322   XFONT_FREETYPE_TRUE='#'
   19323   XFONT_FREETYPE_FALSE=
   19324 fi
   19325 
   19326 if test x$XFONT_FREETYPE = xyes; then
   19327 
   19328 $as_echo "#define XFONT_FREETYPE 1" >>confdefs.h
   19329 
   19330 
   19331 # Check whether --with-freetype-config was given.
   19332 if test "${with_freetype_config+set}" = set; then :
   19333   withval=$with_freetype_config; freetype_config=$withval
   19334 else
   19335   freetype_config=auto
   19336 fi
   19337 
   19338 
   19339 	if test "$freetype_config" = "auto" ; then
   19340 
   19341 pkg_failed=no
   19342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
   19343 $as_echo_n "checking for FREETYPE... " >&6; }
   19344 
   19345 if test -n "$FREETYPE_CFLAGS"; then
   19346     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   19347  elif test -n "$PKG_CONFIG"; then
   19348     if test -n "$PKG_CONFIG" && \
   19349     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   19350   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   19351   ac_status=$?
   19352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19353   test $ac_status = 0; }; then
   19354   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
   19355 		      test "x$?" != "x0" && pkg_failed=yes
   19356 else
   19357   pkg_failed=yes
   19358 fi
   19359  else
   19360     pkg_failed=untried
   19361 fi
   19362 if test -n "$FREETYPE_LIBS"; then
   19363     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   19364  elif test -n "$PKG_CONFIG"; then
   19365     if test -n "$PKG_CONFIG" && \
   19366     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   19367   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   19368   ac_status=$?
   19369   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19370   test $ac_status = 0; }; then
   19371   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
   19372 		      test "x$?" != "x0" && pkg_failed=yes
   19373 else
   19374   pkg_failed=yes
   19375 fi
   19376  else
   19377     pkg_failed=untried
   19378 fi
   19379 
   19380 
   19381 
   19382 if test $pkg_failed = yes; then
   19383    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19384 $as_echo "no" >&6; }
   19385 
   19386 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19387         _pkg_short_errors_supported=yes
   19388 else
   19389         _pkg_short_errors_supported=no
   19390 fi
   19391         if test $_pkg_short_errors_supported = yes; then
   19392 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
   19393         else
   19394 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
   19395         fi
   19396 	# Put the nasty error message in config.log where it belongs
   19397 	echo "$FREETYPE_PKG_ERRORS" >&5
   19398 
   19399 	freetype_config=yes
   19400 elif test $pkg_failed = untried; then
   19401      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19402 $as_echo "no" >&6; }
   19403 	freetype_config=yes
   19404 else
   19405 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   19406 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   19407         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19408 $as_echo "yes" >&6; }
   19409 	freetype_config=no
   19410 fi
   19411 	fi
   19412 
   19413 	if test "$freetype_config" = "yes"; then
   19414 		# Extract the first word of "freetype-config", so it can be a program name with args.
   19415 set dummy freetype-config; ac_word=$2
   19416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19417 $as_echo_n "checking for $ac_word... " >&6; }
   19418 if ${ac_cv_path_ft_config+:} false; then :
   19419   $as_echo_n "(cached) " >&6
   19420 else
   19421   case $ft_config in
   19422   [\\/]* | ?:[\\/]*)
   19423   ac_cv_path_ft_config="$ft_config" # Let the user override the test with a path.
   19424   ;;
   19425   *)
   19426   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19427 for as_dir in $PATH
   19428 do
   19429   IFS=$as_save_IFS
   19430   test -z "$as_dir" && as_dir=.
   19431     for ac_exec_ext in '' $ac_executable_extensions; do
   19432   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19433     ac_cv_path_ft_config="$as_dir/$ac_word$ac_exec_ext"
   19434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19435     break 2
   19436   fi
   19437 done
   19438   done
   19439 IFS=$as_save_IFS
   19440 
   19441   test -z "$ac_cv_path_ft_config" && ac_cv_path_ft_config="no"
   19442   ;;
   19443 esac
   19444 fi
   19445 ft_config=$ac_cv_path_ft_config
   19446 if test -n "$ft_config"; then
   19447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_config" >&5
   19448 $as_echo "$ft_config" >&6; }
   19449 else
   19450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19451 $as_echo "no" >&6; }
   19452 fi
   19453 
   19454 
   19455 		if test "$ft_config" = "no"; then
   19456 			as_fn_error $? "You must have freetype installed; see http://www.freetype.org/" "$LINENO" 5
   19457 		fi
   19458 	else
   19459 		ft_config="$freetype_config"
   19460 	fi
   19461 
   19462 	if test "$freetype_config" != "no"; then
   19463 		FREETYPE_CFLAGS="`$ft_config --cflags`"
   19464 		FREETYPE_LIBS="`$ft_config --libs`"
   19465 	fi
   19466 	FREETYPE_REQUIRES="freetype2"
   19467 	XFONT_FONTFILE=yes
   19468 else
   19469 	FREETYPE_CFLAGS=""
   19470 	FREETYPE_LIBS=""
   19471 	FREETYPE_REQUIRES=""
   19472 fi
   19473 
   19474 
   19475 
   19476 
   19477 #
   19478 # Bitmap fonts in files:
   19479 #	Builtins (gzipped pcf format in .text segment)
   19480 #	PCF
   19481 #	BDF
   19482 #	SNF
   19483 #
   19484 
   19485 
   19486 $as_echo "#define X_GZIP_FONT_COMPRESSION 1" >>confdefs.h
   19487 
   19488 X_GZIP_FONT_COMPRESSION=1
   19489 
   19490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
   19491 $as_echo_n "checking for gzopen in -lz... " >&6; }
   19492 if ${ac_cv_lib_z_gzopen+:} false; then :
   19493   $as_echo_n "(cached) " >&6
   19494 else
   19495   ac_check_lib_save_LIBS=$LIBS
   19496 LIBS="-lz  $LIBS"
   19497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19498 /* end confdefs.h.  */
   19499 
   19500 /* Override any GCC internal prototype to avoid an error.
   19501    Use char because int might match the return type of a GCC
   19502    builtin and then its argument prototype would still apply.  */
   19503 #ifdef __cplusplus
   19504 extern "C"
   19505 #endif
   19506 char gzopen ();
   19507 int
   19508 main ()
   19509 {
   19510 return gzopen ();
   19511   ;
   19512   return 0;
   19513 }
   19514 _ACEOF
   19515 if ac_fn_c_try_link "$LINENO"; then :
   19516   ac_cv_lib_z_gzopen=yes
   19517 else
   19518   ac_cv_lib_z_gzopen=no
   19519 fi
   19520 rm -f core conftest.err conftest.$ac_objext \
   19521     conftest$ac_exeext conftest.$ac_ext
   19522 LIBS=$ac_check_lib_save_LIBS
   19523 fi
   19524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
   19525 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
   19526 if test "x$ac_cv_lib_z_gzopen" = xyes; then :
   19527   Z_LIBS=-lz
   19528 else
   19529   as_fn_error $? "*** zlib is required" "$LINENO" 5
   19530 fi
   19531 
   19532 
   19533 
   19534 # Check whether --with-bzip2 was given.
   19535 if test "${with_bzip2+set}" = set; then :
   19536   withval=$with_bzip2;
   19537 else
   19538   with_bzip2=no
   19539 fi
   19540 
   19541 if test "x$with_bzip2" = xyes; then
   19542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzopen in -lbz2" >&5
   19543 $as_echo_n "checking for BZ2_bzopen in -lbz2... " >&6; }
   19544 if ${ac_cv_lib_bz2_BZ2_bzopen+:} false; then :
   19545   $as_echo_n "(cached) " >&6
   19546 else
   19547   ac_check_lib_save_LIBS=$LIBS
   19548 LIBS="-lbz2  $LIBS"
   19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19550 /* end confdefs.h.  */
   19551 
   19552 /* Override any GCC internal prototype to avoid an error.
   19553    Use char because int might match the return type of a GCC
   19554    builtin and then its argument prototype would still apply.  */
   19555 #ifdef __cplusplus
   19556 extern "C"
   19557 #endif
   19558 char BZ2_bzopen ();
   19559 int
   19560 main ()
   19561 {
   19562 return BZ2_bzopen ();
   19563   ;
   19564   return 0;
   19565 }
   19566 _ACEOF
   19567 if ac_fn_c_try_link "$LINENO"; then :
   19568   ac_cv_lib_bz2_BZ2_bzopen=yes
   19569 else
   19570   ac_cv_lib_bz2_BZ2_bzopen=no
   19571 fi
   19572 rm -f core conftest.err conftest.$ac_objext \
   19573     conftest$ac_exeext conftest.$ac_ext
   19574 LIBS=$ac_check_lib_save_LIBS
   19575 fi
   19576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
   19577 $as_echo "$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
   19578 if test "x$ac_cv_lib_bz2_BZ2_bzopen" = xyes; then :
   19579   Z_LIBS="$Z_LIBS -lbz2"
   19580 else
   19581   as_fn_error $? "*** libbz2 is required for bzip2 support" "$LINENO" 5
   19582 fi
   19583 
   19584 
   19585 $as_echo "#define X_BZIP2_FONT_COMPRESSION 1" >>confdefs.h
   19586 
   19587 fi
   19588  if test "x$with_bzip2" = xyes ; then
   19589   X_BZIP2_FONT_COMPRESSION_TRUE=
   19590   X_BZIP2_FONT_COMPRESSION_FALSE='#'
   19591 else
   19592   X_BZIP2_FONT_COMPRESSION_TRUE='#'
   19593   X_BZIP2_FONT_COMPRESSION_FALSE=
   19594 fi
   19595 
   19596 
   19597 
   19598 # Check whether --enable-builtins was given.
   19599 if test "${enable_builtins+set}" = set; then :
   19600   enableval=$enable_builtins; XFONT_BUILTINS=$enableval
   19601 else
   19602   XFONT_BUILTINS=yes
   19603 fi
   19604 
   19605  if test "x$XFONT_BUILTINS" = xyes ; then
   19606   XFONT_BUILTINS_TRUE=
   19607   XFONT_BUILTINS_FALSE='#'
   19608 else
   19609   XFONT_BUILTINS_TRUE='#'
   19610   XFONT_BUILTINS_FALSE=
   19611 fi
   19612 
   19613 if test "x$XFONT_BUILTINS" = xyes; then
   19614 
   19615 $as_echo "#define XFONT_BUILTINS 1" >>confdefs.h
   19616 
   19617 	XFONT_BITMAP=yes
   19618 fi
   19619 
   19620 # Check whether --enable-pcfformat was given.
   19621 if test "${enable_pcfformat+set}" = set; then :
   19622   enableval=$enable_pcfformat; XFONT_PCFFORMAT=$enableval
   19623 else
   19624   XFONT_PCFFORMAT=yes
   19625 fi
   19626 
   19627  if test "x$XFONT_PCFFORMAT" = xyes; then
   19628   XFONT_PCFFORMAT_TRUE=
   19629   XFONT_PCFFORMAT_FALSE='#'
   19630 else
   19631   XFONT_PCFFORMAT_TRUE='#'
   19632   XFONT_PCFFORMAT_FALSE=
   19633 fi
   19634 
   19635 if test "x$XFONT_PCFFORMAT" = xyes; then
   19636 
   19637 $as_echo "#define XFONT_PCFFORMAT 1" >>confdefs.h
   19638 
   19639 	XFONT_BITMAP=yes
   19640 fi
   19641 
   19642  if test "x$XFONT_PCFFORMAT" = xyes -o "x$XFONT_BUILTINS" = xyes; then
   19643   XFONT_PCF_OR_BUILTIN_TRUE=
   19644   XFONT_PCF_OR_BUILTIN_FALSE='#'
   19645 else
   19646   XFONT_PCF_OR_BUILTIN_TRUE='#'
   19647   XFONT_PCF_OR_BUILTIN_FALSE=
   19648 fi
   19649 
   19650 
   19651 # Check whether --enable-bdfformat was given.
   19652 if test "${enable_bdfformat+set}" = set; then :
   19653   enableval=$enable_bdfformat; XFONT_BDFFORMAT=$enableval
   19654 else
   19655   XFONT_BDFFORMAT=yes
   19656 fi
   19657 
   19658  if test "x$XFONT_BDFFORMAT" = xyes; then
   19659   XFONT_BDFFORMAT_TRUE=
   19660   XFONT_BDFFORMAT_FALSE='#'
   19661 else
   19662   XFONT_BDFFORMAT_TRUE='#'
   19663   XFONT_BDFFORMAT_FALSE=
   19664 fi
   19665 
   19666 if test "x$XFONT_BDFFORMAT" = xyes; then
   19667 
   19668 $as_echo "#define XFONT_BDFFORMAT 1" >>confdefs.h
   19669 
   19670 	XFONT_BITMAP=yes
   19671 fi
   19672 
   19673 # Check whether --enable-snfformat was given.
   19674 if test "${enable_snfformat+set}" = set; then :
   19675   enableval=$enable_snfformat; XFONT_SNFFORMAT=$enableval
   19676 else
   19677   XFONT_SNFFORMAT=no
   19678 fi
   19679 
   19680  if test "x$XFONT_SNFFORMAT" = xyes; then
   19681   XFONT_SNFFORMAT_TRUE=
   19682   XFONT_SNFFORMAT_FALSE='#'
   19683 else
   19684   XFONT_SNFFORMAT_TRUE='#'
   19685   XFONT_SNFFORMAT_FALSE=
   19686 fi
   19687 
   19688 if test "x$XFONT_SNFFORMAT" = xyes; then
   19689 
   19690 $as_echo "#define XFONT_SNFFORMAT 1" >>confdefs.h
   19691 
   19692 	XFONT_BITMAP=yes
   19693 fi
   19694 
   19695  if test "x$XFONT_BITMAP" = xyes ; then
   19696   XFONT_BITMAP_TRUE=
   19697   XFONT_BITMAP_FALSE='#'
   19698 else
   19699   XFONT_BITMAP_TRUE='#'
   19700   XFONT_BITMAP_FALSE=
   19701 fi
   19702 
   19703 if test "x$XFONT_BITMAP" = xyes; then
   19704 
   19705 $as_echo "#define XFONT_BITMAP 1" >>confdefs.h
   19706 
   19707 	XFONT_FONTFILE=yes
   19708 fi
   19709 
   19710  if test "x$XFONT_FONTFILE" = xyes; then
   19711   XFONT_FONTFILE_TRUE=
   19712   XFONT_FONTFILE_FALSE='#'
   19713 else
   19714   XFONT_FONTFILE_TRUE='#'
   19715   XFONT_FONTFILE_FALSE=
   19716 fi
   19717 
   19718 if test "x$XFONT_FONTFILE" = xyes; then
   19719 
   19720 $as_echo "#define XFONT_FONTFILE 1" >>confdefs.h
   19721 
   19722 fi
   19723 
   19724 #
   19725 # Support connection to font servers?
   19726 #
   19727 
   19728 # Check whether --enable-fc was given.
   19729 if test "${enable_fc+set}" = set; then :
   19730   enableval=$enable_fc; XFONT_FC=$enableval
   19731 else
   19732   XFONT_FC=yes
   19733 fi
   19734 
   19735  if test "x$XFONT_FC" = xyes; then
   19736   XFONT_FC_TRUE=
   19737   XFONT_FC_FALSE='#'
   19738 else
   19739   XFONT_FC_TRUE='#'
   19740   XFONT_FC_FALSE=
   19741 fi
   19742 
   19743 if test "x$XFONT_FC" = xyes; then
   19744 
   19745 $as_echo "#define XFONT_FC 1" >>confdefs.h
   19746 
   19747 fi
   19748 
   19749 
   19750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
   19751 $as_echo_n "checking for hypot in -lm... " >&6; }
   19752 if ${ac_cv_lib_m_hypot+:} false; then :
   19753   $as_echo_n "(cached) " >&6
   19754 else
   19755   ac_check_lib_save_LIBS=$LIBS
   19756 LIBS="-lm  $LIBS"
   19757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19758 /* end confdefs.h.  */
   19759 
   19760 /* Override any GCC internal prototype to avoid an error.
   19761    Use char because int might match the return type of a GCC
   19762    builtin and then its argument prototype would still apply.  */
   19763 #ifdef __cplusplus
   19764 extern "C"
   19765 #endif
   19766 char hypot ();
   19767 int
   19768 main ()
   19769 {
   19770 return hypot ();
   19771   ;
   19772   return 0;
   19773 }
   19774 _ACEOF
   19775 if ac_fn_c_try_link "$LINENO"; then :
   19776   ac_cv_lib_m_hypot=yes
   19777 else
   19778   ac_cv_lib_m_hypot=no
   19779 fi
   19780 rm -f core conftest.err conftest.$ac_objext \
   19781     conftest$ac_exeext conftest.$ac_ext
   19782 LIBS=$ac_check_lib_save_LIBS
   19783 fi
   19784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
   19785 $as_echo "$ac_cv_lib_m_hypot" >&6; }
   19786 if test "x$ac_cv_lib_m_hypot" = xyes; then :
   19787   MATH_LIBS=-lm
   19788 
   19789 else
   19790   as_fn_error $? "*** libm is required" "$LINENO" 5
   19791 fi
   19792 
   19793 
   19794 
   19795 pkg_failed=no
   19796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFONT" >&5
   19797 $as_echo_n "checking for XFONT... " >&6; }
   19798 
   19799 if test -n "$XFONT_CFLAGS"; then
   19800     pkg_cv_XFONT_CFLAGS="$XFONT_CFLAGS"
   19801  elif test -n "$PKG_CONFIG"; then
   19802     if test -n "$PKG_CONFIG" && \
   19803     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto >= 2.1.3 fontenc\""; } >&5
   19804   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto >= 2.1.3 fontenc") 2>&5
   19805   ac_status=$?
   19806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19807   test $ac_status = 0; }; then
   19808   pkg_cv_XFONT_CFLAGS=`$PKG_CONFIG --cflags "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>/dev/null`
   19809 		      test "x$?" != "x0" && pkg_failed=yes
   19810 else
   19811   pkg_failed=yes
   19812 fi
   19813  else
   19814     pkg_failed=untried
   19815 fi
   19816 if test -n "$XFONT_LIBS"; then
   19817     pkg_cv_XFONT_LIBS="$XFONT_LIBS"
   19818  elif test -n "$PKG_CONFIG"; then
   19819     if test -n "$PKG_CONFIG" && \
   19820     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto >= 2.1.3 fontenc\""; } >&5
   19821   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto >= 2.1.3 fontenc") 2>&5
   19822   ac_status=$?
   19823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19824   test $ac_status = 0; }; then
   19825   pkg_cv_XFONT_LIBS=`$PKG_CONFIG --libs "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>/dev/null`
   19826 		      test "x$?" != "x0" && pkg_failed=yes
   19827 else
   19828   pkg_failed=yes
   19829 fi
   19830  else
   19831     pkg_failed=untried
   19832 fi
   19833 
   19834 
   19835 
   19836 if test $pkg_failed = yes; then
   19837    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19838 $as_echo "no" >&6; }
   19839 
   19840 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19841         _pkg_short_errors_supported=yes
   19842 else
   19843         _pkg_short_errors_supported=no
   19844 fi
   19845         if test $_pkg_short_errors_supported = yes; then
   19846 	        XFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>&1`
   19847         else
   19848 	        XFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>&1`
   19849         fi
   19850 	# Put the nasty error message in config.log where it belongs
   19851 	echo "$XFONT_PKG_ERRORS" >&5
   19852 
   19853 	as_fn_error $? "Package requirements (xproto xtrans fontsproto >= 2.1.3 fontenc) were not met:
   19854 
   19855 $XFONT_PKG_ERRORS
   19856 
   19857 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19858 installed software in a non-standard prefix.
   19859 
   19860 Alternatively, you may set the environment variables XFONT_CFLAGS
   19861 and XFONT_LIBS to avoid the need to call pkg-config.
   19862 See the pkg-config man page for more details." "$LINENO" 5
   19863 elif test $pkg_failed = untried; then
   19864      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19865 $as_echo "no" >&6; }
   19866 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19868 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19869 is in your PATH or set the PKG_CONFIG environment variable to the full
   19870 path to pkg-config.
   19871 
   19872 Alternatively, you may set the environment variables XFONT_CFLAGS
   19873 and XFONT_LIBS to avoid the need to call pkg-config.
   19874 See the pkg-config man page for more details.
   19875 
   19876 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19877 See \`config.log' for more details" "$LINENO" 5; }
   19878 else
   19879 	XFONT_CFLAGS=$pkg_cv_XFONT_CFLAGS
   19880 	XFONT_LIBS=$pkg_cv_XFONT_LIBS
   19881         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19882 $as_echo "yes" >&6; }
   19883 
   19884 fi
   19885 
   19886 # Transport selection macro from xtrans.m4
   19887 
   19888 
   19889  case $host_os in
   19890 	mingw*)	unixdef="no"   ;;
   19891 	*)	unixdef="yes"  ;;
   19892  esac
   19893  # Check whether --enable-unix-transport was given.
   19894 if test "${enable_unix_transport+set}" = set; then :
   19895   enableval=$enable_unix_transport; UNIXCONN=$enableval
   19896 else
   19897   UNIXCONN=$unixdef
   19898 fi
   19899 
   19900  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   19901 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   19902  if test "$UNIXCONN" = "yes"; then
   19903 
   19904 $as_echo "#define UNIXCONN 1" >>confdefs.h
   19905 
   19906  fi
   19907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   19908 $as_echo "$UNIXCONN" >&6; }
   19909  # Check whether --enable-tcp-transport was given.
   19910 if test "${enable_tcp_transport+set}" = set; then :
   19911   enableval=$enable_tcp_transport; TCPCONN=$enableval
   19912 else
   19913   TCPCONN=yes
   19914 fi
   19915 
   19916  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   19917 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   19918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   19919 $as_echo "$TCPCONN" >&6; }
   19920  if test "$TCPCONN" = "yes"; then
   19921 
   19922 $as_echo "#define TCPCONN 1" >>confdefs.h
   19923 
   19924 
   19925  # SVR4 hides these in libraries other than libc
   19926  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   19927 $as_echo_n "checking for library containing socket... " >&6; }
   19928 if ${ac_cv_search_socket+:} false; then :
   19929   $as_echo_n "(cached) " >&6
   19930 else
   19931   ac_func_search_save_LIBS=$LIBS
   19932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19933 /* end confdefs.h.  */
   19934 
   19935 /* Override any GCC internal prototype to avoid an error.
   19936    Use char because int might match the return type of a GCC
   19937    builtin and then its argument prototype would still apply.  */
   19938 #ifdef __cplusplus
   19939 extern "C"
   19940 #endif
   19941 char socket ();
   19942 int
   19943 main ()
   19944 {
   19945 return socket ();
   19946   ;
   19947   return 0;
   19948 }
   19949 _ACEOF
   19950 for ac_lib in '' socket; do
   19951   if test -z "$ac_lib"; then
   19952     ac_res="none required"
   19953   else
   19954     ac_res=-l$ac_lib
   19955     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19956   fi
   19957   if ac_fn_c_try_link "$LINENO"; then :
   19958   ac_cv_search_socket=$ac_res
   19959 fi
   19960 rm -f core conftest.err conftest.$ac_objext \
   19961     conftest$ac_exeext
   19962   if ${ac_cv_search_socket+:} false; then :
   19963   break
   19964 fi
   19965 done
   19966 if ${ac_cv_search_socket+:} false; then :
   19967 
   19968 else
   19969   ac_cv_search_socket=no
   19970 fi
   19971 rm conftest.$ac_ext
   19972 LIBS=$ac_func_search_save_LIBS
   19973 fi
   19974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   19975 $as_echo "$ac_cv_search_socket" >&6; }
   19976 ac_res=$ac_cv_search_socket
   19977 if test "$ac_res" != no; then :
   19978   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19979 
   19980 fi
   19981 
   19982  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   19983 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   19984 if ${ac_cv_search_gethostbyname+:} false; then :
   19985   $as_echo_n "(cached) " >&6
   19986 else
   19987   ac_func_search_save_LIBS=$LIBS
   19988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19989 /* end confdefs.h.  */
   19990 
   19991 /* Override any GCC internal prototype to avoid an error.
   19992    Use char because int might match the return type of a GCC
   19993    builtin and then its argument prototype would still apply.  */
   19994 #ifdef __cplusplus
   19995 extern "C"
   19996 #endif
   19997 char gethostbyname ();
   19998 int
   19999 main ()
   20000 {
   20001 return gethostbyname ();
   20002   ;
   20003   return 0;
   20004 }
   20005 _ACEOF
   20006 for ac_lib in '' nsl; do
   20007   if test -z "$ac_lib"; then
   20008     ac_res="none required"
   20009   else
   20010     ac_res=-l$ac_lib
   20011     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20012   fi
   20013   if ac_fn_c_try_link "$LINENO"; then :
   20014   ac_cv_search_gethostbyname=$ac_res
   20015 fi
   20016 rm -f core conftest.err conftest.$ac_objext \
   20017     conftest$ac_exeext
   20018   if ${ac_cv_search_gethostbyname+:} false; then :
   20019   break
   20020 fi
   20021 done
   20022 if ${ac_cv_search_gethostbyname+:} false; then :
   20023 
   20024 else
   20025   ac_cv_search_gethostbyname=no
   20026 fi
   20027 rm conftest.$ac_ext
   20028 LIBS=$ac_func_search_save_LIBS
   20029 fi
   20030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   20031 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   20032 ac_res=$ac_cv_search_gethostbyname
   20033 if test "$ac_res" != no; then :
   20034   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20035 
   20036 fi
   20037 
   20038  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   20039    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   20040 $as_echo_n "checking for main in -lws2_32... " >&6; }
   20041 if ${ac_cv_lib_ws2_32_main+:} false; then :
   20042   $as_echo_n "(cached) " >&6
   20043 else
   20044   ac_check_lib_save_LIBS=$LIBS
   20045 LIBS="-lws2_32  $LIBS"
   20046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20047 /* end confdefs.h.  */
   20048 
   20049 
   20050 int
   20051 main ()
   20052 {
   20053 return main ();
   20054   ;
   20055   return 0;
   20056 }
   20057 _ACEOF
   20058 if ac_fn_c_try_link "$LINENO"; then :
   20059   ac_cv_lib_ws2_32_main=yes
   20060 else
   20061   ac_cv_lib_ws2_32_main=no
   20062 fi
   20063 rm -f core conftest.err conftest.$ac_objext \
   20064     conftest$ac_exeext conftest.$ac_ext
   20065 LIBS=$ac_check_lib_save_LIBS
   20066 fi
   20067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   20068 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   20069 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   20070   cat >>confdefs.h <<_ACEOF
   20071 #define HAVE_LIBWS2_32 1
   20072 _ACEOF
   20073 
   20074   LIBS="-lws2_32 $LIBS"
   20075 
   20076 fi
   20077 
   20078  fi
   20079 
   20080  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   20081  # Check whether --enable-ipv6 was given.
   20082 if test "${enable_ipv6+set}" = set; then :
   20083   enableval=$enable_ipv6; IPV6CONN=$enableval
   20084 else
   20085   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   20086 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   20087   IPV6CONN=yes
   20088 else
   20089   IPV6CONN=no
   20090 fi
   20091 
   20092 fi
   20093 
   20094  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   20095 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   20096  if test "$IPV6CONN" = "yes"; then
   20097 
   20098 $as_echo "#define IPv6 1" >>confdefs.h
   20099 
   20100  fi
   20101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   20102 $as_echo "$IPV6CONN" >&6; }
   20103 
   20104  # 4.3BSD-Reno added a new member to struct sockaddr_in
   20105  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   20106 #include <sys/types.h>
   20107 #include <sys/socket.h>
   20108 #include <netinet/in.h>
   20109 
   20110 "
   20111 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   20112 
   20113 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   20114 
   20115 fi
   20116 
   20117 
   20118  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   20119  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   20120 $ac_includes_default
   20121 #include <sys/socket.h>
   20122 "
   20123 if test "x$ac_cv_type_socklen_t" = xyes; then :
   20124 
   20125 cat >>confdefs.h <<_ACEOF
   20126 #define HAVE_SOCKLEN_T 1
   20127 _ACEOF
   20128 
   20129 
   20130 fi
   20131 
   20132 
   20133  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   20134  # _XOPEN_SOURCE to get it (such as on Solaris)
   20135  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20136 $ac_includes_default
   20137 #include <sys/socket.h>
   20138 
   20139 "
   20140 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20141 
   20142 fi
   20143 
   20144  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   20145  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   20146      unset ac_cv_member_struct_msghdr_msg_control
   20147      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   20148 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   20149      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20150 #define _XOPEN_SOURCE 600
   20151 $ac_includes_default
   20152 #include <sys/socket.h>
   20153 
   20154 "
   20155 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20156 
   20157 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   20158 
   20159 
   20160 fi
   20161 
   20162  fi
   20163  # If that didn't work, fall back to XPG5/UNIX98 with C89
   20164  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   20165      unset ac_cv_member_struct_msghdr_msg_control
   20166      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   20167 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   20168      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20169 #define _XOPEN_SOURCE 500
   20170 $ac_includes_default
   20171 #include <sys/socket.h>
   20172 
   20173 "
   20174 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20175 
   20176 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   20177 
   20178 
   20179 fi
   20180 
   20181  fi
   20182 
   20183 
   20184 
   20185  fi
   20186  case $host_os in
   20187 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   20188 	*)			localdef="no"  ;;
   20189  esac
   20190  # Check whether --enable-local-transport was given.
   20191 if test "${enable_local_transport+set}" = set; then :
   20192   enableval=$enable_local_transport; LOCALCONN=$enableval
   20193 else
   20194   LOCALCONN=$localdef
   20195 fi
   20196 
   20197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   20198 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   20199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   20200 $as_echo "$LOCALCONN" >&6; }
   20201  if test "$LOCALCONN" = "yes"; then
   20202 
   20203 $as_echo "#define LOCALCONN 1" >>confdefs.h
   20204 
   20205  fi
   20206 
   20207 
   20208 
   20209 case $host_os in
   20210     linux*)
   20211         OS_CFLAGS="-D_XOPEN_SOURCE"
   20212         ;;
   20213     *)
   20214         OS_CFLAGS=
   20215         ;;
   20216 esac
   20217 
   20218 save_CFLAGS="$CFLAGS"
   20219 CFLAGS="$CFLAGS -fvisibility=hidden"
   20220 CFLAGS_VISIBILITY=
   20221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20222 /* end confdefs.h.  */
   20223 
   20224     #if defined(__CYGWIN__) || defined(__MINGW32__)
   20225     #error No visibility support
   20226     #endif
   20227     extern __attribute__((__visibility__("default"))) int x;
   20228 
   20229 _ACEOF
   20230 if ac_fn_c_try_compile "$LINENO"; then :
   20231   CFLAGS_VISIBILITY=-fvisibility=hidden
   20232 fi
   20233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20234 CFLAGS="$save_CFLAGS"
   20235 OS_CFLAGS="$OS_CFLAGS $CFLAGS_VISIBILITY"
   20236 
   20237 
   20238 
   20239 ac_config_files="$ac_config_files Makefile doc/Makefile xfont2.pc"
   20240 
   20241 cat >confcache <<\_ACEOF
   20242 # This file is a shell script that caches the results of configure
   20243 # tests run on this system so they can be shared between configure
   20244 # scripts and configure runs, see configure's option --config-cache.
   20245 # It is not useful on other systems.  If it contains results you don't
   20246 # want to keep, you may remove or edit it.
   20247 #
   20248 # config.status only pays attention to the cache file if you give it
   20249 # the --recheck option to rerun configure.
   20250 #
   20251 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20252 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20253 # following values.
   20254 
   20255 _ACEOF
   20256 
   20257 # The following way of writing the cache mishandles newlines in values,
   20258 # but we know of no workaround that is simple, portable, and efficient.
   20259 # So, we kill variables containing newlines.
   20260 # Ultrix sh set writes to stderr and can't be redirected directly,
   20261 # and sets the high bit in the cache file unless we assign to the vars.
   20262 (
   20263   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20264     eval ac_val=\$$ac_var
   20265     case $ac_val in #(
   20266     *${as_nl}*)
   20267       case $ac_var in #(
   20268       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20269 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20270       esac
   20271       case $ac_var in #(
   20272       _ | IFS | as_nl) ;; #(
   20273       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20274       *) { eval $ac_var=; unset $ac_var;} ;;
   20275       esac ;;
   20276     esac
   20277   done
   20278 
   20279   (set) 2>&1 |
   20280     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20281     *${as_nl}ac_space=\ *)
   20282       # `set' does not quote correctly, so add quotes: double-quote
   20283       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20284       sed -n \
   20285 	"s/'/'\\\\''/g;
   20286 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20287       ;; #(
   20288     *)
   20289       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20290       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20291       ;;
   20292     esac |
   20293     sort
   20294 ) |
   20295   sed '
   20296      /^ac_cv_env_/b end
   20297      t clear
   20298      :clear
   20299      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20300      t end
   20301      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20302      :end' >>confcache
   20303 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20304   if test -w "$cache_file"; then
   20305     if test "x$cache_file" != "x/dev/null"; then
   20306       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20307 $as_echo "$as_me: updating cache $cache_file" >&6;}
   20308       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20309 	cat confcache >"$cache_file"
   20310       else
   20311         case $cache_file in #(
   20312         */* | ?:*)
   20313 	  mv -f confcache "$cache_file"$$ &&
   20314 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20315         *)
   20316 	  mv -f confcache "$cache_file" ;;
   20317 	esac
   20318       fi
   20319     fi
   20320   else
   20321     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20322 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20323   fi
   20324 fi
   20325 rm -f confcache
   20326 
   20327 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20328 # Let make expand exec_prefix.
   20329 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20330 
   20331 DEFS=-DHAVE_CONFIG_H
   20332 
   20333 ac_libobjs=
   20334 ac_ltlibobjs=
   20335 U=
   20336 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20337   # 1. Remove the extension, and $U if already installed.
   20338   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20339   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   20340   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20341   #    will be set to the directory where LIBOBJS objects are built.
   20342   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20343   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20344 done
   20345 LIBOBJS=$ac_libobjs
   20346 
   20347 LTLIBOBJS=$ac_ltlibobjs
   20348 
   20349 
   20350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20351 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   20352    if test -n "$am_sleep_pid"; then
   20353      # Hide warnings about reused PIDs.
   20354      wait $am_sleep_pid 2>/dev/null
   20355    fi
   20356    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20357 $as_echo "done" >&6; }
   20358  if test -n "$EXEEXT"; then
   20359   am__EXEEXT_TRUE=
   20360   am__EXEEXT_FALSE='#'
   20361 else
   20362   am__EXEEXT_TRUE='#'
   20363   am__EXEEXT_FALSE=
   20364 fi
   20365 
   20366 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20367   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20369 fi
   20370 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20371   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20373 fi
   20374 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   20375   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   20376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20377 fi
   20378 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   20379   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   20380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20381 fi
   20382 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   20383   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   20384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20385 fi
   20386 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   20387   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   20388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20389 fi
   20390 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   20391   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   20392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20393 fi
   20394 if test -z "${XFONT_FREETYPE_TRUE}" && test -z "${XFONT_FREETYPE_FALSE}"; then
   20395   as_fn_error $? "conditional \"XFONT_FREETYPE\" was never defined.
   20396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20397 fi
   20398 if test -z "${X_BZIP2_FONT_COMPRESSION_TRUE}" && test -z "${X_BZIP2_FONT_COMPRESSION_FALSE}"; then
   20399   as_fn_error $? "conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined.
   20400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20401 fi
   20402 if test -z "${XFONT_BUILTINS_TRUE}" && test -z "${XFONT_BUILTINS_FALSE}"; then
   20403   as_fn_error $? "conditional \"XFONT_BUILTINS\" was never defined.
   20404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20405 fi
   20406 if test -z "${XFONT_PCFFORMAT_TRUE}" && test -z "${XFONT_PCFFORMAT_FALSE}"; then
   20407   as_fn_error $? "conditional \"XFONT_PCFFORMAT\" was never defined.
   20408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20409 fi
   20410 if test -z "${XFONT_PCF_OR_BUILTIN_TRUE}" && test -z "${XFONT_PCF_OR_BUILTIN_FALSE}"; then
   20411   as_fn_error $? "conditional \"XFONT_PCF_OR_BUILTIN\" was never defined.
   20412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20413 fi
   20414 if test -z "${XFONT_BDFFORMAT_TRUE}" && test -z "${XFONT_BDFFORMAT_FALSE}"; then
   20415   as_fn_error $? "conditional \"XFONT_BDFFORMAT\" was never defined.
   20416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20417 fi
   20418 if test -z "${XFONT_SNFFORMAT_TRUE}" && test -z "${XFONT_SNFFORMAT_FALSE}"; then
   20419   as_fn_error $? "conditional \"XFONT_SNFFORMAT\" was never defined.
   20420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20421 fi
   20422 if test -z "${XFONT_BITMAP_TRUE}" && test -z "${XFONT_BITMAP_FALSE}"; then
   20423   as_fn_error $? "conditional \"XFONT_BITMAP\" was never defined.
   20424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20425 fi
   20426 if test -z "${XFONT_FONTFILE_TRUE}" && test -z "${XFONT_FONTFILE_FALSE}"; then
   20427   as_fn_error $? "conditional \"XFONT_FONTFILE\" was never defined.
   20428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20429 fi
   20430 if test -z "${XFONT_FC_TRUE}" && test -z "${XFONT_FC_FALSE}"; then
   20431   as_fn_error $? "conditional \"XFONT_FC\" was never defined.
   20432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20433 fi
   20434 
   20435 : "${CONFIG_STATUS=./config.status}"
   20436 ac_write_fail=0
   20437 ac_clean_files_save=$ac_clean_files
   20438 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20439 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20440 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20441 as_write_fail=0
   20442 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20443 #! $SHELL
   20444 # Generated by $as_me.
   20445 # Run this file to recreate the current configuration.
   20446 # Compiler output produced by configure, useful for debugging
   20447 # configure, is in config.log if it exists.
   20448 
   20449 debug=false
   20450 ac_cs_recheck=false
   20451 ac_cs_silent=false
   20452 
   20453 SHELL=\${CONFIG_SHELL-$SHELL}
   20454 export SHELL
   20455 _ASEOF
   20456 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20457 ## -------------------- ##
   20458 ## M4sh Initialization. ##
   20459 ## -------------------- ##
   20460 
   20461 # Be more Bourne compatible
   20462 DUALCASE=1; export DUALCASE # for MKS sh
   20463 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20464   emulate sh
   20465   NULLCMD=:
   20466   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20467   # is contrary to our usage.  Disable this feature.
   20468   alias -g '${1+"$@"}'='"$@"'
   20469   setopt NO_GLOB_SUBST
   20470 else
   20471   case `(set -o) 2>/dev/null` in #(
   20472   *posix*) :
   20473     set -o posix ;; #(
   20474   *) :
   20475      ;;
   20476 esac
   20477 fi
   20478 
   20479 
   20480 as_nl='
   20481 '
   20482 export as_nl
   20483 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   20484 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   20485 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   20486 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   20487 # Prefer a ksh shell builtin over an external printf program on Solaris,
   20488 # but without wasting forks for bash or zsh.
   20489 if test -z "$BASH_VERSION$ZSH_VERSION" \
   20490     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   20491   as_echo='print -r --'
   20492   as_echo_n='print -rn --'
   20493 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   20494   as_echo='printf %s\n'
   20495   as_echo_n='printf %s'
   20496 else
   20497   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   20498     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   20499     as_echo_n='/usr/ucb/echo -n'
   20500   else
   20501     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   20502     as_echo_n_body='eval
   20503       arg=$1;
   20504       case $arg in #(
   20505       *"$as_nl"*)
   20506 	expr "X$arg" : "X\\(.*\\)$as_nl";
   20507 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   20508       esac;
   20509       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   20510     '
   20511     export as_echo_n_body
   20512     as_echo_n='sh -c $as_echo_n_body as_echo'
   20513   fi
   20514   export as_echo_body
   20515   as_echo='sh -c $as_echo_body as_echo'
   20516 fi
   20517 
   20518 # The user is always right.
   20519 if test "${PATH_SEPARATOR+set}" != set; then
   20520   PATH_SEPARATOR=:
   20521   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20522     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20523       PATH_SEPARATOR=';'
   20524   }
   20525 fi
   20526 
   20527 
   20528 # IFS
   20529 # We need space, tab and new line, in precisely that order.  Quoting is
   20530 # there to prevent editors from complaining about space-tab.
   20531 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   20532 # splitting by setting IFS to empty value.)
   20533 IFS=" ""	$as_nl"
   20534 
   20535 # Find who we are.  Look in the path if we contain no directory separator.
   20536 as_myself=
   20537 case $0 in #((
   20538   *[\\/]* ) as_myself=$0 ;;
   20539   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20540 for as_dir in $PATH
   20541 do
   20542   IFS=$as_save_IFS
   20543   test -z "$as_dir" && as_dir=.
   20544     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   20545   done
   20546 IFS=$as_save_IFS
   20547 
   20548      ;;
   20549 esac
   20550 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20551 # in which case we are not to be found in the path.
   20552 if test "x$as_myself" = x; then
   20553   as_myself=$0
   20554 fi
   20555 if test ! -f "$as_myself"; then
   20556   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20557   exit 1
   20558 fi
   20559 
   20560 # Unset variables that we do not need and which cause bugs (e.g. in
   20561 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   20562 # suppresses any "Segmentation fault" message there.  '((' could
   20563 # trigger a bug in pdksh 5.2.14.
   20564 for as_var in BASH_ENV ENV MAIL MAILPATH
   20565 do eval test x\${$as_var+set} = xset \
   20566   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20567 done
   20568 PS1='$ '
   20569 PS2='> '
   20570 PS4='+ '
   20571 
   20572 # NLS nuisances.
   20573 LC_ALL=C
   20574 export LC_ALL
   20575 LANGUAGE=C
   20576 export LANGUAGE
   20577 
   20578 # CDPATH.
   20579 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20580 
   20581 
   20582 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20583 # ----------------------------------------
   20584 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20585 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20586 # script with STATUS, using 1 if that was 0.
   20587 as_fn_error ()
   20588 {
   20589   as_status=$1; test $as_status -eq 0 && as_status=1
   20590   if test "$4"; then
   20591     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20592     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20593   fi
   20594   $as_echo "$as_me: error: $2" >&2
   20595   as_fn_exit $as_status
   20596 } # as_fn_error
   20597 
   20598 
   20599 # as_fn_set_status STATUS
   20600 # -----------------------
   20601 # Set $? to STATUS, without forking.
   20602 as_fn_set_status ()
   20603 {
   20604   return $1
   20605 } # as_fn_set_status
   20606 
   20607 # as_fn_exit STATUS
   20608 # -----------------
   20609 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20610 as_fn_exit ()
   20611 {
   20612   set +e
   20613   as_fn_set_status $1
   20614   exit $1
   20615 } # as_fn_exit
   20616 
   20617 # as_fn_unset VAR
   20618 # ---------------
   20619 # Portably unset VAR.
   20620 as_fn_unset ()
   20621 {
   20622   { eval $1=; unset $1;}
   20623 }
   20624 as_unset=as_fn_unset
   20625 # as_fn_append VAR VALUE
   20626 # ----------------------
   20627 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20628 # advantage of any shell optimizations that allow amortized linear growth over
   20629 # repeated appends, instead of the typical quadratic growth present in naive
   20630 # implementations.
   20631 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   20632   eval 'as_fn_append ()
   20633   {
   20634     eval $1+=\$2
   20635   }'
   20636 else
   20637   as_fn_append ()
   20638   {
   20639     eval $1=\$$1\$2
   20640   }
   20641 fi # as_fn_append
   20642 
   20643 # as_fn_arith ARG...
   20644 # ------------------
   20645 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20646 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20647 # must be portable across $(()) and expr.
   20648 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   20649   eval 'as_fn_arith ()
   20650   {
   20651     as_val=$(( $* ))
   20652   }'
   20653 else
   20654   as_fn_arith ()
   20655   {
   20656     as_val=`expr "$@" || test $? -eq 1`
   20657   }
   20658 fi # as_fn_arith
   20659 
   20660 
   20661 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20662    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20663   as_expr=expr
   20664 else
   20665   as_expr=false
   20666 fi
   20667 
   20668 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20669   as_basename=basename
   20670 else
   20671   as_basename=false
   20672 fi
   20673 
   20674 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20675   as_dirname=dirname
   20676 else
   20677   as_dirname=false
   20678 fi
   20679 
   20680 as_me=`$as_basename -- "$0" ||
   20681 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20682 	 X"$0" : 'X\(//\)$' \| \
   20683 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20684 $as_echo X/"$0" |
   20685     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20686 	    s//\1/
   20687 	    q
   20688 	  }
   20689 	  /^X\/\(\/\/\)$/{
   20690 	    s//\1/
   20691 	    q
   20692 	  }
   20693 	  /^X\/\(\/\).*/{
   20694 	    s//\1/
   20695 	    q
   20696 	  }
   20697 	  s/.*/./; q'`
   20698 
   20699 # Avoid depending upon Character Ranges.
   20700 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20701 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20702 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20703 as_cr_digits='0123456789'
   20704 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20705 
   20706 ECHO_C= ECHO_N= ECHO_T=
   20707 case `echo -n x` in #(((((
   20708 -n*)
   20709   case `echo 'xy\c'` in
   20710   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20711   xy)  ECHO_C='\c';;
   20712   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20713        ECHO_T='	';;
   20714   esac;;
   20715 *)
   20716   ECHO_N='-n';;
   20717 esac
   20718 
   20719 rm -f conf$$ conf$$.exe conf$$.file
   20720 if test -d conf$$.dir; then
   20721   rm -f conf$$.dir/conf$$.file
   20722 else
   20723   rm -f conf$$.dir
   20724   mkdir conf$$.dir 2>/dev/null
   20725 fi
   20726 if (echo >conf$$.file) 2>/dev/null; then
   20727   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20728     as_ln_s='ln -s'
   20729     # ... but there are two gotchas:
   20730     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20731     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20732     # In both cases, we have to default to `cp -pR'.
   20733     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20734       as_ln_s='cp -pR'
   20735   elif ln conf$$.file conf$$ 2>/dev/null; then
   20736     as_ln_s=ln
   20737   else
   20738     as_ln_s='cp -pR'
   20739   fi
   20740 else
   20741   as_ln_s='cp -pR'
   20742 fi
   20743 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20744 rmdir conf$$.dir 2>/dev/null
   20745 
   20746 
   20747 # as_fn_mkdir_p
   20748 # -------------
   20749 # Create "$as_dir" as a directory, including parents if necessary.
   20750 as_fn_mkdir_p ()
   20751 {
   20752 
   20753   case $as_dir in #(
   20754   -*) as_dir=./$as_dir;;
   20755   esac
   20756   test -d "$as_dir" || eval $as_mkdir_p || {
   20757     as_dirs=
   20758     while :; do
   20759       case $as_dir in #(
   20760       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20761       *) as_qdir=$as_dir;;
   20762       esac
   20763       as_dirs="'$as_qdir' $as_dirs"
   20764       as_dir=`$as_dirname -- "$as_dir" ||
   20765 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20766 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20767 	 X"$as_dir" : 'X\(//\)$' \| \
   20768 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20769 $as_echo X"$as_dir" |
   20770     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20771 	    s//\1/
   20772 	    q
   20773 	  }
   20774 	  /^X\(\/\/\)[^/].*/{
   20775 	    s//\1/
   20776 	    q
   20777 	  }
   20778 	  /^X\(\/\/\)$/{
   20779 	    s//\1/
   20780 	    q
   20781 	  }
   20782 	  /^X\(\/\).*/{
   20783 	    s//\1/
   20784 	    q
   20785 	  }
   20786 	  s/.*/./; q'`
   20787       test -d "$as_dir" && break
   20788     done
   20789     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20790   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20791 
   20792 
   20793 } # as_fn_mkdir_p
   20794 if mkdir -p . 2>/dev/null; then
   20795   as_mkdir_p='mkdir -p "$as_dir"'
   20796 else
   20797   test -d ./-p && rmdir ./-p
   20798   as_mkdir_p=false
   20799 fi
   20800 
   20801 
   20802 # as_fn_executable_p FILE
   20803 # -----------------------
   20804 # Test if FILE is an executable regular file.
   20805 as_fn_executable_p ()
   20806 {
   20807   test -f "$1" && test -x "$1"
   20808 } # as_fn_executable_p
   20809 as_test_x='test -x'
   20810 as_executable_p=as_fn_executable_p
   20811 
   20812 # Sed expression to map a string onto a valid CPP name.
   20813 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20814 
   20815 # Sed expression to map a string onto a valid variable name.
   20816 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20817 
   20818 
   20819 exec 6>&1
   20820 ## ----------------------------------- ##
   20821 ## Main body of $CONFIG_STATUS script. ##
   20822 ## ----------------------------------- ##
   20823 _ASEOF
   20824 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20825 
   20826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20827 # Save the log message, to keep $0 and so on meaningful, and to
   20828 # report actual input values of CONFIG_FILES etc. instead of their
   20829 # values after options handling.
   20830 ac_log="
   20831 This file was extended by libXfont2 $as_me 2.0.4, which was
   20832 generated by GNU Autoconf 2.69.  Invocation command line was
   20833 
   20834   CONFIG_FILES    = $CONFIG_FILES
   20835   CONFIG_HEADERS  = $CONFIG_HEADERS
   20836   CONFIG_LINKS    = $CONFIG_LINKS
   20837   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20838   $ $0 $@
   20839 
   20840 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20841 "
   20842 
   20843 _ACEOF
   20844 
   20845 case $ac_config_files in *"
   20846 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20847 esac
   20848 
   20849 case $ac_config_headers in *"
   20850 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20851 esac
   20852 
   20853 
   20854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20855 # Files that config.status was made for.
   20856 config_files="$ac_config_files"
   20857 config_headers="$ac_config_headers"
   20858 config_commands="$ac_config_commands"
   20859 
   20860 _ACEOF
   20861 
   20862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20863 ac_cs_usage="\
   20864 \`$as_me' instantiates files and other configuration actions
   20865 from templates according to the current configuration.  Unless the files
   20866 and actions are specified as TAGs, all are instantiated by default.
   20867 
   20868 Usage: $0 [OPTION]... [TAG]...
   20869 
   20870   -h, --help       print this help, then exit
   20871   -V, --version    print version number and configuration settings, then exit
   20872       --config     print configuration, then exit
   20873   -q, --quiet, --silent
   20874                    do not print progress messages
   20875   -d, --debug      don't remove temporary files
   20876       --recheck    update $as_me by reconfiguring in the same conditions
   20877       --file=FILE[:TEMPLATE]
   20878                    instantiate the configuration file FILE
   20879       --header=FILE[:TEMPLATE]
   20880                    instantiate the configuration header FILE
   20881 
   20882 Configuration files:
   20883 $config_files
   20884 
   20885 Configuration headers:
   20886 $config_headers
   20887 
   20888 Configuration commands:
   20889 $config_commands
   20890 
   20891 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXfont/issues>."
   20892 
   20893 _ACEOF
   20894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20895 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   20896 ac_cs_version="\\
   20897 libXfont2 config.status 2.0.4
   20898 configured by $0, generated by GNU Autoconf 2.69,
   20899   with options \\"\$ac_cs_config\\"
   20900 
   20901 Copyright (C) 2012 Free Software Foundation, Inc.
   20902 This config.status script is free software; the Free Software Foundation
   20903 gives unlimited permission to copy, distribute and modify it."
   20904 
   20905 ac_pwd='$ac_pwd'
   20906 srcdir='$srcdir'
   20907 INSTALL='$INSTALL'
   20908 MKDIR_P='$MKDIR_P'
   20909 AWK='$AWK'
   20910 test -n "\$AWK" || AWK=awk
   20911 _ACEOF
   20912 
   20913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20914 # The default lists apply if the user does not specify any file.
   20915 ac_need_defaults=:
   20916 while test $# != 0
   20917 do
   20918   case $1 in
   20919   --*=?*)
   20920     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20921     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20922     ac_shift=:
   20923     ;;
   20924   --*=)
   20925     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20926     ac_optarg=
   20927     ac_shift=:
   20928     ;;
   20929   *)
   20930     ac_option=$1
   20931     ac_optarg=$2
   20932     ac_shift=shift
   20933     ;;
   20934   esac
   20935 
   20936   case $ac_option in
   20937   # Handling of the options.
   20938   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20939     ac_cs_recheck=: ;;
   20940   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20941     $as_echo "$ac_cs_version"; exit ;;
   20942   --config | --confi | --conf | --con | --co | --c )
   20943     $as_echo "$ac_cs_config"; exit ;;
   20944   --debug | --debu | --deb | --de | --d | -d )
   20945     debug=: ;;
   20946   --file | --fil | --fi | --f )
   20947     $ac_shift
   20948     case $ac_optarg in
   20949     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20950     '') as_fn_error $? "missing file argument" ;;
   20951     esac
   20952     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20953     ac_need_defaults=false;;
   20954   --header | --heade | --head | --hea )
   20955     $ac_shift
   20956     case $ac_optarg in
   20957     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20958     esac
   20959     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20960     ac_need_defaults=false;;
   20961   --he | --h)
   20962     # Conflict between --help and --header
   20963     as_fn_error $? "ambiguous option: \`$1'
   20964 Try \`$0 --help' for more information.";;
   20965   --help | --hel | -h )
   20966     $as_echo "$ac_cs_usage"; exit ;;
   20967   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20968   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20969     ac_cs_silent=: ;;
   20970 
   20971   # This is an error.
   20972   -*) as_fn_error $? "unrecognized option: \`$1'
   20973 Try \`$0 --help' for more information." ;;
   20974 
   20975   *) as_fn_append ac_config_targets " $1"
   20976      ac_need_defaults=false ;;
   20977 
   20978   esac
   20979   shift
   20980 done
   20981 
   20982 ac_configure_extra_args=
   20983 
   20984 if $ac_cs_silent; then
   20985   exec 6>/dev/null
   20986   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20987 fi
   20988 
   20989 _ACEOF
   20990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20991 if \$ac_cs_recheck; then
   20992   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20993   shift
   20994   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   20995   CONFIG_SHELL='$SHELL'
   20996   export CONFIG_SHELL
   20997   exec "\$@"
   20998 fi
   20999 
   21000 _ACEOF
   21001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21002 exec 5>>config.log
   21003 {
   21004   echo
   21005   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21006 ## Running $as_me. ##
   21007 _ASBOX
   21008   $as_echo "$ac_log"
   21009 } >&5
   21010 
   21011 _ACEOF
   21012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21013 #
   21014 # INIT-COMMANDS
   21015 #
   21016 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21017 
   21018 
   21019 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21020 # if CDPATH is set.
   21021 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21022 
   21023 sed_quote_subst='$sed_quote_subst'
   21024 double_quote_subst='$double_quote_subst'
   21025 delay_variable_subst='$delay_variable_subst'
   21026 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21027 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21028 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21029 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21030 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21031 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21032 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21033 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21034 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21035 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21036 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21037 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21038 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21039 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21040 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21041 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21042 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21043 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21044 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21045 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21046 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21047 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21048 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21049 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21050 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21051 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21052 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21053 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21054 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21055 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21056 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21057 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21058 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21059 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21060 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21061 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21062 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21063 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21064 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21065 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21066 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21067 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21068 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21069 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21070 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21071 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21072 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21073 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21074 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21075 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21076 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21077 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21078 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21079 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21080 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21081 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21082 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21083 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21084 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"`'
   21085 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21086 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21087 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21088 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21089 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21090 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21091 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21092 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21093 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21094 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21095 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21096 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21097 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21098 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21099 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21100 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21101 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21102 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21103 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21104 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21105 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21106 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21107 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21108 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21109 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21110 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21111 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21112 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21113 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21114 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21115 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21116 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21117 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21118 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21119 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21120 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21121 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21122 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21123 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21124 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21125 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21126 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21127 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21128 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21129 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21130 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21131 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21132 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21133 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21134 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21135 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21136 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21137 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21138 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21139 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21140 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21141 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21142 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21143 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21144 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21145 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21146 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21147 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21148 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21149 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21150 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21151 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21152 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21153 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21154 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21155 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21156 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21157 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21158 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21159 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21160 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21161 
   21162 LTCC='$LTCC'
   21163 LTCFLAGS='$LTCFLAGS'
   21164 compiler='$compiler_DEFAULT'
   21165 
   21166 # A function that is used when there is no print builtin or printf.
   21167 func_fallback_echo ()
   21168 {
   21169   eval 'cat <<_LTECHO_EOF
   21170 \$1
   21171 _LTECHO_EOF'
   21172 }
   21173 
   21174 # Quote evaled strings.
   21175 for var in SHELL \
   21176 ECHO \
   21177 PATH_SEPARATOR \
   21178 SED \
   21179 GREP \
   21180 EGREP \
   21181 FGREP \
   21182 LD \
   21183 NM \
   21184 LN_S \
   21185 lt_SP2NL \
   21186 lt_NL2SP \
   21187 reload_flag \
   21188 OBJDUMP \
   21189 deplibs_check_method \
   21190 file_magic_cmd \
   21191 file_magic_glob \
   21192 want_nocaseglob \
   21193 DLLTOOL \
   21194 sharedlib_from_linklib_cmd \
   21195 AR \
   21196 AR_FLAGS \
   21197 archiver_list_spec \
   21198 STRIP \
   21199 RANLIB \
   21200 CC \
   21201 CFLAGS \
   21202 compiler \
   21203 lt_cv_sys_global_symbol_pipe \
   21204 lt_cv_sys_global_symbol_to_cdecl \
   21205 lt_cv_sys_global_symbol_to_import \
   21206 lt_cv_sys_global_symbol_to_c_name_address \
   21207 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21208 lt_cv_nm_interface \
   21209 nm_file_list_spec \
   21210 lt_cv_truncate_bin \
   21211 lt_prog_compiler_no_builtin_flag \
   21212 lt_prog_compiler_pic \
   21213 lt_prog_compiler_wl \
   21214 lt_prog_compiler_static \
   21215 lt_cv_prog_compiler_c_o \
   21216 need_locks \
   21217 MANIFEST_TOOL \
   21218 DSYMUTIL \
   21219 NMEDIT \
   21220 LIPO \
   21221 OTOOL \
   21222 OTOOL64 \
   21223 shrext_cmds \
   21224 export_dynamic_flag_spec \
   21225 whole_archive_flag_spec \
   21226 compiler_needs_object \
   21227 with_gnu_ld \
   21228 allow_undefined_flag \
   21229 no_undefined_flag \
   21230 hardcode_libdir_flag_spec \
   21231 hardcode_libdir_separator \
   21232 exclude_expsyms \
   21233 include_expsyms \
   21234 file_list_spec \
   21235 variables_saved_for_relink \
   21236 libname_spec \
   21237 library_names_spec \
   21238 soname_spec \
   21239 install_override_mode \
   21240 finish_eval \
   21241 old_striplib \
   21242 striplib; do
   21243     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21244     *[\\\\\\\`\\"\\\$]*)
   21245       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21246       ;;
   21247     *)
   21248       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21249       ;;
   21250     esac
   21251 done
   21252 
   21253 # Double-quote double-evaled strings.
   21254 for var in reload_cmds \
   21255 old_postinstall_cmds \
   21256 old_postuninstall_cmds \
   21257 old_archive_cmds \
   21258 extract_expsyms_cmds \
   21259 old_archive_from_new_cmds \
   21260 old_archive_from_expsyms_cmds \
   21261 archive_cmds \
   21262 archive_expsym_cmds \
   21263 module_cmds \
   21264 module_expsym_cmds \
   21265 export_symbols_cmds \
   21266 prelink_cmds \
   21267 postlink_cmds \
   21268 postinstall_cmds \
   21269 postuninstall_cmds \
   21270 finish_cmds \
   21271 sys_lib_search_path_spec \
   21272 configure_time_dlsearch_path \
   21273 configure_time_lt_sys_library_path; do
   21274     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21275     *[\\\\\\\`\\"\\\$]*)
   21276       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21277       ;;
   21278     *)
   21279       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21280       ;;
   21281     esac
   21282 done
   21283 
   21284 ac_aux_dir='$ac_aux_dir'
   21285 
   21286 # See if we are running on zsh, and set the options that allow our
   21287 # commands through without removal of \ escapes INIT.
   21288 if test -n "\${ZSH_VERSION+set}"; then
   21289    setopt NO_GLOB_SUBST
   21290 fi
   21291 
   21292 
   21293     PACKAGE='$PACKAGE'
   21294     VERSION='$VERSION'
   21295     RM='$RM'
   21296     ofile='$ofile'
   21297 
   21298 
   21299 
   21300 
   21301 _ACEOF
   21302 
   21303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21304 
   21305 # Handling of arguments.
   21306 for ac_config_target in $ac_config_targets
   21307 do
   21308   case $ac_config_target in
   21309     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21310     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21311     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21312     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21313     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   21314     "xfont2.pc") CONFIG_FILES="$CONFIG_FILES xfont2.pc" ;;
   21315 
   21316   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21317   esac
   21318 done
   21319 
   21320 
   21321 # If the user did not use the arguments to specify the items to instantiate,
   21322 # then the envvar interface is used.  Set only those that are not.
   21323 # We use the long form for the default assignment because of an extremely
   21324 # bizarre bug on SunOS 4.1.3.
   21325 if $ac_need_defaults; then
   21326   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21327   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21328   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21329 fi
   21330 
   21331 # Have a temporary directory for convenience.  Make it in the build tree
   21332 # simply because there is no reason against having it here, and in addition,
   21333 # creating and moving files from /tmp can sometimes cause problems.
   21334 # Hook for its removal unless debugging.
   21335 # Note that there is a small window in which the directory will not be cleaned:
   21336 # after its creation but before its name has been assigned to `$tmp'.
   21337 $debug ||
   21338 {
   21339   tmp= ac_tmp=
   21340   trap 'exit_status=$?
   21341   : "${ac_tmp:=$tmp}"
   21342   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21343 ' 0
   21344   trap 'as_fn_exit 1' 1 2 13 15
   21345 }
   21346 # Create a (secure) tmp directory for tmp files.
   21347 
   21348 {
   21349   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21350   test -d "$tmp"
   21351 }  ||
   21352 {
   21353   tmp=./conf$$-$RANDOM
   21354   (umask 077 && mkdir "$tmp")
   21355 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21356 ac_tmp=$tmp
   21357 
   21358 # Set up the scripts for CONFIG_FILES section.
   21359 # No need to generate them if there are no CONFIG_FILES.
   21360 # This happens for instance with `./config.status config.h'.
   21361 if test -n "$CONFIG_FILES"; then
   21362 
   21363 
   21364 ac_cr=`echo X | tr X '\015'`
   21365 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21366 # But we know of no other shell where ac_cr would be empty at this
   21367 # point, so we can use a bashism as a fallback.
   21368 if test "x$ac_cr" = x; then
   21369   eval ac_cr=\$\'\\r\'
   21370 fi
   21371 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21372 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21373   ac_cs_awk_cr='\\r'
   21374 else
   21375   ac_cs_awk_cr=$ac_cr
   21376 fi
   21377 
   21378 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21379 _ACEOF
   21380 
   21381 
   21382 {
   21383   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21384   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21385   echo "_ACEOF"
   21386 } >conf$$subs.sh ||
   21387   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21388 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21389 ac_delim='%!_!# '
   21390 for ac_last_try in false false false false false :; do
   21391   . ./conf$$subs.sh ||
   21392     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21393 
   21394   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21395   if test $ac_delim_n = $ac_delim_num; then
   21396     break
   21397   elif $ac_last_try; then
   21398     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21399   else
   21400     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21401   fi
   21402 done
   21403 rm -f conf$$subs.sh
   21404 
   21405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21406 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21407 _ACEOF
   21408 sed -n '
   21409 h
   21410 s/^/S["/; s/!.*/"]=/
   21411 p
   21412 g
   21413 s/^[^!]*!//
   21414 :repl
   21415 t repl
   21416 s/'"$ac_delim"'$//
   21417 t delim
   21418 :nl
   21419 h
   21420 s/\(.\{148\}\)..*/\1/
   21421 t more1
   21422 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21423 p
   21424 n
   21425 b repl
   21426 :more1
   21427 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21428 p
   21429 g
   21430 s/.\{148\}//
   21431 t nl
   21432 :delim
   21433 h
   21434 s/\(.\{148\}\)..*/\1/
   21435 t more2
   21436 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21437 p
   21438 b
   21439 :more2
   21440 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21441 p
   21442 g
   21443 s/.\{148\}//
   21444 t delim
   21445 ' <conf$$subs.awk | sed '
   21446 /^[^""]/{
   21447   N
   21448   s/\n//
   21449 }
   21450 ' >>$CONFIG_STATUS || ac_write_fail=1
   21451 rm -f conf$$subs.awk
   21452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21453 _ACAWK
   21454 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21455   for (key in S) S_is_set[key] = 1
   21456   FS = ""
   21457 
   21458 }
   21459 {
   21460   line = $ 0
   21461   nfields = split(line, field, "@")
   21462   substed = 0
   21463   len = length(field[1])
   21464   for (i = 2; i < nfields; i++) {
   21465     key = field[i]
   21466     keylen = length(key)
   21467     if (S_is_set[key]) {
   21468       value = S[key]
   21469       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21470       len += length(value) + length(field[++i])
   21471       substed = 1
   21472     } else
   21473       len += 1 + keylen
   21474   }
   21475 
   21476   print line
   21477 }
   21478 
   21479 _ACAWK
   21480 _ACEOF
   21481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21482 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21483   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21484 else
   21485   cat
   21486 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21487   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21488 _ACEOF
   21489 
   21490 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21491 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21492 # trailing colons and then remove the whole line if VPATH becomes empty
   21493 # (actually we leave an empty line to preserve line numbers).
   21494 if test "x$srcdir" = x.; then
   21495   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21496 h
   21497 s///
   21498 s/^/:/
   21499 s/[	 ]*$/:/
   21500 s/:\$(srcdir):/:/g
   21501 s/:\${srcdir}:/:/g
   21502 s/:@srcdir@:/:/g
   21503 s/^:*//
   21504 s/:*$//
   21505 x
   21506 s/\(=[	 ]*\).*/\1/
   21507 G
   21508 s/\n//
   21509 s/^[^=]*=[	 ]*$//
   21510 }'
   21511 fi
   21512 
   21513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21514 fi # test -n "$CONFIG_FILES"
   21515 
   21516 # Set up the scripts for CONFIG_HEADERS section.
   21517 # No need to generate them if there are no CONFIG_HEADERS.
   21518 # This happens for instance with `./config.status Makefile'.
   21519 if test -n "$CONFIG_HEADERS"; then
   21520 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21521 BEGIN {
   21522 _ACEOF
   21523 
   21524 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21525 # here-document in config.status, that substitutes the proper values into
   21526 # config.h.in to produce config.h.
   21527 
   21528 # Create a delimiter string that does not exist in confdefs.h, to ease
   21529 # handling of long lines.
   21530 ac_delim='%!_!# '
   21531 for ac_last_try in false false :; do
   21532   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21533   if test -z "$ac_tt"; then
   21534     break
   21535   elif $ac_last_try; then
   21536     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21537   else
   21538     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21539   fi
   21540 done
   21541 
   21542 # For the awk script, D is an array of macro values keyed by name,
   21543 # likewise P contains macro parameters if any.  Preserve backslash
   21544 # newline sequences.
   21545 
   21546 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21547 sed -n '
   21548 s/.\{148\}/&'"$ac_delim"'/g
   21549 t rset
   21550 :rset
   21551 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21552 t def
   21553 d
   21554 :def
   21555 s/\\$//
   21556 t bsnl
   21557 s/["\\]/\\&/g
   21558 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21559 D["\1"]=" \3"/p
   21560 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21561 d
   21562 :bsnl
   21563 s/["\\]/\\&/g
   21564 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21565 D["\1"]=" \3\\\\\\n"\\/p
   21566 t cont
   21567 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21568 t cont
   21569 d
   21570 :cont
   21571 n
   21572 s/.\{148\}/&'"$ac_delim"'/g
   21573 t clear
   21574 :clear
   21575 s/\\$//
   21576 t bsnlc
   21577 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21578 d
   21579 :bsnlc
   21580 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21581 b cont
   21582 ' <confdefs.h | sed '
   21583 s/'"$ac_delim"'/"\\\
   21584 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21585 
   21586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21587   for (key in D) D_is_set[key] = 1
   21588   FS = ""
   21589 }
   21590 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21591   line = \$ 0
   21592   split(line, arg, " ")
   21593   if (arg[1] == "#") {
   21594     defundef = arg[2]
   21595     mac1 = arg[3]
   21596   } else {
   21597     defundef = substr(arg[1], 2)
   21598     mac1 = arg[2]
   21599   }
   21600   split(mac1, mac2, "(") #)
   21601   macro = mac2[1]
   21602   prefix = substr(line, 1, index(line, defundef) - 1)
   21603   if (D_is_set[macro]) {
   21604     # Preserve the white space surrounding the "#".
   21605     print prefix "define", macro P[macro] D[macro]
   21606     next
   21607   } else {
   21608     # Replace #undef with comments.  This is necessary, for example,
   21609     # in the case of _POSIX_SOURCE, which is predefined and required
   21610     # on some systems where configure will not decide to define it.
   21611     if (defundef == "undef") {
   21612       print "/*", prefix defundef, macro, "*/"
   21613       next
   21614     }
   21615   }
   21616 }
   21617 { print }
   21618 _ACAWK
   21619 _ACEOF
   21620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21621   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21622 fi # test -n "$CONFIG_HEADERS"
   21623 
   21624 
   21625 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21626 shift
   21627 for ac_tag
   21628 do
   21629   case $ac_tag in
   21630   :[FHLC]) ac_mode=$ac_tag; continue;;
   21631   esac
   21632   case $ac_mode$ac_tag in
   21633   :[FHL]*:*);;
   21634   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21635   :[FH]-) ac_tag=-:-;;
   21636   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21637   esac
   21638   ac_save_IFS=$IFS
   21639   IFS=:
   21640   set x $ac_tag
   21641   IFS=$ac_save_IFS
   21642   shift
   21643   ac_file=$1
   21644   shift
   21645 
   21646   case $ac_mode in
   21647   :L) ac_source=$1;;
   21648   :[FH])
   21649     ac_file_inputs=
   21650     for ac_f
   21651     do
   21652       case $ac_f in
   21653       -) ac_f="$ac_tmp/stdin";;
   21654       *) # Look for the file first in the build tree, then in the source tree
   21655 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21656 	 # because $ac_f cannot contain `:'.
   21657 	 test -f "$ac_f" ||
   21658 	   case $ac_f in
   21659 	   [\\/$]*) false;;
   21660 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21661 	   esac ||
   21662 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21663       esac
   21664       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21665       as_fn_append ac_file_inputs " '$ac_f'"
   21666     done
   21667 
   21668     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21669     # use $as_me), people would be surprised to read:
   21670     #    /* config.h.  Generated by config.status.  */
   21671     configure_input='Generated from '`
   21672 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21673 	`' by configure.'
   21674     if test x"$ac_file" != x-; then
   21675       configure_input="$ac_file.  $configure_input"
   21676       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21677 $as_echo "$as_me: creating $ac_file" >&6;}
   21678     fi
   21679     # Neutralize special characters interpreted by sed in replacement strings.
   21680     case $configure_input in #(
   21681     *\&* | *\|* | *\\* )
   21682        ac_sed_conf_input=`$as_echo "$configure_input" |
   21683        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21684     *) ac_sed_conf_input=$configure_input;;
   21685     esac
   21686 
   21687     case $ac_tag in
   21688     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21689       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21690     esac
   21691     ;;
   21692   esac
   21693 
   21694   ac_dir=`$as_dirname -- "$ac_file" ||
   21695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21696 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21697 	 X"$ac_file" : 'X\(//\)$' \| \
   21698 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21699 $as_echo X"$ac_file" |
   21700     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21701 	    s//\1/
   21702 	    q
   21703 	  }
   21704 	  /^X\(\/\/\)[^/].*/{
   21705 	    s//\1/
   21706 	    q
   21707 	  }
   21708 	  /^X\(\/\/\)$/{
   21709 	    s//\1/
   21710 	    q
   21711 	  }
   21712 	  /^X\(\/\).*/{
   21713 	    s//\1/
   21714 	    q
   21715 	  }
   21716 	  s/.*/./; q'`
   21717   as_dir="$ac_dir"; as_fn_mkdir_p
   21718   ac_builddir=.
   21719 
   21720 case "$ac_dir" in
   21721 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21722 *)
   21723   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   21724   # A ".." for each directory in $ac_dir_suffix.
   21725   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21726   case $ac_top_builddir_sub in
   21727   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21728   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21729   esac ;;
   21730 esac
   21731 ac_abs_top_builddir=$ac_pwd
   21732 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21733 # for backward compatibility:
   21734 ac_top_builddir=$ac_top_build_prefix
   21735 
   21736 case $srcdir in
   21737   .)  # We are building in place.
   21738     ac_srcdir=.
   21739     ac_top_srcdir=$ac_top_builddir_sub
   21740     ac_abs_top_srcdir=$ac_pwd ;;
   21741   [\\/]* | ?:[\\/]* )  # Absolute name.
   21742     ac_srcdir=$srcdir$ac_dir_suffix;
   21743     ac_top_srcdir=$srcdir
   21744     ac_abs_top_srcdir=$srcdir ;;
   21745   *) # Relative name.
   21746     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21747     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21748     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21749 esac
   21750 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21751 
   21752 
   21753   case $ac_mode in
   21754   :F)
   21755   #
   21756   # CONFIG_FILE
   21757   #
   21758 
   21759   case $INSTALL in
   21760   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21761   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21762   esac
   21763   ac_MKDIR_P=$MKDIR_P
   21764   case $MKDIR_P in
   21765   [\\/$]* | ?:[\\/]* ) ;;
   21766   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21767   esac
   21768 _ACEOF
   21769 
   21770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21771 # If the template does not know about datarootdir, expand it.
   21772 # FIXME: This hack should be removed a few years after 2.60.
   21773 ac_datarootdir_hack=; ac_datarootdir_seen=
   21774 ac_sed_dataroot='
   21775 /datarootdir/ {
   21776   p
   21777   q
   21778 }
   21779 /@datadir@/p
   21780 /@docdir@/p
   21781 /@infodir@/p
   21782 /@localedir@/p
   21783 /@mandir@/p'
   21784 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21785 *datarootdir*) ac_datarootdir_seen=yes;;
   21786 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21787   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21788 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21789 _ACEOF
   21790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21791   ac_datarootdir_hack='
   21792   s&@datadir@&$datadir&g
   21793   s&@docdir@&$docdir&g
   21794   s&@infodir@&$infodir&g
   21795   s&@localedir@&$localedir&g
   21796   s&@mandir@&$mandir&g
   21797   s&\\\${datarootdir}&$datarootdir&g' ;;
   21798 esac
   21799 _ACEOF
   21800 
   21801 # Neutralize VPATH when `$srcdir' = `.'.
   21802 # Shell code in configure.ac might set extrasub.
   21803 # FIXME: do we really want to maintain this feature?
   21804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21805 ac_sed_extra="$ac_vpsub
   21806 $extrasub
   21807 _ACEOF
   21808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21809 :t
   21810 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21811 s|@configure_input@|$ac_sed_conf_input|;t t
   21812 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21813 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21814 s&@srcdir@&$ac_srcdir&;t t
   21815 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21816 s&@top_srcdir@&$ac_top_srcdir&;t t
   21817 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21818 s&@builddir@&$ac_builddir&;t t
   21819 s&@abs_builddir@&$ac_abs_builddir&;t t
   21820 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21821 s&@INSTALL@&$ac_INSTALL&;t t
   21822 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21823 $ac_datarootdir_hack
   21824 "
   21825 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21826   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21827 
   21828 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21829   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21830   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21831       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21832   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21833 which seems to be undefined.  Please make sure it is defined" >&5
   21834 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21835 which seems to be undefined.  Please make sure it is defined" >&2;}
   21836 
   21837   rm -f "$ac_tmp/stdin"
   21838   case $ac_file in
   21839   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21840   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21841   esac \
   21842   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21843  ;;
   21844   :H)
   21845   #
   21846   # CONFIG_HEADER
   21847   #
   21848   if test x"$ac_file" != x-; then
   21849     {
   21850       $as_echo "/* $configure_input  */" \
   21851       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21852     } >"$ac_tmp/config.h" \
   21853       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21854     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21855       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21856 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   21857     else
   21858       rm -f "$ac_file"
   21859       mv "$ac_tmp/config.h" "$ac_file" \
   21860 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21861     fi
   21862   else
   21863     $as_echo "/* $configure_input  */" \
   21864       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21865       || as_fn_error $? "could not create -" "$LINENO" 5
   21866   fi
   21867 # Compute "$ac_file"'s index in $config_headers.
   21868 _am_arg="$ac_file"
   21869 _am_stamp_count=1
   21870 for _am_header in $config_headers :; do
   21871   case $_am_header in
   21872     $_am_arg | $_am_arg:* )
   21873       break ;;
   21874     * )
   21875       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21876   esac
   21877 done
   21878 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21879 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21880 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21881 	 X"$_am_arg" : 'X\(//\)$' \| \
   21882 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21883 $as_echo X"$_am_arg" |
   21884     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21885 	    s//\1/
   21886 	    q
   21887 	  }
   21888 	  /^X\(\/\/\)[^/].*/{
   21889 	    s//\1/
   21890 	    q
   21891 	  }
   21892 	  /^X\(\/\/\)$/{
   21893 	    s//\1/
   21894 	    q
   21895 	  }
   21896 	  /^X\(\/\).*/{
   21897 	    s//\1/
   21898 	    q
   21899 	  }
   21900 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21901  ;;
   21902 
   21903   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21904 $as_echo "$as_me: executing $ac_file commands" >&6;}
   21905  ;;
   21906   esac
   21907 
   21908 
   21909   case $ac_file$ac_mode in
   21910     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21911   # Older Autoconf quotes --file arguments for eval, but not when files
   21912   # are listed without --file.  Let's play safe and only enable the eval
   21913   # if we detect the quoting.
   21914   case $CONFIG_FILES in
   21915   *\'*) eval set x "$CONFIG_FILES" ;;
   21916   *)   set x $CONFIG_FILES ;;
   21917   esac
   21918   shift
   21919   for mf
   21920   do
   21921     # Strip MF so we end up with the name of the file.
   21922     mf=`echo "$mf" | sed -e 's/:.*$//'`
   21923     # Check whether this is an Automake generated Makefile or not.
   21924     # We used to match only the files named 'Makefile.in', but
   21925     # some people rename them; so instead we look at the file content.
   21926     # Grep'ing the first line is not enough: some people post-process
   21927     # each Makefile.in and add a new line on top of each file to say so.
   21928     # Grep'ing the whole file is not good either: AIX grep has a line
   21929     # limit of 2048, but all sed's we know have understand at least 4000.
   21930     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   21931       dirpart=`$as_dirname -- "$mf" ||
   21932 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21933 	 X"$mf" : 'X\(//\)[^/]' \| \
   21934 	 X"$mf" : 'X\(//\)$' \| \
   21935 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   21936 $as_echo X"$mf" |
   21937     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21938 	    s//\1/
   21939 	    q
   21940 	  }
   21941 	  /^X\(\/\/\)[^/].*/{
   21942 	    s//\1/
   21943 	    q
   21944 	  }
   21945 	  /^X\(\/\/\)$/{
   21946 	    s//\1/
   21947 	    q
   21948 	  }
   21949 	  /^X\(\/\).*/{
   21950 	    s//\1/
   21951 	    q
   21952 	  }
   21953 	  s/.*/./; q'`
   21954     else
   21955       continue
   21956     fi
   21957     # Extract the definition of DEPDIR, am__include, and am__quote
   21958     # from the Makefile without running 'make'.
   21959     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21960     test -z "$DEPDIR" && continue
   21961     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21962     test -z "$am__include" && continue
   21963     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21964     # Find all dependency output files, they are included files with
   21965     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21966     # simplest approach to changing $(DEPDIR) to its actual value in the
   21967     # expansion.
   21968     for file in `sed -n "
   21969       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21970 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   21971       # Make sure the directory exists.
   21972       test -f "$dirpart/$file" && continue
   21973       fdir=`$as_dirname -- "$file" ||
   21974 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21975 	 X"$file" : 'X\(//\)[^/]' \| \
   21976 	 X"$file" : 'X\(//\)$' \| \
   21977 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21978 $as_echo X"$file" |
   21979     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21980 	    s//\1/
   21981 	    q
   21982 	  }
   21983 	  /^X\(\/\/\)[^/].*/{
   21984 	    s//\1/
   21985 	    q
   21986 	  }
   21987 	  /^X\(\/\/\)$/{
   21988 	    s//\1/
   21989 	    q
   21990 	  }
   21991 	  /^X\(\/\).*/{
   21992 	    s//\1/
   21993 	    q
   21994 	  }
   21995 	  s/.*/./; q'`
   21996       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   21997       # echo "creating $dirpart/$file"
   21998       echo '# dummy' > "$dirpart/$file"
   21999     done
   22000   done
   22001 }
   22002  ;;
   22003     "libtool":C)
   22004 
   22005     # See if we are running on zsh, and set the options that allow our
   22006     # commands through without removal of \ escapes.
   22007     if test -n "${ZSH_VERSION+set}"; then
   22008       setopt NO_GLOB_SUBST
   22009     fi
   22010 
   22011     cfgfile=${ofile}T
   22012     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22013     $RM "$cfgfile"
   22014 
   22015     cat <<_LT_EOF >> "$cfgfile"
   22016 #! $SHELL
   22017 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22018 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22019 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22020 
   22021 # Provide generalized library-building support services.
   22022 # Written by Gordon Matzigkeit, 1996
   22023 
   22024 # Copyright (C) 2014 Free Software Foundation, Inc.
   22025 # This is free software; see the source for copying conditions.  There is NO
   22026 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22027 
   22028 # GNU Libtool is free software; you can redistribute it and/or modify
   22029 # it under the terms of the GNU General Public License as published by
   22030 # the Free Software Foundation; either version 2 of of the License, or
   22031 # (at your option) any later version.
   22032 #
   22033 # As a special exception to the GNU General Public License, if you
   22034 # distribute this file as part of a program or library that is built
   22035 # using GNU Libtool, you may include this file under the  same
   22036 # distribution terms that you use for the rest of that program.
   22037 #
   22038 # GNU Libtool is distributed in the hope that it will be useful, but
   22039 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22040 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22041 # GNU General Public License for more details.
   22042 #
   22043 # You should have received a copy of the GNU General Public License
   22044 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22045 
   22046 
   22047 # The names of the tagged configurations supported by this script.
   22048 available_tags=''
   22049 
   22050 # Configured defaults for sys_lib_dlsearch_path munging.
   22051 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22052 
   22053 # ### BEGIN LIBTOOL CONFIG
   22054 
   22055 # Which release of libtool.m4 was used?
   22056 macro_version=$macro_version
   22057 macro_revision=$macro_revision
   22058 
   22059 # Whether or not to build shared libraries.
   22060 build_libtool_libs=$enable_shared
   22061 
   22062 # Whether or not to build static libraries.
   22063 build_old_libs=$enable_static
   22064 
   22065 # What type of objects to build.
   22066 pic_mode=$pic_mode
   22067 
   22068 # Whether or not to optimize for fast installation.
   22069 fast_install=$enable_fast_install
   22070 
   22071 # Shared archive member basename,for filename based shared library versioning on AIX.
   22072 shared_archive_member_spec=$shared_archive_member_spec
   22073 
   22074 # Shell to use when invoking shell scripts.
   22075 SHELL=$lt_SHELL
   22076 
   22077 # An echo program that protects backslashes.
   22078 ECHO=$lt_ECHO
   22079 
   22080 # The PATH separator for the build system.
   22081 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22082 
   22083 # The host system.
   22084 host_alias=$host_alias
   22085 host=$host
   22086 host_os=$host_os
   22087 
   22088 # The build system.
   22089 build_alias=$build_alias
   22090 build=$build
   22091 build_os=$build_os
   22092 
   22093 # A sed program that does not truncate output.
   22094 SED=$lt_SED
   22095 
   22096 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22097 Xsed="\$SED -e 1s/^X//"
   22098 
   22099 # A grep program that handles long lines.
   22100 GREP=$lt_GREP
   22101 
   22102 # An ERE matcher.
   22103 EGREP=$lt_EGREP
   22104 
   22105 # A literal string matcher.
   22106 FGREP=$lt_FGREP
   22107 
   22108 # A BSD- or MS-compatible name lister.
   22109 NM=$lt_NM
   22110 
   22111 # Whether we need soft or hard links.
   22112 LN_S=$lt_LN_S
   22113 
   22114 # What is the maximum length of a command?
   22115 max_cmd_len=$max_cmd_len
   22116 
   22117 # Object file suffix (normally "o").
   22118 objext=$ac_objext
   22119 
   22120 # Executable file suffix (normally "").
   22121 exeext=$exeext
   22122 
   22123 # whether the shell understands "unset".
   22124 lt_unset=$lt_unset
   22125 
   22126 # turn spaces into newlines.
   22127 SP2NL=$lt_lt_SP2NL
   22128 
   22129 # turn newlines into spaces.
   22130 NL2SP=$lt_lt_NL2SP
   22131 
   22132 # convert \$build file names to \$host format.
   22133 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22134 
   22135 # convert \$build files to toolchain format.
   22136 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22137 
   22138 # An object symbol dumper.
   22139 OBJDUMP=$lt_OBJDUMP
   22140 
   22141 # Method to check whether dependent libraries are shared objects.
   22142 deplibs_check_method=$lt_deplibs_check_method
   22143 
   22144 # Command to use when deplibs_check_method = "file_magic".
   22145 file_magic_cmd=$lt_file_magic_cmd
   22146 
   22147 # How to find potential files when deplibs_check_method = "file_magic".
   22148 file_magic_glob=$lt_file_magic_glob
   22149 
   22150 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22151 want_nocaseglob=$lt_want_nocaseglob
   22152 
   22153 # DLL creation program.
   22154 DLLTOOL=$lt_DLLTOOL
   22155 
   22156 # Command to associate shared and link libraries.
   22157 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22158 
   22159 # The archiver.
   22160 AR=$lt_AR
   22161 
   22162 # Flags to create an archive.
   22163 AR_FLAGS=$lt_AR_FLAGS
   22164 
   22165 # How to feed a file listing to the archiver.
   22166 archiver_list_spec=$lt_archiver_list_spec
   22167 
   22168 # A symbol stripping program.
   22169 STRIP=$lt_STRIP
   22170 
   22171 # Commands used to install an old-style archive.
   22172 RANLIB=$lt_RANLIB
   22173 old_postinstall_cmds=$lt_old_postinstall_cmds
   22174 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22175 
   22176 # Whether to use a lock for old archive extraction.
   22177 lock_old_archive_extraction=$lock_old_archive_extraction
   22178 
   22179 # A C compiler.
   22180 LTCC=$lt_CC
   22181 
   22182 # LTCC compiler flags.
   22183 LTCFLAGS=$lt_CFLAGS
   22184 
   22185 # Take the output of nm and produce a listing of raw symbols and C names.
   22186 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22187 
   22188 # Transform the output of nm in a proper C declaration.
   22189 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22190 
   22191 # Transform the output of nm into a list of symbols to manually relocate.
   22192 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22193 
   22194 # Transform the output of nm in a C name address pair.
   22195 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22196 
   22197 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22198 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22199 
   22200 # The name lister interface.
   22201 nm_interface=$lt_lt_cv_nm_interface
   22202 
   22203 # Specify filename containing input files for \$NM.
   22204 nm_file_list_spec=$lt_nm_file_list_spec
   22205 
   22206 # The root where to search for dependent libraries,and where our libraries should be installed.
   22207 lt_sysroot=$lt_sysroot
   22208 
   22209 # Command to truncate a binary pipe.
   22210 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22211 
   22212 # The name of the directory that contains temporary libtool files.
   22213 objdir=$objdir
   22214 
   22215 # Used to examine libraries when file_magic_cmd begins with "file".
   22216 MAGIC_CMD=$MAGIC_CMD
   22217 
   22218 # Must we lock files when doing compilation?
   22219 need_locks=$lt_need_locks
   22220 
   22221 # Manifest tool.
   22222 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22223 
   22224 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22225 DSYMUTIL=$lt_DSYMUTIL
   22226 
   22227 # Tool to change global to local symbols on Mac OS X.
   22228 NMEDIT=$lt_NMEDIT
   22229 
   22230 # Tool to manipulate fat objects and archives on Mac OS X.
   22231 LIPO=$lt_LIPO
   22232 
   22233 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22234 OTOOL=$lt_OTOOL
   22235 
   22236 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22237 OTOOL64=$lt_OTOOL64
   22238 
   22239 # Old archive suffix (normally "a").
   22240 libext=$libext
   22241 
   22242 # Shared library suffix (normally ".so").
   22243 shrext_cmds=$lt_shrext_cmds
   22244 
   22245 # The commands to extract the exported symbol list from a shared archive.
   22246 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22247 
   22248 # Variables whose values should be saved in libtool wrapper scripts and
   22249 # restored at link time.
   22250 variables_saved_for_relink=$lt_variables_saved_for_relink
   22251 
   22252 # Do we need the "lib" prefix for modules?
   22253 need_lib_prefix=$need_lib_prefix
   22254 
   22255 # Do we need a version for libraries?
   22256 need_version=$need_version
   22257 
   22258 # Library versioning type.
   22259 version_type=$version_type
   22260 
   22261 # Shared library runtime path variable.
   22262 runpath_var=$runpath_var
   22263 
   22264 # Shared library path variable.
   22265 shlibpath_var=$shlibpath_var
   22266 
   22267 # Is shlibpath searched before the hard-coded library search path?
   22268 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22269 
   22270 # Format of library name prefix.
   22271 libname_spec=$lt_libname_spec
   22272 
   22273 # List of archive names.  First name is the real one, the rest are links.
   22274 # The last name is the one that the linker finds with -lNAME
   22275 library_names_spec=$lt_library_names_spec
   22276 
   22277 # The coded name of the library, if different from the real name.
   22278 soname_spec=$lt_soname_spec
   22279 
   22280 # Permission mode override for installation of shared libraries.
   22281 install_override_mode=$lt_install_override_mode
   22282 
   22283 # Command to use after installation of a shared archive.
   22284 postinstall_cmds=$lt_postinstall_cmds
   22285 
   22286 # Command to use after uninstallation of a shared archive.
   22287 postuninstall_cmds=$lt_postuninstall_cmds
   22288 
   22289 # Commands used to finish a libtool library installation in a directory.
   22290 finish_cmds=$lt_finish_cmds
   22291 
   22292 # As "finish_cmds", except a single script fragment to be evaled but
   22293 # not shown.
   22294 finish_eval=$lt_finish_eval
   22295 
   22296 # Whether we should hardcode library paths into libraries.
   22297 hardcode_into_libs=$hardcode_into_libs
   22298 
   22299 # Compile-time system search path for libraries.
   22300 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22301 
   22302 # Detected run-time system search path for libraries.
   22303 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22304 
   22305 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22306 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22307 
   22308 # Whether dlopen is supported.
   22309 dlopen_support=$enable_dlopen
   22310 
   22311 # Whether dlopen of programs is supported.
   22312 dlopen_self=$enable_dlopen_self
   22313 
   22314 # Whether dlopen of statically linked programs is supported.
   22315 dlopen_self_static=$enable_dlopen_self_static
   22316 
   22317 # Commands to strip libraries.
   22318 old_striplib=$lt_old_striplib
   22319 striplib=$lt_striplib
   22320 
   22321 
   22322 # The linker used to build libraries.
   22323 LD=$lt_LD
   22324 
   22325 # How to create reloadable object files.
   22326 reload_flag=$lt_reload_flag
   22327 reload_cmds=$lt_reload_cmds
   22328 
   22329 # Commands used to build an old-style archive.
   22330 old_archive_cmds=$lt_old_archive_cmds
   22331 
   22332 # A language specific compiler.
   22333 CC=$lt_compiler
   22334 
   22335 # Is the compiler the GNU compiler?
   22336 with_gcc=$GCC
   22337 
   22338 # Compiler flag to turn off builtin functions.
   22339 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22340 
   22341 # Additional compiler flags for building library objects.
   22342 pic_flag=$lt_lt_prog_compiler_pic
   22343 
   22344 # How to pass a linker flag through the compiler.
   22345 wl=$lt_lt_prog_compiler_wl
   22346 
   22347 # Compiler flag to prevent dynamic linking.
   22348 link_static_flag=$lt_lt_prog_compiler_static
   22349 
   22350 # Does compiler simultaneously support -c and -o options?
   22351 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22352 
   22353 # Whether or not to add -lc for building shared libraries.
   22354 build_libtool_need_lc=$archive_cmds_need_lc
   22355 
   22356 # Whether or not to disallow shared libs when runtime libs are static.
   22357 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22358 
   22359 # Compiler flag to allow reflexive dlopens.
   22360 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22361 
   22362 # Compiler flag to generate shared objects directly from archives.
   22363 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22364 
   22365 # Whether the compiler copes with passing no objects directly.
   22366 compiler_needs_object=$lt_compiler_needs_object
   22367 
   22368 # Create an old-style archive from a shared archive.
   22369 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22370 
   22371 # Create a temporary old-style archive to link instead of a shared archive.
   22372 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22373 
   22374 # Commands used to build a shared archive.
   22375 archive_cmds=$lt_archive_cmds
   22376 archive_expsym_cmds=$lt_archive_expsym_cmds
   22377 
   22378 # Commands used to build a loadable module if different from building
   22379 # a shared archive.
   22380 module_cmds=$lt_module_cmds
   22381 module_expsym_cmds=$lt_module_expsym_cmds
   22382 
   22383 # Whether we are building with GNU ld or not.
   22384 with_gnu_ld=$lt_with_gnu_ld
   22385 
   22386 # Flag that allows shared libraries with undefined symbols to be built.
   22387 allow_undefined_flag=$lt_allow_undefined_flag
   22388 
   22389 # Flag that enforces no undefined symbols.
   22390 no_undefined_flag=$lt_no_undefined_flag
   22391 
   22392 # Flag to hardcode \$libdir into a binary during linking.
   22393 # This must work even if \$libdir does not exist
   22394 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22395 
   22396 # Whether we need a single "-rpath" flag with a separated argument.
   22397 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22398 
   22399 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22400 # DIR into the resulting binary.
   22401 hardcode_direct=$hardcode_direct
   22402 
   22403 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22404 # DIR into the resulting binary and the resulting library dependency is
   22405 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22406 # library is relocated.
   22407 hardcode_direct_absolute=$hardcode_direct_absolute
   22408 
   22409 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22410 # into the resulting binary.
   22411 hardcode_minus_L=$hardcode_minus_L
   22412 
   22413 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22414 # into the resulting binary.
   22415 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22416 
   22417 # Set to "yes" if building a shared library automatically hardcodes DIR
   22418 # into the library and all subsequent libraries and executables linked
   22419 # against it.
   22420 hardcode_automatic=$hardcode_automatic
   22421 
   22422 # Set to yes if linker adds runtime paths of dependent libraries
   22423 # to runtime path list.
   22424 inherit_rpath=$inherit_rpath
   22425 
   22426 # Whether libtool must link a program against all its dependency libraries.
   22427 link_all_deplibs=$link_all_deplibs
   22428 
   22429 # Set to "yes" if exported symbols are required.
   22430 always_export_symbols=$always_export_symbols
   22431 
   22432 # The commands to list exported symbols.
   22433 export_symbols_cmds=$lt_export_symbols_cmds
   22434 
   22435 # Symbols that should not be listed in the preloaded symbols.
   22436 exclude_expsyms=$lt_exclude_expsyms
   22437 
   22438 # Symbols that must always be exported.
   22439 include_expsyms=$lt_include_expsyms
   22440 
   22441 # Commands necessary for linking programs (against libraries) with templates.
   22442 prelink_cmds=$lt_prelink_cmds
   22443 
   22444 # Commands necessary for finishing linking programs.
   22445 postlink_cmds=$lt_postlink_cmds
   22446 
   22447 # Specify filename containing input files.
   22448 file_list_spec=$lt_file_list_spec
   22449 
   22450 # How to hardcode a shared library path into an executable.
   22451 hardcode_action=$hardcode_action
   22452 
   22453 # ### END LIBTOOL CONFIG
   22454 
   22455 _LT_EOF
   22456 
   22457     cat <<'_LT_EOF' >> "$cfgfile"
   22458 
   22459 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22460 
   22461 # func_munge_path_list VARIABLE PATH
   22462 # -----------------------------------
   22463 # VARIABLE is name of variable containing _space_ separated list of
   22464 # directories to be munged by the contents of PATH, which is string
   22465 # having a format:
   22466 # "DIR[:DIR]:"
   22467 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22468 # ":DIR[:DIR]"
   22469 #       string "DIR[ DIR]" will be appended to VARIABLE
   22470 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22471 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22472 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22473 # "DIR[:DIR]"
   22474 #       VARIABLE will be replaced by "DIR[ DIR]"
   22475 func_munge_path_list ()
   22476 {
   22477     case x$2 in
   22478     x)
   22479         ;;
   22480     *:)
   22481         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22482         ;;
   22483     x:*)
   22484         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22485         ;;
   22486     *::*)
   22487         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22488         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22489         ;;
   22490     *)
   22491         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22492         ;;
   22493     esac
   22494 }
   22495 
   22496 
   22497 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22498 func_cc_basename ()
   22499 {
   22500     for cc_temp in $*""; do
   22501       case $cc_temp in
   22502         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22503         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22504         \-*) ;;
   22505         *) break;;
   22506       esac
   22507     done
   22508     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22509 }
   22510 
   22511 
   22512 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22513 
   22514 _LT_EOF
   22515 
   22516   case $host_os in
   22517   aix3*)
   22518     cat <<\_LT_EOF >> "$cfgfile"
   22519 # AIX sometimes has problems with the GCC collect2 program.  For some
   22520 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22521 # vanish in a puff of smoke.
   22522 if test set != "${COLLECT_NAMES+set}"; then
   22523   COLLECT_NAMES=
   22524   export COLLECT_NAMES
   22525 fi
   22526 _LT_EOF
   22527     ;;
   22528   esac
   22529 
   22530 
   22531 ltmain=$ac_aux_dir/ltmain.sh
   22532 
   22533 
   22534   # We use sed instead of cat because bash on DJGPP gets confused if
   22535   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22536   # text mode, it properly converts lines to CR/LF.  This bash problem
   22537   # is reportedly fixed, but why not run on old versions too?
   22538   sed '$q' "$ltmain" >> "$cfgfile" \
   22539      || (rm -f "$cfgfile"; exit 1)
   22540 
   22541    mv -f "$cfgfile" "$ofile" ||
   22542     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22543   chmod +x "$ofile"
   22544 
   22545  ;;
   22546 
   22547   esac
   22548 done # for ac_tag
   22549 
   22550 
   22551 as_fn_exit 0
   22552 _ACEOF
   22553 ac_clean_files=$ac_clean_files_save
   22554 
   22555 test $ac_write_fail = 0 ||
   22556   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22557 
   22558 
   22559 # configure is writing to config.log, and then calls config.status.
   22560 # config.status does its own redirection, appending to config.log.
   22561 # Unfortunately, on DOS this fails, as config.log is still kept open
   22562 # by configure, so config.status won't be able to write to it; its
   22563 # output is simply discarded.  So we exec the FD to /dev/null,
   22564 # effectively closing config.log, so it can be properly (re)opened and
   22565 # appended to by config.status.  When coming back to configure, we
   22566 # need to make the FD available again.
   22567 if test "$no_create" != yes; then
   22568   ac_cs_success=:
   22569   ac_config_status_args=
   22570   test "$silent" = yes &&
   22571     ac_config_status_args="$ac_config_status_args --quiet"
   22572   exec 5>/dev/null
   22573   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22574   exec 5>>config.log
   22575   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22576   # would make configure fail if this is the last instruction.
   22577   $ac_cs_success || as_fn_exit 1
   22578 fi
   22579 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22580   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22581 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22582 fi
   22583 
   22584